331 Commits

Author SHA1 Message Date
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
c40a3032cb am 27d8ea4e: am 1962e264: Fix keyguard widget pager accessibility - announce when widget hovers over drop target - announce when widget leaves drop target
* commit '27d8ea4e912429930a212412ee2eee07a1c6fb4f':
  Fix keyguard widget pager accessibility - announce when widget hovers over drop target - announce when widget leaves drop target
2013-09-25 19:44:10 -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
d0ee92408f am 4bf2c790: 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 '4bf2c790b971cf43c65d8e9e5721a2a9dde474b5':
  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:48:42 -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
a18b561dee am 964fb590: am 3264ec7a: Merge "Fit and finish for navbar camera affordance" into klp-dev
* commit '964fb590b08c53f36c0368c973b6a6b1f2a76bfb':
  Fit and finish for navbar camera affordance
2013-09-25 15:10:55 -07: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
14176c6c0d am 132540d1: am d7fdcad2: Merge "Fix accessibility for all-caps items in keyguard" into klp-dev
* commit '132540d1f5656145639f0206076d1ba63183bbfb':
  Fix accessibility for all-caps items in keyguard
2013-09-25 14:58:28 -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
53fba32945 am c8f00291: am 89e1fec9: Merge "Fit and finish for navbar camera affordance" into klp-dev
* commit 'c8f00291f670cb3741347c82b615a110f5729c6f':
  Fit and finish for navbar camera affordance
2013-09-24 10:23:15 -07:00
Jim Miller
8ecb292f2b am 9c4c61d0: am 81f429e0: Merge "Enable RTL support in keyguard" into klp-dev
* commit '9c4c61d08e8249ec6b0124342873324a0e2f7162':
  Enable RTL support in keyguard
2013-09-24 10:23:12 -07:00
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
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
bbfd7e3ca2 am aef89022: am 3855b99f: Fix the build - replace broken assets.
* commit 'aef8902245bdde18a3bd168e8706cd1e009f4d24':
  Fix the build - replace broken assets.
2013-09-20 11:21:29 -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
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
cac8a1c08c am f54f7d70: am 15bcc323: Merge "RemoteController class to expose IRemoteControlDisplay features" into klp-dev
* commit 'f54f7d707546a99ffc5345591f2c9488e6149e84':
  RemoteController class to expose IRemoteControlDisplay features
2013-09-17 19:29:09 -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
Brian Colonna
85b11b6ec9 am 6d9b6bee: am 4811398b: Merge "Fix 10550373: Stopping FUL when emergency dialer opens" into klp-dev
* commit '6d9b6beedcac132ae5f81ad561c2f11048a58da7':
  Fix 10550373: Stopping FUL when emergency dialer opens
2013-09-17 15:03:31 -07:00
Brian Colonna
6d9b6beedc am 4811398b: Merge "Fix 10550373: Stopping FUL when emergency dialer opens" into klp-dev
* commit '4811398bfdaf4cf07f945c46d15977fd7418f498':
  Fix 10550373: Stopping FUL when emergency dialer opens
2013-09-17 15:01:06 -07:00
Brian Colonna
7fce380216 Fix 10550373: Stopping FUL when emergency dialer opens
Face Unlock wasn't being stopped when the emergency dialer opened,
causing FUL to flash briefly after the emergency dialer appeared.
This was most noticeable on Hammerhead devices.

This change allows EmergencyButton to stop FUL by way of
KeyguardUpdateMonitor.  Note that it must stop FUL immediately rather
than going through a handler.  If going through a handler FUL is not
stopped in time to prevent the issue.

Change-Id: I3985969a19e909e2633d7876a3fb2d34c70e2cc1
2013-09-17 17:33:21 -04:00
Baligh Uddin
5242b4b997 Import translations. DO NOT MERGE
Change-Id: Iebcc32693fe755e3f7e73b255e61f1963e4c15e9
Auto-generated-cl: translation import
2013-09-14 20:06:00 -07:00
Baligh Uddin
6f33529bee Import translations. DO NOT MERGE
Change-Id: I9fada382c7d5e6b1e60af23ab195787870e7c772
Auto-generated-cl: translation import
2013-09-13 21:03:20 -07:00
Sandeep Siddhartha
6f64688bc8 am 6c5e9fb4: am f702286c: Merge "Remove HotwordRecognition APIs" into klp-dev
* commit '6c5e9fb4c4215f76a8a1fd8d72eee1154deb1039':
  Remove HotwordRecognition APIs
2013-09-11 17:22:55 -07:00
Sandeep Siddhartha
65a6ba3478 Remove HotwordRecognition APIs
- and its usage from Keyguard

Bug: 10708010
Change-Id: Ic4a695a1d0e9312706a3b4ff01e59e2567b6ad9c
2013-09-11 11:01:13 -07:00
Baligh Uddin
2603c2b934 Merge "Import translations. DO NOT MERGE" 2013-09-10 04:57:54 +00:00
Sandeep Siddhartha
8f86b844d2 am e6139bf0: am 85e7177a: Merge "Move public consts to HotwordRecognitionService" into klp-dev
* commit 'e6139bf08680120cf1437621f2aadabd82a50197':
  Move public consts to HotwordRecognitionService
2013-09-09 16:32:43 -07:00
Baligh Uddin
4f1aeb85ff Import translations. DO NOT MERGE
Change-Id: I1a55f4b825fc2516e8b9b0b9abf149f85a5ff136
Auto-generated-cl: translation import
2013-09-09 08:39:37 -07:00
Sandeep Siddhartha
1f0ef2cc33 Move public consts to HotwordRecognitionService
- The HotwordRecognitionService is the only public component of
  Hotword recognition allowing others to implement hotword recognition
- The client API is not available for use by all, hence the consts need
  to be moved to the service class.
- Ideally we'd have retained the public consts in the client side API
  (HotwordRecognizer)

Change-Id: Ibd0d1c0d0514ec4e8f7c284e22c5fa6b7ef3df26
2013-09-06 18:12:11 -07:00
Sandeep Siddhartha
3a67da9781 am 994bf3a1: am 22ae5d6d: Merge "Use the permission for hotword recognition" into klp-dev
* commit '994bf3a1119855059b40b0adc45c17c13bc4c512':
  Use the permission for hotword recognition
2013-09-06 15:09:40 -07:00
Sandeep Siddhartha
4473f02003 Use the permission for hotword recognition
- Also fixes an issue with PendingIntents being launched from the
  lockscreen taking a lot of time

Change-Id: I91b44328ba68b225454322b90a5b19a0d4c9a772
2013-09-06 12:48:51 -07:00
Sandeep Siddhartha
d49f2fa854 am 454cf31d: am 228b3510: Merge "Move the hotword code to KeyguardHostView" into klp-dev
* commit '454cf31dbd367a815f6f32c97dc32af98ce94bdd':
  Move the hotword code to KeyguardHostView
2013-09-04 18:14:02 -07:00