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
Daniel Sandler
3679bf58fb
Quickening.
...
+ Baseline align all header elements.
+ Make clock clickable.
+ Remove clock tile.
+ Reorder tiles.
+ Hide status bar behind panel on phones.
+ Make status bar peek animation show the whole header on phones.
+ Stop hiding status bar bits on phones.
Bug: 7350584 // baseline align header, make clock clickable,
Bug: 7351760 // hide status bar behind panel
Change-Id: I888752b64c56e80c3f5581fd8ee1cfd7c50eab7c
2012-10-16 23:21:26 -04: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
Svetoslav Ganov
5ada6dbbb1
am 40577560: am 61fa73c5: am 05ad745f: Merge "Long press not working if explore by touch and magnification are on." into jb-mr1-dev
...
* commit '40577560c941dc53d19b4373aa8a1f5a908e7471':
Long press not working if explore by touch and magnification are on.
2012-10-16 19:59:26 -07:00
Svetoslav Ganov
40577560c9
am 61fa73c5: am 05ad745f: Merge "Long press not working if explore by touch and magnification are on." into jb-mr1-dev
...
* commit '61fa73c51e811f5d1cc3ad1d3645863d13befdc0':
Long press not working if explore by touch and magnification are on.
2012-10-16 19:55:58 -07:00
Svetoslav Ganov
61fa73c51e
am 05ad745f: Merge "Long press not working if explore by touch and magnification are on." into jb-mr1-dev
...
* commit '05ad745ff63ed3bcdb86d42290ddc2ee214fe90f':
Long press not working if explore by touch and magnification are on.
2012-10-16 19:53:38 -07:00
Svetoslav Ganov
05ad745ff6
Merge "Long press not working if explore by touch and magnification are on." into jb-mr1-dev
2012-10-16 19:50:22 -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
ef512f03e3
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 'cccf85c287aea85121b15280bf3a89a2b7d3926b':
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:28:28 -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
Romain Guy
ef9f40f11e
am b7b30eb0: am fa71ba2c: am 1b85122b: Merge "Add API to enable mipmaps on Bitmap Bug #7353771 " into jb-mr1-dev
...
* commit 'b7b30eb0577e794c744a1e3e3079325f73081c3d':
Add API to enable mipmaps on Bitmap Bug #7353771
2012-10-16 19:14:13 -07:00
Romain Guy
b7b30eb057
am fa71ba2c: am 1b85122b: Merge "Add API to enable mipmaps on Bitmap Bug #7353771 " into jb-mr1-dev
...
* commit 'fa71ba2c847622c0b23321477b3914f4a4cdd536':
Add API to enable mipmaps on Bitmap Bug #7353771
2012-10-16 19:11:13 -07:00
Romain Guy
fa71ba2c84
am 1b85122b: Merge "Add API to enable mipmaps on Bitmap Bug #7353771 " into jb-mr1-dev
...
* commit '1b85122bd22c4528679ae8bd67077dfc2fdf1847':
Add API to enable mipmaps on Bitmap Bug #7353771
2012-10-16 19:08:48 -07:00
Craig Mautner
4a9c5a9550
am 9cf13e5b: am aa2804aa: am e13ae648: Merge "Use parent window to evaluate show-to-all-users." into jb-mr1-dev
...
* commit '9cf13e5bebc9adcdcd12ffb451dddda96867fa4c':
Use parent window to evaluate show-to-all-users.
2012-10-16 19:05:59 -07:00
Romain Guy
1b85122bd2
Merge "Add API to enable mipmaps on Bitmap Bug #7353771 " into jb-mr1-dev
2012-10-16 19:05:49 -07:00
Craig Mautner
9cf13e5beb
am aa2804aa: am e13ae648: Merge "Use parent window to evaluate show-to-all-users." into jb-mr1-dev
...
* commit 'aa2804aa2bf1a2c89af947501549361945ffac3f':
Use parent window to evaluate show-to-all-users.
2012-10-16 19:04:04 -07:00
Craig Mautner
aa2804aa2b
am e13ae648: Merge "Use parent window to evaluate show-to-all-users." into jb-mr1-dev
...
* commit 'e13ae648504661ca158d15aa415568e351b380c4':
Use parent window to evaluate show-to-all-users.
2012-10-16 19:01:35 -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 6868d6f349610c15256471cc3d5fa708cbfd5f1d
Change-Id: I8843d92dba14c82f06d9ee59517cf11b2abbbf04
2012-10-16 19:01:32 -07:00
Craig Mautner
e13ae64850
Merge "Use parent window to evaluate show-to-all-users." into jb-mr1-dev
2012-10-16 18:58:58 -07:00
Romain Guy
713e1bb9df
Add API to enable mipmaps on Bitmap
...
Bug #7353771
This API can be used when scaling large images down to a small size
to get nicer looking results.
Change-Id: If09087eed36077eee5355f6047a3ca67747d7d9e
2012-10-16 18:44:09 -07:00
Dianne Hackborn
bef0f617a0
Fix issue #7343719 : GlobalActions dialog (power off / airplane mode / sound off)
...
does not show if you press on power button when the "low battery" dialog is showing up
Always put the global actions dialog in the keyguard dialog layer (above
the keyguard). I don't see any reason to have it change layers based
on whether the keyguard is showing.
Change-Id: I1bd3600af9f115d662d2a4783f835e234db1b7f0
2012-10-16 18:34:48 -07:00
Svetoslav Ganov
72e3512960
Long press not working if explore by touch and magnification are on.
...
1. In the magnifier we are caching the touch events until we figure
out whether the user is triple tapping to enable magnification.
If the user is not trying to engage magnification we deliver the
stashed events. However, these events are stale and the subsequent
transformations such as the touch explorer get confused when trying
to detect a tap since the delay is longer than the tap slop.
This change compensates for the time the events were cached
before sending them to the next transformation in the chain.
bug:7362365
Change-Id: Idd8539ffed7ba4892c5a916bd34910fd2ef50f75
2012-10-16 18:26:57 -07:00
Steven Ross
dd7203228a
am 80c0413a: am 9dff9125: am e4728b15: Merge "Stopping Face Unlock immediately on detaching from window fixes 7338808" into jb-mr1-dev
...
* commit '80c0413af6fd1f51b370c193a9d7d79592c964c2':
Stopping Face Unlock immediately on detaching from window fixes 7338808
2012-10-16 17:53:04 -07:00
Steven Ross
80c0413af6
am 9dff9125: am e4728b15: Merge "Stopping Face Unlock immediately on detaching from window fixes 7338808" into jb-mr1-dev
...
* commit '9dff9125074bfd1a4ead4ba995fd830b9a121263':
Stopping Face Unlock immediately on detaching from window fixes 7338808
2012-10-16 17:51:01 -07:00
Christopher Tate
7ca396f5f8
am 19f56158: am f0bba8a8: am 69b0c974: Merge "Fix ApplicationInfo copy ctor" into jb-mr1-dev
...
* commit '19f561580aecb927253bfdc37e96ba5aff7ef3cf':
Fix ApplicationInfo copy ctor
2012-10-16 17:49:19 -07:00
Steven Ross
9dff912507
am e4728b15: Merge "Stopping Face Unlock immediately on detaching from window fixes 7338808" into jb-mr1-dev
...
* commit 'e4728b15cba1cebb8d9f60d146d95ff58a945ad8':
Stopping Face Unlock immediately on detaching from window fixes 7338808
2012-10-16 17:47:23 -07:00
Steven Ross
e4728b15cb
Merge "Stopping Face Unlock immediately on detaching from window fixes 7338808" into jb-mr1-dev
2012-10-16 17:44:53 -07:00
Christopher Tate
19f561580a
am f0bba8a8: am 69b0c974: Merge "Fix ApplicationInfo copy ctor" into jb-mr1-dev
...
* commit 'f0bba8a8d0ace06f786bc0d78b0ed3ea3ae59814':
Fix ApplicationInfo copy ctor
2012-10-16 17:39:42 -07:00
Christopher Tate
f0bba8a8d0
am 69b0c974: Merge "Fix ApplicationInfo copy ctor" into jb-mr1-dev
...
* commit '69b0c974b5abb38a4443410cf09f7d5f28cf2c7f':
Fix ApplicationInfo copy ctor
2012-10-16 17:37:46 -07:00
Chet Haase
aa42c9af6e
Correctly adjust clip regions that lie offscreen
...
We were clamping the x/y location of the scissor to 0,0, but not adjusting
the width/height appropriately. This fix adjusts width/height and also clamps
them to 0 to correctly clip out offscreen operations.
Issue #7221524 Top left and top right portions of the screen blanks out after some time
Change-Id: I47f23336ea612409ed86652b9a68e272819ef00e
2012-10-16 17:36:16 -07:00
Jim Miller
6fa7bcfc36
am 366a6f2b: am ac8b732e: am 48994ce9: Merge "Fix missing layout parameters in keyguard." into jb-mr1-dev
...
* commit '366a6f2bf3be44013f1bcd5ad3c3bd4ffe562616':
Fix missing layout parameters in keyguard.
2012-10-16 17:36:06 -07:00
Laurent Tu
37882dbecc
am 9bebd2a4: am 130ba7da: am de5c3a04: Merge "Handle unknown case in LocationManager.getProvider" into jb-mr1-dev
...
* commit '9bebd2a438f0ee0c53b41c83746637a8fd28223b':
Handle unknown case in LocationManager.getProvider
2012-10-16 17:36:02 -07:00
Christopher Tate
69b0c974b5
Merge "Fix ApplicationInfo copy ctor" into jb-mr1-dev
2012-10-16 17:33:55 -07:00
Jim Miller
366a6f2bf3
am ac8b732e: am 48994ce9: Merge "Fix missing layout parameters in keyguard." into jb-mr1-dev
...
* commit 'ac8b732e37ab68046c46b48302663e00a8dcb334':
Fix missing layout parameters in keyguard.
2012-10-16 17:33:23 -07:00
Laurent Tu
9bebd2a438
am 130ba7da: am de5c3a04: Merge "Handle unknown case in LocationManager.getProvider" into jb-mr1-dev
...
* commit '130ba7dae85afc46e0066114a33acba5eee7530c':
Handle unknown case in LocationManager.getProvider
2012-10-16 17:33:16 -07:00
Jeff Brown
d8fad129ee
am 63241c51: am 5d32cba6: am 645b05a6: Merge "Blank all displays including Wifi Display when screen is off." into jb-mr1-dev
...
* commit '63241c51b7374b31dec94c35df54c5164e3b74a0':
Blank all displays including Wifi Display when screen is off.
2012-10-16 17:31:54 -07:00
Jim Miller
ac8b732e37
am 48994ce9: Merge "Fix missing layout parameters in keyguard." into jb-mr1-dev
...
* commit '48994ce9451cccb9ee6a6a27c18dbaaddffca452':
Fix missing layout parameters in keyguard.
2012-10-16 17:30:46 -07:00
Laurent Tu
130ba7dae8
am de5c3a04: Merge "Handle unknown case in LocationManager.getProvider" into jb-mr1-dev
...
* commit 'de5c3a04517bba3adacd8c6eb2b365cf93c73a69':
Handle unknown case in LocationManager.getProvider
2012-10-16 17:30:43 -07:00
Daniel Sandler
07a88c2702
am c7edbf4d: am 2b7ed31f: am fe3376b4: Fix NPE in quick settings tiles.
...
* commit 'c7edbf4d66b177c0ab1447e96e2fad1d49c5d0ed':
Fix NPE in quick settings tiles.
2012-10-16 17:29:52 -07:00
Jim Miller
48994ce945
Merge "Fix missing layout parameters in keyguard." into jb-mr1-dev
2012-10-16 17:28:08 -07:00
Jeff Brown
63241c51b7
am 5d32cba6: am 645b05a6: Merge "Blank all displays including Wifi Display when screen is off." into jb-mr1-dev
...
* commit '5d32cba6e42c9b7b1ce61e5ea4f6a2940347efdd':
Blank all displays including Wifi Display when screen is off.
2012-10-16 17:27:45 -07:00
Laurent Tu
de5c3a0451
Merge "Handle unknown case in LocationManager.getProvider" into jb-mr1-dev
2012-10-16 17:27:09 -07:00
Daniel Sandler
c7edbf4d66
am 2b7ed31f: am fe3376b4: Fix NPE in quick settings tiles.
...
* commit '2b7ed31f8b851a588db7c9acdae8a60b35940fe3':
Fix NPE in quick settings tiles.
2012-10-16 17:26:02 -07:00
Jeff Brown
5d32cba6e4
am 645b05a6: Merge "Blank all displays including Wifi Display when screen is off." into jb-mr1-dev
...
* commit '645b05a6e47ee7052b12a8b4e916d311f4e59e99':
Blank all displays including Wifi Display when screen is off.
2012-10-16 17:25:21 -07:00
Daniel Sandler
2b7ed31f8b
am fe3376b4: Fix NPE in quick settings tiles.
...
* commit 'fe3376b41aa48b6894afad9b977170bc658a6ac1':
Fix NPE in quick settings tiles.
2012-10-16 17:23:32 -07:00
Jeff Brown
645b05a6e4
Merge "Blank all displays including Wifi Display when screen is off." into jb-mr1-dev
2012-10-16 17:22:40 -07:00
Christopher Tate
bcb0255770
Fix ApplicationInfo copy ctor
...
Need to copy ALL the fields!
Bug 7360899
Change-Id: Ie6ed2d6f41c2efaf793ebf111adc8fa5e8b57d7c
2012-10-16 17:14:34 -07:00
Daniel Sandler
fe3376b41a
Fix NPE in quick settings tiles.
...
Bug: 7360759
Change-Id: I5b000e063baa1b7e2dddaa25be5b9bcdafa1a974
2012-10-16 19:54:02 -04:00
Jeff Brown
8ec0943a79
Blank all displays including Wifi Display when screen is off.
...
Calling blank() on Surface Flinger to turn the screen off is not
enough to ensure that the content is blanked to all virtual displays.
What's more, the black surface left in place by the ElectronBeam may
not completely hide the content (particularly if the display orientation
changes). To fix this for real, we'll want to move the display power
management code from the power manager into the display manager
but we don't have time for that.
As a work around, force all displays to show an empty layer stack
with no surfaces on it while blanked.
Bug: 7311959
Change-Id: I870c985f9e76f3f2322e5d83cdbbed9ed15b9f10
2012-10-16 16:19:23 -07:00