1627 Commits

Author SHA1 Message Date
Android (Google) Code Review
35a2664f8d am 22e8cbc3: Merge change 5656 into donut
Merge commit '22e8cbc32bd642bcb3e9b6f161ec662bcf45ff70'

* commit '22e8cbc32bd642bcb3e9b6f161ec662bcf45ff70':
  Generate key events for actions sent to generic input connections.
2009-07-01 11:18:41 -07:00
Android (Google) Code Review
7ec1920f7f am 27a8e07e: Merge change 5699 into donut
Merge commit '27a8e07e4a10d3754c696cf5b0d947b7bdaea187'

* commit '27a8e07e4a10d3754c696cf5b0d947b7bdaea187':
  Adding status return codes for TTS calls.
2009-07-01 11:18:33 -07:00
Android (Google) Code Review
6ccc06fba9 Merge change 5923
* changes:
  Fixes for moving a focused textfield on screen when entering a character.
2009-07-01 08:22:00 -07:00
Leon Scroggins
409812691d Fixes for moving a focused textfield on screen when entering a character.
When the focused node is a textfield, but the WebView has focus
(for example if the page had an initial focus) and the cursor
is not over a plugin or textfield, rebuild the WebTextView
to handle the keys.  Also, remove mScrollToAccommodateCursor,
since now the WebTextView is only showing when we want to
scroll.
2009-07-01 10:57:47 -04:00
Android (Google) Code Review
01ecd7bcd1 am ab4748c6: Merge change 5694 into donut
Merge commit 'ab4748c62d106d9cbc27c88ccd3d2bbda8e451bd'

* commit 'ab4748c62d106d9cbc27c88ccd3d2bbda8e451bd':
  Implement persistent enable/disable of the backup manager
2009-07-01 00:07:35 -07:00
Android (Google) Code Review
2c2949a2d9 am 3a608f82: Merge change 5684 into donut
Merge commit '3a608f829b54a7653c9cc2b3bdbda0641cca37bb'

* commit '3a608f829b54a7653c9cc2b3bdbda0641cca37bb':
  Fixes #1940605. MeasureSpec's mode and height were inverted in RelativeLayout.
2009-07-01 00:07:21 -07:00
Android (Google) Code Review
e4b988b6bd am 52bce9c4: Merge change 5680 into donut
Merge commit '52bce9c4e7b66ee0a8e1bc5ea7798cf5892b4f23'

* commit '52bce9c4e7b66ee0a8e1bc5ea7798cf5892b4f23':
  Fixes #1949502. Prevents an NPE in View.buildDrawingCache().
2009-07-01 00:07:17 -07:00
Android (Google) Code Review
b47aa584ff Merge change 5735
* changes:
  Added a Formatter parameter to DateUtils.formatDateRange
2009-06-30 17:45:33 -07:00
Tammo Spalink
f7b2146edc am c25dbf88: add comment about endianness
Merge commit 'c25dbf88fc21c707b72502c43695c2c31ff22a23'

* commit 'c25dbf88fc21c707b72502c43695c2c31ff22a23':
  add comment about endianness
2009-06-30 14:48:32 -07:00
Michael Chan
becfc9de9e Added a Formatter parameter to DateUtils.formatDateRange
DateUtils.formatDateRange is using String.format which isn't efficient for
formatting large number of strings. I have added the Formatter parameter which
allows the caller to reuse the formatter of subsequent calls for faster
performance.
2009-06-30 11:48:39 -07:00
Mike Lockwood
cd15475bc3 Revert "ConnectivityManager: Add support for bringing up the default APN."
This reverts commit a84b6faffbe7ef5981f3202be0f68a8b44d61a76.

