24896 Commits

Author SHA1 Message Date
Chet Haase
c861bd778b Clarify AnimationSet docs and behavior
Two problems fixed here:
- The docs for AnimationSet were too vague and incorrect: some properties of
Animation (such as duration) are pushed from the AnimationSet down to its children, as
the current docs say. Some other properties (such as repeatCount) are ignored. Other
properties (such as startOffset) apply to the Set itself, but not to the children.
Fix: clarify this behavior for each of the properties.
- The behavior for XML resources was just busted. We would set the various properties
(e.g., duration) and then forget that we did so, since we reset the flags that marked
their existence after we loaded the resource. In fact, the duration property was
always being reset to 0, regardless of what it was set to in the xml resource.
Fix: Make it work they way it always should have: respect the values read from the XML
resource and make them behave the same way they do when set at runtime.

Change-Id: I07d68876d2259105dc5a359501d5c656ecfaa8e5
2011-09-06 14:14:29 -07:00
Ken Wakasa
05dbb65dfa Two line item for the IME switcher dialog.
bug: 5098770
Change-Id: I2b955973e7f223d8c98d8dac6aaa657a7a31b555
2011-09-06 00:07:03 +09:00
satok
dbfba8560d Add a function to check auxiliary ime.
Change-Id: Ibda3d0a11c7dd77aa1304d34fc858bb7d941c626
2011-09-05 19:19:12 +09:00
Jim Miller
3d7467bd78 Merge "Fix 5185505: Update DevicePolicyManager to support weak biometric security." 2011-09-02 18:54:53 -07:00
Jim Miller
3e5d3fd7e1 Fix 5185505: Update DevicePolicyManager to support weak biometric security.
Change-Id: If0fa49908a10d8057b9398112d47eb968cc77060
2011-09-02 17:30:35 -07:00
Dianne Hackborn
6b0c11da5a Merge "Fix issue #5150899: Call activity takes 15MB we never get back." 2011-09-02 17:18:32 -07:00
Adam Powell
a59e3146b7 Merge "Fix bug 5201420 - Appease the monkeys" 2011-09-02 17:01:28 -07:00
Adam Powell
e1bf486846 Fix bug 5201420 - Appease the monkeys
Make ListView.onFocusChanged more tolerant of missing adapters.

Change-Id: Icae1cfd02fe369d3fd0e3c6531adb973f44f3036
2011-09-02 16:56:57 -07:00
Chet Haase
44671725bf Merge "Fix artifact with LayoutTransitions on disappearing window." 2011-09-02 16:52:03 -07:00
Adam Powell
d857837df2 Merge "Fix bug 5231904 - Fix wobbly progress spinners" 2011-09-02 16:48:55 -07:00
Adam Powell
a1b92c5e8b Fix bug 5231904 - Fix wobbly progress spinners
Make ProgressBar maintain aspect ratio on indeterminate progress drawables.

Make RotateDrawable tolerate left/top bounds != 0.

Change-Id: Iee03030caa98f72a8745f1ae3fb0de108ff663d4
2011-09-02 16:37:41 -07:00
Chet Haase
3c4ce72c4d Fix artifact with LayoutTransitions on disappearing window.
Logic in performTraversals() starts a transition running at the
proper time. But when a view's parent window goes away, this transition
may not start at that time because drawing gets canceled. But the
transition still hung off of the ViewRoot, waiting until some later
drawing operation to kick it off. This resulted in some weird animations
like the Recents panel appearing and having a single item animate off of it.

The fix is to delete pending transitions when drawing is skipped.

Change-Id: I3ab7702c16e069644a163424f977350743e2cecc
2011-09-02 16:10:43 -07:00
Eric Laurent
929827b819 Merge "Fix issue 5252593: any app can restart the runtime" 2011-09-02 16:05:03 -07:00
Eric Laurent
dca56b9432 Fix issue 5252593: any app can restart the runtime
Replace null device address string by empty sting.

