3768 Commits

Author SHA1 Message Date
John Spurlock
7057d2c3a9 Replace linear GradientDrawable with asset-based approach.
And disallow fully transparent nav bar when vertical.

Bug: 10967264
Change-Id: I42adf6de1eeb91e1b1a24dc6c7a64c8d86017b2d
2013-10-02 22:24:12 -04:00
Baligh Uddin
ee379ac3f3 Import translations. DO NOT MERGE
Change-Id: Ibc6ea940342fcfa81edfed6efc2d8f50d3106398
Auto-generated-cl: translation import
2013-10-02 12:28:22 -07:00
Daniel Sandler
484b80a456 am 6812b03e: am 7eb5ce03: Merge "Update date format in panel on locale change." into klp-dev
* commit '6812b03ee313a346c2216f4a2d7a51cf88733b57':
  Update date format in panel on locale change.
2013-10-02 09:34:39 -07:00
Elliott Hughes
7fce50eb7c am ad8ec14f: am 7fb64c6e: Merge "more locale-appropriate screenshot share text"
* commit 'ad8ec14f85c4ae7cd7e5c916a7e8d8c1edd2759e':
  more locale-appropriate screenshot share text
2013-10-01 14:36:17 -07:00
Victoria Lease
e733a4012d more locale-appropriate screenshot share text
The SimpleDateFormat version of this produces very poor results in
locales other than en_US. Trusting DateFormat to do its thing
produces more consistently-pleasing results across all locales.

(cherry-pick of e45e1f2efe69ba931efa88c6e33879fbc8d8c4c1.)

Change-Id: I7f1714446bb50285d851e8e313e7f32a0a822bf2
2013-10-01 14:25:39 -07:00
Daniel Sandler
6812b03ee3 am 7eb5ce03: Merge "Update date format in panel on locale change." into klp-dev
* commit '7eb5ce03d9697caa2e9caf0437036a937d081e90':
  Update date format in panel on locale change.
2013-09-30 20:55:06 -07:00
Daniel Sandler
7eb5ce03d9 Merge "Update date format in panel on locale change." into klp-dev 2013-10-01 02:57:45 +00:00
Daniel Sandler
0caebb5078 am 026dc143: Merge "Fix configuration changes in status bars." into klp-dev
* commit '026dc1432ef70308ef44dafcc28998436e304e75':
  Fix configuration changes in status bars.
2013-09-30 17:11:03 -07:00
Jim Miller
a192253bf2 am fb2e3c8d: Merge "Fix permissions on WindowManagerService.showAssistant()" into klp-dev
* commit 'fb2e3c8d47c162166a029a97d68ad3bedff89cce':
  Fix permissions on WindowManagerService.showAssistant()
2013-09-30 17:10:11 -07:00
Daniel Sandler
c6f82e9d05 am a9cf1de4: Merge "Would you like a dessert?" into klp-dev
* commit 'a9cf1de470db5910a38f733f4cd089a44d3162c5':
  Would you like a dessert?
2013-09-30 17:07:20 -07:00
Jim Miller
3d4e30ba97 am 398d7f61: Merge "Update navbar camera icon and widget background assets in keyguard." into klp-dev
* commit '398d7f61866baab65e69b9107c36ba32bf824353':
  Update navbar camera icon and widget background assets in keyguard.
2013-09-30 16:42:26 -07:00
Daniel Sandler
b478a71625 Update date format in panel on locale change.
The logic that updated the locale was only running at times
the DateView should have been updating its display, namely,
when the view was visible on-screen.

The new version trades a small amount of efficiency (the
broadcast receiver is now active at all times, and the date
is re-formatted each TIME_TICK) in exchange for simplicity
and correctness.

Bug: 10725912
Change-Id: I2f0988ed478374ed0eb0c76c3d8caed6c86eb8df
2013-09-30 15:33:36 -04:00
Baligh Uddin
37e9fe7202 Import translations. DO NOT MERGE
Change-Id: I5096e6fda19418f0b61829ccc25cc98ba3d09dfe
Auto-generated-cl: translation import
2013-09-30 10:29:59 -07:00
Daniel Sandler
777dcdeeb6 Fix configuration changes in status bars.
- Make sure SystemBars calls onConfigurationChanged on the
  status bar
- Remove redundant ACTION_CONFIGURATION_CHANGED receiver in
  BaseStatusBar & move this code into onConfigurationChanged
- Force locale refresh even if a configuration change
  touches only the layout direction

Bug: 10113357
Change-Id: I92902d25cbae77f2558cfb85482484b11dc7294e
2013-09-30 10:44:12 -04:00
Jim Miller
fb2e3c8d47 Merge "Fix permissions on WindowManagerService.showAssistant()" into klp-dev 2013-09-28 01:18:17 +00:00
Jim Miller
6c9df5054a Fix permissions on WindowManagerService.showAssistant()
Since binder call permissions are not transitive by design,
the proper way to fix this is to have the call talk directly
to keyguard from the navigation bar.