I will work on a better mechanism for bringing up the default APN
when Wifi is enabled.
2009-06-30 14:02:27 -04:00
Leon Scroggins
3ccd3655a0 Fix a WebView longpress bug.
Longpressing on a WebView while the WebTextView is up calls
WebTextView::performLongPress().  This used to be fine, but now
we may still leave the WebTextView up while the user is longpressing
on something else.  Check to ensure that the focus is the same
as the cursor before calling WebTextView's version.  Also,
send a click if the user longpresses on a different WebTextView,
so it will now behave appropriately.  Requires a change in
external/webkit.

Also remove a duplicate check for inEditingMode().
2009-06-30 11:47:26 -04:00
Leon Scroggins
8cdad88915 Make the caret/selection draw when gaining window focus.
When the WebView loses WindowFocus, we stop drawing the
selection.  We need to resume drawing it, especially for
the context menu, which steals WindowFocus.  Corresponds
to a change in Webkit.
2009-06-30 10:28:44 -04:00
Christopher Tate
5e79e32357 am 91717497: Use system properties to track the current transport
Merge commit '9171749700853305f3e6abbcdbd9e02f3a71d459'

* commit '9171749700853305f3e6abbcdbd9e02f3a71d459':
  Use system properties to track the current transport
2009-06-29 20:20:20 -07:00
Android (Google) Code Review
4658e8ece6 am 05ebcb51: Merge change 5609 into donut
Merge commit '05ebcb5172679a6c196cbf23d7174c04dd9f6ae0'

* commit '05ebcb5172679a6c196cbf23d7174c04dd9f6ae0':
  Update spinner's drawables. Clean up resources, pave the way for new animation.
2009-06-29 20:20:11 -07:00
Romain Guy
b8990f39b0 am fbd8f69a: Fixes #1946141. Introduce new caching API to control scaling.
Merge commit 'fbd8f69a84163ef1cf52b07966320caf448c2bc9'

* commit 'fbd8f69a84163ef1cf52b07966320caf448c2bc9':
  Fixes #1946141. Introduce new caching API to control scaling.
2009-06-29 20:19:49 -07:00
Android (Google) Code Review
2187f30d14 am a1590586: Merge change 5578 into donut
Merge commit 'a1590586e4c02e50d14cc99018be2c419f5a07b9'

* commit 'a1590586e4c02e50d14cc99018be2c419f5a07b9':
  Add new EXTRA_POST_DATA extra key for use in VIEW intents to Browser.
2009-06-29 20:18:08 -07:00
Android (Google) Code Review
cfd205c303 am 30599249: Merge change 5570 into donut
Merge commit '3059924953dafdd94dce65d8be42e98fcde305b8'

* commit '3059924953dafdd94dce65d8be42e98fcde305b8':
  Adding implementation of IPA to the TextToSpeech.java
2009-06-29 20:18:01 -07:00
Android (Google) Code Review
62ebe364cb am 3a15fbd7: Merge change 5581 into donut
Merge commit '3a15fbd7df56e44060c78d7832fbea895ceb9bbf'

* commit '3a15fbd7df56e44060c78d7832fbea895ceb9bbf':
  Add a null check in an AutoCompleteTextView callback to prevent a crash.
2009-06-29 20:17:57 -07:00
Amith Yamasani
08bc0d51a0 am a013a98f: Fix the nested preferences title. Again.
Merge commit 'a013a98f93fd5ced58cf76dcc2bd6ab2ca95dd92'

* commit 'a013a98f93fd5ced58cf76dcc2bd6ab2ca95dd92':
  Fix the nested preferences title. Again.
2009-06-29 20:17:53 -07:00
Android (Google) Code Review
0e04f18ec7 am ec0cf8bc: Merge change 5554 into donut
Merge commit 'ec0cf8bc874f53cfc7256628f0ec56657ac92073'

* commit 'ec0cf8bc874f53cfc7256628f0ec56657ac92073':
  Adding in the playSilence method to TextToSpeech.java
2009-06-29 20:17:36 -07:00
Android (Google) Code Review
22e8cbc32b Merge change 5656 into donut
* changes:
  Generate key events for actions sent to generic input connections.
