Fabrice Di Meglio
d89893642f
am e9a33c60: Merge "Fix bug #7363252 Popup and Dialog UI widgets should be RTL aware" into jb-mr1-dev
...
* commit 'e9a33c6098f51c687665adbed799860df2569ad0':
Fix bug #7363252 Popup and Dialog UI widgets should be RTL aware
2012-10-17 11:21:01 -07:00
Fabrice Di Meglio
e9a33c6098
Merge "Fix bug #7363252 Popup and Dialog UI widgets should be RTL aware" into jb-mr1-dev
2012-10-17 11:18:13 -07:00
Justin Ho
8598646e5b
am 144d4055: Merge "Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."" into jb-mr1-dev
...
* commit '144d405511e9ed685568e50db87b22cc42b6a252':
Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."
2012-10-17 10:53:43 -07:00
Justin Ho
144d405511
Merge "Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."" into jb-mr1-dev
2012-10-17 10:50:39 -07:00
Justin Ho
57fca90ac6
Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."
...
This reverts commit dcf59629be
Change-Id: I27426a0ffe993973ffb0b05ce1ed3afe73fcd87d
2012-10-17 10:47:39 -07:00
Fabrice Di Meglio
cf12897cf5
Fix bug #7363252 Popup and Dialog UI widgets should be RTL aware
...
- set the Configuration's layout direction in ViewRootImpl instead of PhoneWindow$DecorView
- then remove unecessary API on ListPopupWindow for passing the layout direction
Change-Id: Ia2c6e4aa8cb82aed9b088bc3b8004ea0a1ded1f3
2012-10-16 20:59:04 -07:00
Jim Miller
cccf85c287
am 8e614501: Merge "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height." into jb-mr1-dev
...
* commit '8e6145013a6533ca6a33e03c8a5e45ad2de431e4':
This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height.
2012-10-16 19:26:00 -07:00
Jim Miller
8e6145013a
Merge "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height." into jb-mr1-dev
2012-10-16 19:22:37 -07:00
Jim Miller
dcf59629be
This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height.
...
Revert "Revert "Revert "Fix for bug 6050753."""
This reverts commit 6868d6f349
Change-Id: I8843d92dba14c82f06d9ee59517cf11b2abbbf04
2012-10-16 19:01:32 -07:00
Raph Levien
142155b5ce
am 3377b404: Merge "Fix for bug 7358703 Gmail ANR when trying to compose a message" into jb-mr1-dev
...
* commit '3377b404b82403c4c137c699088eb09c4b806dba':
Fix for bug 7358703 Gmail ANR when trying to compose a message
2012-10-16 14:46:41 -07:00
Raph Levien
8b17969c64
Fix for bug 7358703 Gmail ANR when trying to compose a message
...
When deferring scroll to a point, it's possible the text changed between
the time the scroll was requested to the time layout happens. In this
case, it attempts to scroll to a point past the end of the text buffer,
which created an infinite loop.
This patch clamps the scroll offset to the length of the text, so it
just scrolls to the end in that case, rather than crashing.
Change-Id: I53740d119d588560f5a4d9fb80e38f7057faab89
2012-10-16 14:32:47 -07:00
Fabrice Di Meglio
d23b26b6fd
am b858ecd3: Merge "Fix bug #7345139 : The First Volume Down Click looses its place on the volume slider" into jb-mr1-dev
...
* commit 'b858ecd3a94add574503d4dd21084ad289bc5c27':
Fix bug #7345139 : The First Volume Down Click looses its place on the volume slider
2012-10-16 13:25:51 -07:00
Fabrice Di Meglio
b858ecd3a9
Merge "Fix bug #7345139 : The First Volume Down Click looses its place on the volume slider" into jb-mr1-dev
2012-10-16 13:23:37 -07:00
Fabrice Di Meglio
f37df1b6c2
Fix bug #7345139 : The First Volume Down Click looses its place on the volume slider
...
- make SeekBar follow layout direction changes
- also fix onSizeChanged() missing call to super class
Change-Id: Ide036e673c5f104b12e7321648ac027547e04065
2012-10-16 11:38:26 -07:00
Mathias Agopian
dcfe6ceef0
am 6868d6f3: Revert "Revert "Fix for bug 6050753.""
...
* commit '6868d6f349610c15256471cc3d5fa708cbfd5f1d':
Revert "Revert "Fix for bug 6050753.""
2012-10-15 20:47:56 -07:00
Mathias Agopian
6868d6f349
Revert "Revert "Fix for bug 6050753.""
...
Emergency revert -- fix reboot loop.
This reverts commit 8e63bcc63f .
Change-Id: I4373b867d756de09cdf6aa0aba9e6ff8f47bcdbc
2012-10-15 20:45:01 -07:00
Romain Guy
cb09dba0b8
am 69fbc3c0: Merge "Revert "Fix for bug 6050753."" into jb-mr1-dev
...
* commit '69fbc3c089e3399ebd94cc3a7ba846f426a7b32d':
Revert "Fix for bug 6050753."
2012-10-15 18:47:46 -07:00
Romain Guy
69fbc3c089
Merge "Revert "Fix for bug 6050753."" into jb-mr1-dev
2012-10-15 18:45:03 -07:00
Raph Levien
b9e224ccb5
am 6f8c1bad: Merge "Fix for bug 7344916 text view flickers when you hit enter" into jb-mr1-dev
...
* commit '6f8c1bad8a7891f50eda2d3d14f774e28b8f8107':
Fix for bug 7344916 text view flickers when you hit enter
2012-10-15 18:25:13 -07:00
Raph Levien
f5c1a8798f
Fix for bug 7344916 text view flickers when you hit enter
...
The flickering was caused by trying to scroll to the cursor position
while the view was in an inconsistent state (text updated to change the
number of lines, but layout not done yet). This patch defers the actual
setting of the cursor until layout is done, when layout is pending.
Change-Id: I8ed3a402beb8058ac7a7f3935afeb946a23308ab
2012-10-15 17:22:26 -07:00
Romain Guy
8e63bcc63f
Revert "Fix for bug 6050753."
...
This reverts commit c29f031598 .
2012-10-15 13:24:58 -07:00
Fabrice Di Meglio
b65b5133e7
am f9307c5c: Merge "Fix bug #7334966 Padding is still broken in RTL languages" into jb-mr1-dev
...
* commit 'f9307c5c00bd3e8338bd478fec67a0190d515558':
Fix bug #7334966 Padding is still broken in RTL languages
2012-10-12 18:28:33 -07:00
Fabrice Di Meglio
84ebb35f39
Fix bug #7334966 Padding is still broken in RTL languages
...
- do correct resolution and reset propagation for all RTL properties (padding and drawables included)
- fix CheckedTextView padding too
Change-Id: Ie603683a2324b2a6ef2c03633d01d5726c883b90
2012-10-12 15:54:10 -07:00
Adam Powell
4e5efaef79
am 49dbc161: Merge "Revert "Fixed group and child view caching in SimpleExpandableListAdapter."" into jb-mr1-dev
...
* commit '49dbc1617c5e0ea56d5568fdcbfe9a771671567a':
Revert "Fixed group and child view caching in SimpleExpandableListAdapter."
2012-10-11 14:37:02 -07:00
Adam Powell
49dbc1617c
Merge "Revert "Fixed group and child view caching in SimpleExpandableListAdapter."" into jb-mr1-dev
2012-10-11 14:32:50 -07:00
Adam Powell
77ace2ef69
Revert "Fixed group and child view caching in SimpleExpandableListAdapter."
...
This reverts commit b49e4d63d1 .
This produced problems with app compatibility. The boolean array
introduced in this patch is never resized and can cause applications
expecting different behavior to crash with index out of bounds
exceptions.
This looks like a good path but it will need to be revisted later.
Bug 7221618
2012-10-11 14:26:21 -07:00
Fabrice Di Meglio
39b0c29e4f
am ec139240: Merge "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)" into jb-mr1-dev
...
* commit 'ec139240480702e80cd56c0309394f7549a993f3':
Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)
2012-10-11 14:15:00 -07:00
Fabrice Di Meglio
ec13924048
Merge "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)" into jb-mr1-dev
2012-10-11 14:10:02 -07:00
Satoshi Kataoka
6a1d4b998c
am 8e767115: Merge "Don\'t update the text services locale in the main thread" into jb-mr1-dev
...
* commit '8e767115a888b78c5732fe935bd811a7db6bf2e1':
Don't update the text services locale in the main thread
2012-10-11 10:44:55 -07:00
Satoshi Kataoka
1eac6b7b05
Don't update the text services locale in the main thread
...
This is a revised version of I9f8a81d3c9261a6cfc00292b9f5cb06053b9112d
Bug: 6761326
Change-Id: I43a0a65df6e4b6941bd0dca548c4af20b7e5bf58
2012-10-12 00:58:24 +09:00
Fabrice Di Meglio
6bf6eb7d5f
Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)
...
Part 2
- fix remaining UI widgets by asking layout params resolution when needed
Change-Id: I97c41639da645d77eeda85feec3bbcc7fc1260b9
2012-10-10 18:38:23 -07:00
Fabrice Di Meglio
9162296117
am f6215e55: Fix the build
...
* commit 'f6215e55df1ab4f6cda33dd081c0a91062a1be63':
Fix the build
2012-10-10 18:28:02 -07:00
Fabrice Di Meglio
f6215e55df
Fix the build
...
Change-Id: I9c79677ee4f68d6fc82b754d08e701229725c2a6
2012-10-10 18:23:00 -07:00
Fabrice Di Meglio
5b04d0320b
am b8021a88: Merge "Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)" into jb-mr1-dev
...
* commit 'b8021a88e5c00ebd985a348b56af29c95a178a90':
Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)
2012-10-10 17:29:52 -07:00
Fabrice Di Meglio
b8021a88e5
Merge "Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)" into jb-mr1-dev
2012-10-10 17:26:41 -07:00
Fabrice Di Meglio
2918ab6c32
Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)
...
- rename to LayoutParams.resolveLayoutDirection(int)
- upate 17.txt too
Change-Id: I54fe28dc47cfdb65ef0b5b0244dabbe1d675c781
2012-10-10 16:47:51 -07:00
Fabrice Di Meglio
ee65e1d356
am 7573b1ee: Merge "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)" into jb-mr1-dev
...
* commit '7573b1ee8997709eae23f5b3bdee849de7380e34':
Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)
2012-10-10 15:00:05 -07:00
Fabrice Di Meglio
fbc21e126f
Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)
...
- fix LayoutParams resolution for LinearLayout only
- apply onResolveLayoutDirection() in both measureHorizontal() and
measureVertical()
Change-Id: I5fcded9a79cd9aaeb0e12da7fd14176b71ba2fb6
2012-10-10 14:19:12 -07:00
Ken Wakasa
b8e6a9724e
am 1a5f387b: Merge "Revert "Don\'t update the text services locale in the main thread"" into jb-mr1-dev
...
* commit '1a5f387bcf26a6845a4fa744b8f54449ae70082f':
Revert "Don't update the text services locale in the main thread"
2012-10-10 09:35:12 -07:00
Ken Wakasa
72fa0b35c5
Revert "Don't update the text services locale in the main thread"
...
This reverts commit 8fa0838bf8
Change-Id: Ie790ae6dcb33d05d1fbf86c8ef28aec6fe60793a
2012-10-10 09:17:18 -07:00
Satoshi Kataoka
27e2b6c25f
am 0aaffb14: Merge "Don\'t update the text services locale in the main thread" into jb-mr1-dev
...
* commit '0aaffb14c8e243433bab1a1bd5773005f0f17699':
Don't update the text services locale in the main thread
2012-10-10 08:33:45 -07:00
Satoshi Kataoka
8fa0838bf8
Don't update the text services locale in the main thread
...
Bug: 6761326
Change-Id: I9f8a81d3c9261a6cfc00292b9f5cb06053b9112d
2012-10-09 19:20:27 +09:00
Justin Mattson
86cf0cdfe1
Reverse movement direction of DPAD events
...
The first way I had it produces somewhat unexpected behavior. If you
scroll past the top of the list, focus moves down to the control
below.
This changes it so scrolling past the bottom of the list moves focus
to the next control below.
Change-Id: I886e1854df85ceb203dac61c7f8c7daf6749e90e
2012-10-08 11:59:38 -07:00
Svetoslav Ganov
5dc21d9b34
Adding support to NumberPicker
...
Change-Id: I471b995c8d364c2bd5eef3ab0397c17fc77f6ccc
2012-10-07 18:54:42 -07:00
Adam Powell
64f369bbc5
am b4fad85c: Merge "Fix regression in AbsListView CHOICE_MODE_SINGLE" into jb-mr1-dev
...
* commit 'b4fad85ca0ed258e4f8de8045c707a4bf2a6ce66':
Fix regression in AbsListView CHOICE_MODE_SINGLE
2012-10-04 15:25:36 -07:00
Adam Powell
f3b8e6fe78
Fix regression in AbsListView CHOICE_MODE_SINGLE
...
Earlier patch reversed a few lines of code that allowed deselection of
the currently selected item in CHOICE_MODE_SINGLE. Put it back the way
it was.
Bug 7289436
Change-Id: Ia1c5f3238d2faa3dd79e474851333fda90978d3c
2012-10-04 14:53:36 -07:00
Adam Powell
e223892986
am b25629b1: Merge "Close a Spinner dropdown if its anchor view goes away." into jb-mr1-dev
...
* commit 'b25629b123a6ccb70095cfa3a26362ee46d30e33':
Close a Spinner dropdown if its anchor view goes away.
2012-10-03 12:13:07 -07:00
Adam Powell
b25629b123
Merge "Close a Spinner dropdown if its anchor view goes away." into jb-mr1-dev
2012-10-03 12:11:02 -07:00
Raph Levien
e9b175b713
am 484de9db: Merge "Fix for bug 6954231 text wraps on second line and is fused..." into jb-mr1-dev
...
* commit '484de9db7c4044588929f11673906fea205e409b':
Fix for bug 6954231 text wraps on second line and is fused...
2012-10-03 12:09:50 -07:00
Raph Levien
484de9db7c
Merge "Fix for bug 6954231 text wraps on second line and is fused..." into jb-mr1-dev
2012-10-03 12:07:26 -07:00