276 Commits

Author SHA1 Message Date
Amith Yamasani
32ff8c14b2 am f55cf7fc: Merge "Adjust padding for keyguard pin entry keys" into klp-dev
* commit 'f55cf7fcd991124b76063c5c9aed2d3833eff084':
  Adjust padding for keyguard pin entry keys
2013-10-01 05:26:37 -07:00
Jim Miller
102f0e05ba am 8b3bc51c: Merge "Disable keyguard widgets on low memory devices" into klp-dev
* commit '8b3bc51c8f03b2877e834fb1a739eb729a7ad8a1':
  Disable keyguard widgets on low memory devices
2013-10-01 05:26:31 -07:00
Baligh Uddin
8e1a481368 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-01 02:40:41 +00:00
Michael Wright
02cefe27f3 Merge "Move slide to unlock circle up" into klp-dev 2013-10-01 01:46:53 +00:00
Michael Wright
f40ec0f00f Move slide to unlock circle up
Because HH is such a tall device, we need to move the circle up in
order to put it in the correct physical location.

Bug: 10900855
Change-Id: Idf90839e19f89784a96d110dd897bdacb58cb616
2013-09-30 18:38:36 -07:00
Adam Powell
cf0a11594b am 43a372f3: Keyguard transport controls: fullscreen art
* commit '43a372f38ad642f86047e8112e3d43edb7300439':
  Keyguard transport controls: fullscreen art
2013-09-30 17:10:18 -07:00
Jim Miller
aaee139ced am 1ae85153: Merge "Fix missing transport in keyguard" into klp-dev
* commit '1ae85153c804553365d18715824fd3a569f8ce18':
  Fix missing transport in keyguard
2013-09-30 17:10:15 -07:00
John Spurlock
847f4e0e1b am d01a1b04: Merge "Remove unused views when we return to keyguard" into klp-dev
* commit 'd01a1b0473a38bd75555b3138e8e0037fe391d82':
  Remove unused views when we return to keyguard
2013-09-30 17:07:53 -07:00
John Spurlock
7e6774402e am e5b14ee1: Merge "Restore scrim views to former place in view hierarchy." into klp-dev
* commit 'e5b14ee1281325dc7e54df3fd820ff4bd830ef3c':
  Restore scrim views to former place in view hierarchy.
2013-09-30 17:07:50 -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
John Reck
288180c244 Merge "Avoid accidentally using software layers" into klp-dev 2013-09-30 23:10:49 +00:00
John Reck
0a4079ec0c Avoid accidentally using software layers
Bug: 10918599
 Shaves ~1-2MB of transient memory usage from setting a hardware layer
 on a view that's not hardware accelerated, resulting in it falling
 back to a software layer which allocates a bitmap
 Also a bit of dejanking as a result of not hitting GC_FOR_ALLOC

Change-Id: Iff00d383fca710147a48f31c7eee2b728b8412dc
2013-09-30 15:41:49 -07:00
Amith Yamasani
f55cf7fcd9 Merge "Adjust padding for keyguard pin entry keys" into klp-dev 2013-09-30 21:31:54 +00:00
Amith Yamasani
e64318bda0 Adjust padding for keyguard pin entry keys
Increase padding on the left to more visually center the text within the touch target

Bug: 10074982
Change-Id: I2c622b0edd427a4b15f2f3b25a0a124853ed2367
2013-09-30 13:38:14 -07:00
Baligh Uddin
d374fc7649 Import translations. DO NOT MERGE
Change-Id: Ib2bedf5a64b306f630e1263fed4a6fa0e8843175
Auto-generated-cl: translation import
2013-09-30 09:32:47 -07:00
Jim Miller
461b345886 Disable keyguard widgets on low memory devices
Fixes bug 10784493

Change-Id: I6271ea94f6832bb061ba9f64efea460d28ee5695
2013-09-29 14:00:01 -07:00
Adam Powell
43a372f38a Keyguard transport controls: fullscreen art
When the transport controls are active, set the relevant art as a
fullscreen background for the keyguard.

Change-Id: I1e8a87f242153a2a2c5bf94dbd15f0fd3e07dde3
2013-09-27 18:47:52 -07:00
Jim Miller
1ae85153c8 Merge "Fix missing transport in keyguard" into klp-dev 2013-09-28 01:30:21 +00:00
Jim Miller
90873d53fb Fix missing transport in keyguard
Keyguard wasn't re-establishing a connection to the RCD after a
crash.  This results in a missing transport until the session reboots.

Fixes bug 10204949