2009-06-29 17:13:49 -07:00
Android (Google) Code Review
af01bcaf33 Merge change 5703
* changes:
  Add JS Flag support.
2009-06-29 16:47:22 -07:00
Android (Google) Code Review
1f9508ce4d am ae352273: Merge change 5192 into donut
Merge commit 'ae3522734ef83254626cacee18a9490f6af62415'

* commit 'ae3522734ef83254626cacee18a9490f6af62415':
  make BitwiseInputStream.read return int
2009-06-29 16:37:46 -07:00
Android (Google) Code Review
6034cb565c am 17a80081: Merge change 5544 into donut
Merge commit '17a80081a42410f541a220ab7e6afc64fc6cc399'

* commit '17a80081a42410f541a220ab7e6afc64fc6cc399':
  Pipe all the camera callbacks to Java to facilitate the addition
2009-06-29 16:37:31 -07:00
Android (Google) Code Review
f6ff591dec am 72eb0aca: Merge change 5483 into donut
Merge commit '72eb0acad5cffc57ce5006f6deab29ee259e461e'

* commit '72eb0acad5cffc57ce5006f6deab29ee259e461e':
  Expand support for different screen sizes.
2009-06-29 16:37:17 -07:00
Dan Egnor
8c3fc63576 am 156411df: Use a long for restore token
Merge commit '156411df4627336b246db78cddca8248ed615b67'

* commit '156411df4627336b246db78cddca8248ed615b67':
  Use a long for restore token
2009-06-29 16:37:02 -07:00
Android (Google) Code Review
5ceae67f8a am 040441fa: Merge change 5529 into donut
Merge commit '040441fa992bcfc11070d559bfceeb039667b382'

* commit '040441fa992bcfc11070d559bfceeb039667b382':
  Tweak the core and maximum pool sizes for AsyncTask.
2009-06-29 16:36:58 -07:00
Christopher Tate
f35b2f382c am 8a27f923: Don\'t crash in various ways when using backup services too early
Merge commit '8a27f923eb9dbbe3c2d0184e82d9f1a98f1e4cdc'

* commit '8a27f923eb9dbbe3c2d0184e82d9f1a98f1e4cdc':
  Don't crash in various ways when using backup services too early
2009-06-29 16:36:52 -07:00
Android (Google) Code Review
b5fba86e4c am 56bc7156: Merge change 5537 into donut
Merge commit '56bc71565ecd72bf7a3e45b5c871b0407ed9f781'

* commit '56bc71565ecd72bf7a3e45b5c871b0407ed9f781':
  Add a test for SharedPreferencesBackupHelper
2009-06-29 16:36:45 -07:00
Android (Google) Code Review
eaab836e7f am 77cb40a0: Merge change 5447 into donut
Merge commit '77cb40a0b088b02357fbc7d5fad24886d607f0da'

* commit '77cb40a0b088b02357fbc7d5fad24886d607f0da':
  Adding skeleton methods for IPA support.
2009-06-29 16:36:41 -07:00
Android (Google) Code Review
27a8e07e4a Merge change 5699 into donut
* changes:
  Adding status return codes for TTS calls.
2009-06-29 16:26:57 -07:00
Charles Chen
5c22f516be Adding status return codes for TTS calls. 2009-06-29 16:25:58 -07:00
Feng Qian
b308137ed0 Add JS Flag support. 2009-06-29 16:22:21 -07:00
Christopher Tate
6ef58a1509 Implement persistent enable/disable of the backup manager
Backup & restore is still enabled by default, but with the expectation that it
will be enabled during the course of the Setup Wizard or some other privileged
entity that has notified the user about the ramifications.  While disabled,
data-changed notices will still be collected, but no backup pass will be
scheduled.  When the backup manager is later enabled, any pending data-changed
notices will then be processed and the apps invoked for backup.
2009-06-29 15:33:27 -07:00
Grace Kloba
0b956e1353 Add content-disposition into the cache header as it is needed by Flash.
As WebKit is using string version of "expires", pass it with the rest of the headers.
2009-06-29 14:49:10 -07:00
Android (Google) Code Review
3a608f829b Merge change 5684 into donut
* changes:
  Fixes #1940605. MeasureSpec's mode and height were inverted in RelativeLayout.
