3733 Commits

Author SHA1 Message Date
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
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
f3d1ef00c5 am af638c4f: Merge "Add camera affordance to navigation bar on phones" into klp-dev
* commit 'af638c4f9daa74b4c8e0905f07e11290f6845abe':
  Add camera affordance to navigation bar on phones
2013-09-19 18:36:57 -07: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
cc8dc0139e am 0286f5e2: Merge "Bar gradients now 55% to 0% black." into klp-dev
* commit '0286f5e2786865e35781180c88e67a0f981e942d':
  Bar gradients now 55% to 0% black.
2013-09-19 12:29:00 -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
d402c0f37b am f95c9aa7: Merge "Don\'t disable animations until screen state is known." into klp-dev
* commit 'f95c9aa7e1229963a4cb92eed46eafc205b03cb3':
  Don't disable animations until screen state is known.
2013-09-19 09:30:12 -07: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
Chris Wren
035541a1ba am f82e73c5: Merge "disable heads up feature in klp." into klp-dev
* commit 'f82e73c572cf5781232db2aa9fae6e02e04dbaaf':
  disable heads up feature in klp.
2013-09-19 09:23:36 -07: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
9a300a4aab am 219d0f32: Merge "Draw gradient behind fully transparent system bars." into klp-dev
* commit '219d0f32ddd1ae82588f8b5eaa46f319c83b5fe3':
  Draw gradient behind fully transparent system bars.
2013-09-19 09:07:24 -07: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
c23762ecd6 am 4c8cc720: Merge "Fix black bar drawn sometimes when swiping away items in Recents" into klp-dev
* commit '4c8cc720e79f01840800bd0a6dd611d179acdbed':
  Fix black bar drawn sometimes when swiping away items in Recents
2013-09-17 13:59:39 -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
b35d94e721 am d1544e3f: Merge "Reduce memory usage of default thumbnail" into klp-dev
* commit 'd1544e3f71d35b01e34bbf64720f260c8fa2a7e8':
  Reduce memory usage of default thumbnail
2013-09-17 13:42:29 -07:00
Michael Jurka
d1544e3f71 Merge "Reduce memory usage of default thumbnail" into klp-dev 2013-09-17 20:40:34 +00:00
John Spurlock
b6ac744b11 am 80645121: Merge "BatteryMeterView: Charging trumps empty." into klp-dev
* commit '80645121fbba6f038feb48026d935b31028463d7':
  BatteryMeterView: Charging trumps empty.
2013-09-17 11:09:29 -07:00
Michael Jurka
9926272f32 Reduce memory usage of default thumbnail
Bug: 10639174

Change-Id: I2b7f3844e77427d2327a7d89c63e4f3b0d890bc0
2013-09-17 18:24:47 +02:00
John Spurlock
d19877f8a3 BatteryMeterView: Charging trumps empty.
Match the style implicit in the battery assets: if charging,
show the bolt, not the exclamation point.

Bug:10651062
Change-Id: I3edd822326ad611972e791cf4acc8c395e51a74d
2013-09-17 11:03:03 -04:00
Baligh Uddin
fd111c8f61 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-09-17 04:05:19 +00:00
Daniel Sandler
8c9905ebfa am 1656a346: Merge "Point the QS alarm tile at AlarmClock.ACTION_SHOW_ALARMS." into klp-dev
* commit '1656a346d9b69470cf8336a3059e9624797c7b7d':
  Point the QS alarm tile at AlarmClock.ACTION_SHOW_ALARMS.
2013-09-16 11:44:19 -07:00
Daniel Sandler
32327048d4 am 9cb5445d: Merge "Fix recent SystemUI dump crash." into klp-dev
* commit '9cb5445d26a7973b0212d3bb9b807877cce1f5c6':
  Fix recent SystemUI dump crash.
2013-09-16 11:44:16 -07:00
Daniel Sandler
1656a346d9 Merge "Point the QS alarm tile at AlarmClock.ACTION_SHOW_ALARMS." into klp-dev 2013-09-16 18:40:14 +00:00
Daniel Sandler
9cb5445d26 Merge "Fix recent SystemUI dump crash." into klp-dev 2013-09-16 18:36:04 +00:00
Michael Jurka
303392de0e am 1199a37a: Merge "Catch ActivityNotFoundException in Recents" into klp-dev
* commit '1199a37a038d28753396a08ff60de2491bb6a20d':
  Catch ActivityNotFoundException in Recents
2013-09-16 10:58:35 -07:00
John Spurlock
41c1e359c6 Fix recent SystemUI dump crash.
If only string format specification errors were compilation errors...

Bug:10781286
Change-Id: I2843a805f6bba35f9cddcbfe7e551d3f0248e789
2013-09-16 13:57:13 -04:00
Michael Jurka
1199a37a03 Merge "Catch ActivityNotFoundException in Recents" into klp-dev 2013-09-16 17:56:28 +00:00
Michael Jurka
4e85f46c1c Catch ActivityNotFoundException in Recents
Bug: 8633151
2013-09-16 19:52:21 +02:00
Baligh Uddin
c59286ab7b Import translations. DO NOT MERGE
Change-Id: I7f6eb24f5bb7c1ae9e8734eb957a966e49848a3b
Auto-generated-cl: translation import
2013-09-16 09:52:22 -07:00