Jean-Baptiste Queru
fce51d5873
am 98e955d2: am 20d6caf8: Merge "Fix issue #13366 . Take account of stackFromBottom in computeVerticalScrollOffset()."
...
* commit '98e955d295441636ba19688e18a8223691256d2c':
Fix issue #13366 . Take account of stackFromBottom in computeVerticalScrollOffset().
2012-06-18 09:27:53 -07:00
Jean-Baptiste Queru
98e955d295
am 20d6caf8: Merge "Fix issue #13366 . Take account of stackFromBottom in computeVerticalScrollOffset()."
...
* commit '20d6caf8888d4114b6ce79d93c7c9cf903ad8c22':
Fix issue #13366 . Take account of stackFromBottom in computeVerticalScrollOffset().
2012-06-18 09:23:55 -07:00
Pieter-Jan Vandormael
bbf7b4cdcf
Fix issue #13366 . Take account of stackFromBottom in
...
computeVerticalScrollOffset().
Change-Id: I743708ef1ac05e358840f37010de36b7d0c6a346
Signed-off-by: Pieter-Jan Vandormael <ezelspinguin@gmail.com >
2012-06-16 17:11:54 +02:00
Victoria Lease
49ccb116e9
am 1b15102f: am 72b8fc7e: Merge "Revert "Fix fake bold for fallback fonts in frameworks."" into jb-dev
...
* commit '1b15102fc040f59c72c6453dee15b791f54c9f06':
Revert "Fix fake bold for fallback fonts in frameworks."
2012-06-12 13:00:37 -07:00
Victoria Lease
1b15102fc0
am 72b8fc7e: Merge "Revert "Fix fake bold for fallback fonts in frameworks."" into jb-dev
...
* commit '72b8fc7e6da2f335880750513401d680417dfd13':
Revert "Fix fake bold for fallback fonts in frameworks."
2012-06-12 12:42:54 -07:00
Victoria Lease
72b8fc7e6d
Merge "Revert "Fix fake bold for fallback fonts in frameworks."" into jb-dev
2012-06-11 15:21:39 -07:00
Victoria Lease
aa0980afab
Revert "Fix fake bold for fallback fonts in frameworks."
...
This reverts commit b26fa0ce68
2012-06-11 14:46:04 -07:00
Fabrice Di Meglio
97eb02f16f
Merge "Make GridView widget aware of layout direction"
2012-06-11 13:07:30 -07:00
Chet Haase
0163b175d3
am fdb67a4d: am 913bf804: Merge "Don\'t allow apps to request scrolls to out-of-bounds positions" into jb-dev
...
* commit 'fdb67a4dda0da858eba2103f899250acf9a221e5':
Don't allow apps to request scrolls to out-of-bounds positions
2012-06-10 12:37:54 -07:00
Chet Haase
fdb67a4dda
am 913bf804: Merge "Don\'t allow apps to request scrolls to out-of-bounds positions" into jb-dev
...
* commit '913bf80416a81f2783376939e7ad0b956975b05c':
Don't allow apps to request scrolls to out-of-bounds positions
2012-06-10 12:33:19 -07:00
Chet Haase
913bf80416
Merge "Don't allow apps to request scrolls to out-of-bounds positions" into jb-dev
2012-06-10 12:30:33 -07:00
Victoria Lease
c3672a4e19
am 2203fab2: am 2e6f9be5: Merge "Fix fake bold for fallback fonts in frameworks." into jb-dev
...
* commit '2203fab24966c80af5c37f0a58263218dbbcd610':
Fix fake bold for fallback fonts in frameworks.
2012-06-08 17:33:35 -07:00
Victoria Lease
2203fab249
am 2e6f9be5: Merge "Fix fake bold for fallback fonts in frameworks." into jb-dev
...
* commit '2e6f9be5633cf37223425b9b93c0b1512db091af':
Fix fake bold for fallback fonts in frameworks.
2012-06-08 17:29:56 -07:00
Fabrice Di Meglio
a598720ad6
Make GridView widget aware of layout direction
...
- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)
Change-Id: Id9ac26028c176e429a7f3ad76c0a428613e1afc8
2012-06-08 15:22:20 -07:00
Chet Haase
0061e16e53
Don't allow apps to request scrolls to out-of-bounds positions
...
An app was requesting smooth scrolling to a view position beyond the
number of items in the list. This caused our setup logic to execute on
every frame, waiting for the target view to be added.
This fix clamps the requested target position to the number of items
actually in the list.
Issue #6572175 Messaging: Sometimes conversation doesn't scroll when focus is brought to the compose field
Change-Id: I23707aeb213e67af4297713a03c2f5b446c8e2b6
2012-06-08 15:01:56 -07:00
Victoria Lease
b26fa0ce68
Fix fake bold for fallback fonts in frameworks.
...
This change is analogous to Ic0e9f1bbd8cae9fdd3a6d1d015bb9224c8be545c
in WebView, and depends upon the same Skia change that that CL makes
use of.
This flips the "fake bold" flag on for bold fonts in
TextView.setTypeface(), with the expectation that Skia will ignore
the flag if the final typeface used to render the glyphs is already
bold. It also does the same for StyleSpans, TextAppearanceSpans,
TypefaceSpans, and the Switch widget.
With this, fake bold should work uniformly across all scripts - if
fake bold works for a primary typeface, it should also work for all
fallback typefaces.
Bug: 6629786
Change-Id: Id3b8639ab0df83052ffd82809cb12adaacc1d46b
2012-06-08 13:52:17 -07:00
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