summaryrefslogtreecommitdiffstats
path: root/packages/Keyguard/res/values
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Remove '?' icon in layout for "Forgot pattern" button" into klp-devJim Miller2013-10-251-0/+4
|\
| * Remove '?' icon in layout for "Forgot pattern" buttonJim Miller2013-10-221-0/+4
| | | | | | | | | | | | Fixes bug 11234297 Change-Id: I5fbb54997b7a2bcf29b3a98b10a2ba4e908283ef
* | Enhance pin/puk supportWink Saville2013-10-231-5/+31
|/ | | | | | | | | | Add supplyPinReportResult & supplyPukReportResult that returns the result code and attempts remaining. Display "Attempts remaining" in Keyguard Bug: 9928717 Change-Id: Ibad0635dd1375fabce11ba2b7b9f95f8868489e6
* Update clock to use 14dp instead of 12dp for status info.Jim Miller2013-10-132-4/+4
| | | | | | Fixes bug 11195120 Change-Id: Ifa24ad80f64363e2cc815de67d2e99a27eef3425
* Enable time format localization in keyguardJim Miller2013-10-111-1/+7
| | | | | | Fixes bug 11173871 Change-Id: Ife44c93b01770a3349343d034fe6adb1c6d66185
* Fix default clock localization in keyguard.Jim Miller2013-10-081-3/+1
| | | | | | | | | Uses new DateFormat.getBestDateTimePattern() to get localized format string. Fixes bug 11120830 Change-Id: If49a95ac4f222da7d16523c99476c5895326d71e
* Use SCREEN Xfermode for keyguard badges; update SeekBarAdam Powell2013-10-071-0/+14
| | | | | | | | | | | | | | | Plumb through the necessary API features through Drawables and ImageView but leave it hidden for now pending future API review and plumbing through the rest of the framework Drawable implementations. Update SeekBar assets used for keyguard transport control. Set selected status directly instead of finding views by id. Bug 10531608 Bug 10784913 Change-Id: Ia38bd04ad1bc26e9e6da1dda8a374c9ba3ceccb3
* Transparent system ui flags -> Translucent WM flags.John Spurlock2013-10-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate View.SYSTEM_UI_FLAG_TRANSPARENT_(STATUS/NAVIGATION) to WindowManager.LayoutParams.FLAG_TRANSLUCENT_(STATUS|NAVIGATION). Add associated public attrs for both new window flags: windowTranslucentStatus windowTranslucentNavigation Introduce convenient four new themes that set translucent decor: Theme.Holo.NoActionBar.TranslucentDecor Theme.Holo.Light.NoActionBar.TranslucentDecor Theme.DeviceDefault.NoActionBar.TranslucentDecor Theme.DeviceDefault.Light.NoActionBar.TranslucentDecor Update PhoneWindowManager mechanism to plumb these values back to SystemUI to drive bar mode state. The new translucent flags come from the top fullscreen window, not the focused window, so translucency does not change when opening dialogs. Imply some window-level system-ui visibility if one or both of these new flags are present, specifically: FLAG_TRANSLUCENT_STATUS implies LAYOUT_STABLE, LAYOUT_FULLSCREEN FLAG_TRANSLUCENT_NAVIGATION implies LAYOUT STABLE, LAYOUT_HIDE_NAV Rename all associated variable & resource names to use the term translucent instead of transparent. (Retain the term semi-transparent for the transient bar style). Recents activity allowed to inherit translucent decor state via the new PRIVATE_FLAG_INHERIT_TRANSLUCENT_DECOR. Compensating changes to use the full screen area more appropriately. Update keyguard to use new WM flags. Update docs and various api artifacts. Sanity-check fixes: - Toasts and alerts given stable layout. - Suppress nu-gradient when in transient (hidey) mode. - New translucent flags use top-fullscreen window, dialogs don't clear. Bug:10674960 Bug:11062108 Bug:10987178 Bug:10786445 Bug:10781433 Change-Id: If667a55bea4cf5e008549524b9899197fab55ebe
* Merge "Add a scrubber to keyguard; layout tweaks" into klp-devAdam Powell2013-10-031-0/+7
|\
| * Add a scrubber to keyguard; layout tweaksAdam Powell2013-10-031-0/+7
| | | | | | | | | | | | | | | | | | | | Switch KeyguardTransportControlView over to using RemoteController instead of the internal API. Guard transition animations behind a flag until we can work out some intermittent issues. Change-Id: Ie9f41339ce6e735c5d524db88437672f2c9859e2
* | Update default keyguard clock to new UX specificationJim Miller2013-10-036-22/+54
|/ | | | Change-Id: I0d5f302d8bd5922acd45cfe1de42cb76cebc02e5
* Remove old animationJohn Reck2013-10-011-2/+0
| | | | | | | | | | | Bug: 10918599 Shaves ~1.5MB off of Keyguard creation from usage of an old-style Alpha animator that would create a draw cache The animation is unseen due to screen timings, so simply remove it Also adds a bit of de-jank to the non-svelte case by avoiding a potential GC_FOR_ALLOC Change-Id: Id49742d95988f670a44305e4033e7a850d20e675
* Merge "Move slide to unlock circle up" into klp-devMichael Wright2013-10-011-0/+3
|\
| * Move slide to unlock circle upMichael Wright2013-09-301-0/+3
| | | | | | | | | | | | | | | | 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
* | Adjust padding for keyguard pin entry keysAmith Yamasani2013-09-301-2/+3
|/ | | | | | | Increase padding on the left to more visually center the text within the touch target Bug: 10074982 Change-Id: I2c622b0edd427a4b15f2f3b25a0a124853ed2367
* Fix keyguard widget pager accessibilityJim Miller2013-09-251-0/+6
| | | | | | | | | - announce when widget hovers over drop target - announce when widget leaves drop target Fixes bug 10151121 Change-Id: Ia36400f4e8651149590e004b82f66d43c9deaa08
* Merge "Accessibility improvements in keyguard - add accessibility ↵Jim Miller2013-09-251-0/+8
|\ | | | | | | 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
| * Accessibility improvements in keyguardJim Miller2013-09-251-0/+8
| | | | | | | | | | | | | | | | | | | | - 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
* | Fix accessibility for all-caps items in keyguardJim Miller2013-09-241-0/+1
|/ | | | | | | | | | 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
* Introduce transparent bars to the keyguard.John Spurlock2013-09-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Add keyguard background scrim and protection around keyguard APIsJim Miller2013-04-261-34/+0
| | | | | | | | | | | | | | 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
* Move keyguard to its own process.Jim Miller2013-02-2711-0/+968
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