25236 Commits

Author SHA1 Message Date
Svetoslav Ganov
fd19906b50 Merge "Inter process interrogation ocassionally gets stuck." 2011-09-09 18:57:35 -07:00
Svetoslav Ganov
6bc5e53001 Inter process interrogation ocassionally gets stuck.
1. There was a bug that was not handling correctly the
   case for which the interrogator requests an accessibility
   node info and the message describing how to fetch the
   latter for the same process case was delivered after the
   code that checks whether the message is there in order to
   dispatch it is executed. Now the message handling is done
   correctly - the caller checks if the message is present and
   if so processes it, otherwise the caller sleeps and is
   interrupted if such a message arrives.

bug:5138933

Change-Id: I4c2940b46c9a52a51c5ee48b83ca6811489765d6
2011-09-09 18:52:26 -07:00
Dianne Hackborn
acc3012cd0 The wave view attributes should not be public.
Change-Id: I7f021fc79385f5cf2e252389cc5f672f334ee4c4
2011-09-09 18:35:23 -07:00
Adam Powell
81cca039bd Merge "Fix metrics on Holo progress dialogs" 2011-09-09 17:47:23 -07:00
Adam Powell
ba3c377ba4 Fix metrics on Holo progress dialogs
Change-Id: I8818d002dcee0ca6d6deead9e0403c07e8ef4460
2011-09-09 17:40:06 -07:00
Romain Guy
3593fc4c3f Merge "Go faster!!!!" 2011-09-09 17:35:02 -07:00
Jeff Brown
78f6e63031 Handle DOWN/MOVE/UP gestures with fling.
Bug: 5265814

When MOVE events are batched, a ListView may not receive only
one MOVE event followed immediately by an UP in the case of
a quick fling.  Unfortunately, the old code relied on there
being at least one additional MOVE event following the first
in order to really scroll or fling.

This change extracts common code from onTouchEvent to
handle scrolls as soon as they are started if there is additional
remaining motion beyond the initial touch slop (taken care of by
mMotionCorrection).

Change-Id: I8c8f03f580bfba96aa69cf111d245ba7fd3b4c2a
2011-09-09 17:15:31 -07:00
Gilles Debunne
c9fd978da6 Bug 5281947: add to dictionnary option promoted in suggestions.
When several SuggestionSpans are available at a given position, their
content are merged, in creation time order.

As a result, the IME's suggestions are picked before the spell check, and
no add to dictionnary option is created.

This CL modifies the comparator to make easy correction spans appear first
(Voice IME), then misspelled words and then regular suggestions.

Also avoids the creation of a new comparator and length hash map on every display.

Change-Id: I1f9f031a6fdcbbc09f248a192b83051092765f8e
2011-09-09 17:01:31 -07:00
Gilles Debunne
5132273273 Hide method to fix the build
Change-Id: I5a556454a722bf037932632fa7e6ee6a2832a68d
2011-09-09 16:46:42 -07:00
Mangesh Ghiware
886b372b52 On zoom to overview, reflow text, if necessary.
Reset the text wrap scale to the correct value (i.e., reading level
scale) on zoom to overview. This addresses the scenario where text is
wrapped at a larger scale following a pinch zoom and double tap to
reflow.

Bug: 5254253
Change-Id: I57f706ef4254dd3f194cc35f109dd48b61b72f73
2011-09-09 16:22:51 -07:00
Ben Murdoch
a3809b344c Merge "Relax form autocomplete conditions" 2011-09-09 16:14:20 -07:00
Adam Powell
67fe057344 Merge "Fix bug 5214224 - Align stock framework list item padding for dialogs" 2011-09-09 16:12:03 -07:00
Gilles Debunne
2bfc75a6d9 Merge "Bug 5255124: Move cursor to the end of a word after correction popup alternates selection" 2011-09-09 16:01:08 -07:00
Robert Greenwalt
61db35da2b am 2f835a61: Merge "Make copies of NetworkInfo to give out." into honeycomb-LTE
* commit '2f835a6193c14e27cf761d85ac3ea4c9bd9296f8':
  Make copies of NetworkInfo to give out.
