59602 Commits

Author SHA1 Message Date
Gilles Debunne
9d8d3f1539 Spell checher's language synced with keyboard.
Bug 5379440. The spell check is now using the IME's language to
do the spell checking. Changing the input language triggers a
new spell check of the entire text.

Optimizations: ArrowKeyMovementMethod re-uses the TextView's
wordIterator, already set to the correct language.

One wordIterator shared by all SpellParsers in SpellChecker.
Cannot re-use TextView's because of concurrency issues.

With the current implementation, one has to type a new character
to see the new spell checking take place.

Change-Id: I0e460c0a6777548f89d03d6b68f3deea6606c17f
2011-10-13 16:52:42 -07:00
Gilles Debunne
b10d396f2e Merge "Bug 5385279: IOOB in createMisspelledSuggestionSpan" 2011-10-12 09:51:17 -07:00
Gilles Debunne
ba25c01335 Merge "Bug 5237623: word no longer underlined after replacement" 2011-10-12 09:50:45 -07:00
Robert Ly
cde59f2fdd Merge "docs: restructure animation and add container doc" 2011-10-12 09:50:31 -07:00
Robert Ly
c37bfc3f92 Merge "docs: restructure graphics docs and add hw-acceleration docs" 2011-10-12 09:50:26 -07:00
Amith Yamasani
50f9924322 Merge "Backup owner info as part of settings backup." 2011-10-12 09:45:22 -07:00
Jean-Michel Trivi
b5d9176d3b am 49f61439: (-s ours) Merge "DO NOT MERGE Fix 5389442 RemoteControlClient javadoc" into ics-mr0
* commit '49f61439db7f8960745b0a5664795b5a5ad31ef8':
  DO NOT MERGE Fix 5389442 RemoteControlClient javadoc
2011-10-12 09:42:48 -07:00
Jean-Michel Trivi
49f61439db Merge "DO NOT MERGE Fix 5389442 RemoteControlClient javadoc" into ics-mr0 2011-10-12 09:40:17 -07:00
Jake Hamby
5903301304 am 34877877: Merge "Fix bug in CDMA WDP datagram handling (fixes incoming MMS)." into ics-mr0
* commit '34877877bb563e7e20600e6777cca4dc358a12d9':
  Fix bug in CDMA WDP datagram handling (fixes incoming MMS).
2011-10-12 01:21:34 -07:00
Jake Hamby
34877877bb Merge "Fix bug in CDMA WDP datagram handling (fixes incoming MMS)." into ics-mr0 2011-10-12 01:10:28 -07:00
Adam Powell
4d9adfe6ae am 35af3639: Merge "Fix bug 5173029 - make fast scroller aware of scrolling containers" into ics-mr0
* commit '35af3639a169b1b8e5f4d96579795e5480080b52':
  Fix bug 5173029 - make fast scroller aware of scrolling containers
2011-10-11 19:33:29 -07:00
Adam Powell
35af3639a1 Merge "Fix bug 5173029 - make fast scroller aware of scrolling containers" into ics-mr0 2011-10-11 19:30:08 -07:00
Jake Hamby
929ca5e497 Fix bug in CDMA WDP datagram handling (fixes incoming MMS).
CDMA WDP datagram handling was refactored to use the same method
that handles concatenated SMS messages. WDP datagram sequence numbers
start at 0, but GSM/CDMA concatenated sequence numbers start at 1.
Changed SMSDispatcher.processMessagePart() to count from 0 when
handling WDP datagrams.

Also changed CdmaSMSDispatcher.processCdmaWapPdu() to correctly
decode segment numbers > 127 (signed byte conversion bug)
and to reject PDUs with an out-of-range segment number (invalid
ranges are already rejected for regular concatenated messages).

Bug: 5433331
Change-Id: I25c9567769de8edca789c0d1707d4916a4c46885
2011-10-11 19:15:32 -07:00
Adam Powell
af5280cc71 Fix bug 5173029 - make fast scroller aware of scrolling containers
When a ListView with a FastScroller is located in a scrolling
container, defer the start of the drag operation for a short time or
until a touch slop is crossed. This allows these lists to be placed in
containers like ViewPagers without immediately stealing touch events.

Change-Id: I9b10b6993b24113c5e95c485bf57206747c73a84
2011-10-11 19:06:13 -07:00
Jean-Michel Trivi
09b4d99822 DO NOT MERGE Fix 5389442 RemoteControlClient javadoc
Extend RemoteControlClient class description with an example
 of instance creation showing how the PendingIntent is created
 and how it uses the same ComponentName as the one used
 in AudioManager.registerMediaButtonEventReceiver()

