85 Commits

Author SHA1 Message Date
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
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
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
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
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
8a2fc1da30 Import translations. DO NOT MERGE
Change-Id: I521eae27b6864e350d4a81c669b5ada426f150dc
Auto-generated-cl: translation import
2013-08-01 10:24:34 -07:00
Baligh Uddin
09419bb6ad Import translations. DO NOT MERGE
Change-Id: Ia27c9de8bb6e8307f3f1fcaf69bee46eb361ed67
Auto-generated-cl: translation import
2013-07-29 08:24:21 -07:00
Jim Miller
c95e5c844a Fix layout incompatibility between hdpi vs xhdpi devices
The xhdpi was using the hdpi spec instead of the default since
it was the closest match.

This allows both devices to work correctly.

Fixes bug 9985496

Change-Id: I03ddf1b6645d5f82e2fba6c39a1c5b3a37e62d45
2013-07-24 13:27:51 -07:00
Jim Miller
37ee2647d4 Merge "Fix keyguard layout on hdpi devices" 2013-07-20 01:52:08 +00:00
Jim Miller
99054020b8 Fix keyguard layout on hdpi devices
This reduces the size of the security area slightly to give
the widget more room.

Fixes bug 9642579

Change-Id: I58b861def932450901b17d6df74958dde8207769
2013-07-19 18:37:12 -07:00
Baligh Uddin
08f8a810d9 Import translations. DO NOT MERGE
Change-Id: I3f2d4b1f5d1ca4bb1f3c0e04757a627ad52ae365
Auto-generated-cl: translation import
2013-07-10 18:08:48 -07:00
Baligh Uddin
8060677ba8 Import translations. DO NOT MERGE
Change-Id: I5612800c2b9deb0a0e653b86478bedfe45b729dd
Auto-generated-cl: translation import
2013-06-24 16:54:37 -07:00
Baligh Uddin
66b9cb2549 Import translations. DO NOT MERGE
Change-Id: Ib7914f77925d5edb99c62999ff3ae29856adf399
Auto-generated-cl: translation import
2013-06-12 09:50:05 -07:00
Baligh Uddin
bb0a7f5010 Import translations. DO NOT MERGE
Change-Id: I7d29ef01bf03a1640cabf0a179fc0b05d0e53b3a
Auto-generated-cl: translation import
2013-05-27 09:53:06 -07:00
Baligh Uddin
4946128d64 Import translations. DO NOT MERGE
Change-Id: I247665db04a208df5ea3681001855b1321341a55
Auto-generated-cl: translation import
2013-05-01 08:18:40 -07:00
Jim Miller
c0b676dcc2 Add keyguard background scrim and protection around keyguard APIs
With this change, the system process will put up a scrim in the
event keyguard crashes to protect underlying content.

It also adds permission checks to prevent unathorized access
through the binder APIs.

Cleaned up KeyguardTestActivity to build separately.

Removed unused resources.

Change-Id: I9e370c6bfb7dca68eae9eae304c815fb84a753d2
2013-04-26 14:34:21 -07:00
Baligh Uddin
d5070c395d Import translations. DO NOT MERGE
Change-Id: Id5f09e8ba9f64db6c57687316f02dfa6ac94390a
Auto-generated-cl: translation import
2013-04-24 08:16:57 -07:00
Baligh Uddin
cf49808697 Import translations. DO NOT MERGE
Change-Id: Ia0c52e6aef99399156b84920f185d03b55f746b1
Auto-generated-cl: translation import
2013-04-22 08:45:25 -07:00
Baligh Uddin
9f7fd99c94 Import translations. DO NOT MERGE
Change-Id: I912a433cb92359b877eaee39eae0a9da6679eb8f
Auto-generated-cl: translation import
2013-04-17 08:52:28 -07:00
Baligh Uddin
206a36d226 Import translations. DO NOT MERGE
Change-Id: I54f852f5d08f3a64b0bb1f95b620374bb81472e4
Auto-generated-cl: translation import
2013-04-05 08:48:56 -07:00
Baligh Uddin
07ab08ce7a Import translations. DO NOT MERGE
Change-Id: Iee0ac6623e8460cfa8d18874fe30dccb42b3c45a
Auto-generated-cl: translation import
2013-03-27 08:32:14 -07:00
John Spurlock
5245248452 resolved conflicts for merge of 2d9305cc to master
Change-Id: I9a9672314ef95af09e3f416fa1dc200f7a9d8d4e
2013-03-21 08:27:58 -04:00
Baligh Uddin
fad02f88ca Import translations. DO NOT MERGE
Change-Id: I4f294c5a4807247f8a38fa4374b873a523d3d67f
Auto-generated-cl: translation import
2013-03-20 09:02:30 -07:00
Baligh Uddin
8c4d38ec93 Import translations. DO NOT MERGE
Change-Id: Icda106767529acfdf497b233371e55912ad0e2dd
Auto-generated-cl: translation import
2013-03-18 09:12:18 -07:00
Baligh Uddin
13df4f20a0 Import translations. DO NOT MERGE
Change-Id: I5eb421fbe71fd16d8681491f24ed5037054931c9
Auto-generated-cl: translation import
2013-03-12 09:07:19 -07:00
Baligh Uddin
722cb6e586 Import translations. DO NOT MERGE
Change-Id: If3e2eaeb1ee905a522bf20c3212f66caea6b62d3
Auto-generated-cl: translation import
2013-03-06 08:49:18 -08:00
Jim Miller
5ecd81154f Move keyguard to its own process.
This is in preparation to moving keyguard into its own process.

Moved keyguard source and resources into new .apk.

Got basic test app working.  Still need to implement MockPatternUtils
and means to pass it into KeyguardService with local binder interface.

Added new ACCESS_KEYGUARD_SECURE_STORAGE permission.

Temporarily disabled USER_PRESENT broadcast.

Remove unintentional whitespace changes in PhoneWindowManager, etc.

Checkpoint basic working version.

Move to systemui process.

Synchronize with TOT.

Sync with recent user API changes.

Fix bug with returing interface instead of stub for IKeyguardResult.  Create KeyguardServiceDelegate to allow
for runtime-selectable local or remote interface.

More keyguard crash robustness.

Keyguard crash recovery working.  Currently fails safe (locked).

Fix selector view which was still using frameworks resources.

Remove more references to internal framework variables.  Use aliases for those we should move but
currently have dependencies.

Allow runtime switching between service and local mode.

Fix layout issue on tablets where orientation was reading the incorrect constant
from the framework.  Remove more framework dependencies.

Fix PIN keyboard input.

Remove unnecessary copy of orientation attrs.

Remove unused user selector widget and attempt to get multi user working again.

Fix multi-user avatar icon by grabbing it from UserManager rather than directly since
keyguard can no longer read it.

Merge with AppWidget userId changes in master.

Change-Id: I254d6fc6423ae40f6d7fef50aead4caa701e5ad2
2013-02-27 17:27:53 -08:00
Jim Miller
25a272a9f6 Move keyguard source and resources into new package
This is part 1 of two commits.  This commit moves all keyguard
source and resources to a new com.android.keyguard package.
The second part of this change applies an overlay that makes
it work.

Change-Id: I360e9ac7783c6cb289c992733818b9535df185b9
2013-02-27 17:26:43 -08:00