2011-09-09 15:52:42 -07:00
Gilles Debunne
4f2b0dc552 Merge "Bug 5278456: text highlight color depends on the type of suggestion spans." 2011-09-09 15:52:09 -07:00
Peter Ng
039482153d Spinner touchstates now in line with list states
Change-Id: I693eb5f16193119eb71dfc1d7991a786efbb8b79
2011-09-09 15:51:20 -07:00
Adam Powell
88f8b84e4c Fix bug 5214224 - Align stock framework list item padding for dialogs
Set holo dialog themes to 16dip of padding for list items to align with
theme dialog metrics.

Change-Id: Ia07c08f05fadfe8bbcb596d6fe8a27cc14805c6c
2011-09-09 15:49:03 -07:00
Jaikumar Ganesh
61eb5ae855 Don't override the hash code for the channel.
Each channel is uniquely represented by the object itself,
so use the hash code to identify it. Using channelPath in the
calculation will mess up things - since in Connecting state the
channel path is null and when its connected, we will get a different
hash code.

Change-Id: I6af6c783e18fddbd38344432b8156e000baafb15
2011-09-09 15:48:22 -07:00
Romain Guy
1ef3fdbe04 Go faster!!!!
The less we do, the faster we draw.

Change-Id: I7bbc3908b36d8ae295ea3e61ef71fd9ee2187970
2011-09-09 15:34:49 -07:00
Dianne Hackborn
7b8d7cb59c Merge "Pull animation attributes out of main view class." 2011-09-09 15:27:44 -07:00
Jaikumar Ganesh
6d172e60bb Merge "Add error codes for channel disconnection / connection." 2011-09-09 15:19:43 -07:00
Adam Powell
4eb37f8a2c Merge "Bug 5214224 - List item metrics" 2011-09-09 15:18:01 -07:00
Robert Greenwalt
6aecb98a62 Make copies of NetworkInfo to give out.
Otherwise we'll change it out from under those we've given it too.
bug:5233462

Change-Id: Iffc886849edfa6ced3da1133f9d363e11b2733f8
2011-09-09 15:10:42 -07:00
Gilles Debunne
1a87ba4636 Bug 5255124: Move cursor to the end of a word after correction popup alternates selection
Change-Id: Idd3edc72edf864f256df173bcf643163192ecbde
2011-09-09 15:02:10 -07:00
Ben Komalo
13c7197da8 Revert encryption mapping for device wipes.
External storage volumes that were emulated+encrypted needed to have
their encryption mapping removed so that it doesn't try to encrypt the
volume after formatting them.

This just wires through an argument through vold, and assumes that vold
will do the right thing even if there is no encryption mapping set.

Bug: 5017638
Change-Id: I858fae3d12cb415bc34637f520f71220ad9daaad
2011-09-09 14:44:40 -07:00
Dianne Hackborn
ddb715b238 Pull animation attributes out of main view class.
These are now in a separate class that is only allocated when
needed by the view.

Change-Id: I9601bb43b3b4bfdabd982b02f7cd7534437b8ac3
2011-09-09 14:43:39 -07:00
Adam Powell
7c8375d652 Bug 5214224 - List item metrics
Base list item padding on the theme. Adjust stock framework list items
to obey this. Adjust text sizes in stock list items based on existing
theme attributes.

Change-Id: I98a441e5494fa1d1d34a5f05e525e54e8b0d78b9
2011-09-09 14:41:37 -07:00
Ben Murdoch
2376f8253f Relax form autocomplete conditions
Use the URL host and path rather than the complete url to store
form autocomplete data. This helps in the situation that a site
uses some dynamic query string on the page that contains the form.

Also set the autoocmplete threshold to 1 so that we don't flick the
autocomplete options up and down as you type the first few characters.

Bug: 5265606
Change-Id: I7b372400062ae34f70a78b786007910dc179b101
2011-09-09 22:38:39 +01:00
Dianne Hackborn
104f6a07c9 Merge "Fix issue #5273986: The power usage of the mp3 background playback..." 2011-09-09 14:28:05 -07:00
Peter Ng
d67ff5c41d Merge "list_dividers for xh are now 2pixels high." 2011-09-09 13:38:40 -07:00
Dianne Hackborn
9fe6cb5cc2 Fix issue #5273986: The power usage of the mp3 background playback...
...increased from ~50mA to 260mA