Change-Id: I1af61ddbf5cfb9160ea5b814bed7b881d51b7eff
2011-10-11 18:59:34 -07:00
Robert Ly
4b3e912102 docs: restructure animation and add container doc
Change-Id: I1d0eedf59f804bf8b1117d22f899b0d71040d63d
2011-10-11 18:45:26 -07:00
Svetoslav Ganov
9dbe41432c am 52763734: Merge "Dragging in touch explore mode should not become exploring." into ics-mr0
* commit '5276373430af24448324941af6b911d90a3ddd10':
  Dragging in touch explore mode should not become exploring.
2011-10-11 18:41:05 -07:00
Svetoslav Ganov
5276373430 Merge "Dragging in touch explore mode should not become exploring." into ics-mr0 2011-10-11 18:39:36 -07:00
Robert Ly
ce8af06d1e docs: restructure graphics docs and add hw-acceleration docs
Change-Id: I0f6288d1aa5430794ac672324c3e0fc7b714455d
2011-10-11 18:27:13 -07:00
Svetoslav Ganov
2e1c66bd53 Dragging in touch explore mode should not become exploring.
In touch exploration two fingers in the same direction drag and if one of them
goes up the other starts to touch explore. This however causes inadvertent touch
exploring to happen on almost every scroll causing confusion. Now two finger
drag and they should both go up to allow exploring. This way the inadvertent
exploring is gone and user experience is much better.

bug:5440411

Change-Id: Id8aaece92e5dea1fc740400d2adc9dd63a1674e4
2011-10-11 18:22:16 -07:00
Romain Guy
0bbd8d8273 Revert "Check whether an AsyncTask is created/executed on a looper thread."
This reverts commit 7498ccb6b9a1e61281d998fc81adc9a4a5e87e56.
2011-10-11 18:13:37 -07:00
Romain Guy
5e7f2d0b22 Revert "Fix the build"
This reverts commit 4db2504adab21e4439c123d2675db555e0143afa.
2011-10-11 18:13:05 -07:00
Justin Ho
696ba72729 Merge "Integrating updated system bar assets Bug: 5353986" 2011-10-11 17:53:40 -07:00
Jake Hamby
690c9df12c am c5b28bd0: Merge "Change DCS of MO SMS to the correct value for UCS-2 encoding." into ics-mr0
* commit 'c5b28bd00dd1be682103275815f588870c6fec7d':
  Change DCS of MO SMS to the correct value for UCS-2 encoding.
2011-10-11 17:32:53 -07:00
Jake Hamby
c5b28bd00d Merge "Change DCS of MO SMS to the correct value for UCS-2 encoding." into ics-mr0 2011-10-11 17:23:04 -07:00
Adam Powell
cecf202189 am acf7d982: Merge "Fix bug 5434403 - invalidation problem with seek bars at edges" into ics-mr0
* commit 'acf7d982ae981c039ec8445a30da91be0a4fbbc5':
  Fix bug 5434403 - invalidation problem with seek bars at edges
2011-10-11 16:16:09 -07:00
Adam Powell
acf7d982ae Merge "Fix bug 5434403 - invalidation problem with seek bars at edges" into ics-mr0 2011-10-11 16:14:31 -07:00
Gilles Debunne
c08ec615d2 Bug 5385279: IOOB in createMisspelledSuggestionSpan
Race condition: when spell check result come back, the spell check span may no longer
be in the text, although it should have been removed by removeSpellCheckSpan.

This is possible because onGetSuggestions is called from an other thread
and it can see the text in an inconsistent state where the span may have been removed
from the text, but the listener that calls removeSpellCheckSpan has not yet been called.
As a result, onGetSuggestions still lists the span but getSpanStart returns -1.

Change-Id: Ia40f7ed2b46fc94888fce5a6b209fb0d0d529bbe
2011-10-11 16:12:23 -07:00
Svetoslav Ganov
f42d34bdd1 Merge "Add AccessibilityRecord#getMaxScrollX and #getMaxScrollY to the pubic API" 2011-10-11 16:00:54 -07:00
Adam Powell
aa4f5c95c3 Fix bug 5434403 - invalidation problem with seek bars at edges
Explicitly invalidate the seek bar thumb area when we change drawable
states for touch down. This prevents the thumb from only being
half-invalidated at the edges since it extends into the view's padding
region.

Change-Id: Icc4e608aca044b2d05f3a9378eced839c03947e6
2011-10-11 15:38:30 -07:00
Michael Kolb
1eb08f0acb am f0f7a913: Merge "Support spellcheck attribute in WebTextView" into ics-mr0
* commit 'f0f7a9139b40e9b90a2981aa7aba49fa2c24ca1d':
  Support spellcheck attribute in WebTextView
2011-10-11 15:33:37 -07:00
Michael Jurka
c15666adea am 78bbcd31: Merge "Refactoring loading of recent apps" into ics-mr0
* commit '78bbcd31aac4e6744a00ee0a6bd6ac5cc1bec673':
  Refactoring loading of recent apps
