use by SearchDialog. SearchDialog wants to be able to say a dropdown should
not always be visible but still let it ignore outside touch when it does
show.
Fixes http://b/1997170
Merge commit 'b551fb872be9b758c7793f56398d25a74d4a404c'
* commit 'b551fb872be9b758c7793f56398d25a74d4a404c':
Always call ensureImeVisible when the text field is clicked. We want this
* changes:
Always call ensureImeVisible when the text field is clicked. We want this regardless of whether dropDownAlwaysVisible is true or not, as long as the popup is showing and is potentially obscuring the IME.
Merge commit '74cb705f0c1ee5ccb598b2b676aa50a36e6af7f9'
* commit '74cb705f0c1ee5ccb598b2b676aa50a36e6af7f9':
Fixes#1818201. Do not attempt to display the popup until after the first layout.
Before, if dropDownAlwaysVisible was false,
the soft keyboard height was always taken into
account when calculating the available vertical space for
the AutoCompleteTextView drop-down height.
This meant that the drop-down would never pop over the soft
keyboard when navigating in the drop-down list.
This change makes the drop-down pop over the soft keyboard
when the keyboard is not needed, regardless of the value of
dropDownAlwaysVisible.
Fixes http://b/issue?id=1978935
Merge commit '8b9baf2dfb4dd1bd6379d923a3aa61a082783368'
* commit '8b9baf2dfb4dd1bd6379d923a3aa61a082783368':
Remove exception throw when a view has a self dependency inside a
RelativeLayout.
There are unfortunately successful 3rd party apps declaring self dependencies.
There's no reason to crash the app so just ignore this issue.
Merge commit 'f32f746b83826303350417ff9937a6f9e5488f24'
* commit 'f32f746b83826303350417ff9937a6f9e5488f24':
Make the SearchDialog's AutoCompleteTextView dropdown respect the
IME again when the user presses right or left from a query-jammed
suggestion to continue editing. Previously we required the user
to press on the text field again in order to get the IME to show.
We accomplish this by factoring out the code to 'ensureImeVisible'
into a separate method and calling that from SearchDialog.
Fixes http://b/1976338
Merge commit '9ce081aa2493dc163a42decfd4e1756b5c55a834'
* commit '9ce081aa2493dc163a42decfd4e1756b5c55a834':
Add ability to delay messages in Filter based on constraint. Use this to delay 500ms for delete keys in the search dialog.
Merge commit 'c122824f48266c5df1b1b3a0a915619e5963ed7a'
* commit 'c122824f48266c5df1b1b3a0a915619e5963ed7a':
Run background threads associated with filtering at background priority.
Merge commit '00d3e361148133cea354d358757628b0acc01b75'
* commit '00d3e361148133cea354d358757628b0acc01b75':
Restore PopupWindow's original behavior and add an API to control the soft input
* changes:
Fix couple of issues in DatePicker The NumberPicker's listener needs to be invoked only if the current value changes when validating input. This removes the some unwanted duplicate calls to onChanged. Adjust day for month and leap years. note that updateDaySpinner directly sets the value on day picker and doesn't invoke the listener twice
The NumberPicker's listener needs to be invoked only if
the current value changes when validating input.
This removes the some unwanted duplicate calls to onChanged.
Adjust day for month and leap years. note that updateDaySpinner
directly sets the value on day picker and doesn't invoke the
listener twice
Merge commit 'e8b88ac15c5d93f7c28c31d62c534df4b9587712'
* commit 'e8b88ac15c5d93f7c28c31d62c534df4b9587712':
Fix to use DP instead of pixels for Thumb drawable size.
The Javadoc for isItemChecked, getCheckedItemPosition, and
getCheckedItemPositions stated the return was valid if conditions
were the inverse of what the method checked for.
This was pointed out in Android issue 2366