Commit Graph

2270 Commits

Author SHA1 Message Date
John Spurlock
9b8145f774 am 17433a63: am b7824a94: Merge "Manage keyguard nav elements using transitions." into klp-dev
* commit '17433a633a3d415fc1932738c0814c3dc6716683':
  Manage keyguard nav elements using transitions.
2013-11-01 11:54:32 -07:00
John Spurlock
56d007b998 Manage keyguard nav elements using transitions.
Move the logic for managing dimming the navigation bar
elements on the lockscreen into BarTransitions.

Replace search light + camera assets with new
versions at full brightness, and apply 50% dimming
at runtime, including the IME dismiss button.

Remove unused StatusBarManager _NOP hints.

Improve choreography between camera button +
password security (w/ IME).  Fix a few found bugs
in PagedView.

Improve password security unlock transition, manually
fade in back along with the rest of the icons.

Bug:11221659
Change-Id: Ifd1f8c9f400d90542f0ca858b9a4deacabbd518a
2013-11-01 11:33:48 -04:00
Jim Miller
ee3b039ac6 am aa8dbf11: am 43ef1c8c: Merge "Remove deprecated API calls to KeyguardManager from statusbar" into klp-dev
* commit 'aa8dbf111444435b6071f7b226af5a7bb2a56c52':
  Remove deprecated API calls to KeyguardManager from statusbar
2013-10-31 15:30:02 -07:00
Jim Miller
a999d463c1 Remove deprecated API calls to KeyguardManager from statusbar
Fixes bug 11448304

Change-Id: I3049a20d9320af0425d7a8f08d5aa208e470e292
2013-10-31 14:32:29 -07:00
John Spurlock
286291bf86 am d958b78d: am 4a7f3ada: Merge "Optimize system bar background drawable." into klp-dev
* commit 'd958b78de92a3697eba4c7b47b39cffe88757b7d':
  Optimize system bar background drawable.
2013-10-25 13:39:57 -07:00
John Spurlock
4a7f3adaf0 Merge "Optimize system bar background drawable." into klp-dev 2013-10-25 20:33:35 +00:00
John Spurlock
a281dda794 am baa18a39: am f3b5b37b: Merge "Reset our status bar window fade color on screen off." into klp-dev
* commit 'baa18a3966b0eee205e5c028b4d109e9b6a56e2f':
  Reset our status bar window fade color on screen off.
2013-10-25 13:30:12 -07:00
John Spurlock
c19418e3f5 Reset our status bar window fade color on screen off.
Previously, turning the screen off with the panel expanded would
run one time through panelExpansionChanged, leaving the background
in an intermediate state.

This has probably been around for a while, only uncovered now
that we can see it (if the status bar is translucent).

Bug:11357145
Change-Id: I55b768696c8791f82265a61d2c0f665503ad8bb0
2013-10-25 14:25:09 -04:00
Daniel Sandler
dae531753a am 6714471b: am 9279d45b: DessertCase memory improvements
* commit '6714471bffe1a9d1f55d586a4277209e19f7f9ed':
  DessertCase memory improvements
2013-10-24 10:45:13 -07:00
Daniel Sandler
9279d45b8d DessertCase memory improvements
- reuse intermediate bitmaps when loading resources
  - only use hardware layers on views that are animating

Bug: 11269977
Change-Id: I39ad7aff16468632da47448404416404f3b54cc4
2013-10-24 17:27:33 +00:00
Victoria Lease
df5ba9bfeb am d19e7af0: am 5eb3e07c: Merge "add accessibility string for location quicksetting" into klp-dev
* commit 'd19e7af02ab2d3d21921e5a313c78285b308ad9c':
  add accessibility string for location quicksetting
2013-10-23 11:12:57 -07:00
Victoria Lease
5eb3e07c5d Merge "add accessibility string for location quicksetting" into klp-dev 2013-10-23 17:56:54 +00:00
John Spurlock
42197263bc Optimize system bar background drawable.
Out with TransitionDrawable.

