3545 Commits

Author SHA1 Message Date
Baligh Uddin
70f8537e73 Import translations. DO NOT MERGE
Change-Id: I5db8300884193dc458e26c042f35eed084d4b002
Auto-generated-cl: translation import
2013-11-04 10:41:28 -08:00
John Spurlock
b7824a9475 Merge "Manage keyguard nav elements using transitions." into klp-dev 2013-11-01 18:48:00 +00: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
Baligh Uddin
3f4c6bb5ab Merge "Import translations. DO NOT MERGE" into klp-dev 2013-11-01 14:35:42 +00:00
Jim Miller
43ef1c8c34 Merge "Remove deprecated API calls to KeyguardManager from statusbar" into klp-dev 2013-10-31 22:22:58 +00: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
Baligh Uddin
1fada0a012 Import translations. DO NOT MERGE
Change-Id: Ife16f0c4467fe5d8cd8e8f9908448c100e01e9ca
Auto-generated-cl: translation import
2013-10-30 09:34:05 -07:00
John Spurlock
c0156b82fd Update ic_qs_ime assets to standard brightness.
Bug:11412369
Change-Id: I582f4dfc28eb7453d67c5fe9c1b90a38ad756666
2013-10-30 09:35:22 -04:00
John Spurlock
1b5bd6b68a Merge "Update QS settings icon, remove unused location icon." into klp-dev 2013-10-29 20:21:50 +00:00
Baligh Uddin
97ea6a0648 Import translations. DO NOT MERGE
Change-Id: I1ef363e676ff75e85aece9789cdb7c86b55281d3
Auto-generated-cl: translation import
2013-10-28 10:45:56 -07:00
John Spurlock
1aff28640b Update QS settings icon, remove unused location icon.
Bug:11412369
Change-Id: Icdd34a1cffe438e5e9d3ffe268578abb57200525
2013-10-28 10:37:43 -04:00
John Spurlock
4a7f3adaf0 Merge "Optimize system bar background drawable." into klp-dev 2013-10-25 20:33:35 +00: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
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
Baligh Uddin
154fd0b2a2 Import translations. DO NOT MERGE
Change-Id: Ia0ce87e181ca1c425b1a4ea2427b267c9e5d1cf0
Auto-generated-cl: translation import
2013-10-23 17:59:26 -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
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 e8f50a1400d288e6fd7c20ec7947270e204ee57d)
2013-10-18 09:50:37 -07:00
Baligh Uddin
829ebd42b2 Import translations. DO NOT MERGE
Change-Id: I0642a5841c24a7866dfe8a72ab2fc9acb696fd7d
Auto-generated-cl: translation import
2013-10-16 17:57:29 -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
987672da64 Updated rssi assets for quick settings
Bug: 10641374
Change-Id: I6b1bc9b0e86be331b71614b511026a67bc429031
2013-10-15 13:40:15 -04: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
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
19e8273b1a Merge "Don't show [!] battery at boot." into klp-dev 2013-10-14 14:44:22 +00: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
Winson Chung
00f597bc3c Adding additional MNC overlays. (Bug 10518893)
Change-Id: I1c314c4e7ce7adf6f4a6f6722b51781f0ce7cd22
2013-10-13 23:42:59 -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
Baligh Uddin
38de7ab47a Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-11 15:15:50 +00: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
Baligh Uddin
907627f36f Import translations. DO NOT MERGE
Change-Id: I3bb5aab8e93b40476cf88a5266fe4343bc3848f0
Auto-generated-cl: translation import
2013-10-10 19:39:22 -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
David Christie
000bffabb8 Merge "New icons that eliminate location "crosshair" -b/8142654" into klp-dev 2013-10-10 22:29:45 +00:00
John Spurlock
d9b95382c7 Merge "Update navigation bar gradient." into klp-dev 2013-10-10 20:33:09 +00:00
John Spurlock
80d7fc50d7 Update navigation bar gradient.
Bug:10967264
Change-Id: I6a057fb0895ab46bddb4082d49c8b53b329f0c73
2013-10-10 16:28:34 -04: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
e64d6a4e33 Merge "Remove unused time tile and resources" into klp-dev 2013-10-10 17:37:22 +00: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
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
65e911261d Merge "Allow IMEs to extend below nav bar, remove SystemUI veto." into klp-dev 2013-10-09 21:57:01 +00:00
John Spurlock
c68d577f29 Allow IMEs to extend below nav bar, remove SystemUI veto.
Layout IMEs below the nav bar, offset by bottom padding and
associated guard rectangle with a black background to ensure
they do not appear as islands during transitions.

This makes it safe to remove the SystemUI forced opaque transition
when showing an IME, making the overall transition less expensive,
quicker and smoother overall.

Bug:11058746
Change-Id: I460912ee7c117480c57b947ed31eca330819f32c
2013-10-09 16:23:15 -04:00