Change-Id: I285c35f3345334e6d2190493b1a8a5aca1a361a4
2011-09-02 15:59:50 -07:00
Jeff Sharkey
890aaea2fb Merge "Show statusbar clock based on lockscreen status." 2011-09-02 15:07:19 -07:00
Gilles Debunne
572527f2c3 Merge "Remove the suggestion underline when the TextView loses focus." 2011-09-02 13:54:48 -07:00
Gilles Debunne
a41bc33855 Merge "Popup windows positions are updated when a TextView is scrolled" 2011-09-02 13:24:20 -07:00
Gilles Debunne
f3d78eac0f Merge "Added an add to dictionary option in suggestions for misspelled words" 2011-09-02 13:19:24 -07:00
Gilles Debunne
26b5cf40b1 Merge "Fixes around text selection" 2011-09-02 13:17:44 -07:00
Gilles Debunne
1737fcd689 Merge "Fix for NPE in Switch" 2011-09-02 13:17:13 -07:00
Martijn Coenen
0c8d57d124 Merge "Fix Activity ref-leak in NFC dispatch API." 2011-09-02 12:50:27 -07:00
Dianne Hackborn
5d927c2d8e Fix issue #5150899: Call activity takes 15MB we never get back.
Persistent process can no longer use hardware acclerated drawing
when running on a low-memory device.

Change-Id: I3110335617af1c98fcede9bf41f4a1d0c20d0e87
2011-09-02 12:22:18 -07:00
Luca Zanolin
fe5e9834a3 Remove the suggestion underline when the TextView loses focus.
Only the easy correction (i.e., voice ime corrections) will lose the underline, while the misspelled span will not.

Change-Id: If96c17473dd70c99b808739ddde800cc93551e2a
2011-09-02 19:41:42 +01:00
Gilles Debunne
70a6312f09 Fixes around text selection
Text selection mode was started by two consecutive taps inside a
field with selectAllOnFocus.

ArrowKeyMovementMethod does not respect the possible cancelLongPress and handles up events.
As a result a scroll that happens to end up at its initial position will be considered a tap
and will move the cursor.
This is however not considered as a tap in TextView and a possible selection mode would not
be stopped in that case.
Fixed by making ArrowKeyMovementMethod aware of the cancel that happened in Touch.

Change-Id: I07372b703f250e1edc7ee0665318ce30441b9187
2011-09-02 11:26:46 -07:00
Mangesh Ghiware
5afd2bd02a Merge "Set reading level scale to display density instead of a fixed minimum." 2011-09-02 11:14:14 -07:00
Dianne Hackborn
c592e8e61a Merge "Fix issue #4554429: API REVIEW: deprecate Live Folders" 2011-09-02 10:37:38 -07:00
Jeff Sharkey
054340d0a3 Show statusbar clock based on lockscreen status.
Keep track of lockscreen clock visibility, and only hide statusbar
clock when one is provided by lockscreen.  This fixes bug where widget
would hide all clocks.

Bug: 5242065
Change-Id: I48de98ecb956c7f22bd40b54d771c78c1a80c14c
2011-09-02 10:31:15 -07:00
Jeff Sharkey
52f159c79e Merge "Fix notification ticker info text alignment." 2011-09-02 10:07:58 -07:00
Gilles Debunne
e90bed18cc Added an add to dictionary option in suggestions for misspelled words
Change-Id: I031f17a76b4a81ae375b778046b8c391f9b8b2b2
2011-09-02 09:04:26 -07:00
satok
bffb83e96c Merge "Add an option for the implicitly selected subtype" 2011-09-02 04:44:41 -07:00
satok
a86f5e448c Add an option for the implicitly selected subtype
Bug: 5057886
Change-Id: Iddde4724891501b4f18cade6a3d2c64b6124e58a
2011-09-02 20:27:38 +09:00
satok
ee5e77cafe Make setAdditionalInputMethodSubtypes async
Bug: 5120261
Change-Id: Ic7869cfaa5361531e08d58d7dfa5ba0feab0613e
2011-09-02 19:22:50 +09:00
satok
117999d1f4 Make the spell checker session static
Change-Id: I66d51f33e005f46465232d3fc460cda0609609ea
2011-09-02 17:55:43 +09:00
satok
a2f69c914d Merge "Make the constructor of InputMethodSubtype hidden." 2011-09-01 23:22:55 -07:00
satok
3889e492bc Make the constructor of InputMethodSubtype hidden.
The constructor is not open sourced yet.

