Commit Graph

3810 Commits

Author SHA1 Message Date
Justin Ho
8814ec3796 am 47270268: am 8598646e: 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 '472702687d174c126752259485b83c39f3eb2801':
  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:58:21 -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
Jim Miller
f7b77f1285 am ef512f03: am cccf85c2: 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 'ef512f03e3a10b39e82c9029d9d7623915ac8850':
  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:30:18 -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
Svetoslav Ganov
88939e5c84 am c53fee3b: am 5ac909f9: am 964629ac: Merge "Occasionally triple tap on the keyboard toggles screen magnification." into jb-mr1-dev
* commit 'c53fee3b435f8e84b4608ee4eac5c536210c5c20':
  Occasionally triple tap on the keyboard toggles screen magnification.
2012-10-16 14:41:13 -07:00
Svetoslav Ganov
5ac909f9e2 am 964629ac: Merge "Occasionally triple tap on the keyboard toggles screen magnification." into jb-mr1-dev
* commit '964629aca8d076826198a21b654ed858618b5619':
  Occasionally triple tap on the keyboard toggles screen magnification.
2012-10-16 14:22:59 -07:00
Svetoslav Ganov
964629aca8 Merge "Occasionally triple tap on the keyboard toggles screen magnification." into jb-mr1-dev 2012-10-16 14:20:45 -07:00
Svetoslav Ganov
55468c64bc Occasionally triple tap on the keyboard toggles screen magnification.
1. Sometimes unlocking the device when the IME is up and triple tapping on the keyboard
   toggles screen magnification. The core reason is that when the kayguard window is
   shown we hide all other windows and when it is hidden we show these windows. We did
   not notify the screen magnifier for windows being shown and hidden. Also when the
   windows are shown we may reassign layers to put the IME or the wallpaper in the
   right Z order. The screen magnifier is now notified upon such layer reassignment
   since window layers are used when computing the magnified region.

bug:7351531

Change-Id: I0931f4ba6cfa565d8eb1e3c432268ba1818feea6
2012-10-16 11:11:39 -07:00
Svetoslav Ganov
1c80844464 am 7d5de594: am d46503d5: am 40b7ea44: Merge "Accessibility focus drawing does not take into account view\'s transformation matrix." into jb-mr1-dev
* commit '7d5de5941d24aadf57d883198f79cf39da324635':
  Accessibility focus drawing does not take into account view's transformation matrix.
2012-10-16 11:10:29 -07:00
Svetoslav Ganov
d46503d508 am 40b7ea44: Merge "Accessibility focus drawing does not take into account view\'s transformation matrix." into jb-mr1-dev
* commit '40b7ea443612213e9c973393658f07c176c3269e':
  Accessibility focus drawing does not take into account view's transformation matrix.
2012-10-16 11:07:12 -07:00
Svetoslav Ganov
40b7ea4436 Merge "Accessibility focus drawing does not take into account view's transformation matrix." into jb-mr1-dev 2012-10-16 11:03:46 -07:00
Mathias Agopian
d8c4f50981 am 1167b7b9: am dcfe6cee: am 6868d6f3: Revert "Revert "Fix for bug 6050753.""
* commit '1167b7b9e43878f077478f58e31e268c2e191110':
  Revert "Revert "Fix for bug 6050753.""
2012-10-15 20:53:21 -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
Jamie Gennis
0d4f45d942 am b312f115: am 38041d6b: am 809bb404: Merge "Flag window animation transactions as animations." into jb-mr1-dev
* commit 'b312f1155caa1b323f482b92564cd07f3151c66b':
  Flag window animation transactions as animations.
2012-10-15 20:23:09 -07:00
Romain Guy
dabcbfe46d am 3e6c9ba6: am cb09dba0: am 69fbc3c0: Merge "Revert "Fix for bug 6050753."" into jb-mr1-dev
* commit '3e6c9ba6777cec3b3928ddb2b399c957735f7b06':
  Revert "Fix for bug 6050753."
2012-10-15 20:23:05 -07:00
Romain Guy
1da111fca4 am e9d0c992: am 8ab33df5: am edefaa25: Merge "Ensure we always request conformant OpenGL ES 2.0 contexts" into jb-mr1-dev
* commit 'e9d0c9920b98a7e3aca0a7583a55b8278166802a':
  Ensure we always request conformant OpenGL ES 2.0 contexts