Fixes bug 9409008

Change-Id: Ibd90a79bb638c969b514455a2ad93c6ff668222d
2013-09-27 16:29:36 -07:00
Daniel Sandler
a9cf1de470 Merge "Would you like a dessert?" into klp-dev 2013-09-27 03:10:38 +00:00
Jim Miller
398d7f6186 Merge "Update navbar camera icon and widget background assets in keyguard." into klp-dev 2013-09-26 22:27:15 +00:00
John Spurlock
a77be2025e am 91949b20: Merge "New battery meter view bolt shape + color." into klp-dev
* commit '91949b20c9e430eaba8cf2cf21abe403eb298a94':
  New battery meter view bolt shape + color.
2013-09-26 13:13:00 -07:00
John Spurlock
91949b20c9 Merge "New battery meter view bolt shape + color." into klp-dev 2013-09-26 20:10:20 +00:00
Daniel Sandler
8475a74bdd Would you like a dessert?
Feel free to browse our lovely dessert case. You're sure to
find something to your liking; we have many familiar
favorites, as well as some rather rare and exotic pastries.

Bug: 10240151
Change-Id: I0f423e5993c049409d89b6be304f57a86974f15a
2013-09-26 15:51:45 -04:00
John Spurlock
2a128013dd am e54eb7f9: Merge "Add RTL versions of wimax status bar icons." into klp-dev
* commit 'e54eb7f9441d279e585b37ca16ce220ed2dcd27c':
  Add RTL versions of wimax status bar icons.
2013-09-26 12:44:23 -07:00
John Spurlock
e54eb7f944 Merge "Add RTL versions of wimax status bar icons." into klp-dev 2013-09-26 19:41:56 +00:00
John Spurlock
9e6f69123c Add RTL versions of wimax status bar icons.
Bug:7968781
Change-Id: I9f03d92f7682416ad4b99ecfb18317842b85163d
2013-09-26 15:36:31 -04:00
Winson Chung
5161b01893 am 8fe3097c: Merge "Add QuickSettings all-caps override for certain locales. (Bug 10518893)" into klp-dev
* commit '8fe3097c87fad3bec6fd53606fe8ff7076bef173':
  Add QuickSettings all-caps override for certain locales. (Bug 10518893)
2013-09-26 10:20:49 -07:00
Winson Chung
8fe3097c87 Merge "Add QuickSettings all-caps override for certain locales. (Bug 10518893)" into klp-dev 2013-09-26 17:17:18 +00:00
Daniel Sandler
d90db9534c am 87c6d876: Merge "Updated quick settings assets." into klp-dev
* commit '87c6d8766ea3e591adc270cefc1976b46768bce2':
  Updated quick settings assets.
2013-09-26 09:54:16 -07:00
Daniel Sandler
87c6d8766e Merge "Updated quick settings assets." into klp-dev 2013-09-26 16:51:22 +00:00
Jim Miller
d4bc325f93 Update navbar camera icon and widget background assets in keyguard.
Change-Id: Ia3c2bcaa67b6f901c823bebf2cb54e592d6eecb3
2013-09-25 19:19:26 -07:00
Rob Tsuk
48b2c775d5 am 7e391cb8: Merge "Replace blue pressed feedback with gray." into klp-dev
* commit '7e391cb8acc36eb7a9f489e60e127ca8dfab37ac':
  Replace blue pressed feedback with gray.
2013-09-25 18:49:31 -07:00
Rob Tsuk
7e391cb8ac Merge "Replace blue pressed feedback with gray." into klp-dev 2013-09-26 01:45:01 +00:00
Jim Miller
4bf2c790b9 am 04b0840b: Merge "Accessibility improvements in keyguard - add accessibility descriptions to camera and search light - add new onClick handler to simplify launching search and camera - plumb camera launch through KeyguardService interface" into klp-dev
* commit '04b0840b2e5367547fdd92f4e2c68cde16486062':
  Accessibility improvements in keyguard - add accessibility descriptions to camera and search light - add new onClick handler to simplify launching search and camera - plumb camera launch through KeyguardService interface
2013-09-25 15:44:15 -07:00
Jim Miller
04b0840b2e Merge "Accessibility improvements in keyguard - add accessibility descriptions to camera and search light - add new onClick handler to simplify launching search and camera - plumb camera launch through KeyguardService interface" into klp-dev 2013-09-25 22:41:26 +00:00
John Spurlock
cfab990053 New battery meter view bolt shape + color.
Bug:10785785
Change-Id: Ia122bcaec1137ba45648ab3c97d8ec832fd26c85
2013-09-25 18:08:52 -04:00
Jim Miller
964fb590b0 am 3264ec7a: Merge "Fit and finish for navbar camera affordance" into klp-dev
* commit '3264ec7ab5efe8592523a68d4b69c5f2f8f514da':
  Fit and finish for navbar camera affordance