2009-06-29 14:29:23 -07:00
Romain Guy
baac46339d Fixes #1940605. MeasureSpec's mode and height were inverted in RelativeLayout.
Also bumps up the cache's number of Nodes.
2009-06-29 14:28:29 -07:00
Romain Guy
e112322872 Fixes #1949502. Prevents an NPE in View.buildDrawingCache(). 2009-06-29 14:26:04 -07:00
Android (Google) Code Review
5f9c2ab7a7 Merge change 5648
* changes:
  Adding support for webkit to request the keyboard.
2009-06-29 12:12:39 -07:00
Dianne Hackborn
86d56cca9c Generate key events for actions sent to generic input connections.
There is a compatibility issue with the cupcake IME where the generic
input connection would just consume actions.  Late in cupcake this
stuff was reworked so that the IME would send an action command
to the app instead of an enter key event, and the compatibility code
got lost.
2009-06-29 12:00:39 -07:00
Android (Google) Code Review
c2188ff586 Merge change 5600
* changes:
  Rework the property parsing code.
2009-06-29 11:42:38 -07:00
Jaikumar Ganesh
8bc8ce44f7 Rework the property parsing code.
1. Fix and remove CodeDuplication TODO
2. Fix crash while unpairing.
3. For array properties, make it a bit more efficient by passing,
   lesser String objects from JNI.
4. Remove void pointer usage and use union to make code more readble.
2009-06-29 11:41:19 -07:00
Derek Sollenberger
4c41e8dc3b Adding support for webkit to request the keyboard. 2009-06-29 14:12:38 -04:00
Leon Scroggins
0ca70883d7 Assign a field name for textfields in the browser.
Fix for http://b/issue?id=1605291.  Store the url and name of the
textfield in EditorInfo.fieldName.
2009-06-29 10:50:17 -04:00
Leon Scroggins
0658e8fe45 If the cursor moves from a focused textfield to another, remove the WebTextView.
We already remove the blinking caret, implying that if the user
types with the cursor on another textfield, the keys will go there.
This way, the WebView will see the key, and rebuild the WebTextView,
so we no longer use the data from the first textfield.  This fixes
a bug where moving from a focused textfield and pressing delete
with the cursor on another was deleting a character from the
first (initially focused) textfield.  Also, in WebView::onKeyDown,
only check if the native cursor is a textfield before deciding
whether to send a CLICK, since plugins will be handled differently
(this is part of a different change), and now the cursor may match
the focus, but we still want the click (to make the focusController
active - i.e. make the cursor blink).
2009-06-29 10:16:24 -04:00
Cary Clark
243ea06d2b Remove the web text view if the key cannot be handled
Also add some debugging to WebTextView
Requires companion change in external/webkit
2009-06-29 09:30:42 -04:00
Cary Clark
215b72cbf7 route arrow keys to plugin
see companion change in external/webkit
2009-06-29 08:23:18 -04:00
Tammo Spalink
c25dbf88fc add comment about endianness 2009-06-28 16:01:58 +08:00
Christopher Tate
9171749700 Use system properties to track the current transport
This change retools the transport selection mechanism a fair bit.  Transports
are now specified by name rather than by numeric ID, and the name of the
currently selected transport is stored in a persistent system property under the
name "persist.service.bkup.trans".

The name -> IBackupTransport translation is now handled by maintaining a map
from the names to the live IBackupTransport objects that correspond.  The Google
transport service observer now registers and unregisters the transport as the
service goes up and down.

The bmgr command has been expanded to include real transport interrogation and
selection by name, and some documentation has been written for it.
2009-06-26 21:14:41 -07:00