Chet Haase
8ebb554294
am b7379d3e: am 68716710: am 6f3e7bbf: Merge "Fix for previous commit on non-interesecting invalidations" into jb-mr1-dev
...
* commit 'b7379d3e4808fc1b4af4f4a6286e4432aa2b7036':
Fix for previous commit on non-interesecting invalidations
2012-10-17 15:09:12 -07:00
Chet Haase
6871671063
am 6f3e7bbf: Merge "Fix for previous commit on non-interesecting invalidations" into jb-mr1-dev
...
* commit '6f3e7bbf14d43553dfca6a59bbbb1c6ee19a70fc':
Fix for previous commit on non-interesecting invalidations
2012-10-17 14:55:50 -07:00
Chet Haase
9911d18f0e
Fix for previous commit on non-interesecting invalidations
...
An error in the logic meant that some valid invalidations weren't getting through,
causing Launcher (for one) to get stuck sometimes.
Change-Id: I180622623b19770cd61034a5bd7991a5e2fd0a64
2012-10-17 14:37:48 -07:00
Chet Haase
6d166b7c5f
am a1954051: am e31cc171: am d95316e2: Merge "Skip drawing offscreen objects" into jb-mr1-dev
...
* commit 'a195405199f8d70ffce3de015bfe49316992faa4':
Skip drawing offscreen objects
2012-10-17 12:44:57 -07:00
Chet Haase
e31cc17159
am d95316e2: Merge "Skip drawing offscreen objects" into jb-mr1-dev
...
* commit 'd95316e2c78c7e6cfacac9cced66f7ace36d6497':
Skip drawing offscreen objects
2012-10-17 12:38:25 -07:00
Chet Haase
d95316e2c7
Merge "Skip drawing offscreen objects" into jb-mr1-dev
2012-10-17 12:36:24 -07:00
Chet Haase
b78ee0ef60
Skip drawing offscreen objects
...
Previous logic in ViewRoot would schedule and perform a draw
when it was requested by offscreen objects. The problem was that the
logic checking for an interesection between the offscreen invalidation rectangle
and the onscreen display rectangle was flawed. The fix was to use the return value
from Rect.intersect() to do the right thing and skip drawing.
Issue #7366568 Offscreen invalidates can cause useless work for framework
Change-Id: Ie4e277c695dacee39848a8a223f0c4ee34d9bb4d
2012-10-17 11:32:01 -07:00
Fabrice Di Meglio
7cfd0a2809
am 86a8b251: am d8989364: am e9a33c60: Merge "Fix bug #7363252 Popup and Dialog UI widgets should be RTL aware" into jb-mr1-dev
...
* commit '86a8b25114fbc033c474a214699ad77a9140af5e':
Fix bug #7363252 Popup and Dialog UI widgets should be RTL aware
2012-10-17 11:26:41 -07:00
Fabrice Di Meglio
7daab45967
am 7e8d16fb: am 84cb0b17: am 161cfef3: Merge "Fix bug #7363015 Padding is wrong for first item in a ListPopupWindow" into jb-mr1-dev
...
* commit '7e8d16fbfd8b83a743527412edf6bb4e767f37aa':
Fix bug #7363015 Padding is wrong for first item in a ListPopupWindow
2012-10-17 11:23:54 -07:00
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
84cb0b17e6
am 161cfef3: Merge "Fix bug #7363015 Padding is wrong for first item in a ListPopupWindow" into jb-mr1-dev
...
* commit '161cfef36d8fac79f8665ecdb78d3f8f8f5ba5af':
Fix bug #7363015 Padding is wrong for first item in a ListPopupWindow
2012-10-17 11:18:13 -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
Fabrice Di Meglio
161cfef36d
Merge "Fix bug #7363015 Padding is wrong for first item in a ListPopupWindow" into jb-mr1-dev
2012-10-17 11:13:20 -07:00
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
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
Fabrice Di Meglio
a7e0bcd872
Fix bug #7363015 Padding is wrong for first item in a ListPopupWindow
...
- when adding a View to a ViewGroup reset all RTL properties of the View
to be added instead of only resetting its layout direction
Change-Id: Idfa3acce1700c52e20ebfd4c9c4f4ecb3c1d7520
2012-10-16 20:11:19 -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