Change-Id: Ia030eacbcf1e3cfa9ee948c841c95d2040f9c1e0
2013-09-27 18:09:43 -07:00
John Spurlock
d01a1b0473 Merge "Remove unused views when we return to keyguard" into klp-dev 2013-09-27 14:32:38 +00:00
John Spurlock
e5b14ee128 Merge "Restore scrim views to former place in view hierarchy." into klp-dev 2013-09-27 14:27:38 +00:00
John Spurlock
256ae67b9a Restore scrim views to former place in view hierarchy.
By enabling KeyguardHostView to extend into the full screen area
and updating custom measure/layout in the Challenge layouts
appropriately.

Bug:10939005
Change-Id: I06fb187c4100cf0f2e48b1206cc4450afa4567dd
2013-09-27 10:19:12 -04: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
Jim Miller
1de95fb42b Remove unused views when we return to keyguard
This fixes a bug where launching the camera would move
the camera view to the root hierarchy.  In insecure mode, a
subsequent dismiss() comes in and tears down the view hierachy
before the event can be processed, which left the view in the
root hierarchy.

The fix is to remove all children when we reconstruct keyguard.

Fixes bug 10640209

Change-Id: Ia67a93cd219d2b906b6e3bdd04cc355eeffe857e
2013-09-26 15:09:28 -07:00
Mindy Pereira
cc81ed0f51 am b198115e: Merge "De-blue the add lock screen widget pressed state" into klp-dev
* commit 'b198115e492c390537ec400caa96baab1ccec5b9':
  De-blue the add lock screen widget pressed state
2013-09-26 09:50:46 -07:00
Mindy Pereira
4faf288254 De-blue the add lock screen widget pressed state
Change-Id: Ie823a20be0a6f78e11cfdc2b2458351957aaec70
2013-09-25 20:35:47 -07:00
Jim Miller
27d8ea4e91 am 1962e264: Fix keyguard widget pager accessibility - announce when widget hovers over drop target - announce when widget leaves drop target
* commit '1962e264660b37b7e386eb2ac84fc915dd7c75dd':
  Fix keyguard widget pager accessibility - announce when widget hovers over drop target - announce when widget leaves drop target
2013-09-25 19:42:22 -07:00
Jim Miller
1962e26466 Fix keyguard widget pager accessibility
- announce when widget hovers over drop target
- announce when widget leaves drop target

Fixes bug 10151121

Change-Id: Ia36400f4e8651149590e004b82f66d43c9deaa08
2013-09-25 19:29:02 -07: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
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
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
Jim Miller
132540d1f5 am d7fdcad2: Merge "Fix accessibility for all-caps items in keyguard" into klp-dev
* commit 'd7fdcad22683e6191e92141a7e45e2414fe40a44':
  Fix accessibility for all-caps items in keyguard
2013-09-25 14:55:31 -07:00
Jim Miller
e38c8e28ba Fix accessibility for all-caps items in keyguard
This fixes a bug where TTS on all-caps items doesn't work for
Buttons.  The fix is to use translation (ala. TextView.setAllCaps()),
which just affects rendering and not the original text string.

Fix bug 10912259

Change-Id: Id8cba927819c979fe699353219d45f8b0f9f5aac
2013-09-24 15:54:04 -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
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
Jim Miller
9c4c61d08e am 81f429e0: Merge "Enable RTL support in keyguard" into klp-dev
* commit '81f429e097055079cd2a9c7875c1a5dbea0dea06':
  Enable RTL support in keyguard
2013-09-23 19:00:46 -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
Jim Miller
4780058dd6 Enable RTL support in keyguard
Fixes bug 10799068

Change-Id: I353b135a2f5ea7cc061719414266cb47f1742db3
2013-09-23 17:03:12 -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
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
Jim Miller
aef8902245 am 3855b99f: Fix the build - replace broken assets.
* commit '3855b99ff088abe5c25b35e0dc000644eb2d5fcb':
  Fix the build - replace broken assets.
2013-09-19 20:06:56 -07:00
Jim Miller
3855b99ff0 Fix the build - replace broken assets.
Change-Id: If039dee6d7e663d6abacd5239557d4d0a07fc912
2013-09-19 20:01:56 -07: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
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
Jean-Michel Trivi
f54f7d7075 am 15bcc323: Merge "RemoteController class to expose IRemoteControlDisplay features" into klp-dev
* commit '15bcc323cbaff72a2ca3eb9e75c35200e6216bd2':
  RemoteController class to expose IRemoteControlDisplay features
2013-09-17 18:53:17 -07:00
Jean-Michel Trivi
7ddd226e7c RemoteController class to expose IRemoteControlDisplay features
Wrap all the features of IRemoteControlDisplay.aidl in a
 new class, RemoteController, that implements the
 IRemoteControlDisplay interface.

The API functions to expose in the SDK are tagged with
 "CANDIDATE FOR API"

Bug 8209392

Change-Id: I597bcd503ac93e73889c9ae8b47b16c4fcb363bc
2013-09-18 01:47:25 +00:00