2013-09-25 15:07:49 -07:00
Jim Miller
3264ec7ab5 Merge "Fit and finish for navbar camera affordance" into klp-dev 2013-09-25 22:04:49 +00:00
Jim Miller
138f25d756 Accessibility improvements in keyguard
- add accessibility descriptions to camera and search light
- add new onClick handler to simplify launching search and camera
- plumb camera launch through KeyguardService interface

Fixes bug 10914360

Change-Id: Ic85eda9afadba7381be78b477180f7204030cd17
2013-09-25 15:01:19 -07:00
Rob Tsuk
3ccf331fde Replace blue pressed feedback with gray.
Change-Id: I72070411fedd2883417310197ee86e0ad958a899
2013-09-25 14:24:39 -07:00
Daniel Sandler
ae5dd2a66c Updated quick settings assets.
Bug: 10825585
Change-Id: Idc312960fa4b6fcb350c256fee3a503c0c40e6f3
2013-09-25 14:59:53 -04:00
Baligh Uddin
18b7abffef Import translations. DO NOT MERGE
Change-Id: Id86ce8166f481fa6a360ebb479f2e420ead1ee15
Auto-generated-cl: translation import
2013-09-25 09:13:10 -07:00
Jim Miller
8de9e443d8 Fit and finish for navbar camera affordance
- fix potential event dispatch bug where camera events weren't always propagated
- fix DelegateViewHelper to always propagate events, even when disabled

Bug 10332383

Change-Id: Ie082d3074fc6497ee3633dcc0a51a6b08bcf0037
2013-09-24 14:46:50 -07:00
Winson Chung
eed9fd4825 Add QuickSettings all-caps override for certain locales. (Bug 10518893)
Change-Id: Ic7a00a4f044016f6360ddabd56c44881d7b7f69a
2013-09-24 14:23:57 -07:00
Baligh Uddin
891047901f Merge "Import translations. DO NOT MERGE" into klp-dev 2013-09-24 14:59:27 +00:00
Jim Miller
c8f00291f6 am 89e1fec9: Merge "Fit and finish for navbar camera affordance" into klp-dev
* commit '89e1fec9af78b94cbafc21fe22a69213ae31a6fa':
  Fit and finish for navbar camera affordance
2013-09-23 19:00:55 -07:00
John Spurlock
237b84287e am fac17cc7: Merge "Introduce transparent bars to the keyguard." into klp-dev
* commit 'fac17cc7b1e8c3b73a457c2d85e2f832461fb26e':
  Introduce transparent bars to the keyguard.
2013-09-23 18:59:45 -07:00
Jim Miller
89e1fec9af Merge "Fit and finish for navbar camera affordance" into klp-dev 2013-09-24 01:30:59 +00:00
John Spurlock
257f283b0e Introduce transparent bars to the keyguard.
Driven by a new framework config bool. Tested on all layouts,
but disabled by default.  Can be enabled with a config overlay.

(Sliding/MultiPane)ChallengeLayout have custom measure/layout
logic that peeks at the root view's padding (!).  So we must keep
the root view's padding = system window insets. However, we need
the scrims + the fullscreen camera widget preview to use the entire
display size if the bars are transparent.

So the approach is to maintain the root view's
(KeyguardViewManager$ViewManagerHost) padding as before via
setFitsSystemWindows(true) but allow non KeyguardHostViews to
extend into the padding if bars are transparent via a custom
measure/draw on the root view.

KeyguardHostView background + challege scrims moved up to the
root view.

Also:
- Remove logspam line for fixed bug.

- Fix status bar staying opaque on interaction on secure keyguard.

Known issues:
- Nav bar blip dismissing global actions, keyguard app widget picker
bars are opaque.  Both will use the new inherit flag once it exists.

- Emergency dialer layout dance, will be fixed in the phone project.

Bug:10606085
Change-Id: I2648b4ee9a54a67324ce9dcbab976ad4da4bbcfa
2013-09-23 15:59:15 -04:00
Baligh Uddin
889fbd8a13 Import translations. DO NOT MERGE
Change-Id: Ie40261bd13b7f152487449fdbc0313c2c65472e3
Auto-generated-cl: translation import
2013-09-23 10:05:49 -07:00
Jim Miller
f4db8f9973 Fit and finish for navbar camera affordance
- disable search gadget while interacting with camera
- clean up code that deals with warping to track both warp and swap views.
- fade camera and search icon when camera touched
- slide camera view on screen when camera is touched.
- fix fling of camera page to center in view when animation finishes.
- resolve stateful bug between edge swipe and camera button.

Bug 10332383

Change-Id: I8fc38148a01927bc7c228101308c3c4214113047
2013-09-20 20:50:00 -07:00
Maggie Benthall
b0bd2bfdbc am db93e1d7: Merge "UX compliance for CA Cert warning tile in QuickSettings" into klp-dev
* commit 'db93e1d79eca52c7ab27b148f55dc0a5a0c771a1':
  UX compliance for CA Cert warning tile in QuickSettings
2013-09-20 07:34:52 -07:00