2012-10-15 20:23:00 -07:00
Jamie Gennis
38041d6b3c am 809bb404: Merge "Flag window animation transactions as animations." into jb-mr1-dev
* commit '809bb404da66498f1723279542d2a7d1f4512052':
  Flag window animation transactions as animations.
2012-10-15 19:54:18 -07:00
Jamie Gennis
809bb404da Merge "Flag window animation transactions as animations." into jb-mr1-dev 2012-10-15 19:52:05 -07:00
Jamie Gennis
b6ce6e42cc Flag window animation transactions as animations.
This change makes WindowManager use the new eAnimation flag when animating
windows.  This prevents some of the window updates from being combined with
updates from prior animation frames.

Bug: 7353840
Change-Id: I5a9f8fa2c1a2f5f08363a45cd9f28bb97cd77080
2012-10-15 19:19:50 -07:00
Svetoslav Ganov
78bd9835eb Accessibility focus drawing does not take into account view's transformation matrix.
1.  We are using the view drawing bounds but did not take into account the transformation
    matrix. This leads to showing ugly artifacts on the launcher's hotseat which is
    pretty much the first thing we see.

2. Updated the documentation of View.getDrawingRect to be more explicit that the
   results does not have the transformation matrix applied.

bug:7354033

Change-Id: Ief2e0ea8da05471d71e215ce4497d94ff6e92d1a
2012-10-15 19:13:29 -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
8ab33df56b am edefaa25: Merge "Ensure we always request conformant OpenGL ES 2.0 contexts" into jb-mr1-dev
* commit 'edefaa25db7c9cd4facab258a0fd5913c6493bd0':
  Ensure we always request conformant OpenGL ES 2.0 contexts
2012-10-15 18:47:42 -07:00
Romain Guy
69fbc3c089 Merge "Revert "Fix for bug 6050753."" into jb-mr1-dev 2012-10-15 18:45:03 -07:00
Romain Guy
edefaa25db Merge "Ensure we always request conformant OpenGL ES 2.0 contexts" into jb-mr1-dev 2012-10-15 18:43:59 -07:00
Romain Guy
8efca54693 Ensure we always request conformant OpenGL ES 2.0 contexts
Change-Id: I6b9d6f2dace02ad28baef6811007302b8e552a54
2012-10-15 18:09:49 -07:00
Romain Guy
5dc228d234 am a97a9bef: am 807e4375: am f2e28abb: Merge "Update javadoc" into jb-mr1-dev
* commit 'a97a9beff7e3c66ca41a6e2029433bc9f1f390ba':
  Update javadoc
2012-10-15 14:26:15 -07:00
Romain Guy
807e4375e9 am f2e28abb: Merge "Update javadoc" into jb-mr1-dev
* commit 'f2e28abb1375c5ca513eac9dcde5c349f771de0f':
  Update javadoc
2012-10-15 14:22:20 -07:00
Romain Guy
8e63bcc63f Revert "Fix for bug 6050753."
This reverts commit c29f031598.
2012-10-15 13:24:58 -07:00
Romain Guy
edc9005289 Update javadoc
Some View.post*() methods can be invoked from arbitrary thread
independently of whether the View is attached to a window.

Change-Id: I587b5909ab8b06665978d001548d56c8c22043c1
2012-10-15 12:31:57 -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
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
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
Svetoslav Ganov
6fdd3176e6 am 02942145: am a1489d30: am 9aefa145: Merge "Send accessibility event for content change upon setting content description." into jb-mr1-dev
* commit '0294214519df70978b5440b01ec6c2597f4eecec':
  Send accessibility event for content change upon setting content description.
2012-10-11 17:18:33 -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
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
Svetoslav Ganov
a1489d3022 am 9aefa145: Merge "Send accessibility event for content change upon setting content description." into jb-mr1-dev
* commit '9aefa1457967b52f1865173aa70896db84f111f1':
  Send accessibility event for content change upon setting content description.
2012-10-11 11:00:26 -07:00
Svetoslav Ganov
9aefa14579 Merge "Send accessibility event for content change upon setting content description." into jb-mr1-dev 2012-10-11 10:57:41 -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
Svetoslav Ganov
b708f7703b Send accessibility event for content change upon setting content description.
1. Since the content description is generated dynamically we need to notify
   clients when it changes so they can drop cached state to get the most
   recent content. This really is used by the caching we do to optimize
   the window query APIs. Otherwise, the user does not see the current
   content.

bug:7327556

Change-Id: I9be46508e86864566e027c64565eb1d787ec9363
2012-10-10 21:25:59 -07: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
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
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