3826 Commits

Author SHA1 Message Date
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
da6edf4d8a am 4cb1276e: Merge change 4956 into donut
Merge commit '4cb1276e143e175590c69ceefa58eb721aa52846'

* commit '4cb1276e143e175590c69ceefa58eb721aa52846':
  Tune the Reconnect back off timer.
2009-06-29 20:20:16 -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
Android (Google) Code Review
548b9920a8 am 2d9f3169: Merge change 5595 into donut
Merge commit '2d9f31697fb5ece89c80cc66bdd3bd9caa9df9c3'

* commit '2d9f31697fb5ece89c80cc66bdd3bd9caa9df9c3':
  We might try to close the Vorbis file twice under certain
2009-06-29 20:20:04 -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
Christopher Tate
f9435d7521 am f7c886b4: Respect android:allowClearUserData=false during restore
Merge commit 'f7c886b4fe27cd9ab4a9991958ff931054556a24'

* commit 'f7c886b4fe27cd9ab4a9991958ff931054556a24':
  Respect android:allowClearUserData=false during restore
2009-06-29 20:17:47 -07:00
Android (Google) Code Review
ff35c1d787 am bd1e8aa5: Merge change 5569 into donut
Merge commit 'bd1e8aa502a6d9231e2a1399cee18debcf70b3d6'

* commit 'bd1e8aa502a6d9231e2a1399cee18debcf70b3d6':
  Trim some superfluous imports.
2009-06-29 20:17:42 -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
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
bacc51026e am d09f86ce: Merge changes 5548,5549 into donut
Merge commit 'd09f86ce175fad6ddbd446363f327dfa0575a1d2'

* commit 'd09f86ce175fad6ddbd446363f327dfa0575a1d2':
  Better (and less) logging from backup.
  Add an extra null terminator.  String8::unlockBuffer is
2009-06-29 16:37:39 -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
Christopher Tate
c16dee2aaa am c73a218c: Add some error reporting & info to bmgr\'s output
Merge commit 'c73a218c2663e6ae3ec8a9ab8b9524f95702ade9'

* commit 'c73a218c2663e6ae3ec8a9ab8b9524f95702ade9':
  Add some error reporting & info to bmgr's output
2009-06-29 16:36:48 -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
Feng Qian
b308137ed0 Add JS Flag support. 2009-06-29 16:22:21 -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
5f9c2ab7a7 Merge change 5648
* changes:
  Adding support for webkit to request the keyboard.
2009-06-29 12:12: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
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
Android (Google) Code Review
4cb1276e14 Merge change 4956 into donut
* changes:
  Tune the Reconnect back off timer.
2009-06-26 19:29:55 -07:00
Android (Google) Code Review
05ebcb5172 Merge change 5609 into donut
* changes:
  Update spinner's drawables. Clean up resources, pave the way for new animation.
2009-06-26 19:22:38 -07:00
Romain Guy
f4f7046183 Update spinner's drawables. Clean up resources, pave the way for new animation. 2009-06-26 19:21:54 -07:00
Jaikumar Ganesh
e7e12b44bc Tune the Reconnect back off timer.
Cap the max limit to 30 mins.
Re-register to the network once, when we reach the 30 min max.
2009-06-26 18:43:46 -07:00
Android (Google) Code Review
2d9f31697f Merge change 5595 into donut
* changes:
  We might try to close the Vorbis file twice under certain circumstances. This fix nulls the mFile member so we don't try to close it twice. Bug 1904783.
2009-06-26 17:44:42 -07:00
Dave Sparks
978811960a We might try to close the Vorbis file twice under certain
circumstances. This fix nulls the mFile member so we don't
try to close it twice. Bug 1904783.
2009-06-26 17:24:22 -07:00
Romain Guy
fbd8f69a84 Fixes #1946141. Introduce new caching API to control scaling.
This change fixes issues with existing applications that access the drawing cache
directly. The API now lets application choose whether they want to get a scaled
drawing cache or not. The framework relies on the scaled cache for quality
purposes.
2009-06-26 16:56:32 -07:00
Android (Google) Code Review
a1590586e4 Merge change 5578 into donut
* changes:
  Add new EXTRA_POST_DATA extra key for use in VIEW intents to Browser. In a followup change, Grace will need to remove EXTRA_APPEND_LOCATION as we are replacing that with this.
2009-06-26 16:38:51 -07:00
Mike LeBeau
74d909565b Add new EXTRA_POST_DATA extra key for use in VIEW intents to Browser.
In a followup change, Grace will need to remove EXTRA_APPEND_LOCATION
as we are replacing that with this.
2009-06-26 16:38:03 -07:00
Android (Google) Code Review
3059924953 Merge change 5570 into donut
* changes:
  Adding implementation of IPA to the TextToSpeech.java
2009-06-26 16:24:03 -07:00
Android (Google) Code Review
3a15fbd7df Merge change 5581 into donut
* changes:
  Add a null check in an AutoCompleteTextView callback to prevent a crash.
2009-06-26 16:23:51 -07:00
Eric Fischer
d072154bdd Add a null check in an AutoCompleteTextView callback to prevent a crash.
It looks like the drop down list had already been taken down before the
callback fired so it caused a null pointer exception.  In this case just
do nothing instead.

Bug 1927858
2009-06-26 16:14:59 -07:00
Amith Yamasani
a013a98f93 Fix the nested preferences title. Again.
Made a mistake when refactoring just before checkin. ! ?
2009-06-26 16:05:33 -07:00
Charles Chen
d4989093ed Adding implementation of IPA to the TextToSpeech.java 2009-06-26 15:56:10 -07:00