3620 Commits

Author SHA1 Message Date
John Spurlock
93c672e695 am 237b8428: am fac17cc7: Merge "Introduce transparent bars to the keyguard." into klp-dev
* commit '237b84287e1fe135af957775f53a6be999b618a2':
  Introduce transparent bars to the keyguard.
2013-09-24 10:22:43 -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
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
2bd9b2cd6e Import translations. DO NOT MERGE
Change-Id: Id35c7a7d478d301f9def5215ef593e02c0ca91e2
Auto-generated-cl: translation import
2013-09-23 10:07:51 -07:00
John Spurlock
af56853020 Keep PhoneStatusBar default constructor around.
By keeping the entire class safe.

Change-Id: I0851ae5556243af2deb76f38500271059ffa4480
2013-09-23 11:15:11 -04:00
Maggie Benthall
ca4ffc599e am b0bd2bfd: am db93e1d7: Merge "UX compliance for CA Cert warning tile in QuickSettings" into klp-dev
* commit 'b0bd2bfdbc878d4f23e3277704e3c9a82b112381':
  UX compliance for CA Cert warning tile in QuickSettings
2013-09-20 11:22:00 -07:00
Jim Miller
3f943b1143 am f3d1ef00: am af638c4f: Merge "Add camera affordance to navigation bar on phones" into klp-dev
* commit 'f3d1ef00c571657bd0464d157905c6b4fae2136f':
  Add camera affordance to navigation bar on phones
2013-09-20 11:21:11 -07:00
John Spurlock
03d4a0920c am cc8dc013: am 0286f5e2: Merge "Bar gradients now 55% to 0% black." into klp-dev
* commit 'cc8dc0139ef11e8f34a22dfeb5073921030ccf98':
  Bar gradients now 55% to 0% black.
2013-09-20 09:58:13 -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
34fd7fc8b7 Merge "Import translations. DO NOT MERGE" 2013-09-19 17:39:53 +00:00
Baligh Uddin
25f9f364f5 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-09-19 17:39:50 +00:00
John Spurlock
3f84b02d82 am d402c0f3: am f95c9aa7: Merge "Don\'t disable animations until screen state is known." into klp-dev
* commit 'd402c0f37bf505988c57d3b0dab14d7d20dd3387':
  Don't disable animations until screen state is known.
2013-09-19 09:34:53 -07: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
5527ee7702 am 035541a1: am f82e73c5: Merge "disable heads up feature in klp." into klp-dev
* commit '035541a1ba904a4172484a4a23fe52370c516722':
  disable heads up feature in klp.
2013-09-19 09:26:56 -07: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
8848af48f6 am 9a300a4a: am 219d0f32: Merge "Draw gradient behind fully transparent system bars." into klp-dev
* commit '9a300a4aabb145fd0773a03b8172c3a7ac848f5b':
  Draw gradient behind fully transparent system bars.
2013-09-19 09:10:38 -07: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
59074efb53 Import translations. DO NOT MERGE
Change-Id: Ie291b7b24231e5b9567958f18c7a5d2a9972aad0
Auto-generated-cl: translation import
2013-09-19 00:02:26 -07: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
1c7a180f3c am c23762ec: am 4c8cc720: Merge "Fix black bar drawn sometimes when swiping away items in Recents" into klp-dev
* commit 'c23762ecd6efff066ed195f3db8dad27972035a1':
  Fix black bar drawn sometimes when swiping away items in Recents
2013-09-17 14:02:43 -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
69b8f11028 am b35d94e7: am d1544e3f: Merge "Reduce memory usage of default thumbnail" into klp-dev
* commit 'b35d94e72156effc8d14125769fed32e4e5b7157':
  Reduce memory usage of default thumbnail
2013-09-17 13:44:16 -07: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
4d5b6c7969 am b6ac744b: am 80645121: Merge "BatteryMeterView: Charging trumps empty." into klp-dev
* commit 'b6ac744b11aaad592a8c27fdaafec5d5a6b90837':
  BatteryMeterView: Charging trumps empty.
2013-09-17 11:12:27 -07: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
b1c85e4a8e Merge "Import translations. DO NOT MERGE" 2013-09-17 04:05:28 +00:00
Baligh Uddin
fd111c8f61 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-09-17 04:05:19 +00:00
Daniel Sandler
c0a9709ad2 am 8c9905eb: am 1656a346: Merge "Point the QS alarm tile at AlarmClock.ACTION_SHOW_ALARMS." into klp-dev
* commit '8c9905ebfac3a3a7ca97faa447d5f118072adb59':
  Point the QS alarm tile at AlarmClock.ACTION_SHOW_ALARMS.
2013-09-16 11:46:17 -07:00
Daniel Sandler
1fe69fac4b am 32327048: am 9cb5445d: Merge "Fix recent SystemUI dump crash." into klp-dev
* commit '32327048d4d628e985e2581a98078768bd267b92':
  Fix recent SystemUI dump crash.
2013-09-16 11:46:14 -07: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