The new background drawable knows about all possible
background styles, and optimizes the transitions
between them - including picking up from the current
state, force finishing on screen off, and using
SystemClock.elapsedRealtime() for timing.

Bug:11254317
Change-Id: Ice83dc966f6674ef97f7008f2a1b62d67ec59e7d
2013-10-22 15:39:54 -04:00
Winson Chung
29ffafb62c am 5b0da90a: am 1bab99c8: Merge "DO NOT MERGE Fix null pointer exception when updating rotation tile. (Bug 11111473)" into klp-dev
* commit '5b0da90a68d00724da422b9d5e4b24244c101517':
  DO NOT MERGE Fix null pointer exception when updating rotation tile. (Bug 11111473)
2013-10-21 14:23:27 -07:00
Winson Chung
0e9ce34d1c DO NOT MERGE Fix null pointer exception when updating rotation tile. (Bug 11111473)
This occurs when switching users on devices that
don't have a rotation lock quick settings tile.

Change-Id: I738ca15ca754be90cec7eaf3a8eda3e38ed96b33
(cherry picked from commit e8f50a1400)
2013-10-18 09:50:37 -07:00
Michael Wright
ee3674a01b am 19fa2122: am 6bd7603a: Merge "Force the wallpaper to reload when dimensions change" into klp-dev
* commit '19fa212251542ac8f24ec0b24316bb08417cb44e':
  Force the wallpaper to reload when dimensions change
2013-10-15 17:15:35 -07:00
Michael Wright
6bd7603a56 Merge "Force the wallpaper to reload when dimensions change" into klp-dev 2013-10-15 23:40:14 +00:00
Michael Wright
b9fca99971 Force the wallpaper to reload when dimensions change
Currently it's possible for the home application to suggest new
wallpaper dimensions and the WallpaperService to request the bitmap
between when the new dimensions have been propagated and the old
bitmap has been forgotten. This leads to the WallpaperService
drawing a Bitmap with the old dimensions into a Surface with the new
dimensions.

By forcing the WallpaperManager to forget the old Bitmap immediately
before we reload it, we can ensure that we always have a Bitmap of
the correct size.

Bug: 10853302
Change-Id: I298ac5f3f8bcde54eeb1e45d21bf2ba3cbb618c9
2013-10-15 13:03:44 -07:00
Daniel Sandler
61cab9d3ff am 334e3d7c: am ee8ee0ee: Merge "Put DessertCase on a diet." into klp-dev
* commit '334e3d7c3c8ca9042a57f287d82a3460ab496806':
  Put DessertCase on a diet.
2013-10-14 21:49:31 -07:00
Daniel Sandler
ee8ee0eeb8 Merge "Put DessertCase on a diet." into klp-dev 2013-10-15 04:44:05 +00:00
Daniel Sandler
f9f63355e3 Put DessertCase on a diet.
- store desserts as ALPHA_8, saving 75% of bitmap memory
- run DessertCase in its own process, avoiding bloating
  systemui every time the daydream or platlogo activity run
- lock orientation in DessertCase to stop thrashing around
  when the device is rotated

Bug: 10918599
Change-Id: Ia2fb0696b903ae355c75b53d3a0c45b70784d00c
2013-10-15 00:34:10 -04:00
David Christie
10661302a5 am 6ac67f47: am a6ffa4ef: Merge "Refresh quicksettings location tile text when language changes -b/11157526" into klp-dev
* commit '6ac67f4714de56c1d638e2bdb22990a6fec91e7f':
  Refresh quicksettings location tile text when language changes -b/11157526
2013-10-14 19:01:51 -07:00
David Christie
b8bf7017b1 Refresh quicksettings location tile text when language changes
-b/11157526

Change-Id: I2174a04edad15feffb9cf3b124b4e3f997d9070e
2013-10-14 17:31:37 -07:00
Victoria Lease
3ac54a3a51 add accessibility string for location quicksetting
This gives the location quick setting the same ability that all the
other quick settings have: the accessibility text can now be
different from the display text.