2011-10-11 15:33:36 -07:00
Adam Powell
b24f45d542 am 1a4c4334: Merge "Fix bug 5396097 - menu theme consistency" into ics-mr0
* commit '1a4c4334f02152c96cfc71136dc31085826c6894':
  Fix bug 5396097 - menu theme consistency
2011-10-11 15:33:33 -07:00
Jeff Brown
241fe477ed am 58bf986c: Merge "Use ashmem for CursorWindows. Bug: 5332296" into ics-mr0
* commit '58bf986c3e3948242e89654e6d59b97a21345582':
  Use ashmem for CursorWindows. Bug: 5332296
2011-10-11 15:33:28 -07:00
Svetoslav Ganov
5d98d67d31 am a72a8063: (-s ours) Merge "DO NOT MERGE AdapterView does not set setCurrentItemIndex in accessibility event." into ics-mr0
* commit 'a72a80632b07dd7faf0ca2a4a0eae2770b14caa6':
  DO NOT MERGE AdapterView does not set setCurrentItemIndex in accessibility event.
2011-10-11 15:33:26 -07:00
Svetoslav Ganov
a8490f1a4d am 52f7fcf8: (-s ours) Merge "DO NOT MERGE AdapterView#isScrollableForAccessibility does not handle null adapter." into ics-mr0
* commit '52f7fcf844ffdf5f03bca58e58b1ee3e8cc1a4c5':
  DO NOT MERGE AdapterView#isScrollableForAccessibility does not handle null adapter.
2011-10-11 15:33:25 -07:00
sj0110.kim@samsung.com(sophia kim)
df0c2a94b5 Change DCS of MO SMS to the correct value for UCS-2 encoding.
An incorrect value for TP-Data-Coding-Scheme was used for MO SMS with
UCS-2 encoding. According to 3GPP TS 23.038 section 4, when bit 4 is
set to 0, bits 0 and 1 are reserved and have no message class meaning.
We were setting those bits to 1, when they should be set to 0.

This change is required to pass a GCF test case.

Change-Id: If47361f95b0e14accc6220854783dcff3d82abf6
2011-10-11 15:29:20 -07:00
Michael Kolb
f0f7a9139b Merge "Support spellcheck attribute in WebTextView" into ics-mr0 2011-10-11 15:25:22 -07:00
Jean-Michel Trivi
21e188fd6f Merge "Fix 5389442 RemoteControlClient javadoc" 2011-10-11 15:24:15 -07:00
Michael Jurka
78bbcd31aa Merge "Refactoring loading of recent apps" into ics-mr0 2011-10-11 15:23:08 -07:00
Adam Powell
1a4c4334f0 Merge "Fix bug 5396097 - menu theme consistency" into ics-mr0 2011-10-11 15:07:36 -07:00
Michael Jurka
ab48b68140 Refactoring loading of recent apps
- fix bugs 5278690 and 5432097
- no longer forcing a reload when screen is rotated
- moving recents loading code into a seaprate class
- changing variable names to use "Task" rather than "Activity" in Recent Apps

Change-Id: Ib0c8c5d537cf9d46d65b2ccb790015b601bb1bf1
2011-10-11 15:02:48 -07:00
Gilles Debunne
5915c885de Bug 5237623: word no longer underlined after replacement
When replacing a word, we need to remove *all* misspelled
suggestion spans, not just the one which triggered that popup.

Change-Id: I7be17ac626b26123b029f5e10c1e2eaa5f94d67c
2011-10-11 14:54:26 -07:00
Jeff Sharkey
69f364ae87 Merge "Update internal state when iface is removed." 2011-10-11 14:54:08 -07:00
Romain Guy
f751210b4b Merge "Fix the build" 2011-10-11 14:51:18 -07:00
Romain Guy
4db2504ada Fix the build
Change-Id: I3071feab62abee7393557ceb920786b476fb0b02
2011-10-11 14:48:56 -07:00
Michael Kolb
64b4f16adf Support spellcheck attribute in WebTextView
Bug: 5267547

    set no suggestions for WebTextView when spellcheck attribute is
    false
    depends on CL: https://android-git.corp.google.com/g/#/c/141326/2

Change-Id: I4ad476270607e9d600567bbb4d9fd321893707b1
2011-10-11 14:19:53 -07:00
Svetoslav Ganov
8b6c7dd2fe Add AccessibilityRecord#getMaxScrollX and #getMaxScrollY to the pubic API
The methods were hidden for the previoud release since they were added
too close to the SDK final date.

bug:5424373

Change-Id: I812b9809223db75636b04549500f023820b6eb5a
2011-10-11 14:16:41 -07:00
Romain Guy
df61887feb Merge "Check whether an AsyncTask is created/executed on a looper thread." 2011-10-11 14:10:10 -07:00
Romain Guy
7498ccb6b9 Check whether an AsyncTask is created/executed on a looper thread.
Change-Id: I181b253c50a6579f35e61cd4b0c500379462e035
2011-10-11 14:09:27 -07:00