Commit Graph

3407 Commits

Author SHA1 Message Date
Raph Levien
f95dfbbcfe am 244f5125: am b9e224cc: am 6f8c1bad: Merge "Fix for bug 7344916 text view flickers when you hit enter" into jb-mr1-dev
* commit '244f5125abd62e60f6bf91675f3be6d540b818d2':
  Fix for bug 7344916 text view flickers when you hit enter
2012-10-15 20:22:33 -07:00
Raph Levien
244f5125ab am b9e224cc: am 6f8c1bad: Merge "Fix for bug 7344916 text view flickers when you hit enter" into jb-mr1-dev
* commit 'b9e224ccb5604032ee6a11789b4e03c747a15838':
  Fix for bug 7344916 text view flickers when you hit enter
2012-10-15 20:18:59 -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
Fabrice Di Meglio
58072b573d am df4bcd6a: am b65b5133: am f9307c5c: Merge "Fix bug #7334966 Padding is still broken in RTL languages" into jb-mr1-dev
* commit 'df4bcd6a36ae2e0248791f35c10f6f100543b2c6':
  Fix bug #7334966 Padding is still broken in RTL languages
2012-10-12 18:32:29 -07:00
Fabrice Di Meglio
df4bcd6a36 am b65b5133: am f9307c5c: Merge "Fix bug #7334966 Padding is still broken in RTL languages" into jb-mr1-dev
* commit 'b65b5133e7590e68053bbf4530b31b7206c7b984':
  Fix bug #7334966 Padding is still broken in RTL languages
2012-10-12 18:29:59 -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
90ef752146 am ff99f59f: am 4e5efaef: am 49dbc161: Merge "Revert "Fixed group and child view caching in SimpleExpandableListAdapter."" into jb-mr1-dev
* commit 'ff99f59f0bd30f6e475bf5adf358acb4d737cc51':
  Revert "Fixed group and child view caching in SimpleExpandableListAdapter."
2012-10-11 17:52:54 -07:00
Fabrice Di Meglio
0c5c23b3a2 am 4c95bfd5: am 39b0c29e: am ec139240: Merge "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)" into jb-mr1-dev
* commit '4c95bfd5ad4d17b6e0e618cd3244ee2d33bcbda1':
  Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)
2012-10-11 17:52:51 -07:00
Satoshi Kataoka
bc58774037 am 95189b92: am 6a1d4b99: am 8e767115: Merge "Don\'t update the text services locale in the main thread" into jb-mr1-dev
* commit '95189b92259529997cfa4d15b5ffd060d9f99a51':
  Don't update the text services locale in the main thread
2012-10-11 17:18:18 -07:00
Adam Powell
ff99f59f0b am 4e5efaef: am 49dbc161: Merge "Revert "Fixed group and child view caching in SimpleExpandableListAdapter."" into jb-mr1-dev
* commit '4e5efaef793c58ff014265eab7f11c3ded34b2ed':
  Revert "Fixed group and child view caching in SimpleExpandableListAdapter."
2012-10-11 17:12:47 -07:00
Fabrice Di Meglio
4c95bfd5ad am 39b0c29e: am ec139240: Merge "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)" into jb-mr1-dev
* commit '39b0c29e4f6582420518f1124af262865797339d':
  Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)
2012-10-11 17:12:32 -07:00
Satoshi Kataoka
95189b9225 am 6a1d4b99: am 8e767115: Merge "Don\'t update the text services locale in the main thread" into jb-mr1-dev
* commit '6a1d4b998cb543093b99dcabffaf849686eea656':
  Don't update the text services locale in the main thread
2012-10-11 17:10:50 -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
287fc821bc am ce6e952c: am 91622961: am f6215e55: Fix the build
* commit 'ce6e952cd2026dae30d1ccc13c118c375eca99e4':
  Fix the build
2012-10-10 18:31:31 -07:00
Fabrice Di Meglio
ce6e952cd2 am 91622961: am f6215e55: Fix the build
* commit '91622961171c5710a36a4123e2c8f406b026f51a':
  Fix the build
2012-10-10 18:29:44 -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
6acf744fab am f4a1dad6: am 5b04d032: am b8021a88: Merge "Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)" into jb-mr1-dev
* commit 'f4a1dad63db89b805df0c83b2044dad0d60e3686':
  Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)