Bug: 11010329
Change-Id: I0dee7b6f974b4e1dc314a35e39d907e90dc8dc3c
2013-10-14 14:54:10 -07:00
Daniel Sandler
3393e58d03 am 54d83daa: am 19e8273b: Merge "Don\'t show [!] battery at boot." into klp-dev
* commit '54d83daa4fcd4794049f6ac5d8f5d27c3958dc6e':
  Don't show [!] battery at boot.
2013-10-14 07:48:29 -07:00
Daniel Sandler
05021e5e47 Don't show [!] battery at boot.
Defense in depth:
 1. If there's a sticky battery broadcast waiting around for
    us, apply its information immediately.
 2. If for some reason there is no battery information,
    just don't draw anything.

Bug: 11208146
Change-Id: I43e4b55a90a4ca619816ad0315e329f88b529581
2013-10-14 10:27:45 -04:00
John Spurlock
d428d64387 am 45d41eba: am f732e37c: Merge "If the panels are disabled, don\'t go opaque on interaction." into klp-dev
* commit '45d41eba7a36b865a04b6e99b3826bc92dec5cd1':
  If the panels are disabled, don't go opaque on interaction.
2013-10-13 15:16:29 -07:00
John Spurlock
3d7e0958c4 If the panels are disabled, don't go opaque on interaction.
Bug:11149893
Change-Id: Id1a56200ead6e7d7e78e665796646b90ed5c0870
2013-10-13 13:34:21 -04:00
Daniel Sandler
bc1efa92c4 am 3b4e1c0a: am 26b49a7d: Merge "Be sure to update the display metrics on config change." into klp-dev
* commit '3b4e1c0acdd6e65a0ce957cf794e5161f07d7e23':
  Be sure to update the display metrics on config change.
2013-10-11 08:04:18 -07:00
Daniel Sandler
26b49a7dbb Merge "Be sure to update the display metrics on config change." into klp-dev 2013-10-11 14:58:13 +00:00
Daniel Sandler
7e8ae50efb Be sure to update the display metrics on config change.
Regression of ancient bugs 6955586 & 7086018 (navigation bar
missing buttons since they're stacked up off the screen
along the wrong axis).

Bug: 10341684
Change-Id: I778b085bf256cb20ecceaf38fd229a7de9b75aae
2013-10-11 00:46:04 -04:00
Adam Lesinski
9a786c251d am e8b92b6b: am 6c906dc5: Merge "Fix SystemUI crash on devices with WiFi only" into klp-dev
* commit 'e8b92b6bc32bbb0bcd34ffe2979771b4104bed67':
  Fix SystemUI crash on devices with WiFi only
2013-10-10 16:13:35 -07:00
Adam Lesinski
6c906dc52d Merge "Fix SystemUI crash on devices with WiFi only" into klp-dev 2013-10-10 23:03:54 +00:00
Adam Lesinski
c08ae4432c Fix SystemUI crash on devices with WiFi only
A recent change to QuickSettings forgot to
check whether the device has a radio or not.

Change-Id: I0b89634b290e82a1702de7b2f539cef3efa6d246
2013-10-10 15:49:57 -07:00
Adam Lesinski
e9d21b05ce am e4a1e1c4: am 97fee818: Merge "Reinflate QSB RSSI Tile on config change" into klp-dev
* commit 'e4a1e1c48b0e27868ca171e95e882b1de7bbfedd':
  Reinflate QSB RSSI Tile on config change
2013-10-10 13:00:27 -07:00
Adam Lesinski
97fee81867 Merge "Reinflate QSB RSSI Tile on config change" into klp-dev 2013-10-10 19:54:42 +00:00
Adam Lesinski
828e4c49a0 Reinflate QSB RSSI Tile on config change
Resources that change based on MCC or MNC will now
show on the RSSI tile in Quick Settings.

