0b9d8accc569d8b51fd76118ce2f069c24b9af90 |
|
08-Nov-2013 |
Jim Miller <jaggies@google.com> |
Delay tearing down external displays until keyguard finishes This waits until the keyguard window is actually removed before turning off external presentations to avoid flashing the user's password. Fixes bug 11562369 Change-Id: I74bfc0d5e23dccc5a8628abfe02868c71c371f6e
/frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
|
ed80f3f01e0c9eba6258f5ba3de356e3de395df4 |
|
16-Oct-2013 |
Jim Miller <jaggies@google.com> |
Fix issue where keyguard reports a valid token but doesn't draw This fixes an issue where keyguard isn't showing but tells PhoneWindowManager to wait anyway. The fix is to send a null token when keyguard isn't showing. Fixes bug 11216030 Change-Id: I4985fe50c63819415d9d5a1de0b741c8aa6391d8
/frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
|
6a3cceb4d930e85d3b9b273b62bcd4f62b588093 |
|
12-Oct-2013 |
Jim Miller <jaggies@google.com> |
Fix problem where PhoneWindowManager waits for keyguard to draw This fixes a problem where PhoneWindowManager times out waiting for keyguard to draw when it's disabled. Instead, we pass a null token back which allows PhoneWindowManager to continue. Fixes bug 11190932 Change-Id: I041ea1d88dca681476d9477a3aab54559976b312
/frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
|
9471907b5b756b5220e6b50df4529147c01798dc |
|
11-Oct-2013 |
Adam Powell <adamp@google.com> |
Toggle wallpaper window flag when setting custom keyguard background Disable the wallpaper when showing a full-screen custom keyguard background, e.g. artwork from the RemoteController. This has two nice effects: * The wallpaper doesn't visibly "leak" as the keyguard is dismissed and fades out * We save an extra compositing/overdraw step when drawing custom backgrounds Bug 11172944 Change-Id: Id635dcea6b48392f841c9c549327bccff3308c0a
/frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
|
4e8a19c73a0b4ca91ea963230948841054495631 |
|
09-Oct-2013 |
Craig Mautner <cmautner@google.com> |
Remove overly tight constraint on drawn Keyguard. The requirement that a window that is invisible will not be drawn is incorrect. In particular the test fails before a surface has even been added (mHasSurface == false) or shown (mPolicyVisibility == false). This was causing the screen to turn on before Keyguard had been drawn and exposing surfaces that would have normally remained hidden. Also, don't pass null into KeyguardServiceDelegate.onShown() or we will immediately turn the screen on before Keyguard is drawn. Fixes bug 11062635. Change-Id: I964c7ef186d0a94678020b9c27ca6b79e5433350
/frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
|
bd95740648372449a4d5c164d7050eee352d4c24 |
|
03-Oct-2013 |
John Spurlock <jspurlock@google.com> |
Transparent system ui flags -> Translucent WM flags. 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
/frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
|
43a372f38ad642f86047e8112e3d43edb7300439 |
|
28-Sep-2013 |
Adam Powell <adamp@google.com> |
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
/frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
|
d01a1b0473a38bd75555b3138e8e0037fe391d82 |
|
27-Sep-2013 |
John Spurlock <jspurlock@google.com> |
Merge "Remove unused views when we return to keyguard" into klp-dev
|
e5b14ee1281325dc7e54df3fd820ff4bd830ef3c |
|
27-Sep-2013 |
John Spurlock <jspurlock@google.com> |
Merge "Restore scrim views to former place in view hierarchy." into klp-dev
|
256ae67b9a629178b458dfc01102c9c0b9963d03 |
|
26-Sep-2013 |
John Spurlock <jspurlock@google.com> |
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
/frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
|
1de95fb42b97de8e89ce8082dc3860aae238fe2a |
|
24-Sep-2013 |
Jim Miller <jaggies@google.com> |
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
/frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
|
138f25d75665bd07d34294364c5b6f530b33503f |
|
25-Sep-2013 |
Jim Miller <jaggies@google.com> |
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
/frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
|
257f283b0e4cc1c1fa4e7f2472d3ee4ab3b451d0 |
|
22-Sep-2013 |
John Spurlock <jspurlock@google.com> |
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
/frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
|
caf24fc2c4bb9747eb80138bf3ce0be067851749 |
|
11-Sep-2013 |
Jim Miller <jaggies@google.com> |
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
/frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
|
cf182aac94e181c211b677402517af845a0241bb |
|
29-Jun-2013 |
Jim Miller <jaggies@google.com> |
Minor cleanup of KeyguardViewManager Removed unused code and redundant check for high-end graphics. Change-Id: I750d3918e5448760e622a4b3d1781b375bdc66db
/frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
|
e51cf7aeb6157017801a802b4c1d74cbf51b7a01 |
|
26-Jun-2013 |
Jim Miller <jaggies@google.com> |
Simplify wake management code in keyguard. Removes onWakeKey/Motion handling from keyguard since it's no longer used. The legacy code was originally intended to have keyguard filter wake events which is now done in PhoneWindowManager. Ultimately it just needs to call PowerManager.wakeUp() since keyguard no longer filters these keys. Change-Id: I5b8ef9b422abf850a85b57f21944e5eb09fbedc2
/frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
|
34f09eaf0318cf5cf852483423851584ada039c8 |
|
13-Mar-2013 |
Jim Miller <jaggies@google.com> |
resolved conflicts for merge of 8f4772fe to master Change-Id: I65cb4a9b3f339ad4b6997d71dc5f4577c03bb026
|
25190577cc69eaa5930c6fbdc2fcca03afc84982 |
|
01-Mar-2013 |
Jim Miller <jaggies@google.com> |
Post-review Keyguard cleanup. - remove userActivity() from KeyguardService interface and call it on PowerManager directly - Split IKeyguardResult into two parts: IKeyguardShowCallback and IKeyguardExitCallback. - Misc other changes from the review. Change-Id: I3f679cfa5d3f8bc742f2b2259ac354045e89a87b
/frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
|
5ecd81154fa039961f65bb4e36d18ac555b0d1d6 |
|
10-Jan-2013 |
Jim Miller <jaggies@google.com> |
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
/frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
|
25a272a9f6323f6a3513bb522d45e839449878ce |
|
10-Jan-2013 |
Jim Miller <jaggies@google.com> |
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
/frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
|