Make ProgressBar maintain aspect ratio on indeterminate progress drawables.
Make RotateDrawable tolerate left/top bounds != 0.
Change-Id: Iee03030caa98f72a8745f1ae3fb0de108ff663d4
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
Persistent process can no longer use hardware acclerated drawing
when running on a low-memory device.
Change-Id: I3110335617af1c98fcede9bf41f4a1d0c20d0e87
Only the easy correction (i.e., voice ime corrections) will lose the underline, while the misspelled span will not.
Change-Id: If96c17473dd70c99b808739ddde800cc93551e2a
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
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
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
Happens when the checked state is set in XML in the CompoundButton
constructor. The drawable are not yet loaded at that point.
This still work since the Switch constructor calls setChecked, which
will invalidate.
Change-Id: I76459307e77596ce0f2759e9449eb42287c6bad7