Fabrice Di Meglio
072b962afb
Merge "Make Toast widget aware of layout direction"
2012-06-08 11:31:21 -07:00
Fabrice Di Meglio
b4946343e8
Make Toast widget aware of layout direction
...
- Toast will resolve its gravity (when START / END) from the System locale
- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)
Change-Id: I3fe810b87d708f2ee80ca6258ad25ab32ae85d82
2012-06-07 16:29:18 -07:00
Gilles Debunne
3eaf181f96
am 11c15cfb: am 78c6aeef: Merge "Fixed cast exception with selectable text." into jb-dev
...
* commit '11c15cfb4e48c53bcaf648c82de12707d6e479ba':
Fixed cast exception with selectable text.
2012-06-07 14:22:39 -07:00
Gilles Debunne
11c15cfb4e
am 78c6aeef: Merge "Fixed cast exception with selectable text." into jb-dev
...
* commit '78c6aeeffac7b665a0e1d822e88c92ef2b5ef353':
Fixed cast exception with selectable text.
2012-06-07 14:18:44 -07:00
Gilles Debunne
78c6aeeffa
Merge "Fixed cast exception with selectable text." into jb-dev
2012-06-07 14:15:40 -07:00
Adam Powell
f6e03e5540
am 72329952: am 4c38fe36: Merge "Protect against bogus input for ListViews" into jb-dev
...
* commit '72329952168fd86b911109602882b92494e9ccc5':
Protect against bogus input for ListViews
2012-06-07 12:17:48 -07:00
Adam Powell
7232995216
am 4c38fe36: Merge "Protect against bogus input for ListViews" into jb-dev
...
* commit '4c38fe369fee76b8d4fca5a7b0b8d81a96f0219f':
Protect against bogus input for ListViews
2012-06-07 12:14:21 -07:00
Adam Powell
4c38fe369f
Merge "Protect against bogus input for ListViews" into jb-dev
2012-06-07 12:12:00 -07:00
Gilles Debunne
857c341dfe
Fixed cast exception with selectable text.
...
Bug 6550358
The EditText constructor now calls setTextIsSelectable, which uses
getText where the cast exception happens because the EditText is not
yet fully built and its text does not have the right type.
Fixed by using mText directly instead of getText().
Change-Id: I52a2720ae99475881f210ac74464728cab92147e
2012-06-07 10:51:06 -07:00
Adam Powell
28048d011c
Protect against bogus input for ListViews
...
Guard against cases where ListView might receive touch events while
detached.
Update ListMenuPresenter to dispatch a data set change when the
backing menu is changed.
Bug 6543282
Change-Id: If2fb9b6aa3cf4a1b7070a7cd0de0edf0fc2f4cca
2012-06-06 22:47:56 -07:00
Fabrice Di Meglio
e4beeb8e3c
Merge "Make Spinner widget aware of layout direction"
2012-06-06 18:27:35 -07:00
Fabrice Di Meglio
38d64c5a95
Make Spinner widget aware of layout direction
...
- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)
Change-Id: I6ebeee67e3e34271897e14f73b7364b1ae83145a
2012-06-06 18:19:51 -07:00
Fabrice Di Meglio
a26ddfacd7
Merge "Remove dead code in Switch"
2012-06-06 15:56:36 -07:00
Dianne Hackborn
20e14948f2
am 82811d45: am 533fce25: Merge "Docs (mostly): enumerate JELLY_BEAN target SDK changes." into jb-dev
...
* commit '82811d45ed21ccdff77d11495fa2045c7942bd6d':
Docs (mostly): enumerate JELLY_BEAN target SDK changes.
2012-06-06 13:37:57 -07:00
Dianne Hackborn
82811d45ed
am 533fce25: Merge "Docs (mostly): enumerate JELLY_BEAN target SDK changes." into jb-dev
...
* commit '533fce25a22718c491a86c31866b7751f1f582b7':
Docs (mostly): enumerate JELLY_BEAN target SDK changes.
2012-06-06 13:33:43 -07:00
Dianne Hackborn
636fd528f7
Docs (mostly): enumerate JELLY_BEAN target SDK changes.
...
Okay this isn't entirely docs. I have un-hidden the new permission
for binding to accessibility services; we were going to go out with
it hidden since it didn't go into factory ROM, but now that we are
doing other things we might as well expose it.
Also changed a log from E to W, since it is not an error.
Change-Id: I9226c95e3b63e12218fe41dc3f4290d9824a9e5c
2012-06-06 11:36:49 -07:00
Fabrice Di Meglio
8dbf3b006d
Remove dead code in Switch
...
Change-Id: I91b47866be6f370feef67b1aa4df3aa0d09cc6fb
2012-06-05 19:01:01 -07:00
Fabrice Di Meglio
6fc225a02f
Merge "Make CheckBox / RadioButton / ToggleButton / Star widgets aware of layout direction"
2012-06-05 17:16:31 -07:00
Fabrice Di Meglio
2842679d34
Make CheckBox / RadioButton / ToggleButton / Star widgets aware of layout direction
...
- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)
Change-Id: I8badb57d095c6a0a1d0c82bedf30b02502013ae0
2012-06-05 16:41:18 -07:00
Svetoslav Ganov
4b9320bd95
am 62ac5e0b: am 1f348443: Merge "NullPointerException in AbsListView.focusSearch()." into jb-dev
...
* commit '62ac5e0bb9ee61507b3d2a182aa78dc71869e9bb':
NullPointerException in AbsListView.focusSearch().
2012-06-05 09:54:50 -07:00
Satoshi Kataoka
75bc758c43
am d44a4411: am 69609ed4: Merge "Do not run the spell checker in SearchView" into jb-dev
...
* commit 'd44a4411751921188f3484e0638363c9c88f7f06':
Do not run the spell checker in SearchView
2012-06-05 09:22:23 -07:00
Svetoslav Ganov
62ac5e0bb9
am 1f348443: Merge "NullPointerException in AbsListView.focusSearch()." into jb-dev
...
* commit '1f3484430e71a4dc21aba9145d20e32ca4a8f72e':
NullPointerException in AbsListView.focusSearch().
2012-06-04 23:09:43 -07:00
Svetoslav Ganov
1f3484430e
Merge "NullPointerException in AbsListView.focusSearch()." into jb-dev
2012-06-04 23:07:26 -07:00
Satoshi Kataoka
d44a441175
am 69609ed4: Merge "Do not run the spell checker in SearchView" into jb-dev
...
* commit '69609ed40260b67d5ee6baace9d60cf9b677f4c9':
Do not run the spell checker in SearchView
2012-06-04 22:44:58 -07:00
Satoshi Kataoka
69609ed402
Merge "Do not run the spell checker in SearchView" into jb-dev
2012-06-04 22:42:00 -07:00
Satoshi Kataoka
9ce1116ee8
Do not run the spell checker in SearchView
...
Bug: 6603925
Change-Id: I75972185fb4d802f2a90649002e722ca4b676c42
2012-06-05 12:22:38 +09:00
Svetoslav Ganov
3016c1ae6a
NullPointerException in AbsListView.focusSearch().
...
1. One of the loops was using the last visible position
as its end boundary as opposed to the child count
minus one.
bug:6610451
Change-Id: I600545ca3f64d1e982f909f893e5d34570ec5c8b
2012-06-04 19:47:46 -07:00
Fabrice Di Meglio
0cd655ad2d
Merge "Revert "Revert "Clean up layout direction APIs for Drawable"""
2012-06-04 16:29:05 -07:00
Fabrice Di Meglio
b03b434089
Revert "Revert "Clean up layout direction APIs for Drawable""
...
This reverts commit c96132ff53
2012-06-04 12:55:30 -07:00
Fabrice Di Meglio
d9fe9e8427
Merge "Make Switch widget aware of layout direction"
2012-06-04 12:43:07 -07:00
Svetoslav Ganov
904db5b4e7
am f3873333: am 30384653: Merge "Focus search in AbsListView returns invisible views." into jb-dev
...
* commit 'f3873333e014219601e8dc4e6bee364c50390c5d':
Focus search in AbsListView returns invisible views.
2012-06-04 08:26:35 -07:00
Svetoslav Ganov
f3873333e0
am 30384653: Merge "Focus search in AbsListView returns invisible views." into jb-dev
...
* commit '30384653d2fc4d497ab3124c998c7d516f1bd25f':
Focus search in AbsListView returns invisible views.
2012-06-04 08:22:30 -07:00
Svetoslav Ganov
30384653d2
Merge "Focus search in AbsListView returns invisible views." into jb-dev
2012-06-04 08:17:26 -07:00
Svetoslav Ganov
b1fa98bb1c
Focus search in AbsListView returns invisible views.
...
1. The focus search algorithm considers only visible
views, specifically when adding focusables. Since
AbsListView implements a custom focus search strategy
for better user experience it also has to return
only views that are visible.
bug:6543878
Change-Id: I6207c29402e4ac6190c1e65d042e04449aa75ef8
2012-06-03 22:04:44 -07:00
Svetoslav Ganov
bc595b798e
am b59d0618: am b6585d19: Merge "Double input focus and focus movement in list not working." into jb-dev
...
* commit 'b59d06186130921c02b6a4b0c98d0c43379df6d4':
Double input focus and focus movement in list not working.
2012-06-03 18:59:50 -07:00
Svetoslav Ganov
b59d061861
am b6585d19: Merge "Double input focus and focus movement in list not working." into jb-dev
...
* commit 'b6585d19311f13ec28fa38a3c849589dba8c293a':
Double input focus and focus movement in list not working.
2012-06-03 18:55:22 -07:00
Svetoslav Ganov
b552d89e90
Double input focus and focus movement in list not working.
...
1. The clearFocus routine in ViewGroup was clearing the pointer
to the descendant which has focus after calling clear focus
on that child. However, currently clearing the focus of a view
causes the view that loses focus to try to give the focus to
the first focusable which potentially sets the pointer to the
child that has input focus in the ViewGroup but the ViewGruop
essentially clears that pointer. This resulted in having two
focused views at the same time in some cases.
2. AbsListView was not calling the super implementation of add
focusables if the focus type was not accessibility.
bug:6559819
Change-Id: I478dfed000b5de3f9b15e12eb82aa3d34c2301e4
2012-06-02 14:35:13 -07:00
Svetoslav Ganov
665ef836b5
am 40404f43: am cba5e879: Merge "Calling the correct method when adding accessibility focusables." into jb-dev
...
* commit '40404f435c17dfbbedfdf358c48f0f91df91b84f':
Calling the correct method when adding accessibility focusables.
2012-06-02 08:40:16 -07:00
Svetoslav Ganov
40404f435c
am cba5e879: Merge "Calling the correct method when adding accessibility focusables." into jb-dev
...
* commit 'cba5e879e825fe37bc1eb092c14f3a5c4d7a29d1':
Calling the correct method when adding accessibility focusables.
2012-06-02 08:35:24 -07:00
Dianne Hackborn
cbc5e0aae4
am 3522225d: am ea01e4a2: Merge "Survey says: NIET!" into jb-dev
...
* commit '3522225dba19e77defaf56f0e70c0382c2cbb0a2':
Survey says: NIET!
2012-06-02 08:20:36 -07:00
Jean-Baptiste Queru
c96132ff53
Revert "Clean up layout direction APIs for Drawable"
...
This reverts commit c1da65187a .
2012-06-02 05:46:20 -07:00
Svetoslav Ganov
a90e4512ab
Calling the correct method when adding accessibility focusables.
...
1. Since we added explicit accessibility focusable attribute when
adding focusables views that do so should call this method. Some
views were not updated to do so.
bug:6581924
Change-Id: Id64c0b2d76e5269ebf3fbe17203e73b174bdb843
2012-06-01 19:02:42 -07:00
Dianne Hackborn
3522225dba
am ea01e4a2: Merge "Survey says: NIET!" into jb-dev
...
* commit 'ea01e4a2d5cc28093e9fd720055082b2d3f708d9':
Survey says: NIET!
2012-06-01 19:01:33 -07:00
Fabrice Di Meglio
28efba38c0
Make Switch widget aware of layout direction
...
- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)
Change-Id: I40e77e54ccee2e596ebc4649871debfd35ed95fa
2012-06-01 18:20:18 -07:00
Dianne Hackborn
ea01e4a2d5
Merge "Survey says: NIET!" into jb-dev
2012-06-01 14:13:08 -07:00
Dianne Hackborn
4034bc431d
Survey says: NIET!
...
Bug: 6593206
Change-Id: I5390609a5615d6aff1793a9bc361012a0cea330b
2012-06-01 13:38:48 -07:00
Fabrice Di Meglio
7806882541
Merge "Clean up layout direction APIs for Drawable"
2012-06-01 11:41:58 -07:00
Fabrice Di Meglio
c1da65187a
Clean up layout direction APIs for Drawable
...
- see bug #6427629
Change-Id: I3119db3022bba0ee325b6d0d4471bfebd850ec10
2012-06-01 11:39:10 -07:00
Svetoslav Ganov
2a086877a4
am 570ad8c2: am 00ca7a88: Merge "Accessibility focus traversal of lists inconsistent." into jb-dev
...
* commit '570ad8c2b6f89f6ca9f2dfeb33d0eca19278e739':
Accessibility focus traversal of lists inconsistent.
2012-06-01 08:58:35 -07:00
Svetoslav Ganov
570ad8c2b6
am 00ca7a88: Merge "Accessibility focus traversal of lists inconsistent." into jb-dev
...
* commit '00ca7a88271916f6022b2aa16acfb415fc1b5247':
Accessibility focus traversal of lists inconsistent.
2012-06-01 08:54:38 -07:00