2012-10-10 17:34:52 -07:00
Fabrice Di Meglio
f4a1dad63d am 5b04d032: am b8021a88: Merge "Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)" into jb-mr1-dev
* commit '5b04d0320b877693fe10f70773657585c1c4aa58':
  Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)
2012-10-10 17:32:47 -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
43c3b139e4 am e7af2a37: am ee65e1d3: am 7573b1ee: Merge "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)" into jb-mr1-dev
* commit 'e7af2a370c2f5e108068a05a054b1b3a88fb61df':
  Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)
2012-10-10 15:03:47 -07:00
Fabrice Di Meglio
e7af2a370c am ee65e1d3: am 7573b1ee: Merge "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)" into jb-mr1-dev
* commit 'ee65e1d356e4d7a160e5ba26cdf804b804b2bcac':
  Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)
2012-10-10 15:02:19 -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
6637d1040a am 72da683c: am b8e6a972: am 1a5f387b: Merge "Revert "Don\'t update the text services locale in the main thread"" into jb-mr1-dev
* commit '72da683c6edf23678fdd3f53d777811bb5bbe1f2':
  Revert "Don't update the text services locale in the main thread"
2012-10-10 09:39:53 -07:00
Ken Wakasa
72da683c6e am b8e6a972: am 1a5f387b: Merge "Revert "Don\'t update the text services locale in the main thread"" into jb-mr1-dev
* commit 'b8e6a9724e33e01abc6261f3387e4671b0244f45':
  Revert "Don't update the text services locale in the main thread"
2012-10-10 09:37:51 -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
ad9d695ecc am 78bd3854: am 27e2b6c2: am 0aaffb14: Merge "Don\'t update the text services locale in the main thread" into jb-mr1-dev
* commit '78bd3854c63261cc01321ebb41a29d9302ae1b8f':
  Don't update the text services locale in the main thread
2012-10-10 08:42:07 -07:00
Satoshi Kataoka
78bd3854c6 am 27e2b6c2: am 0aaffb14: Merge "Don\'t update the text services locale in the main thread" into jb-mr1-dev
* commit '27e2b6c25f17af7515e405d7a6a4a8f9cf1225b3':
  Don't update the text services locale in the main thread
2012-10-10 08:37:56 -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
386800e7c8 am 25e9ace1: am a009ee22: Merge "Reverse movement direction of DPAD events" into jb-mr1-aah-dev
* commit '25e9ace1211edaa6c6f36e6ff550d21c330fad56':
  Reverse movement direction of DPAD events
2012-10-08 12:57:11 -07:00
Justin Mattson
25e9ace121 am a009ee22: Merge "Reverse movement direction of DPAD events" into jb-mr1-aah-dev
* commit 'a009ee2261ee68d0d8c0efb6d1670ecb29252ba5':
  Reverse movement direction of DPAD events
2012-10-08 12:55:15 -07: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
fb1245243e am 1b07e93f: am f0b8e3ad: Merge "Adding support to NumberPicker" into jb-mr1-aah-dev
* commit '1b07e93f3b81fd3a8c0bf3ae46ab15f59507980d':
  Adding support to NumberPicker
2012-10-07 23:24:11 -07:00
Svetoslav Ganov
1b07e93f3b am f0b8e3ad: Merge "Adding support to NumberPicker" into jb-mr1-aah-dev
* commit 'f0b8e3adc4031898714e81f4beafedaa13546978':
  Adding support to NumberPicker
2012-10-07 23:21:20 -07:00
Svetoslav Ganov
5dc21d9b34 Adding support to NumberPicker
Change-Id: I471b995c8d364c2bd5eef3ab0397c17fc77f6ccc
2012-10-07 18:54:42 -07:00
Adam Powell
0a027ded5f am 5e1b345f: am 64f369bb: am b4fad85c: Merge "Fix regression in AbsListView CHOICE_MODE_SINGLE" into jb-mr1-dev
* commit '5e1b345f41a01e46e2bddf53e3b0c73b3877333c':
  Fix regression in AbsListView CHOICE_MODE_SINGLE
2012-10-04 15:30:16 -07:00