The view was not showing the highest ranked activity if the default action
button was not shown (happens if no history is present).
bug:5224159
Change-Id: I66536513e14496568ea2034467bd29ea4bc93cdb
Bug 5313754: SpellCheckSession is released when the window loses focus.
When an EditText is initialized with text, a new spell check is initiated
and previous spell check spans are removed.
Requires a new flag to prevent this from happening when the window focus
change comes from the suggestion popup window being shown.
Also fixes bug 5329588: handle spell check language change.
Change-Id: I113229dbe06863d34c1369d05d067292894f73f1
Change the standalone action mode window for overlay mode to be of
TYPE_APPLICATION. (This also fixes a bug where overflow menus would
not work properly on these types of action mode bars.)
Set exitFadeDuration on btn_cab_done_holo_* drawables.
Remove no-window-focus override selector states for selectable item
backgrounds to allow proper touch feedback on windows that do not have
focus but that the user can interact with.
Change-Id: Ib504866238708150d21e6183ff7b695869c05d3e
. Make GridLayout dynamic (see below)
. Change access modifiers from private to package private
(to remove access$XX methods generated by compiler)
. Make private internal classes final (+10% perf)
. Update javadoc and add limitations section
. Improve error diagnostics
The bug above highlights the fact that GridLayout is a static
rather than dynamic layout - i.e. that the structure of the
grid could not be changed once it had been set up. This fix changes
GridLayout to a dynamic layout in which changes to its orientation,
rowCount and columnCount properties may be effected between layout
operations.
This change does not require a change to GridLayout's public API.
Change-Id: If5643574422dcfd3a557ce4db2bb19498dc6ecd8
Bug: 5335420
Fixed a bug in VelocityTracker where the output velocity was
not being set to zero when not available.
Added a condition to ensure that the velocity is at least
the minimum fling velocity before continuing. If not, then
the user is trying to stop the fling and scroll more precisely.
Change-Id: I36634b0c3f7a9a09cf20c33f71d41163a8e33eed
1. TextView was reporting only its text as the text of the emmited AccessibilityNodeInfo
not using the hint if the text is empty which is inconsistent with the handling of
accessibility events.
2. TextView was using the contentDescription in AccessibilityEvents if its
text and hint are empyty. However, the content description is reported as
a separate event property and it is incorrect to report it as the text.
bug:5129138
Change-Id: I1c9270459cb07650a0ec5181cc4a01993dde3b5c
1. CalendarView was disregarding XMl attributes.
2. CalendarView was trying to set the current date
to today without checking where today is between
min and max date.
bug:5116456
Change-Id: Ie5a81826a3cd028f42e18a7985461fa283839171
The filtering is an async process. We need to re-update completion
when it is finished.
Changed loogic to mimic the way it was done in GB.
Change-Id: If49048d786b3b9529da55c7247e7ef5f3d0fc8b5
1. Added flags to the search method to specify whether to match text or
content description or both.
2. Added test case for the seach by content description.
3. Updated the code in AccessibilityManager service to reflect the latest
changes there so test automation service works - this is the fake
service used for UI automation.
Change-Id: I14a6779a920ff0430e78947ea5aaf876c2e66076
TimePicker code for setting the IME options was not taking into
account the old style of the UI where the AmPm spinner can be
null.
bug:5318844
Change-Id: I58b1781ef95398d11ecf0ca5bb49817cbba97b54
A tap on a completion in the keyboard calls onCommitCompletion, which in turn calls
performCompletion because of the DropDownItemClickListener.
As a result, the text is replaced twice. Removing the first text replacement.
Change-Id: I4974d23c68ab25ca0ad0cda5abf25f30129b28ee
The start and end of the suggestion span were cached, where as
they should be retrieved when the user clicks since text may have
changed in the meantime.
Change-Id: Iab47f9969d538d8213a8c5b76b4b7ace8dc9428e
When the provided callback returned false for creating the mode, the
item was still getting checked and the bar was flickering. Don't do
that.
Change-Id: I384962742edeac0c43aec6f7898bd50dab064738
- check if the overscroll range is not 0
- check if we are in the correct overscroll mode
- also udpate HorizontalScrollView the same way
Change-Id: I0bb37f9813a5871eb856914786db5c06de59e4d3
Fixes up some recycling of TypedArray objects to reduce the
number we need to allocate during inflation etc.
Change-Id: I948dccc052997779001eaa99db2a710b04be01ae
1. Added an AccessibilityDelegate class in View which can be set by
a client that wants to cutomize accessibility behavior via
composition as opposed to inheritance. Insead overriding a new method in
View thus being bound to the API version that introduced this
method a developer can conditionally inject the accessibility
customization if the platform API version is heigh enough. The
developer will have to override the method of interest of the
delegate. The default implementation of the delegate methods is
the same as that of View in the case that there is no delegate
set. If a delegate is set calling an accessibility related method
on View will be handed off to the corresponsing method of the
delegate.
bug:5259555
Change-Id: I00e750e22e5e7164a1b571cb3d12ecaf4ab93db4