Change-Id: I69385b05cb3b5ee761a5ece9be877a8682c5fe55
2011-09-02 15:12:20 +09:00
Jeff Sharkey
e916f70996 Fix notification ticker info text alignment.
Bug: 5215277
Change-Id: I8df97a56056cd79b44a69b1c8b9852e2082c87b9
2011-09-01 22:27:09 -07:00
Jeff Sharkey
9b69a04e24 Merge "Sample network statistics for sanity check." 2011-09-01 21:31:21 -07:00
Kristian Monsen
ff7130288f Merge "Close idle connections on pause timers" 2011-09-01 20:30:19 -07:00
Dianne Hackborn
c6acd688c0 Fix issue #4554429: API REVIEW: deprecate Live Folders
Change-Id: Iddb5a55866469d24a20cc61a28c4dbe146bfd0bf
2011-09-01 19:58:00 -07:00
Martijn Coenen
3433a8ae5a Fix Activity ref-leak in NFC dispatch API.
Change-Id: I7b1ee6927747b12eb94cfd6ece40c2c73003f07f
2011-09-01 19:19:29 -07:00
Svetoslav Ganov
17b0317e8d Merge "Accessibility events fired from AdapterView underpopulated." 2011-09-01 18:39:29 -07:00
Svetoslav Ganov
c48c47c820 Accessibility events fired from AdapterView underpopulated.
Accessibility events fired by an AdapterView did not report
the index of the first and last visible items, rather only
the total item count.

bug:5225039

Change-Id: I6931d82f0418c659f26e1e8a345da69da99690c5
2011-09-01 18:22:37 -07:00
Svetoslav Ganov
d5e6527f5f Merge "Polish of the accessibility feedback of Date and Time pickers" 2011-09-01 18:14:38 -07:00
Svetoslav Ganov
3fec3fe0e3 Polish of the accessibility feedback of Date and Time pickers
bug:5228006
bug:5228004

Change-Id: I927e3a6dcbf4f81eab6f506fc38842d8e7a37aa1
2011-09-01 18:04:27 -07:00
Adam Powell
01bc5f9063 Merge "FIX BUG 5244136 - HOLO LIST SEPARATOR TEXT DOES NOT SHOUT" 2011-09-01 18:00:56 -07:00
Gilles Debunne
f682a77d5e Popup windows positions are updated when a TextView is scrolled
The View's internal scroll was not triggering an update of the popup windows' positions.

Also fixes an update problem when a new long press moved the action popup window.

Change-Id: Ic3bb39fc55981c67db2a15ef2e90aad37a36d116
2011-09-01 18:00:52 -07:00
Kristian Monsen
64decc6082 Close idle connections on pause timers
Part of fix for bug 4487538 Current Drain

Change-Id: Ie957321d11ee3a94a5549aebb5be6e3cb444ebcf
2011-09-02 01:50:04 +01:00
Adam Powell
56dcbda3ee FIX BUG 5244136 - HOLO LIST SEPARATOR TEXT DOES NOT SHOUT
Holo's listSeparatorTextViewStyle now uses the all-caps style.

Change-Id: Ia1d21ecc3c05a3e3fc29a78c683e875ce08cab99
2011-09-01 17:42:57 -07:00
Fred Quintana
f705f788b5 Merge "Make the SyncManager timeout syncs if it takes too long to bind to them." 2011-09-01 17:35:25 -07:00
Romain Guy
f679ed0939 Merge "Prevent a leak when using View.postInvalidate(left, top, right, bottom)" 2011-09-01 17:02:28 -07:00