3468 Commits

Author SHA1 Message Date
Michael Wright
2eeacc02a2 Show no_sim icon when no SIM card is available.
Bug: 10958943
Change-Id: I1fcd961ddab45e316d726b90fdbbc176e6e7d737
2013-10-07 13:50:32 -07:00
Jim Miller
d34de7304c Replace searchlight asset
Fixes bug 11030712

Change-Id: Ia25dec35dd3a8d59f98521e579bc1d269518c395
2013-10-03 19:20:58 -07:00
Baligh Uddin
778c2de060 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-03 03:45:22 +00:00
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
7eb5ce03d9 Merge "Update date format in panel on locale change." into klp-dev 2013-10-01 02:57:45 +00: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
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
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
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
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
7e391cb8ac Merge "Replace blue pressed feedback with gray." into klp-dev 2013-09-26 01:45:01 +00: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
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
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
db93e1d79e Merge "UX compliance for CA Cert warning tile in QuickSettings" into klp-dev 2013-09-20 14:30:29 +00:00
Jim Miller
af638c4f9d Merge "Add camera affordance to navigation bar on phones" into klp-dev 2013-09-20 01:33:28 +00:00
Jim Miller
caf24fc2c4 Add camera affordance to navigation bar on phones
This adds a camera button on phones that can be used to show
and launch the camera.

- Minor refactoring of touch event dispatch in PagedView.
- Disables usability hints when keyguard loads.
- Only add a touch handler for camera icon once during layout.
- Update after review.
- Updated with latest UX camera and camera background assets

Change-Id: I09cd5cb0e501fd0f4659bea96d00c92b07f805c4
2013-09-19 17:14:59 -07:00
John Spurlock
0286f5e278 Merge "Bar gradients now 55% to 0% black." into klp-dev 2013-09-19 19:26:25 +00:00
Maggie Benthall
68881e4ed7 UX compliance for CA Cert warning tile in QuickSettings
Text not all uppercase
Reduce spacing between icon and text
Break the string in the middle.

Bug: 10785095
Change-Id: If85da55452b06d77d2ae1c40f3d63431c2ae2a9a
2013-09-19 15:25:43 -04:00
John Spurlock
0558a6f0a6 Bar gradients now 55% to 0% black.
Bug:10840205
Change-Id: If30e13ab4f61cd65b7fdf7e5e987191fec1f45f2
2013-09-19 15:22:17 -04:00
Baligh Uddin
25f9f364f5 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-09-19 17:39:50 +00:00
John Spurlock
f95c9aa7e1 Merge "Don't disable animations until screen state is known." into klp-dev 2013-09-19 16:28:09 +00:00
John Spurlock
8c52042264 Don't disable animations until screen state is known.
Bug:10602521
Change-Id: I54a0c7a9dfd7d9c248854738414613d32d85476a
2013-09-19 12:23:35 -04:00
Chris Wren
f82e73c572 Merge "disable heads up feature in klp." into klp-dev 2013-09-19 16:18:59 +00:00
John Spurlock
e631b41d8b Draw gradient behind fully transparent system bars.
Use a transition-drawable to crossfade between the gradient and
solid color backgrounds, avoiding custom onDraw.

Rename colors to their final names.  Since both bars now receive the
gradient treatment, centralize in base BarTransitions.

Bug:10602521
Change-Id: Id094fa1767eabab88a3709d6026c23858c83fb5b
2013-09-19 11:28:54 -04:00
Baligh Uddin
bbe7af04a8 Import translations. DO NOT MERGE
Change-Id: I21beea4e8c038684fed962494b3a5213fea4c818
Auto-generated-cl: translation import
2013-09-19 00:00:37 -07:00
Michael Jurka
4c8cc720e7 Merge "Fix black bar drawn sometimes when swiping away items in Recents" into klp-dev 2013-09-17 20:54:04 +00:00
Michael Jurka
4a6bc55cd5 Fix black bar drawn sometimes when swiping away items in Recents
- move drawing of faded black edges to RecentsPanelView
- invalidate RecentsPanelView when scroll value of Recents*ScrollView changes

Bug: 10022236

Change-Id: Idb102fb2454c2a077920b770e25c449ccd33486e
2013-09-17 22:43:02 +02:00
Michael Jurka
d1544e3f71 Merge "Reduce memory usage of default thumbnail" into klp-dev 2013-09-17 20:40:34 +00:00