Change-Id: I24d7188185f4ec5ff9e1f29c15472ae56c851e5e
2011-09-09 13:02:43 -07:00
Peter Ng
920d06db8d Merge "Updated CAB done assets" 2011-09-09 11:27:40 -07:00
Svetoslav Ganov
99e109915e Merge "The time and data pickers did not support IME editor action correctly." 2011-09-09 11:24:24 -07:00
Peter Ng
4618a53e38 list_dividers for xh are now 2pixels high.
-1px everywhere but xhdpi
-deleted no dpi
-changed holo_light #000 15%
-changed holo_dark #fff 10%

Change-Id: I1ee16bb21b80655d62b91a2b43b3740700463cc7
2011-09-09 11:23:50 -07:00
Svetoslav Ganov
5b60d38a8a Merge "Update the sharing UI according to latest UX specs." 2011-09-09 11:18:40 -07:00
Peter Ng
d64cb7d579 Updated CAB done assets
-removed cab background on press and focused

Change-Id: Ib93632955bbaa62497acc82079091019ba7991c3
2011-09-09 11:07:51 -07:00
Jeff Brown
1d50a2c068 Merge "Adjust layers for system overlays." 2011-09-09 11:06:25 -07:00
Subir Jhanb
37f8b51b43 Merge "NPE check in the SyncStateContract BUG:5196483" 2011-09-09 10:36:09 -07:00
Fred Quintana
7cbfa977ec Merge "Add a form of getAuthToken that both accepts an options Bundle and doesn't accepts an activity." 2011-09-09 09:52:45 -07:00
Ken Wakasa
8b83a72976 Fix a bug in InputMethodSubtype constructor
bug: 5249480

Change-Id: I707e45cc0606dae7824c478ab586fc24d3f417f8
2011-09-09 20:56:29 +09:00
Jim Miller
4f4ed38a88 Merge "Fix 5185505: Add support for weak biometric sensors to lockscreen." 2011-09-09 00:58:01 -07:00
Jim Miller
6edf2637e9 Fix 5185505: Add support for weak biometric sensors to lockscreen.
Added binder interfaces to the framework.

Change-Id: I7d55b45baa4d1600ebd2a3828e85c3357cfcfb58
2011-09-09 00:53:02 -07:00
Michael Jurka
6c0d41a4ea Merge "Fix FrameLayout padding when foreground drawable is set" 2011-09-08 20:56:35 -07:00
Michael Jurka
02473da2b0 Fix FrameLayout padding when foreground drawable is set
The padding of the foreground drawable was being added to the padding that already existed, even if the foreground drawable was drawing within the padded region. This was preventing having a foreground drawable and a background drawable set on a FrameLayout that overlapped perfectly.

Change-Id: I355ff9323fb49afc5816f47ec9e257e0ff849861
2011-09-08 20:39:16 -07:00
Svetoslav Ganov
a53efe9923 The time and data pickers did not support IME editor action correctly.
1. Updated TextView to traverse all focusable items. It was searching focus
   down and up and was missing right and left focusabled. Updated the focus
   seach to use FOCUS_FORWARD and FOCUS_BACKWARD - now all focusable views
   are visited.

2. TimePicker and DatePicker were not specifying the IME options for
   the next and done editor actions.

bug:5264046

Change-Id: Ief80863fc312582f2f76928bf6e915f620c427e5
2011-09-08 20:19:48 -07:00
Neal Nguyen
fbfe6d971d Fixing DownloadManager Test app.
The skip notification version of waitForDownloadOrTimeout wasn't actually
skipping the DownloadManager notification check.

Change-Id: Iee42d9c67e63c9dc45ef5aad8ada7d34c31eeb60
2011-09-08 20:05:32 -07:00
Jeff Brown
bfcb60ab0f Adjust layers for system overlays.
Prevent system overlays from showing above the notification bar.

Allow secure system overlays to be fullscreen, for the pointer
location view.

Show the drag layer above the notification bar.

Change-Id: Ic8d663792a243cca2cd9952d241d001e0357d551
2011-09-08 18:53:42 -07:00
Gilles Debunne
fa4e2d994b Bug 5278456: text highlight color depends on the type of suggestion spans.
Change-Id: I76ac02b7688a297c0e83d593f446a4cf2ee36015
2011-09-08 18:35:54 -07:00
Fabrice Di Meglio
2295cc77c7 Merge "Fix bug #2246815 Error popups on EditText should span the width of the screen instead of the width of the EditText field" 2011-09-08 18:27:29 -07:00
Adam Powell
9c7b547e7f Merge "Fix bug 5279075 - Handle action bar config changes when action mode is active" 2011-09-08 18:23:26 -07:00