bug:10518893
Change-Id: I55a77f967d2630b5c1aa17382069a15f37745405
2013-10-10 12:25:53 -07:00
Chris Craik
16767ff5f3 am 4ad27474: am e64d6a4e: Merge "Remove unused time tile and resources" into klp-dev
* commit '4ad27474ec533acd38d89618b0bdc8cc33af4b00':
  Remove unused time tile and resources
2013-10-10 10:49:28 -07:00
Chris Craik
e64d6a4e33 Merge "Remove unused time tile and resources" into klp-dev 2013-10-10 17:37:22 +00:00
Chet Haase
b9d608cfa5 am 5bcd5e8a: am 94ba8976: Merge "NotificationPanel now shows correct date" into klp-dev
* commit '5bcd5e8a97931005d00c06368837a129d66a9ff3':
  NotificationPanel now shows correct date
2013-10-10 09:32:39 -07:00
Chet Haase
94ba89763e Merge "NotificationPanel now shows correct date" into klp-dev 2013-10-10 16:25:56 +00:00
Chet Haase
9f5664b876 NotificationPanel now shows correct date
There was a problem with a cached instance of a Date object such that it
would retain information about the default TimeZone that was not updated
when the TimeZone was set to the correct value. This resulted in NotificationPanel
sometimes showing the wrong date, based on the time and the delta between
the local timezone and GMT.

The fix is to use an ACTION_TIMEZONE_CHANGED broadcast to recreate the cached
Date object appropriately.

Issue #10854196 Incorrect date showing in notification shade

Change-Id: Ibf883e1ff37f4d0aae6840fb19e43e7e9e45bcc2
2013-10-10 09:10:55 -07:00
Jim Miller
d7832a5416 am 3f543cd0: am c4d1763e: Merge "Fix touch accessibility in keyguard." into klp-dev
* commit '3f543cd02bb0e3516c821ba7083ab0ca9d4ef68d':
  Fix touch accessibility in keyguard.
2013-10-09 16:57:50 -07:00
Jim Miller
c03d4b1254 am 7de66729: am 12677272: Merge "Have SearchPanel fade camera and search buttons when activated" into klp-dev
* commit '7de6672943e9526cc774f97b5118dee4a2e59ba9':
  Have SearchPanel fade camera and search buttons when activated
2013-10-09 16:54:22 -07:00
Jim Miller
c4d1763e68 Merge "Fix touch accessibility in keyguard." into klp-dev 2013-10-09 23:50:19 +00:00
Jim Miller
1267727241 Merge "Have SearchPanel fade camera and search buttons when activated" into klp-dev 2013-10-09 23:49:12 +00:00
Jim Miller
ad178a43ba Have SearchPanel fade camera and search buttons when activated
Bug 10991981

Change-Id: Iabc497ce992b675bff1df634add755e67a7fb794
2013-10-09 16:29:24 -07:00
Jim Miller
7d8abaeb7d Fix touch accessibility in keyguard.
This changes the accessibility code to monitor state changes
and replace the touch listeners with click listeners when
touch exploration is enabled.

It also fixes a bug where the first touch on the camera was being
ignored by ensuring KeyguardTouchDelegate has started the service
by the time the button is touched.

Bug 10991981

Change-Id: I7c4bf01f9bfa10f54cadb0809b6af526c5386af5
2013-10-09 16:10:27 -07:00
John Spurlock
4faa694ed2 am d3758420: am 65e91126: Merge "Allow IMEs to extend below nav bar, remove SystemUI veto." into klp-dev
* commit 'd3758420a2ffd702dee914d794764a0615dd6956':
  Allow IMEs to extend below nav bar, remove SystemUI veto.
2013-10-09 15:08:33 -07:00
John Spurlock
65e911261d Merge "Allow IMEs to extend below nav bar, remove SystemUI veto." into klp-dev 2013-10-09 21:57:01 +00:00