• Home
  • History
  • Annotate
  • only in /frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
History log of /frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f69320a1f02de3106a26a3911c25be63fcfaf738 09-Nov-2012 Adam Cohen <adamcohen@google.com> Merge "Preventing more than five widgets from being added in the carousel (issue 7502935)" into jb-mr1-dev
3e9cba4f9db96e3b5ba2ab2f9ad7a7ac2549582d 09-Nov-2012 Adam Cohen <adamcohen@google.com> Merge "Deferring size callbacks until boot completed (issue 7469267)" into jb-mr1-dev
c276e82dd070e75017192507df33958a10cadb87 08-Nov-2012 Adam Cohen <adamcohen@google.com> Deferring size callbacks until boot completed (issue 7469267)

-> Also bumping priority of the boot completed receiver

Change-Id: I7b68a29b4a8c927713bfbc1f4585f96ce0c47f35
eyguardUpdateMonitor.java
eyguardWidgetFrame.java
40f8211e6849c4c7948d7fc19127f29f0cebbeb9 08-Nov-2012 Winson Chung <winsonc@google.com> Preventing more than five widgets from being added in the carousel (issue 7502935)

Change-Id: I26e6e154992e56b128d541578ffd3891776a3f7a
eyguardHostView.java
eyguardWidgetPager.java
a46a74fcd61d2b4e72b6027625a471f10b21b1c9 08-Nov-2012 Dianne Hackborn <hackbod@google.com> Merge "Remove extraneous logs." into jb-mr1-dev
7ff30113de68539ec840c524b8f1561f938f96c5 08-Nov-2012 Dianne Hackborn <hackbod@google.com> Remove extraneous logs.

Change-Id: I4c47d36748de91bd6fddc419afbf59552bf63e9a
eyguardViewManager.java
9de5901bb37ad2a42d334405f41e629fa29dfd46 08-Nov-2012 Daniel Sandler <dsandler@android.com> Merge "Don't crash if no ECA." into jb-mr1-lockscreen-dev
b499b1fa082147ad37e1211f32210b44bdbc0750 08-Nov-2012 Daniel Sandler <dsandler@android.com> Don't crash if no ECA.

(Phone landscape pattern lock, for example.)

Bug: 7502613
Change-Id: I3f48c4351ea04db2d8ad9a410166f60257f3d954
eyguardPatternView.java
4eada64770bc2f021cb04cbb77efbad1c9a7adc4 08-Nov-2012 Daniel Sandler <dsandler@android.com> Merge "Only show the bouncer for the assistant if secure." into jb-mr1-lockscreen-dev
6ed3fcafdbdeda9a10a62bbd0e5997017e8e2635 08-Nov-2012 Daniel Sandler <dsandler@android.com> Only show the bouncer for the assistant if secure.

We do this by using the helpful tools in
KeyguardActivityLauncher which do all the right callbacks
and stuff.

(This assumes the assist gesture is sufficiently hard to
false that we don't need the extra step of bouncing the
glowpad unlock affordance.)

Bug: 7500637
Change-Id: Id68cb85cdfd741f43a5bce69118ec4209125d785
eyguardActivityLauncher.java
eyguardHostView.java
14adfe425e67c9ec12b0841a62c5c03ce00838ea 08-Nov-2012 John Spurlock <jspurlock@google.com> Address comments from merged "Fix remaining jank in sec..."

Cleanup based on post-merge comments on:
I554ddffb7981488fa8a81933842b0c7730e775f3

Bug:7482560
Change-Id: I06b2bc91da9dfddd06db69efb9e7ad45c304f709
eyguardActivityLauncher.java
eyguardHostView.java
eyguardSecurityCallback.java
eyguardViewMediator.java
eb963f046dadd1304379db0b14c17e47c89913f4 08-Nov-2012 Michael Jurka <mikejurka@google.com> Enforce max number of 5 lockscreen widgets

Change-Id: I7b7fca18174736c8f1aa0018f7399982c80b1cb0
eyguardHostView.java
eyguardWidgetPager.java
c8ed8d32603d21e1af9a682cc5f1655d2388cfba 08-Nov-2012 Adam Cohen <adamcohen@google.com> Merge "Adding user activity when the challenge is slid down" into jb-mr1-lockscreen-dev
6be441c532688762b735ae2a1276195b40bf33b4 08-Nov-2012 Jim Miller <jaggies@google.com> Merge "Add mechanism to kick keyguard to show the assistant" into jb-mr1-lockscreen-dev
08c83ef48880b98ec45dd83867a29852160a96eb 08-Nov-2012 Adam Cohen <adamcohen@google.com> Adding user activity when the challenge is slid down

Change-Id: I54a7dcf79718090dac6ec5991185712cc2abca37
eyguardHostView.java
eyguardViewStateManager.java
4eeb4f664ac6b5901a8e874dcf70c0382295f792 08-Nov-2012 Jim Miller <jaggies@google.com> Add mechanism to kick keyguard to show the assistant

Fixes bug 7499778

Change-Id: Ic9ea514feb489feeee6716f40bdb9792842f9515
eyguardHostView.java
eyguardViewManager.java
eyguardViewMediator.java
eyguardViewStateManager.java
5dd8b00891faff39ecadb1a0322e14528883bfe3 08-Nov-2012 Adam Powell <adamp@google.com> Merge "add bouncer frame to glowpad." into jb-mr1-lockscreen-dev
a9fa92e889a9dbc94c25e4ba1d67ce24929b834f 08-Nov-2012 Adam Powell <adamp@google.com> Keyguard - force showing the status bar

Change-Id: I168293497a829346ba6f9566370c418ef1a09f8f
eyguardViewManager.java
efbfa685b678c010342f28ebed1b3b70efae201c 08-Nov-2012 Chris Wren <cwren@android.com> add bouncer frame to glowpad.

Bug: 7497916
Change-Id: I6bddbfc91c89b0855eba0dcec46bc1b88684b8ad
eyguardSelectorView.java
lidingChallengeLayout.java
2cacda5fc92a28a44a37e25b96093a9cc1346080 08-Nov-2012 Jim Miller <jaggies@google.com> Disable interactive mode for full-screen security views in keyguard.

Change-Id: Ied038ba96ba3a6e6f6b4bd25a4c5be74814596fe
eyguardHostView.java
1e0f6faf5abea0aae49bdae973bd15b675817224 08-Nov-2012 Adam Cohen <adamcohen@google.com> Merge "Clean up some flashy jank (issue 7454766)" into jb-mr1-lockscreen-dev
70c2f8736437ebb6073c3b6dab2e08e6dd9f39a6 08-Nov-2012 Winson Chung <winsonc@google.com> Synchronizing bouncer duration with page scaling duration.

Change-Id: I9fba381582a083ce2ab26375698c5a6f3d554a1b
hallengeLayout.java
eyguardHostView.java
eyguardWidgetPager.java
ultiPaneChallengeLayout.java
lidingChallengeLayout.java
44dc1413768b5798168fb29ea277affb9a739033 08-Nov-2012 Adam Cohen <adamcohen@google.com> Clean up some flashy jank (issue 7454766)

Change-Id: I809f3afbbb70e82847aa4851d20058a2c483a32e
eyguardViewStateManager.java
eyguardWidgetFrame.java
e7e210cb4373877785130ff06ad4e6635592eaa8 08-Nov-2012 Adam Powell <adamp@google.com> Merge "Fiddle with keyguard glowpad layouts" into jb-mr1-lockscreen-dev
2635750fa7f835d102c3fd52b18e00d364d9ae42 08-Nov-2012 Winson Chung <winsonc@google.com> Adding workaround to fix issue where the bouncer animation had the wrong pivot.

Change-Id: I500fb765cf206b97cc0b585c195cc647cc8e63f1
eyguardWidgetPager.java
3fbbbb66b671daf4cd6f28b8ecd512bdd2436358 08-Nov-2012 Adam Powell <adamp@google.com> Fiddle with keyguard glowpad layouts

Also add hierarchyviewer support for KeyguardSecurityView LayoutParams

Bug 7497272
Bug 7459668

Change-Id: I5d03751571d0af66f4c9d08a9d9ca476b32735ac
eyguardSecurityViewFlipper.java
ae0161e7af280a35e975dc26457ab4f704d37d0a 08-Nov-2012 Jim Miller <jaggies@google.com> Merge "Don't handle click events on the emergency button in bouncer mode" into jb-mr1-lockscreen-dev
d8e2fdf7345f448f332ea8a551172f48563f77aa 08-Nov-2012 Adam Powell <adamp@google.com> Merge "Use stable layouts for keyguard/SlidingChallengeLayout" into jb-mr1-lockscreen-dev
eec4fe2cbe20174ac3b60f0ca90b51271ea98751 08-Nov-2012 Adam Powell <adamp@google.com> Use stable layouts for keyguard/SlidingChallengeLayout

When coming back from the secure camera we will be transitioning from
fullscreen back to not-fullscreen with regard to the status bar. Flag
SlidingChallengeLayout to force the window to have stable insets so
that our layout doesn't jump around during this transition.

Set the same flag in MultiPaneChallengeLayout as well so that similar
cases with other activities are also covered.

Bug 7498950

Change-Id: I1b65e04d1404e764ddad29472b70cf791d6801f9
ultiPaneChallengeLayout.java
lidingChallengeLayout.java
8bbafed48b9c39e3ff5683b7151541c21b3e8ffe 08-Nov-2012 Jim Miller <jaggies@google.com> Don't handle click events on the emergency button in bouncer mode

This fixes a bug where the emergency call button was hidden, but not
gone. This adds a call to setVisibility(INVISIBLE) when the alpha
is animated to 0 and restore it when bouncer mode is dismissed.

Fixes bug 7498389

Change-Id: I0898542ff7c666c8f41175a330b72d3450475739
eyguardSecurityViewHelper.java
4181e8a4ac07e118724f7935928d2c3a1bb291f7 08-Nov-2012 Winson Chung <winsonc@google.com> Merge "Fixing issue where you can reorder/delete a non-widget page. (Bug 7493984)" into jb-mr1-lockscreen-dev
c065a5d7271c6683b64578490ccc836c72d3ed78 08-Nov-2012 Winson Chung <winsonc@google.com> Fixing issue where you can reorder/delete a non-widget page. (Bug 7493984)

- Laying out the drop target without padding from the multiuser picker

Change-Id: Icd3528a13f84a789341a841645bfde4e51fd1747
eyguardWidgetPager.java
ultiPaneChallengeLayout.java
agedView.java
85c4281aae518c27ca3f95e330f6aa56159e1328 08-Nov-2012 Adam Cohen <adamcohen@google.com> Merge "Fixing up overscroll asset / sizing" into jb-mr1-lockscreen-dev
5da893c93b55c83b07558a1648f53dfec89b1f32 08-Nov-2012 Jim Miller <jaggies@google.com> Merge "Add one more check for detecting crashes while inflating multiuser widget" into jb-mr1-lockscreen-dev
d51700b3cc6d4c66a33d18348f7c1eb66cd50ac2 08-Nov-2012 Adam Cohen <adamcohen@google.com> Fixing up overscroll asset / sizing

-> No more jaggies! yay (issue 7459049)
-> Fixed up weird overscroll state (issue 7489094)

Change-Id: I5d6714a6f5f007ea0f73e4cf34a20572c5f43f64
eyguardViewStateManager.java
eyguardWidgetFrame.java
eyguardWidgetPager.java
agedView.java
f6ab5f9e3e7562b6ebb61ac149eb3cf9b08c443f 08-Nov-2012 Jim Miller <jaggies@google.com> Add one more check for detecting crashes while inflating multiuser widget

Fix bug 7437751

Change-Id: I2e1d94458db9e56e049dae32f088b13a21803217
eyguardHostView.java
40962880225c74d8f776e6ce03f1ec6dde63ef04 08-Nov-2012 Jim Miller <jaggies@google.com> Merge "Implement fallback clock in keyguard" into jb-mr1-lockscreen-dev
edc74abf8ad5880b0e3caeb3fdf92249da202abe 07-Nov-2012 Jim Miller <jaggies@google.com> Implement fallback clock in keyguard

This clock is shown if widgets are ever disabled by DPM and the
default clock package is not enabled.

Fixes bug 7469367

Change-Id: I8cf140c0fc00dd56265e3a332aff2fe3b41e3ec0
eyguardStatusView.java
eyguardStatusViewManager.java
fd8c388f028de046e5f5ed36880e98f67e6bb481 08-Nov-2012 Michael Jurka <mikejurka@google.com> Merge "Fix bug where newly added widget wasn't always shown" into jb-mr1-lockscreen-dev
1413889565bc1b9d5d5fb73302460a4f25f4a8c0 07-Nov-2012 Michael Jurka <mikejurka@google.com> Fix bug where newly added widget wasn't always shown

Bug: 7491900

Change-Id: I878eea745ee6127b757aa945631c1a4eb08d9936
eyguardHostView.java
eyguardViewStateManager.java
c717d110ae5c2531a75420386f99ad8957732dbf 07-Nov-2012 Adam Powell <adamp@google.com> Merge "Fix keyguard measurement bugs" into jb-mr1-lockscreen-dev
eeb6255056b5b0b45026db040edf1136662e847c 07-Nov-2012 Adam Powell <adamp@google.com> Fix keyguard measurement bugs

Bug 7493748
Bug 7493764

Change-Id: I2182ec4347eefc80198e675684bc5d195f947763
eyguardSecurityViewFlipper.java
ultiPaneChallengeLayout.java
8e3bf41d8b2289fa96ea1b268946bacaa01a620c 07-Nov-2012 Chris Wren <cwren@android.com> Merge "add logging to enableUserSelectorIfNecessary." into jb-mr1-lockscreen-dev
d2dec00a0a072dd0e71b2194ce919cd134d926ed 07-Nov-2012 Chris Wren <cwren@android.com> add logging to enableUserSelectorIfNecessary.

Bug: 7437751
Change-Id: I4a223ac68f780dac212ee5ed0729d59278fd1e4b
eyguardHostView.java
b524f4b928fe3ac9c71657a323cff4b3321344da 07-Nov-2012 Chris Wren <cwren@android.com> Merge "add some defensive code to enableUserSelectorIfNecessary." into jb-mr1-lockscreen-dev
91f080c77739e32f377e1a9cb5c8d0ec5d50138f 07-Nov-2012 Chris Wren <cwren@android.com> add some defensive code to enableUserSelectorIfNecessary.

Bug: 7437751
Change-Id: I3f8e317624f158fce0d58be69b733699a208d802
eyguardHostView.java
8f837a690b0da2579157cdcc30503e0dd67f429d 07-Nov-2012 Adam Cohen <adamcohen@google.com> Merge "Storing boot completed in KeyguardUpdateMonitor so it is persistent (issue 7492235)" into jb-mr1-lockscreen-dev
4eb36cfdcabb51f67a887d867de9559966606d86 07-Nov-2012 Adam Cohen <adamcohen@google.com> Storing boot completed in KeyguardUpdateMonitor so it is persistent (issue 7492235)

Change-Id: I736816dac8cea47632fbdbc75b367f2c6216dff7
eyguardHostView.java
eyguardUpdateMonitor.java
cf9ee4c55db750f86fdcb765c4f21c44bb4bc893 07-Nov-2012 Chris Wren <cwren@android.com> Merge "Don't pop the IME for passwors at ScreenOn on tablets." into jb-mr1-lockscreen-dev
a042ac90640c0c3fd3c5349083b86bbfd6319b64 07-Nov-2012 Chris Wren <cwren@android.com> Don't pop the IME for passwors at ScreenOn on tablets.

Change-Id: I4c157559b2a70021d55211607c1d62ba73adc590
eyguardAbsKeyInputView.java
eyguardAccountView.java
eyguardFaceUnlockView.java
eyguardHostView.java
eyguardPasswordView.java
eyguardPatternView.java
eyguardSecurityView.java
eyguardSecurityViewFlipper.java
eyguardSelectorView.java
eyguardStatusViewManager.java
eyguardViewStateManager.java
34c4fe523ad96fb59cec28832b38806d04a6bebf 07-Nov-2012 John Spurlock <jspurlock@google.com> Fix remaining jank in secure add-widget transition.

Wait for activity to launch before dismissing the keyguard.
Otherwise we see launcher/last activity waiting for the
picker to start up.

Also remove camera transition workaround obviated by:
Iefee62061962625b622ff2cf9a307d9429c2ad54

Bug:7482560
Change-Id: I554ddffb7981488fa8a81933842b0c7730e775f3
ameraWidgetFrame.java
eyguardActivityLauncher.java
eyguardHostView.java
eyguardSecurityCallback.java
eyguardViewMediator.java
cabcc5900790daaa9ca4d080848c9b505c3de126 07-Nov-2012 Michael Jurka <mikejurka@google.com> Merge "Allowing rotation while adding lockscreen widgets" into jb-mr1-lockscreen-dev
192d6d4ee271c0782a3bf5d8c64e42eb22d1a6fa 07-Nov-2012 Michael Jurka <mikejurka@google.com> Allowing rotation while adding lockscreen widgets

Also cleaning up some unused code

Bug: 7468012
eyguardHostView.java
9799714f6c69efe50e21a6073b879140e5e792b7 07-Nov-2012 Adam Powell <adamp@google.com> Keyguard layout tweaking/reworking

Teach KeyguardSecurityViewFlipper about layout_maxWidth/Height. Give
maxes to security views. Fix some IME layout weirdness in
SlidingChallengeLayout by adding more weirdness.

Change-Id: I8047d32302aad44844de06d54b150586b0861dab
eyguardHostView.java
eyguardSecurityViewFlipper.java
ultiPaneChallengeLayout.java
lidingChallengeLayout.java
9d0d796f47524da7abe018ca6ad892b819a0e66f 07-Nov-2012 Jim Miller <jaggies@google.com> Merge "Fix emergency call area updates." into jb-mr1-lockscreen-dev
42164efac3f4422e66d176de24e1a0857cacabab 07-Nov-2012 Adam Cohen <adamcohen@google.com> Merge "Ensuring bindAppWidget isn't called until boot completed (issue 7469267)" into jb-mr1-lockscreen-dev
efb3ffb029efcc180b3233b6f25d2dba11e28f03 07-Nov-2012 Adam Cohen <adamcohen@google.com> Ensuring bindAppWidget isn't called until boot completed (issue 7469267)

Change-Id: I997f5a191116db7c840bf4a947385958b57cd657
eyguardHostView.java
eyguardUpdateMonitor.java
eyguardUpdateMonitorCallback.java
835579e8173700be78368827d5c042ac4f698e29 07-Nov-2012 Michael Jurka <mikejurka@google.com> Merge "Removing sticky widgets in lockscreen" into jb-mr1-lockscreen-dev
76017cad4f7af95380ee5eaf6dc610bb46088a9c 07-Nov-2012 Michael Jurka <mikejurka@google.com> Removing sticky widgets in lockscreen

Also adding mechanism to show a widget after
adding it

Change-Id: Ic4d49e6ef1343c38fa731b0ed2a327c55b678abf
eyguardHostView.java
eyguardViewManager.java
eyguardViewStateManager.java
0928e019ce1a0e343df948520f32ac638379d8ee 07-Nov-2012 Jim Miller <jaggies@google.com> Fix emergency call area updates.

This fixes a bug where the emergency call button doesn't reflect the current
state.

Fixes bug 7482869

Change-Id: I7de2100f10a078943cb92c13d638c72e99c7a643
arrierText.java
mergencyButton.java
ad9f594e1ca36d4b847ec14e9ccf6e2d40bbc388 07-Nov-2012 Svetoslav Ganov <svetoslavganov@google.com> am 5fff5f01: Merge "Make partially visible widget pages not important for accessibility." into jb-mr1-dev

* commit '5fff5f01f8af05164d5d7be72bdadee46360ba92':
Make partially visible widget pages not important for accessibility.
5fff5f01f8af05164d5d7be72bdadee46360ba92 07-Nov-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Make partially visible widget pages not important for accessibility." into jb-mr1-dev
bc69698c8f1fdf7abc9ffb0225e47633617f5628 07-Nov-2012 Sascha Prueter <saschap@google.com> am 872965bb: Merge "Use a consistent policy for filtering wake keys." into jb-mr1-dev

* commit '872965bb22ba74a06b755547883c5d0de62bb956':
Use a consistent policy for filtering wake keys.
872965bb22ba74a06b755547883c5d0de62bb956 07-Nov-2012 Sascha Prueter <saschap@google.com> Merge "Use a consistent policy for filtering wake keys." into jb-mr1-dev
51117262c8fadb6d227d137e83ad66996b013141 05-Nov-2012 Jim Miller <jaggies@google.com> Handle DevicePolicyManagement and safe mode when inflating widgets

Bug 7459120
Bug 7444159
Bug 7444016

Change-Id: I7966ec510da8113ac571b5a4b9dc48dd291396e8
Conflicts:
policy/src/com/android/internal/policy/impl/keyguard/KeyguardWidgetPager.java
eyguardHostView.java
eyguardViewBase.java
eyguardWidgetPager.java
1c2e4948a1f0e803171389427212321973ea66b8 07-Nov-2012 Jeff Brown <jeffbrown@google.com> Use a consistent policy for filtering wake keys.

Previously wake keys were filtered differently depending on whether
a keyguard was showing. If the user disables the keyguard then
no filtering was applied, which means that the volume key may
wake your device while in your pocket.

This change ensures that we use the same policy consistently
regardless of whether keyguard is showing. The behavior is
otherwise the same.

Removed the "Locked" suffix on a method that was actually
being called without a lock held and which in fact does not
require it.

Bug: 7481025
Change-Id: I704c71ca009bc5437f349f858b9de7c77ea73e4b
eyguardViewMediator.java
7136544c06c2d10c7a1c6aa8715d2b717221aee8 07-Nov-2012 Adam Powell <adamp@google.com> Merge "Keyguard - MultiPaneChallengeLayout measurement/layout changes" into jb-mr1-lockscreen-dev
9d34f9db81311a931ae4016161e1c927dd2a69d1 07-Nov-2012 Adam Powell <adamp@google.com> Keyguard - MultiPaneChallengeLayout measurement/layout changes

Have the widget view and the user switcher stay fixed when IME insets
are applied. This keeps more stability in the layouts as the IME comes
and goes.

Change-Id: I5ac62c3da6ec618280f89e87993837b3e4941ec9
ultiPaneChallengeLayout.java
a90a18db9147709411bc911cf6337b61b9d75412 07-Nov-2012 Svetoslav Ganov <svetoslavganov@google.com> Make partially visible widget pages not important for accessibility.

1. If the lockscreen has more than one widet, the left and right widget
pages are partially on the screen and visible. Therefore they may
take accessibility focus so the user will hear a prompt that he is
on the partially visible widget page but will not be able to interact
with it - confusing. This change makes partially shown windget frames
not important for accessibility.

bug:7454355

Change-Id: I475b21e215474a4421acaec485cde64dc4e2aee5
eyguardWidgetPager.java
5fcca70d280a789002f540ea04b9d7ae5d7fe324 07-Nov-2012 Chris Wren <cwren@android.com> Merge "animating challenge closed should close the challenge." into jb-mr1-lockscreen-dev
6cf53bb3a94ec5a6eebc96a315dac32d042f1945 06-Nov-2012 Winson Chung <winsonc@google.com> Using screen dimensions to calculate the expanded PagedView dimensions.

- Disallowing taps/interaction outside of the viewport (Bug 7459448)
- Fixing regression in incorrect pivot for Camera page
- Fixing issue where the bouncer was both scaling and shrinking widget pages.

Change-Id: Iefee62061962625b622ff2cf9a307d9429c2ad54
eyguardHostView.java
eyguardWidgetPager.java
agedView.java
lidingChallengeLayout.java
da8f622b908121efa4c838936fce26c11a74799d 06-Nov-2012 Chris Wren <cwren@android.com> animating challenge closed should close the challenge.

Bug: 7486591
Change-Id: Ie19a3765c63b885539a621467c2fdc81041578a7
Proto:Id: Iedf69f2f4e97f313af0228954a75f5a494b33c88
lidingChallengeLayout.java
2d9fae2bcfbc8021873a39b3935644e9b9fb5af2 06-Nov-2012 Danielle Millett <dmillett@google.com> Merge "Removing callbacks in onDetachedFromWindow, fixes b/7465673" into jb-mr1-lockscreen-dev
7741e6209ab4c6425ee4156631f54fe9bfce5fc3 06-Nov-2012 Adam Cohen <adamcohen@google.com> Merge "Making sure the sticky widget logic works with music" into jb-mr1-lockscreen-dev
d6f8960b68c14e7946ff8f8286c484c28296ae39 06-Nov-2012 Adam Cohen <adamcohen@google.com> Making sure the sticky widget logic works with music

-> Also, ensure that subsequent calls to showAppropriateWidget
don't blow away your current page.

Change-Id: I7195e35f306526c371b9546ab48bc408868eff51
eyguardHostView.java
eyguardViewStateManager.java
5eac4d852bdc62964acd1c8805b6e9cd8301f262 06-Nov-2012 Amith Yamasani <yamasani@google.com> am f763b717: Merge "Authenticate correct user\'s account when pattern fails multiple times." into jb-mr1-dev

* commit 'f763b71756d4d810e78e368fbcd56ff8a844f62c':
Authenticate correct user's account when pattern fails multiple times.
9f79d0db09818e94b6c2089f952d1ef42e1e1fae 06-Nov-2012 Chris Wren <cwren@android.com> Merge "make challengeShowing sticky across bounce." into jb-mr1-lockscreen-dev
f763b71756d4d810e78e368fbcd56ff8a844f62c 06-Nov-2012 Amith Yamasani <yamasani@google.com> Merge "Authenticate correct user's account when pattern fails multiple times." into jb-mr1-dev
f7e47a003ada4b225dcafe722ab0de35a846b58a 06-Nov-2012 Chris Wren <cwren@android.com> Merge "specify start value: Drawables don't have getAlpha(). also, some clean up." into jb-mr1-lockscreen-dev
03ad0c09502c72c02af464f1e273af3b6ff799cc 06-Nov-2012 Chris Wren <cwren@android.com> make challengeShowing sticky across bounce.

Bug: 7482335
Change-Id: I94811c778c66c78655988f7ff6e4c6d59dac831d
Proto-Id: I3e10968c2a627ac392f39ffc3a6ae5fb33f78117
lidingChallengeLayout.java
50bf54584239aa80781f32269396bd2059b2877d 06-Nov-2012 Chris Wren <cwren@android.com> specify start value: Drawables don't have getAlpha().
also, some clean up.

Bug: 7477513
Change-Id: Iaf05c1ae78ed4e7ba9d4cd3c713b5862a04b61f6
Proto-Id: I28d0569b88a978e1fff2acad1869bc10751dc37f
eyguardSecurityViewFlipper.java
eyguardSecurityViewHelper.java
lidingChallengeLayout.java
cade0049a729ac63832f45befa91cec3b7ce88f5 06-Nov-2012 Danielle Millett <dmillett@google.com> Removing callbacks in onDetachedFromWindow, fixes b/7465673

In certain cases when lockscreen is constructed in landscape and then
switches to portrait on the phone, it inflates new views for
KeyguardHostView. The old views never call onPause() in KeyguardFaceUnlockView
so it was still getting callbacks and starting Face Unlock multiple
times. By removing the callbacks in onDetachedFromWindow() there won't be
multiple instances of KeyguardFaceUnlockView receiving callbacks and
starting face unlock.

Change-Id: I00d770283e83be2f4b76e00340123789a8075091
eyguardFaceUnlockView.java
65cbcbea8a88a14dd9a001d23d09f0a02b0b3805 06-Nov-2012 John Spurlock <jspurlock@google.com> Remove add widget transition jank (insecure).

Refactor to use common activity launcher.

Still work to do on secure.

Bug:7482560
Change-Id: I2f8869afe8172850e1cb019a051aaeb49bb8c5bc
eyguardActivityLauncher.java
eyguardHostView.java
ae73c6908ffd3c450d56a4fde95513cfff19d8a2 06-Nov-2012 John Spurlock <jspurlock@google.com> Fix regression in camera transition.

Caused by: Ic18188a2a3caa9dfde8785611242b1c9925f7b87
"Adding bouncer animation on PagedView."

Bug:7483566
Change-Id: Ie0b4e7cf3d4dc717cac02c7cf8a1ec24b9b860a6
ameraWidgetFrame.java
08924d007f2323b6fb57c858732d32b1083da639 06-Nov-2012 Michael Jurka <mikejurka@google.com> Merge "Supporting EXTRA_APPWIDGET_OPTIONS correctly" into jb-mr1-lockscreen-dev
87d0366d9e41a0fb1e20cc021ba391ed92fab385 06-Nov-2012 Jim Miller <jaggies@google.com> Fix NPE caused by applications that try to hide keyguard while it's not showing

Fixes bug 7466360

Change-Id: Idec4c60c2ca2477e49e0f4526ae2357353d4a1e3
eyguardViewMediator.java
0a75b94872c26efed113fea3b4104155c7a30c9c 06-Nov-2012 Michael Jurka <mikejurka@google.com> Supporting EXTRA_APPWIDGET_OPTIONS correctly
eyguardHostView.java
2c7bc26a7447e6ac9eadcf328259aa3bb1be2949 06-Nov-2012 Amith Yamasani <yamasani@google.com> Authenticate correct user's account when pattern fails multiple times.

Bug: 7473142

Provide hidden methods in AccountManager for querying accounts and
authenticating for a specific user. Lockscreen is running in the
system process. Allow only system process to access accounts across
users.

Also make sure to launch the lock settings screen on the just reset
user using startActivityAsUser()

Change-Id: Ifefc0039ba2b51396b8bd0268f36d5271a3d8676
eyguardAccountView.java
eyguardPatternView.java
48275d2de99ff2556031929c48f295d3f93447b6 05-Nov-2012 Winson Chung <winsonc@google.com> Adding bouncer animation on PagedView. (Bug 7459660)

- Adding Remove text for translations.

Change-Id: Ic18188a2a3caa9dfde8785611242b1c9925f7b87
eyguardHostView.java
eyguardViewStateManager.java
eyguardWidgetPager.java
agedView.java
lidingChallengeLayout.java
9ff6d4f8db8d3d7a6f22afa726685feb47694fbe 06-Nov-2012 Adam Powell <adamp@google.com> Merge "Keyguard sanity checks for when layout is not yet complete" into jb-mr1-lockscreen-dev
5a2c5f0efacf5f11a928c8481f6747c3d13ddcfd 06-Nov-2012 Adam Powell <adamp@google.com> Keyguard sanity checks for when layout is not yet complete

Bug 7470163

Change-Id: I1e5f860ab39633f6c5e2046f6f18424227842406
lidingChallengeLayout.java
6f72b1c9178e885d8e66399ed55075a932d73dc5 06-Nov-2012 Adam Cohen <adamcohen@google.com> Fix small widgets not showing up on tablet (issue 7471516)

Change-Id: Ie217268ef9c96512942f64b8ffd7e1d54a0ea850
eyguardWidgetFrame.java
eyguardWidgetPager.java
5da6430fff7812e58ee7e9a05c62d72c36f366c8 05-Nov-2012 Adam Powell <adamp@google.com> Optimize keyguard/IME interactions

Change the keyguard window to LAYOUT_IN_SCREEN | LAYOUT_INSET_DECOR
and make the ViewManagerHost fitSystemWindows. This eliminates the
need to resize the actual window and associated surfaces when the IME
comes and goes.

Force the widget pager to measure at the fullscreen size of the
keyguard, even if the IME is showing. This causes the widgets to clip
instead of resize, removing a few more moving parts that can be
distracting/affect performance.

Partially improves bug 7427586

Change-Id: I0d86d0ca8045f737fa97ca5d1e7f6a49f746b999
eyguardViewManager.java
lidingChallengeLayout.java
b3f87c24ee86227e22b2db9b04f3d94519f230f9 05-Nov-2012 Chris Wren <cwren@android.com> Merge "bouncer: hide more text and frame less." into jb-mr1-lockscreen-dev
025fb93e3e5518b7db5fec049d285cfb2d28a074 05-Nov-2012 Steven Ross <stross@google.com> Clearing connected message in stop fixes 7401152

We can stop before the service connected message is processed, in which case
we should clear the message. Otherwise it can cause us to start up the UI
before the camera is open, causing a crash.

I was unable to reproduce this issue, but it theoretically will happen, and
the bug report shows all the symptoms of this series of events.

Change-Id: I60d295883b08ac58ccf0f3fc6d152b8b75fe9b18
aceUnlock.java
c0ae9e67ebe6f1298800feaed1b43e867139a904 05-Nov-2012 Chris Wren <cwren@android.com> bouncer: hide more text and frame less.

Bug: 7464865
Change-Id: Ic8dac2582c014922143919f142fd36eb720dd3a9
Proto-Id: Id80601c9ffbdc34669b485e943b42cee237898f3
eyguardAbsKeyInputView.java
eyguardAccountView.java
eyguardFaceUnlockView.java
eyguardHostView.java
eyguardMessageArea.java
eyguardPatternView.java
eyguardSecurityContainer.java
eyguardSecurityView.java
eyguardSecurityViewFlipper.java
eyguardSecurityViewHelper.java
eyguardSelectorView.java
eyguardViewStateManager.java
57f928fc4afc02d2fe45523efea687eee7f86c02 02-Nov-2012 John Spurlock <jspurlock@google.com> Recover from badly behaving 3rd party secure cameras.

Bug:7473953
Change-Id: I8daf18c85d951e03fa1c98dda5f255327f96f0ba
ameraWidgetFrame.java
eyguardActivityLauncher.java
eyguardHostView.java
eyguardSelectorView.java
08898375fba7cc776857ebf0846c7183563a300f 05-Nov-2012 Jim Miller <jaggies@google.com> Show bouncer mode for Slide mode in keyguard if widget isn't expanded

Change-Id: If225198b0c6b122fef854ddd91e49c1071b74d50
eyguardHostView.java
8caabadd02c7bef701c44dc1718a9a493cbd1261 05-Nov-2012 Adam Cohen <adamcohen@google.com> Making challenge come back if within the same gesture you return to the original page (issue 7422999)

Change-Id: I8ada54ca39ebebc15295f93a2d9029f3b7915acb
eyguardViewStateManager.java
eyguardWidgetPager.java
lidingChallengeLayout.java
7f6bb6e460ad7f76742348144b8b1d0dfb3074b3 04-Nov-2012 Adam Cohen <adamcohen@google.com> Ensure edge swiping is enforced immediately upon showing keyguard (issue 7453156)

Change-Id: I197a5304bbea904b58494a9dcb7ff95ff3c4a52b
eyguardViewStateManager.java
25228801ba76e3419d598d9820007f4af761b3cd 04-Nov-2012 Adam Cohen <adamcohen@google.com> Fix issue 7468224, make sure to size pages if page changes

Change-Id: I8b3d7573eda7ed8e6a9aa479e61737fb12e26b92
eyguardViewStateManager.java
6275b3f1f3de7b0ca285e8f57a6d6014b0fa95b3 04-Nov-2012 John Spurlock <jspurlock@google.com> Use better signal for camera launch.

Keyguard set-hidden instead of window lost focus.

Tested with face unlock.

Bug:7464536
Change-Id: I6171c96699d1b1ccfebd7a14179d90963fb8aa54
ameraWidgetFrame.java
37d84ae6051ab6d2add1e0ef51cf2aa2605c3225 04-Nov-2012 John Spurlock <jspurlock@google.com> Render camera widget on a background thread.

Bug:7470978
Change-Id: Ieace005ac42d39ac4c146673910e6681f38e8f56
ameraWidgetFrame.java
eyguardWidgetFrame.java
eyguardWidgetPager.java
f70239a4313010bf0dd3e1ff37f58a806857baa4 04-Nov-2012 John Spurlock <jspurlock@google.com> Fully block user interactions when transitioning to camera.

Bug:7464265
Change-Id: I654b3d7c455f782495946988bb2e5198ff4252ec
ameraWidgetFrame.java
eyguardWidgetPager.java
934d0835c8bae6d8aacf4d661b7134691d8e241b 04-Nov-2012 Adam Cohen <adamcohen@google.com> Fixing up overscroll / hints on tablet

Change-Id: I8b0ce30b02b2d13d71826d6765d154f5ab89072b
eyguardWidgetCarousel.java
eyguardWidgetFrame.java
5d47a8dc2e86a0513cc09348b5b4da24696fdd46 04-Nov-2012 Adam Cohen <adamcohen@google.com> Cleaning up the overscroll effect

Change-Id: I685693fa178fb7b6418145554eb320b1a62d7462
eyguardWidgetFrame.java
eyguardWidgetPager.java
db1c5d596e91713132131601536aaad32e693325 04-Nov-2012 Adam Cohen <adamcohen@google.com> Updating UI to new design, widget shouldn't expand until page settles (issue 7467435)

-> If the challenge is showing and the page is swiped, instead of immediately
sliding down the security and expanding the small widget, we instead
quickly fade out the security and keep the widget+frame small until
the page settles and fades out.

Change-Id: I0f376dcd863744b977a1c5ccc7a46a5c6fdb891d
eyguardViewStateManager.java
eyguardWidgetFrame.java
eyguardWidgetPager.java
lidingChallengeLayout.java
7cefef7c7cc28e111b99e1a55a93a363fe3c00cf 03-Nov-2012 Adam Cohen <adamcohen@google.com> Merge "Making screen hints just side page outlines, as per new design (issue 7467968)" into jb-mr1-lockscreen-dev
45adaa70203a155beb786f22b251fe66b8d6fafd 03-Nov-2012 Adam Cohen <adamcohen@google.com> Making screen hints just side page outlines, as per new design (issue 7467968)

Change-Id: Iff66e0b01cca89337227e54033f6245d6833a5ff
eyguardHostView.java
eyguardWidgetPager.java
fe43e2b1789ac95c9d0cc1428c94963aea3fda98 03-Nov-2012 Jim Miller <jaggies@google.com> Merge "Attempt to fix MENU key issue." into jb-mr1-lockscreen-dev
75931e05470992d51d135d09031902fd1b3fdbc7 03-Nov-2012 Jim Miller <jaggies@google.com> Attempt to fix MENU key issue.

Bug 7467642

Change-Id: If9ee91fc17b454dd47945e800e90d76c0faa7f3d
eyguardHostView.java
eyguardViewManager.java
f74d0c39b62ff542542df69e641477eb1e09b157 02-Nov-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Polish user selector accessibility." into jb-mr1-lockscreen-dev
ff105ea2f63b224f782e0ea223349061e460076b 02-Nov-2012 Adam Cohen <adamcohen@google.com> Merge "Fix pages disappearing (issue 7456885)" into jb-mr1-lockscreen-dev
fc9c4cd51b3bdca27726dd6d8a00d47e388ca2aa 02-Nov-2012 Svetoslav Ganov <svetoslavganov@google.com> Polish user selector accessibility.

1. The current user was not announced as such.

2. The event for a user switch was not sent.

Change-Id: Ib3caf1f9e93ea1f0b5450246601bc37f416be6da
eyguardMultiUserAvatar.java
196cde973fd1635f0ac3150caab40287aacb9846 02-Nov-2012 Adam Cohen <adamcohen@google.com> Fix pages disappearing (issue 7456885)

Change-Id: I51e4510da06a9b81aaefb8b2165234297ad4de92
eyguardViewStateManager.java
81af21e67cd842d16d4b45e8a2d1ec56ff8d764f 02-Nov-2012 Chris Wren <cwren@android.com> Merge "hide the correct text, and more text, on bounce" into jb-mr1-lockscreen-dev
052999f3c94df2659e6e3e7730a2810980f718f7 02-Nov-2012 Chris Wren <cwren@android.com> hide the correct text, and more text, on bounce

Bug: 7464865
Change-Id: I39dc6f06ce0403a29e4802fcc5288788cffb6070
eyguardSecurityContainer.java
lidingChallengeLayout.java
a96cd636ec4e0158f1291270845f4c1f13f91209 02-Nov-2012 Daniel Sandler <dsandler@android.com> Merge "Improve PIN key layouts." into jb-mr1-lockscreen-dev
80bc85a7916713aae0b49e06b4b63bb3760a7a39 02-Nov-2012 Daniel Sandler <dsandler@android.com> Improve PIN key layouts.

- space between digit and mnemonics
- better center the (left-aligned) text in its container
- nudge the enter arrow a little to the left in its
container
- add missing contentDescriptions for SIMPIN/PUK

Bug: 7427380
Change-Id: I0f5d9d1554a476c00591981028733ee6924bb729
umPadKey.java
807c1a99bfe1cb5d2a6f1cd0c245a2df5e7cdc1a 02-Nov-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Obscure speech for PIN password keys when no headset plugged in." into jb-mr1-lockscreen-dev
0cbbc5766fb7c56c49ec55eece905fa7764a8b2b 02-Nov-2012 alanv <alanv@google.com> Obscure speech for PIN password keys when no headset plugged in.

If applicable, also announces that the user needs a headset when
displaying the PIN pad layout. Also fixes accessibility focus "falling
through" to the next Z-ordered view.

Bug: 7436382
Change-Id: Ic1db5320b2e47ff181c5902e9f7980fe3fe6756b
eyguardPINView.java
iftToActivateListener.java
umPadKey.java
bscureSpeechDelegate.java
f3b9ec8230298e8f707c2fc44a74fb9346ec3d12 01-Nov-2012 Winson Chung <winsonc@google.com> Initial changes to allow dropping on delete target to remove widget.

- Fixing deletion animation

Change-Id: Ie93991c0e9af0c6b64c6b3808e38f349f6845965
eyguardHostView.java
eyguardWidgetFrame.java
eyguardWidgetPager.java
agedView.java
febea58c9215c38fde2c89732b88c832ab69c143 02-Nov-2012 Chris Wren <cwren@android.com> Merge "hide multiuser selector when IME is up." into jb-mr1-lockscreen-dev
5f69f380ac84ccdc53462d20e2fb8a784a8dc31b 02-Nov-2012 Chris Wren <cwren@android.com> hide multiuser selector when IME is up.

Bug: 7437062
Change-Id: I7d1b2cf8e74b5ac8546aa9ae7545b69ab3584633
ultiPaneChallengeLayout.java
1ec464679f731827f626856084f19643fff64a94 02-Nov-2012 John Spurlock <jspurlock@google.com> Block swipe up gesture if challenge non-interactive.

Change-Id: I0f9ba918c072261614011cd675e417e54296366f
lidingChallengeLayout.java
78a8f126a9af0c4994188adeba1b955b5d4afd28 02-Nov-2012 John Spurlock <jspurlock@google.com> Properly disable challenge handle.

Bug:7464304
Change-Id: Ib69ccc66bbd348fc3ad17e5097522a0976838daa
lidingChallengeLayout.java
bb5c941149b66c0192736468bb60f47984dd5e1f 31-Oct-2012 John Spurlock <jspurlock@google.com> Disable security handle when swiping into camera widget.

Bug:7444313
Change-Id: I3eb268a41bc8b8a4323e55577a775c5ab3cef10d
ameraWidgetFrame.java
eyguardHostView.java
eyguardViewStateManager.java
eyguardWidgetFrame.java
eyguardWidgetPager.java
agedView.java
lidingChallengeLayout.java
dd8ac785e36f91405323f6e60a90fd466f135369 02-Nov-2012 Adam Cohen <adamcohen@google.com> Merge "Fix small issue with previous CL" into jb-mr1-lockscreen-dev
86006bb8a51c59fb216a76525107522d7d53097b 02-Nov-2012 Adam Cohen <adamcohen@google.com> Fix small issue with previous CL

Change-Id: Id5260413898eef61447f88b3dd82d6181e9bd492
eyguardWidgetFrame.java
2df294eb39d7549805f289b570b6fc574f93cd97 02-Nov-2012 Adam Cohen <adamcohen@google.com> Merge "Widget size policy, size callbacks" into jb-mr1-lockscreen-dev
98b930ce4ca4258fe1d6e9df0053f6883517a241 02-Nov-2012 Winson Chung <winsonc@google.com> Cleaning up keyguard persistence threads when the pager is detached. (Bug 7460991)

Change-Id: I28ebbd04d90a1ea2a721c28d3bce7ccea31a33e9
eyguardWidgetPager.java
4ddcd573dd06a96c32285e34469cae6e7f03109b 02-Nov-2012 Adam Cohen <adamcohen@google.com> Widget size policy, size callbacks

-> vertically resizable widgets behave are sized to fill
-> non-vertically resizable widgets use the small size all the time
-> providing size call-backs. ensuring that we don't send excessive /
incorrect size callbacks. These are expensive. Had to clean things
up to ensure we only send the truth, and not bounce around.

Change-Id: I8038de01096906526e2622c6f1cd24c171e3a4ec
eyguardViewStateManager.java
eyguardWidgetFrame.java
eyguardWidgetPager.java
e732421a412ffc6b9988c44fa81bd8b726caefd9 02-Nov-2012 Brian Colonna <bcolonna@google.com> Merge "Only suppressing FUL on boot if selected fixes b/7338965" into jb-mr1-lockscreen-dev
aaf9b11e6232f159aa6d9863097b09bb435deae3 01-Nov-2012 Jim Miller <jaggies@google.com> Don't show security method until we actually return from the camera

This was causing problems because face unlock and the camera app are
competing for the camera.

The solution is to not show the security method until we get back to
keyguard.

Change-Id: I179548e4ee6aa0ab5dad545842ddeb14bc3b58e1
eyguardHostView.java
52070c1a71e46ce4216186e88c8a73a3c31903e2 02-Nov-2012 Daniel Sandler <dsandler@android.com> Merge "PUK support." into jb-mr1-lockscreen-dev
d6c48847ba6a68594ac602350a5994904b9a67ba 02-Nov-2012 Jim Miller <jaggies@google.com> Fix whitespace problem and sync with prototype.

Change-Id: I92b26741b84dcccb75783f0f26e6d84d0083b77b
eyguardSimPinView.java
23d7a6e605f9c6c1c57550e1053d9e6ddd22741e 02-Nov-2012 Daniel Sandler <dsandler@android.com> PUK support.

Bug: 7413109
Change-Id: I7ccfe79a17fd9b1273bc0ac821ac0e2884ae7ab2
Proto-Id: Ie49c04cf3d373e57ef0bbfd0c59589fe905c8aae
eyguardSimPukView.java
261b18aaecad87cb0bf64bda86e64257d09c291d 02-Nov-2012 Daniel Sandler <dsandler@android.com> Fix build.

Change-Id: Id7907dc9ab10e2aab07ba3cb02b4a3a27131f4cd
eyguardAbsKeyInputView.java
b30ddd99af48b8a817f9c37237ddd74b21e746a3 02-Nov-2012 Daniel Sandler <dsandler@android.com> Merge "SIM PIN support." into jb-mr1-lockscreen-dev
53149e69e9e70af0e2db4a6223bf4d6a7d01a1ac 02-Nov-2012 Daniel Sandler <dsandler@android.com> SIM PIN support.

Bug: 7413109
Change-Id: Icc4157bd869c3661e7291fe8060c82d3f713445c
Proto-Id: I909ff4fdde82f3dc0c7a61d45c522844efcbe882
eyguardSimPinView.java
9de90c1c57b65498afca39c29834ad2bb75f0cbb 02-Nov-2012 Michael Jurka <mikejurka@google.com> Merge "Use clock's widget as the default keyguard widget" into jb-mr1-lockscreen-dev
67a871d85732e582c70a2a1d85ef4419eb658a12 02-Nov-2012 Michael Jurka <mikejurka@google.com> Use clock's widget as the default keyguard widget

Also, if we have no widgets in lockscreen,
reinflate the default widget. If that fails,
inflate the built-in clock (KeyguardStatusView)

Change-Id: I2e90ab0893c993a755700e075e4a8ac5a685e0f2
eyguardHostView.java
eyguardWidgetFrame.java
324545d7c8e0084088ffdbceaf8d1deb6bc09be5 02-Nov-2012 Jim Miller <jaggies@google.com> Merge "Add configurable em-dash separator for all concatenated keyguard strings" into jb-mr1-lockscreen-dev
e9be14077161b9c5dcaa521e9ce4d3e017c11ac6 02-Nov-2012 Jim Miller <jaggies@google.com> Add configurable em-dash separator for all concatenated keyguard strings

Fixes bug 7459426

Change-Id: I2e4944f25f3e4e62b734bc57db628f1b3ce263cd
arrierText.java
eyguardMessageArea.java
b1260af2f5aa2363b08267d35e6b08f95be1eccd 02-Nov-2012 Winson Chung <winsonc@google.com> Merge "Cleaning up keyguard persistence threads when the pager is detached. (Bug 7460991)" into jb-mr1-lockscreen-dev
ebbf5eea2b288700108aaffe3a8dce9ec4b085f7 02-Nov-2012 Daniel Sandler <dsandler@android.com> Merge changes Ib3133583,I0262172d into jb-mr1-lockscreen-dev

* changes:
Show "wrong password" on password screen, not "wrong PIN"
Restore incorrect-PIN lockouts.
e72855e670fe82becdacd5d299e71b77aa3cc9bc 02-Nov-2012 Winson Chung <winsonc@google.com> Cleaning up keyguard persistence threads when the pager is detached. (Bug 7460991)

Change-Id: I28ebbd04d90a1ea2a721c28d3bce7ccea31a33e9
eyguardWidgetPager.java
9c2c77f8bd8288dcafc9f8111396d46b896d1933 01-Nov-2012 Adam Powell <adamp@google.com> Keyguard - fix overzealous sliding security view

Bug 7453429

Change the detection of sliding the security view to require crossing
the border between sections in the correct direction. This also
improves the feel of re-opening the slider.

Change-Id: I57797f926e017ea2cf41f7c48e0fe77ac0f78460
lidingChallengeLayout.java
1dd84d5f2fbdb8c15f77770526fe2c31a10c0f2d 01-Nov-2012 Adam Powell <adamp@google.com> Merge "Keyguard sliding challenge - fix overeager touch interception" into jb-mr1-lockscreen-dev
c238af5112bee38b3143a65849bd41785c3744b0 01-Nov-2012 Adam Powell <adamp@google.com> Keyguard sliding challenge - fix overeager touch interception

Bug 7458287

Change-Id: I31f196539eecab1df5835e8ac1a76d9732a332fe
lidingChallengeLayout.java
998a504ca9d3705cad5109dfd12d40b4715a5dc0 01-Nov-2012 Danielle Millett <dmillett@google.com> Merge "Showing message when max attempts are hit in face unlock fixes b/7306168" into jb-mr1-lockscreen-dev
d4a3e5d711ef3467830205320b7f7ae2188ea2cf 01-Nov-2012 Brian Colonna <bcolonna@google.com> Only suppressing FUL on boot if selected fixes b/7338965

FUL is suppressed when first booted and unsuppressed when the user
leaves keyguard (by logging in or turning the screen off). However,
if the user managed to enter the phone without going through
keyguard (security set to none, or initial device setup), FUL was
not being unsuppressed and it would not show up the first time the
user tried to use it.

This fix only suppresses FUL on first boot if it is the selected
security method. Therefore, it is not suppressed the first time it
is used after setting it up.

Change-Id: I766bbce31ce3939de97661623fe3b8d3fa29c20d
eyguardViewMediator.java
16d90923149435cc7f565f684d42ecd074712ce5 01-Nov-2012 Daniel Sandler <dsandler@android.com> Show "wrong password" on password screen, not "wrong PIN"

Bug: 7452916
Change-Id: Ib31335837834dbf47bd55230a526151a502d9467
eyguardAbsKeyInputView.java
eyguardPINView.java
eyguardPasswordView.java
6a64ac56b7a8b81e6f24b5ad9856185488f4178d 01-Nov-2012 Daniel Sandler <dsandler@android.com> Restore incorrect-PIN lockouts.

Bug: 7433439
Change-Id: I0262172db7c150aa9e73b932cc43a691f3ef9444
eyguardAbsKeyInputView.java
eyguardPINView.java
umPadKey.java
8f7e1be4b183c158c45124cef885ae9319237b0a 01-Nov-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Addressing comments in 74bdd21629681528dbe7f3ea363d99c8514e026b." into jb-mr1-lockscreen-dev
0f87a72d59a224c819e18cfed4374f4d484198d6 01-Nov-2012 Svetoslav Ganov <svetoslavganov@google.com> Addressing comments in 74bdd21629681528dbe7f3ea363d99c8514e026b.

Change-Id: I807733dabc18bc8894c777d19c4d0e3ca809476c
lidingChallengeLayout.java
1625e87e600e8d0752d2f5e1318151a694f1be3e 01-Nov-2012 Danielle Millett <dmillett@google.com> Showing message when max attempts are hit in face unlock fixes b/7306168

Added a check in pattern and PIN to showed the face unlock max attempts
failure message if that had been reached. The max attempts can only
be true if face unlock is enabled so it doesn't need to also check if it's
enabled.

Change-Id: If8a26498961d79fa6a647abc923c72f0af407e61
eyguardPINView.java
eyguardPatternView.java
22ad682ad7e165e244e4f7de121fe25dad65f60d 01-Nov-2012 John Spurlock <jspurlock@google.com> Merge "Cancel camera launch on screen off." into jb-mr1-lockscreen-dev
dbe24b7def8df3a539790827d3f395f4d933802b 01-Nov-2012 John Spurlock <jspurlock@google.com> Cancel camera launch on screen off.

Bug: 7452793
Change-Id: Ic043a0076154d2ce4dcb0b26bae3958c35a6cd67
ameraWidgetFrame.java
eyguardActivityLauncher.java
eyguardHostView.java
62e9c05774b588a893cffb82e87b1126b0933f25 01-Nov-2012 Daniel Sandler <dsandler@android.com> Merge "Show the keyboard less aggressively." into jb-mr1-lockscreen-dev
6e36f1019cb6d7098b49e036e1640c8cfc6880cf 01-Nov-2012 John Spurlock <jspurlock@google.com> Fix launcher flash during secure camera transition.

Bug:7452928
Change-Id: I8b7d9bdb14addefb9e9ed71a45d438418b3e21dd
eyguardActivityLauncher.java
eyguardHostView.java
lidingChallengeLayout.java
080471e41066f1acaae57574dcb556df20d0e036 01-Nov-2012 Danielle Millett <dmillett@google.com> Merge "Updating isShowing during onResume()" into jb-mr1-lockscreen-dev
5d2404da57926736317c1a08d989cd55784ef8a1 01-Nov-2012 Danielle Millett <dmillett@google.com> Updating isShowing during onResume()

Since the callback is unregistered in onPause(), KeyguardFaceUnlock
doesn't get onKeyguardVisibilityChanged() when it's paused. This means
that if the state changes while it's paused, then mIsShowing is incorrect
when it resumes. This is fixed by keeping track of the state in
KeyguardUpdateMonitor and checking it when onResume() is called.

Change-Id: I67aa1e091161a965e4347dc8c2ec5e7a1dd9d92e
eyguardFaceUnlockView.java
eyguardUpdateMonitor.java
9986b2d2851e09dfeeb6c32659c9a630436e5272 01-Nov-2012 Brian Colonna <bcolonna@google.com> Merge "Suppressing FUL after going to backup fixes b/7449820" into jb-mr1-lockscreen-dev
667b5d58b9e8b77221c87811c5c9aab1bfe44ffa 01-Nov-2012 Brian Colonna <bcolonna@google.com> Suppressing FUL after going to backup fixes b/7449820

Face Unlock would reappear when rotating a tablet after it had already
fallen back to the backup unlock method. This change suppresses Face
Unlock after going to the backup so it isn't seen again until the user
leaves and revisits keyguard.

This change also removes the exposeFallback() callback from Face
Unlock. It has been unnecessary for a long tiem since Face Unlock no
longer covers the backup. The Face Unlock service was therefore
making unnecesaary calls via the AIDL interface.

Note that the AIDL interface change broke obsolete keyguard stuff.
That is being deleted soon anyway, so code has just been commented out
of the obsolete files to make it compile.

Change-Id: Ia5c451cce1703b3bc03e27a35c6b38373e944d1b
aceUnlock.java
45942ca0525b86ff33c425aaaf87b69dd1c1ceea 01-Nov-2012 Svetoslav Ganov <svetoslavganov@google.com> Addressing comments for change c4842c11932ea4f60fe7ae09b0a59660207e1587

Change-Id: I4e9cf37aba287f079be18e5c2c25216e6fdd1396
eyguardWidgetPager.java
agedView.java
11952e73af206c1def991e86a695a880fb0062b0 01-Nov-2012 Jim Miller <jaggies@google.com> Merge "Adding a button for expanding the clock screen challenge." into jb-mr1-lockscreen-dev
74bdd21629681528dbe7f3ea363d99c8514e026b 01-Nov-2012 Svetoslav Ganov <svetoslavganov@google.com> Adding a button for expanding the clock screen challenge.

Change-Id: Ia39303012251cf7cc4dadac030d1aa471ceff776
lidingChallengeLayout.java
a6314da24eb61cb7df0395e9b53819739210ad02 01-Nov-2012 Brian Colonna <bcolonna@google.com> Merge "FUL being unsuppressed when screen turns off fixes b/7453702" into jb-mr1-lockscreen-dev
c4842c11932ea4f60fe7ae09b0a59660207e1587 31-Oct-2012 Svetoslav Ganov <svetoslavganov@google.com> Accessibility support for the lockscreen - phone.

Change-Id: Idc99f1322a1d635dd07e1f5efa1665a4676267c2
ameraWidgetFrame.java
eyguardHostView.java
eyguardWidgetPager.java
agedView.java
c8dc8eb3275a6d05e27824f322796e97e5e50e2f 01-Nov-2012 Michael Jurka <mikejurka@google.com> Merge "Use new keyguard appwidget picker" into jb-mr1-lockscreen-dev
078f5919a9584cc3f1c7eb3a78862bfa40396de9 01-Nov-2012 Brian Colonna <bcolonna@google.com> FUL being unsuppressed when screen turns off fixes b/7453702

We suppress FUL when the device first boots because with all of the
things happening at boot, we don't want to interact with the camera.
We also suppress it immediately after a user switch for the same
reasons. However, once the user turns the screen off, we want to
show FUL when they turn it back on. Prior to this fix it was only
being unsuppressed on login.

Note that this CL also removes the isFirstBoot flag. It was only
being set/checked when the suppress flag was set/checked, so it was
redundant.

This also addresses bug b/7450665, which is regarding the
user-switch case.

Change-Id: I2b39e85e21c08ef7629398521ab1159f5a6c7547
eyguardHostView.java
eyguardUpdateMonitor.java
eyguardViewMediator.java
fa668cc930544e8b231c1fbf3ad496374b7aa21c 01-Nov-2012 Adam Powell <adamp@google.com> Fix some drag behavior bugs in keyguard

Integrate from proto app

Make sure you can drag back up immediately without the delay of extra
offset on the challenge view.

There are still a few further tweaks to make here that will be
dependent on another upcoming patch.

Change-Id: I6af599e43d6be6da7b431dca5b87e39c157a54df
lidingChallengeLayout.java
fc753c0cf676000b1c2d3cb2728af85a9b49f795 31-Oct-2012 Michael Jurka <mikejurka@google.com> Use new keyguard appwidget picker

Also, remove ability to filter widgets by feature
in appwidget picker in anticipation of api change

Change-Id: I325de0b98f03d3a250758d504229ea27794b5330
eyguardHostView.java
cdb80888b7c0c987223011fc4a358b458decf567 31-Oct-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Fix keypad accessibility." into jb-mr1-lockscreen-dev
170c8d930e7ca0c913d1e1b1e16f9ac03f323a6d 31-Oct-2012 Jim Miller <jaggies@google.com> Merge "Remove extra KeyguardViewStateManager construction" into jb-mr1-lockscreen-dev
03633d28db9efa2195e55584551e34756b488666 31-Oct-2012 Jim Miller <jaggies@google.com> Remove extra KeyguardViewStateManager construction

Change-Id: I0f64569876d923c2b4b7ac3918f3a0458a56b16c
eyguardHostView.java
c345146a3a321644f653fce0fb79f288a0221fb0 30-Oct-2012 Chris Wren <cwren@android.com> Update bouncer behavior on tablets.

Bug: 7411293
Change-Id: I1000987b9b5d481d04e095c4f8eb9eda44a81021
Proto:Id: I81fcf3541a81812b212963a5c4b379424506bc5a
eyguardMessageArea.java
eyguardSecurityContainer.java
eyguardStatusViewManager.java
ultiPaneChallengeLayout.java
ecurityMessageDisplay.java
e74fcc0eb15a0ea16d55e03c80a8442e09e16aee 31-Oct-2012 Adam Powell <adamp@google.com> Merge "Fix keyguard bugs" into jb-mr1-lockscreen-dev
cdf8b487456115a1bcc626f53b8da63308dc42dd 31-Oct-2012 Adam Powell <adamp@google.com> Fix keyguard bugs

Integrate from proto app

Get some layout/alignment right between security views, bouncer,
etc. Expand the space available for the more cramped security views
when not in the bouncer.

Fix bug 7434391 - don't allow widget swiping in bouncer mode. Fix a
few other bouncer-related state tracking problems as well.

Use layers when moving the security view around.

Change-Id: Ied14bab8bb5c3d997c734a3ae657b766c427253f
lidingChallengeLayout.java
3c416dfcc0a4692b20a09f188284d9127dd5dbca 31-Oct-2012 Michael Jurka <mikejurka@google.com> Merge "Fix crash on boot" into jb-mr1-lockscreen-dev
536f067c340d1134c0d2aebdebcbe2327218a18e 31-Oct-2012 Michael Jurka <mikejurka@google.com> Fix crash on boot
eyguardHostView.java
162fc8e64be6a6c357d39d36906ac7e36f07ed33 31-Oct-2012 Jim Miller <jaggies@google.com> Merge "Re-enable transition animation between face unlock and backup" into jb-mr1-lockscreen-dev
22ae05d50c7011b389a5dba7a2f717e407328bf8 31-Oct-2012 Jim Miller <jaggies@google.com> Re-enable transition animation between face unlock and backup

Change-Id: Ia90cf73e400f45c8b73f34cbc521dcbc62258ca8
eyguardHostView.java
e0ec5d428f80fe49b291a0e0edd51a4398bde609 31-Oct-2012 Jim Miller <jaggies@google.com> Merge "Fix potential null pointer exeption in keyguard" into jb-mr1-lockscreen-dev
82b517be0b3973781970be992b7a95157e3bfd0b 31-Oct-2012 Jim Miller <jaggies@google.com> Fix potential null pointer exeption in keyguard

The code was adding default widgets before setting mViewStateManager, which means the
callback from the transport control might access mViewStateManager before it's set.

Change-Id: I985a3c8062d0660519cb4a4c8c1b42c7c90f4ac7
eyguardHostView.java
a371e5315ea2f632c80b56e1f8665765414df980 31-Oct-2012 Adam Cohen <adamcohen@google.com> Merge "Fix content alpha" into jb-mr1-lockscreen-dev
ab8635d179124e379385aa02020ca3a216944a25 31-Oct-2012 Adam Cohen <adamcohen@google.com> Fix content alpha

Change-Id: I13e8ad73baf768976240c1c7c5a2cb05d5d62061
eyguardWidgetCarousel.java
a0a230abf3aef48ab984b844a00e9ca194722623 31-Oct-2012 Danielle Millett <dmillett@google.com> Merge "Removed makeInvisible() function" into jb-mr1-lockscreen-dev
54d181db0e7a4335918b4c38f4418430ca99b6c1 31-Oct-2012 Danielle Millett <dmillett@google.com> Removed makeInvisible() function

This is now being done inside stopUI instead of its own separate
call since it needs to be done on the UI thread inside FaceLockService.

Change-Id: Iaf3a203f7f201ba4dde4c878f457e765f11e6c0e
aceUnlock.java
7ff55358951eff80c95a55c9bc4b0a113f237217 31-Oct-2012 Adam Cohen <adamcohen@google.com> Merge "Making the reordering play nice with the 3D widget carousel" into jb-mr1-lockscreen-dev
70009e426a39cc2940d264c4fb87a4402c60b0ff 31-Oct-2012 Adam Cohen <adamcohen@google.com> Making the reordering play nice with the 3D widget carousel

-> Ensuring that transforms, hidden side pages, alphas all transition
and fade seamlessly to and from the carousel

Change-Id: I6197f17899135a9e551ff1691c63ad5a2bb1d0f7
eyguardHostView.java
eyguardViewStateManager.java
eyguardWidgetCarousel.java
eyguardWidgetPager.java
agedView.java
c7375afef77b29b7fdb25f48dbe649b7b7fd487c 31-Oct-2012 alanv <alanv@google.com> Fix keypad accessibility.

Add lift-to-type to the PIN keypad. Speak entered PIN digits. Add content
descriptions to PIN keypad buttons.

Bug: 7436382
Change-Id: I7cb3977cc769598c5f783221e1257b13e5e108c7
eyguardAbsKeyInputView.java
eyguardPINView.java
umPadKey.java
c8f7c5eb7447b26238e0b5a9355d2d0ee06a9d90 31-Oct-2012 Jim Miller <jaggies@google.com> Merge "Fill in logic in WidgetPager to ignore music when reordering." into jb-mr1-lockscreen-dev
bd0bf156c089f1271d093536e3964472612ce46b 31-Oct-2012 Jim Miller <jaggies@google.com> Merge "Implement correct music widget positioning in keyguard" into jb-mr1-lockscreen-dev
a56395da5df55cf030f20c5cfdc23e3a540540ab 31-Oct-2012 Dianne Hackborn <hackbod@google.com> am 77101993: Merge "Bring up unlock screen for FLAG_DISMISS_KEYGUARD." into jb-mr1-dev

* commit '7710199376657415e5341f64a830aa50fcb117aa':
Bring up unlock screen for FLAG_DISMISS_KEYGUARD.
e0566da2dab8c3b9ddca43131f21ef58b79049c8 30-Oct-2012 Jim Miller <jaggies@google.com> Fill in logic in WidgetPager to ignore music when reordering.

This moves music state management into KeyguardViewStateManager to allow
KeyguardWidgetPager access to it.

Fixes bug 7442977

Change-Id: I113b6d1c8848d60ae53b99e697b33e1e33d67853
eyguardHostView.java
eyguardViewStateManager.java
eyguardWidgetPager.java
33384ed696927efac8d3c495d5446e0f0bd73995 30-Oct-2012 Jim Miller <jaggies@google.com> Merge "Attempt to fix bug on devices where multi-user support is disabled." into jb-mr1-lockscreen-dev
26e6c2e44235428717d7152b9e6398649452f1d2 30-Oct-2012 Jim Miller <jaggies@google.com> Attempt to fix bug on devices where multi-user support is disabled.

Bug 7437751

Change-Id: Iff9f6a5a91fb9dd69b7176a5febb1d6e158d90b6
eyguardHostView.java
bdca3c0a21ba15e8bb6d7ef0ca1b7e8024f98f19 30-Oct-2012 Jim Miller <jaggies@google.com> Implement correct music widget positioning in keyguard

This always inserts the music widget to the left of the camera
widget if it exists or as the right-most widget when music is
playing.

Fixes bug 7425361

Change-Id: Ida992fbdde254a2de0ab12c63e003ccfeab7a94a
eyguardHostView.java
eyguardTransportControlView.java
eyguardWidgetPager.java
fba4d4a7678862a21d5cf7770ca8bfcc79831bf6 30-Oct-2012 Daniel Sandler <dsandler@android.com> Show the keyboard less aggressively.

Bug: 7427586
Proto-Id: I154ac6faa7609da458157ecfba8d9a94f4e27ccb
Change-Id: I6fcabbdca358f124e362443db1377681378347ae
eyguardPasswordView.java
ef653101d8120b8788ff917bf0a9d466050cc3db 30-Oct-2012 Winson Chung <winsonc@google.com> Merge "Moving persistence calls to background." into jb-mr1-lockscreen-dev
b1e7695d7b265c58705e8b7d7f21b51f5715e053 30-Oct-2012 John Spurlock <jspurlock@google.com> Merge "Render camera widget correctly after shell restart." into jb-mr1-lockscreen-dev
6249804eadc10d08cb09ad6e226186ee3c2159da 30-Oct-2012 Daniel Sandler <dsandler@android.com> Merge "Impose a height & width downward on challenge views." into jb-mr1-lockscreen-dev
ad09bccfe4cc0a3075e97c0911a02b329023a34a 08-Oct-2012 Craig Mautner <cmautner@google.com> Bring up unlock screen for FLAG_DISMISS_KEYGUARD.

Widgets that did not launch Activitys would not display the unlock
screens when they were tapped. Now any window that is shown with
FLAG_DISMISS_KEYGUARD set while the keyguard is locked will
cause the unlock screen to be displayed.

Bug: 7301530 fixed.
Change-Id: I90d11b52d2b63260bdb5f2b6eb7e98eb7a4d9331
eyguardHostView.java
eyguardViewManager.java
eyguardViewMediator.java
737798271e6e5b9466acef26ead061ecf6d0f292 30-Oct-2012 John Spurlock <jspurlock@google.com> Render camera widget correctly after shell restart.

Bug: 7440304
Change-Id: I1ad8573cc843142d77436fd8361d7fc613b09f21
ameraWidgetFrame.java
f8f5966e591cc39364f0ebccd40896b841289076 30-Oct-2012 Winson Chung <winsonc@google.com> Moving persistence calls to background.

Change-Id: Ief3b0862dfd24d520ec88afb5bbb9954ee90f2ac
eyguardWidgetPager.java
4050da7d864779fe3bd1174d25f858c9a48df7b2 30-Oct-2012 Adam Cohen <adamcohen@google.com> Merge "Addressing a couple comments on previous CL" into jb-mr1-lockscreen-dev
5be14ded6762bc51fabbbecb1b2ec01a8c758631 30-Oct-2012 Adam Cohen <adamcohen@google.com> Addressing a couple comments on previous CL

Change-Id: I6ee066a5e6c2dadff921bb2ed7e91ea2601eec05
eyguardWidgetFrame.java
lidingChallengeLayout.java
8a26bf5aea45650a14215d398c7d0909fcf80c43 30-Oct-2012 Daniel Sandler <dsandler@android.com> Impose a height & width downward on challenge views.

This means that challenges may no longer wrap_content, even
vertically. But it's the only way to rationalize across
different challenges, some of which want to be a fixed size,
some match_parent, and some wrap_content.

This change also fixes some problems with the password view
as well as PIN view (usable again on sw360 devices like
Galaxy Nexus).

Bug: 7427586
Change-Id: I648e68c5159fef7cf594d4bfe8f6d4bdd5da6b6a
Proto-Id: I280b4875a9deee5dfb7409bdfa8ed0b96fbd0cff
eyguardAbsKeyInputView.java
eyguardPINView.java
eyguardPasswordView.java
70aa528b73fc54fe7896ac1ae349569d83caba59 30-Oct-2012 Winson Chung <winsonc@google.com> Fixing some regressions in tablet reordering/deleting.

Change-Id: Ib3e48fa2606c0259603f6daf3b2ef72e1c8e292d
eyguardViewStateManager.java
eyguardWidgetPager.java
agedView.java
3114b1a09b40ff26750e0a7c2dcc01c5982f4bd9 30-Oct-2012 John Spurlock <jspurlock@google.com> Merge "Disable lockscreen window anim when launching camera." into jb-mr1-lockscreen-dev
e2ac5207f204ee26ba43c033d9ffb51f7daee2bd 30-Oct-2012 John Spurlock <jspurlock@google.com> Disable lockscreen window anim when launching camera.

Prevent the exit animation from running when exiting the lockscreen
due to launching the camera from the camera widget.

Bug:7429770
Change-Id: I2a0148d84158fca11dda4c4a563fe5ab3236be81
ameraWidgetFrame.java
16d83fd13a91c124735e7f4ee2244214ad8523da 30-Oct-2012 Chris Wren <cwren@android.com> Merge "post user activity on widget pager moves" into jb-mr1-lockscreen-dev
cf69c56b8336e2bd5c8e20f948cc80ca53e0c25a 30-Oct-2012 John Spurlock <jspurlock@google.com> "Fix camera widget scale-up regression." -> frameworks/base

lockhotness change-id: I69ccfa3a873943ab2e159d15937d5fb13f7acabd

Bug:7439300
Change-Id: I9e9eeae16b4e76d85a8145f3b198c22ad2e923e9
ameraWidgetFrame.java
8a7785c7aa2df74203276299e10b0d9056cd0560 30-Oct-2012 Adam Cohen <adamcohen@google.com> Cleaning up the way in which the challenge influences widget size on first measure pass

-> This change ensures that on first draw, the widget is the appropriate size if the
security challenge is covering it.
-> This change is in preparation for some new policy surrounding widget sizing --
with this new policy, a given widget may need to be small even if the page is
not being covered by the challenge. Hence, we propogate this small size to
all the pages, whether or not they are covered. The pages will eventually
use this.
-> Ensure that paging hints are shown correctly (with the new sticky widget
logic the page can be switched, and we weren't always seeing the appropriate
hints).
-> Also ensuring that the page is set correctly on first draw -- generally
this change should make it so everything is right on the first draw.

Change-Id: I7e03be9b027aed0ebb0fada05652b4226fd23897
eyguardViewStateManager.java
eyguardWidgetFrame.java
eyguardWidgetPager.java
lidingChallengeLayout.java
1108a2cb412b054cc9e4acc48182c46c45180c0c 30-Oct-2012 Danielle Millett <dmillett@google.com> Added a makeInvisible call to Face Unlock

This makes it so that the view is hidden immediately when
a call to stop is made. This also changes the call in onPause to
only stop and not go to the backup because we still want Face Unlock
to show as the view is being dragged down.

Change-Id: I66d8fc24e82dc3a0155f7d59d8ced932cb584660
aceUnlock.java
eyguardFaceUnlockView.java
cfc3086b18396df03f982fb98112649dc5b5a6f2 30-Oct-2012 Adam Powell <adamp@google.com> Keyguard polishing

Integrate from proto app

* New assets

* Layout changes

* Dragging behavior change for sliding challenge

* Realign camera for new padding

Change-Id: Ia177c60f59f1fc74000d95fc39b048321acf1246
ameraWidgetFrame.java
eyguardActivityLauncher.java
eyguardSelectorView.java
eyguardWidgetFrame.java
eyguardWidgetPager.java
lidingChallengeLayout.java
7bf93cf50fc028a50433741b4e1f1ee8b80f74f0 30-Oct-2012 Winson Chung <winsonc@google.com> Merge "Deferring zoom out animation until after snapToPage and animateDragViewToOriginalPosition." into jb-mr1-lockscreen-dev
9dc9923085c4407268e8b6aa32c06fe30e3a7f7f 30-Oct-2012 Winson Chung <winsonc@google.com> Deferring zoom out animation until after snapToPage and animateDragViewToOriginalPosition.

- Fixing issue where you can long press a widget to reorder while the challenge is up

Change-Id: I6ef2fa050a5ebc35d1c3e373bb27519580ebe03d
eyguardViewStateManager.java
eyguardWidgetPager.java
agedView.java
4b976ea1af04f8c340ef7e0d79f73d7cdb5eb72e 28-Oct-2012 John Spurlock <jspurlock@google.com> "Implement grace period for camera widget." -> frame/base

Change-Id: If3159fa43d9de6188b262f3db76575c6436e138a
ameraWidgetFrame.java
eyguardHostView.java
eyguardViewStateManager.java
eyguardWidgetFrame.java
eyguardWidgetPager.java
32c557cea2a7d1bccd7582bc233dae4a0aea8741 29-Oct-2012 Chris Wren <cwren@android.com> post user activity on widget pager moves

Change-Id: I3aa760090cb2036045045fc01d933cf35a9bbff9
Proto-Id: I9b98788dc108333657239b07ff36ce69892a3f96
eyguardWidgetPager.java
0b728244dc87b4a453f2191c2cb37a86e91aee0a 29-Oct-2012 Jim Miller <jaggies@google.com> Update status area and emergency call logic to match new spec

Change-Id: Ic43d9d58168166aacf2b145663dc9412b099f9c2
eyguardAbsKeyInputView.java
eyguardAccountView.java
eyguardFaceUnlockView.java
eyguardHostView.java
eyguardMessageArea.java
eyguardNavigationManager.java
eyguardPINView.java
eyguardPatternView.java
eyguardSecurityView.java
eyguardSecurityViewFlipper.java
eyguardSelectorView.java
eyguardSimPinView.java
eyguardSimPukView.java
eyguardStatusViewManager.java
ecurityMessageDisplay.java
e3643138c89d49a01ba6a622ffaf71c9a95d5cdc 29-Oct-2012 Adam Cohen <adamcohen@google.com> Implementing new slider / widget interaction where frame goes around the widget

-> Frame resizes dynamically as the security slides
-> Widget shrinks immediately as the handle begins being brought up
-> Widget grows only upon security settling in the down position
-> Cleaned up a lot of state interaction between the security slider
and the widget pager / pages
-> Loosened long press slop (was using Euclidean distance by accident
instead of x crossed or y crossed logic)

Change-Id: Ic52b62e577c539327b0a65c9277300fc626cf190
heckLongPressHelper.java
eyguardViewStateManager.java
eyguardWidgetFrame.java
eyguardWidgetPager.java
ultiPaneChallengeLayout.java
lidingChallengeLayout.java
b2f21c53cf423cad5cf2f5d92579258decb40631 28-Oct-2012 John Spurlock <jspurlock@google.com> Merge "Use settings to persist sticky widget." into jb-mr1-lockscreen-dev
bc676a0a1d15e932ca74bb94f3ae392e0a9dbbe2 28-Oct-2012 Daniel Sandler <dsandler@android.com> Merge "Improved handle touch interaction." into jb-mr1-lockscreen-dev
c606bf1af953bb8a682589a29809e714c648c291 28-Oct-2012 Daniel Sandler <dsandler@android.com> Improved handle touch interaction.

- the handle size is now entirely independent of asset size
- the handle doesn't have to have a handle graphic
- the handle top/bottom sizing can each change based on
whether the challenge is visible
- now, the handle becomes very small when the challenge is
visible, and does not intrude into the challenge rect
itself (so you really need to drag downward through the
top edge of the challenge to activate the handle and close
the challenge)
- when the challenge is closed, the handle may be clicked to
open

Bug: 7428215
Change-Id: I4ca7b4d5d475337295a6a7492a831abbba288ac5
Proto-Id: Ibc8997ece27ca1e0fa4deb651bb11860f95d7b23
lidingChallengeLayout.java
47c6cfaa3799951f999a4d2000cb628080708551 28-Oct-2012 Adam Cohen <adamcohen@google.com> Ensuring layers are enabled on screen on and that pages are correctly transformed

Change-Id: Ifeeb9baeb3cde58d034d9988565bc2ce07c3c23a
eyguardViewStateManager.java
eyguardWidgetPager.java
f9048cd09b27ab25d9f42c95a79b341c102728c8 28-Oct-2012 Adam Cohen <adamcohen@google.com> Polish to 3d carousel and standard pager

-> updated assets
-> Always showing outlines as per new mock
-> Enabling layers on content during fades (still need to sort out layers for frames)
-> Added carousel overscroll as per discussion with danship
-> Fading side pages in carousel
-> other small polish

Change-Id: If88686768c621a65b175a74c07cb55a69321fd97
eyguardWidgetCarousel.java
eyguardWidgetFrame.java
eyguardWidgetPager.java
agedView.java
5f050e5c2c1616c7f0795c4f13e42a5d150b8015 27-Oct-2012 John Spurlock <jspurlock@google.com> Use settings to persist sticky widget.

Addressing some comments:
- Sticky widget is now saved in a user-scoped setting.
- Removed multi-user widget from computation (obsolete).
- Removed status widget from computation (just use right-most).
- Removed duplicate isMusicPlaying logic.

(frameworks/base)

Change-Id: I8ef8f826677d78ac24da52adf2d99d47c8d965ac
eyguardHostView.java
eyguardWidgetPager.java
0a27c4865e5f3afe891680f687ac75c6a659fb84 27-Oct-2012 Adam Powell <adamp@google.com> Fix measurement bug in keyguard/MultiPaneChallengeLayout

Change-Id: Ifbcd32281f06e6c53e573998e7085d7d0542acac
ultiPaneChallengeLayout.java
b0ed8bdb41cff76f31ce47f1ae7ee51ea68bba47 27-Oct-2012 Adam Powell <adamp@google.com> Merge "Keyguard - prevent slider intercept when we don't want it" into jb-mr1-lockscreen-dev
113ca64a2275ad05c1429edcf56c688d823e308a 27-Oct-2012 Winson Chung <winsonc@google.com> Merge "Making the PagedView full screen on tablets." into jb-mr1-lockscreen-dev
995270f01175234d0615a0e1900576f142a3b4ad 27-Oct-2012 Adam Powell <adamp@google.com> Keyguard - prevent slider intercept when we don't want it

Integrate from proto app

When calling code deliberately hides the slider, block drags of the
slider that may begin shortly after. This prevents the case where edge
dragging a widget can accidentally catch the slider instead.

Change-Id: I7e8e1ad4afbea0abeeb08161ddeb938c858fc4a5
lidingChallengeLayout.java
9ec871def38079691085a16862c234b98de99362 25-Oct-2012 Adam Cohen <adamcohen@google.com> 3D carousel initial stab -- paging outlines / alpha effects pending design

Change-Id: I2d9851472472a0affa9b46b2508fc7a1cb8c9779
eyguardWidgetCarousel.java
eyguardWidgetPager.java
agedView.java
efc49255ad2e5cd513269f1d67dd7fa3327ec488 27-Oct-2012 Winson Chung <winsonc@google.com> Making the PagedView full screen on tablets.

- Fixing issue where last page would not be reorderable on devices that have no camera.

Change-Id: If810d9fc95d180a54f8cec793099ccaa59b2ff15
eyguardWidgetPager.java
agedView.java
942a60d8a40a55b94ce443a71e7dc632911f0e84 27-Oct-2012 Adam Powell <adamp@google.com> Merge "Fix lockscreen slider bugs" into jb-mr1-lockscreen-dev
67625e29208a97afeb8dca22a73c52ad7b4619ba 27-Oct-2012 Adam Powell <adamp@google.com> Fix lockscreen slider bugs

Integrate from proto app

* Positioning at the lower end

* Transparency animations

* Show security frame when dragging until it fully settles

Change-Id: Ic5e5b0bbaa50a123c3492b63c15df3ffba37832d
lidingChallengeLayout.java
358148e386a20801430aaf6f3f7ca02807cd71c3 26-Oct-2012 John Spurlock <jspurlock@google.com> Implement "sticky" widget logic.

(frameworks/base)
Used after screen-off, and after launching camera.

Bug: 7418847
Change-Id: I5179e6af13be4494fde77fde2cdb5610ab888dac
eyguardHostView.java
eyguardWidgetPager.java
61426f3d83f329ae76a226ea614541db9eb16bcb 26-Oct-2012 Daniel Sandler <dsandler@android.com> Merge "Remove the handle headroom if the challenge is open." into jb-mr1-lockscreen-dev
b42b842ee873160acf317fc3ff6339243514b008 26-Oct-2012 Daniel Sandler <dsandler@android.com> Remove the handle headroom if the challenge is open.

This change also moves to an absolute-distance model of
tracking the panel instead of a delta model; this allows us
to make the decision about the handle size in only one place
(when first detecting the gesture) instead of requiring us
to mix it into the arithmetic everywhere.

Also fixes the drag-too-slowly-and-the-panel-doesn't-move
problem.

Change-Id: I9bdbadd968134ad5ad67eaef9539536fb5cfe1a1
Proto-Id: I0c2f484da89f063995384c263aa9f5f03339ed7c
lidingChallengeLayout.java
c9a7d9899908a3f5960cfe6123d51cfbfcf2b0ae 26-Oct-2012 Daniel Sandler <dsandler@android.com> Merge "Expand top of touchable area of challenge drag handle." into jb-mr1-lockscreen-dev
1bfcc82184824c8dc648a0948303f4b3611ac087 26-Oct-2012 Daniel Sandler <dsandler@android.com> Expand top of touchable area of challenge drag handle.

Change-Id: I8d471041205cd929e899903daae61d5ac948597c
Proto-Id: I5f44a135451c1cd86bbe4fb8ebd1af7609715ce3
lidingChallengeLayout.java
f0fd172a7d4a71da413e5bb6aad9ef611ce2a837 26-Oct-2012 Chris Wren <cwren@android.com> lock out clicks while switching.

Bug: 7416992
Change-Id: Ic0fcf809c4d9bb3515dd1168d427f8b22d5f76b6
Proto-Id: I0ea871fb012feb2e17249e37a9253861f2ef5011
eyguardMultiUserAvatar.java
eyguardMultiUserSelectorView.java
47cde77bc7ac5c3a1e486691596a7534ad855ff2 26-Oct-2012 John Spurlock <jspurlock@google.com> Fix camera bugs found overnight.

- Fix crash in CameraWidgetFrame after rotating to landscape
- Fix pages drift to the left bug
- Address Jim's comments on c/245706
- Disable camera widget if landscape

Bug: 7419070
Bug: 7417798
Bug: 7418781
Change-Id: I5c730c7c1baf3c1872367b6392e6786578765298
ameraWidgetFrame.java
eyguardActivityLauncher.java
eyguardHostView.java
6f35209e728a7a9a56afbbdefd3d7bfa1e05ea73 26-Oct-2012 Adam Powell <adamp@google.com> Integrate assets from UX; drag/bouncer animation behavior in slider

Integrated changes from prototype app

Change-Id: I5f017431531b6d12aca89a674d865402c60c2104
lidingChallengeLayout.java
9b1db682c32d103974b0f1193b50e77e254d5589 26-Oct-2012 Jim Miller <jaggies@google.com> Fix issue where security view sometimes doesn't show.

Since the code is now very careful about loading layouts, we
sometimes get into a situation where the security view isn't shown.

This CL ensures the security method is shown at least once
when the view is inflated.

Change-Id: If80a46adb868d92194610eccaf9d8d6c2a2c5b3d
eyguardHostView.java
eyguardViewMediator.java
a71984f3da47c6e6e3164c170735362a3222d3ad 25-Oct-2012 Jim Miller <jaggies@google.com> Cleanup keyguard signals

- remove redundant signals that were causing keyguard to be rebuilt unnecessarily.
- add a check to ensure we only handle configuration changes if the view is actually showing
- only reconstruct view if screen is turning off or if the configuration changes.

Change-Id: Ia9c7830e370feed6af36cc139d4cd3c5ca0be4fd
aceUnlock.java
eyguardHostView.java
eyguardViewManager.java
eyguardViewMediator.java
1254f2f42f7173ef51d0034975ab5cb7d44f8209 25-Oct-2012 Michael Jurka <mikejurka@google.com> Persist reordering/deleting widgets on keyguard

Also, clean up warnings from unused imports

Change-Id: Id0ef12a584ffdaa8a4fb64ffe93d0dda0af398ec
mergencyButton.java
eyguardAbsKeyInputView.java
eyguardCircleFramedDrawable.java
eyguardHostView.java
eyguardMultiUserAvatar.java
eyguardMultiUserSelectorView.java
eyguardPINView.java
eyguardPasswordView.java
eyguardStatusView.java
eyguardStatusViewManager.java
eyguardTransportControlView.java
eyguardViewMediator.java
eyguardWidgetFrame.java
eyguardWidgetPager.java
umPadKey.java
agedView.java
f90716c9cc9f5ebed9d6bbdae40295490d94890f 25-Oct-2012 Jim Miller <jaggies@google.com> Merge "Route signals from SlidingChalleng to SecurityView" into jb-mr1-lockscreen-dev
7de482babc55f1034d37552a0b254427694b3584 25-Oct-2012 John Spurlock <jspurlock@google.com> am 5c87f533: Merge "Revert part of fix for b/7377776 to fix b/7411356." into jb-mr1-dev

* commit '5c87f5334a7414f32e32bcfb0d6c56b07048d058':
Revert part of fix for b/7377776 to fix b/7411356.
bbba68a14ab578ab00400d4cf2ed5d1dcf60dbdf 25-Oct-2012 Jim Miller <jaggies@google.com> Route signals from SlidingChalleng to SecurityView

This maps activity on the SlidingChallenge to the security
challenge view. Currently it calls onPause() on the SecurityView
if the view is on the move or is hidden.

Change-Id: Ide5f2200e45d8996fa91af06ac2059c3d125ea6f
eyguardSecurityViewFlipper.java
eyguardViewStateManager.java
0b1b552268bc6641cc5d01fb80c12258da9c6985 25-Oct-2012 Adam Powell <adamp@google.com> Keyguard bouncer notifications; focus moving and the bouncer; slops

Integrate changes from prototype app

* Add callbacks for bouncer state changes

* Dismiss the bouncer if focus leaves the challenge area

* Increase edge swipe region, treat this as a slop for
SlidingChallengeLayout's drag handle. (This allows edge swipes in
the drag handle area to still page widgets instead.)

Change-Id: I732de1a8d999a34c7cc8aa8ed99e24b597f3444c
hallengeLayout.java
ultiPaneChallengeLayout.java
agedView.java
lidingChallengeLayout.java
3e98b9afe6eab2c093a86ae77b5f530c6b47de91 25-Oct-2012 John Spurlock <jspurlock@google.com> Revert part of fix for b/7377776 to fix b/7411356.

This means the visual glitch is possible again, but reduced since
the layout transitions are disabled.

It's more important to bring back nav buttons for incoming calls
(for the secure, screen off case).

Bug: 7411356
Change-Id: I83005a77930ec7f70a613b3396f85ab1a5fdd96c
eyguardViewMediator.java
dcc9681b0d4f52e1f441ef2abdda3eb949cc0c4b 25-Oct-2012 John Spurlock <jspurlock@google.com> Manual frameworks/base merge from lockhotness (camera).

Change-Id: I8649ef77b706120a2297ddccd9bbb4d7ddf026a9
Proto-Id: Ia60ed9ee263b6053b9ca00d71fbd3ffc64a96278
ameraWidgetFrame.java
eyguardActivityLauncher.java
eyguardHostView.java
eyguardSelectorView.java
ecureCamera.java
7bc8af3abcc09e8093e5af7ea9cd6c4de1cd0b87 25-Oct-2012 Daniel Sandler <dsandler@android.com> Haptics for PIN enter key

Change-Id: Ie9d026847a6231b89cba55baf74e795f30ac857d
eyguardPINView.java
acb60fb57783b517e52fa60b1fa5f977141180c1 25-Oct-2012 Daniel Sandler <dsandler@android.com> Haptics for PIN keys.

Change-Id: I65b12a614f344faef140334658ec1e627094e05e
eyguardAbsKeyInputView.java
eyguardPINView.java
umPadKey.java
d5692742c1ff056e9fe55a495632229c86ed5384 24-Oct-2012 Daniel Sandler <dsandler@android.com> PIN pad cosmetics.

Also pull the Klondike telephone exchange letter strings out
into arrays.xml so we can override it for specific locales.

Change-Id: Idf79ff8bfd53e5a8277271cc85ac7a1784ae3b64
eyguardAbsKeyInputView.java
eyguardPINView.java
umPadKey.java
2c1ce0564fbd329e9e9ccfca100c69cfc1fd2645 25-Oct-2012 Daniel Sandler <dsandler@android.com> Cleaning up password input.

Starting to try to show the IME at the right times.

Change-Id: Idc681304c309022666a03c26885a5c94ab4ec2a2
eyguardAbsKeyInputView.java
eyguardPasswordView.java
df99b1d5d34c69f1a2e4490dadae5e69a0dd5a72 25-Oct-2012 Jim Miller <jaggies@google.com> Merge "Fix new password view in keyguard" into jb-mr1-lockscreen-dev
86f9637d7bfdc33ab826cc3bbd740f4bf01be280 25-Oct-2012 Jim Miller <jaggies@google.com> Fix new password view in keyguard

The IME wasn't coming up in password mode because the base class always
returned 'false' for needsInput().

Change-Id: Ia5bf508b3e08fa6980e83103322711857af74680
eyguardPasswordView.java
147dfc8642ecbdce527d18bdbeece7b7d05dc883 25-Oct-2012 Michael Jurka <mikejurka@google.com> Merge "Adding ability to add multiple widgets to keyguard" into jb-mr1-lockscreen-dev
aa2859ae61098509495b7938e32a6d59d37561be 24-Oct-2012 Michael Jurka <mikejurka@google.com> Adding ability to add multiple widgets to keyguard

Bug: 7381803
eyguardHostView.java
eee209313d564be37b8fc068f785b3844cd6597e 25-Oct-2012 Adam Powell <adamp@google.com> Beginnings of bouncer support; add scrims and state tracking

Integrating from prototype app

Change-Id: Ib142cf371c5997f547266d8af7e25129fb4e1343
hallengeLayout.java
ultiPaneChallengeLayout.java
lidingChallengeLayout.java
c0657fb36ce5ede652e8af084e484d07abfb449d 24-Oct-2012 Adam Powell <adamp@google.com> Integrate changes from lockscreen proto app

Fix padding/layout issues in MultiPaneChallengeLayout

Change-Id: I610b4c0cc321a690fa29d071d6a960c05ffbe3a7
ultiPaneChallengeLayout.java
f0cec427a4f73bda130eda98c2a7f70e44ff587b 24-Oct-2012 Chris Wren <cwren@android.com> Merge "remove debug logs." into jb-mr1-lockscreen-dev
dc0d12278a99625295a6e117c649e4c3e8a907c9 24-Oct-2012 Chris Wren <cwren@android.com> remove debug logs.

Change-Id: I8d0066bdce1c93c7a3da0fa36d865c674e5dcd40
Proto-Id: I7ac6b8c8a664dbd7abda089fcd9edb8d7ccc3208
eyguardMultiUserSelectorView.java
a9f166695b92e91ea6bb13a41f3aa1fb3f6ee77c 24-Oct-2012 Adam Cohen <adamcohen@google.com> Merge "Fading side pages as per mock" into jb-mr1-lockscreen-dev
6fb841fa219eaae3e87f2fdc05e105d7a1813c42 24-Oct-2012 Adam Cohen <adamcohen@google.com> Fading side pages as per mock

-> Also, adding side pages hints when keyguard is inflated

Change-Id: I33f073ed97510a5982cddc4ee95f1ee3ed3c9397
eyguardAccountView.java
eyguardFaceUnlockView.java
eyguardHostView.java
eyguardPINView.java
eyguardPasswordView.java
eyguardPatternView.java
eyguardSecurityView.java
eyguardSecurityViewFlipper.java
eyguardSelectorView.java
eyguardSimPinView.java
eyguardSimPukView.java
eyguardViewStateManager.java
eyguardWidgetFrame.java
eyguardWidgetPager.java
28c5ee9ea9b1dd6253a4ba782a5711263524bd41 24-Oct-2012 Chris Wren <cwren@android.com> catch exceptional cases on factory-fresh devices.

Change-Id: I2019b4f31415efba72b5a3b5d659e41595e506f6
Proto-Id: I8a57f9f6f5b7339df3e243ecc51fb311f6ac8981
eyguardHostView.java
eyguardMultiUserAvatar.java
eyguardMultiUserSelectorView.java
86b6357e5eb91950eac7de7ffe29e5a4ad32903b 24-Oct-2012 John Spurlock <jspurlock@google.com> Manual f/b merge of lockhotness camera integration.

Change-Id: I5c7c3c49e13656e9ba4a3761be7d503642d5b76f
ameraWidgetFrame.java
eyguardHostView.java
eyguardWidgetFrame.java
eyguardWidgetPager.java
lidingChallengeLayout.java
19a5267003e7dc70100a4bd4f1f449523b2ff38b 24-Oct-2012 Jim Miller <jaggies@google.com> Merge latest prototype changes into keyguard

Change-Id: Ibec6e9a7667ec730a25a58226c3203332af64b24
hallengeLayout.java
heckLongPressHelper.java
eyguardHostView.java
eyguardMultiUserSelectorView.java
eyguardPINView.java
eyguardViewStateManager.java
eyguardWidgetFrame.java
eyguardWidgetPager.java
ultiPaneChallengeLayout.java
umPadKey.java
agedView.java
lidingChallengeLayout.java
e1655c980d28b953597727d2c7832b442ca926cc 24-Oct-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "When A11y is on, use a longer interval between lockout announcements." into jb-mr1-dev
c2798a916e470a7ee9ecc5ffcf1dc1d7a46f9410 24-Oct-2012 alanv <alanv@google.com> When A11y is on, use a longer interval between lockout announcements.

Bug: 7384471
Change-Id: I72ac1fe7646588c9c7185cb0186f1e990b3a2f72
eyguardPasswordView.java
7c420ec69843c8efc95b4f36aa77f17d970d4eaf 24-Oct-2012 Danielle Millett <dmillett@google.com> Merge "Handling popups correctly for face unlock" into jb-mr1-lockscreen-dev
f6d0fc190c4b257ee4f2f1ae8a59519d3a21ce6d 23-Oct-2012 Danielle Millett <dmillett@google.com> Handling popups correctly for face unlock

Added a keyguardVisibilityChanged callback to indicate when the
keyguard is covered by something (alarm, phone, etc). Face unlock
doesn't start if it's not visible and it restarts appropriately when
it gains visibility again. This mostly fixes b/7362774 and b/7376783,
but there's some jank when face unlock goes away (if it was interrupted
while running).

Change-Id: I7bdf8ef6af687acaa7152d8e61bfdcc1979259ff
eyguardFaceUnlockView.java
eyguardUpdateMonitor.java
eyguardUpdateMonitorCallback.java
eyguardViewMediator.java
69bdee7c873c4a2295651efda2d0e79c515acc17 23-Oct-2012 Daniel Sandler <dsandler@android.com> Integrate new PIN pad.

Change-Id: I08d6551dfde501c5526eb6fd641ae08475c1365b
eyguardAbsKeyInputView.java
eyguardHostView.java
eyguardPINView.java
eyguardPasswordView.java
eyguardSecurityModel.java
umPadKey.java
3867ddabbe645749ba3d7db9fc0c0ab9ca84690b 23-Oct-2012 Chris Wren <cwren@android.com> Merge "merge new multiuser avatars in from proto app" into jb-mr1-lockscreen-dev
692bb13352b9ad5166adc0dd55ae693d9181f611 23-Oct-2012 Chris Wren <cwren@android.com> merge new multiuser avatars in from proto app

Change-Id: I6a7f63738279be1c036061b4cea461e94fb51658
eyguardCircleFramedDrawable.java
eyguardMultiUserAvatar.java
eyguardMultiUserSelectorView.java
eyguardSubdivisionLayout.java
31821c5b6170d5f560c7f74b262278399c9ff3e9 23-Oct-2012 John Spurlock <jspurlock@google.com> am 780a13b0: Merge "Fix nav bar glitch when quickly turning screen off then on." into jb-mr1-dev

* commit '780a13b0f43fa5590bb22dc399d9faaf316d66f5':
Fix nav bar glitch when quickly turning screen off then on.
022554e3da6e496524387a5d3ecc67ef9749b587 23-Oct-2012 Jim Miller <jaggies@google.com> Merge latest prototype changes into keyguard

- multi-user avatar stuff.
- new SlidingChallengeLayout changes.

Change-Id: I45bec7313b71dbca16544e7525281bf6c0e44a25
eyguardLinearLayout.java
eyguardMultiUserAvatar.java
eyguardMultiUserSelectorView.java
eyguardWidgetFrame.java
eyguardWidgetPager.java
lidingChallengeLayout.java
c28261d4fabf186cd5af5a563e6bab9023ee3758 23-Oct-2012 Jim Miller <jaggies@google.com> Merge "Wire up "add widget" in keyguard" into jb-mr1-lockscreen-dev
086977094d96ab9352432e0941a05b09cefc92ac 23-Oct-2012 Jim Miller <jaggies@google.com> Fix multiple onScreenTurnedOn callbacks in KeyguardHostView.

The show() method was calling onScreenTurnedOn() which attempted
to update the entire state.

Instead, show() should just ensure the current security screen
is showing.

This was causing some mischief in Face Unlock because onResume() was
being called multiple times.

Change-Id: I39682a213b1cc4dcf8133907b643028e844d0f47
eyguardHostView.java
eyguardViewMediator.java
1bbd49d72eee001137b6d6e6ab3f353fe2c0433c 19-Oct-2012 John Spurlock <jspurlock@google.com> Fix nav bar glitch when quickly turning screen off then on.

Keyguard now disables all navbar buttons when turning screen off
instead of only recents.

Navbar is told about screen off/on and disables the layout transition
animation on screen off - if the user quickly turns the screen back
on they do not see the end of the fade out animation.

Bug:7377776
Change-Id: I96a050d58c6c9ce8537f50408655006fadbfcd4f
eyguardViewMediator.java
aad8cd4daa6cd1d354e0c1de03ce5a65a44a04db 22-Oct-2012 Amith Yamasani <yamasani@google.com> am 22788981: Merge "System server should always send broadcasts to a specific or all users" into jb-mr1-dev

* commit '2278898126c1cea4bd345bb96313d381b4ad3993':
System server should always send broadcasts to a specific or all users
cd75706117432e33d11639e675bcff50479a6bb9 20-Oct-2012 Amith Yamasani <yamasani@google.com> System server should always send broadcasts to a specific or all users

Bug: 7368245

Log a warning if the system process calls unqualified sendBroadcast()
and other calls.

As a result of the logging above, found a few more method calls such as
bindService() that would benefit from being more explicit to avoid
future confusion and reduce the log warnings.

Change-Id: I17f15c8be9adf7becd456d6abbab606f19befdbf
lockView.java
b5f3b707a7010e8d867da9342ea87cf0a1679692 22-Oct-2012 Jim Miller <jaggies@google.com> Wire up "add widget" in keyguard

Change-Id: If10e91b4ed1289259f04e0dca91db4ce8645a0f7
eyguardHostView.java
eyguardViewStateManager.java
agedView.java
d6523da1ad7bae805a3dbea8d7b398d86cd3c181 22-Oct-2012 Jim Miller <jaggies@google.com> Merge latest prototype changes into the framework

Specifically, this adds the following functionality:
- portrait layout on phones
- new KeyguardViewStateManager
- new SlidingChallengeLayout
- some event wiring.

Change-Id: Ie4491416f591b6d4002d33e9803a764a8ae730f6
eyguardHostView.java
eyguardViewBase.java
eyguardViewManager.java
eyguardViewMediator.java
eyguardViewStateManager.java
eyguardWidgetFrame.java
eyguardWidgetPager.java
agedView.java
lidingChallengeLayout.java
838906b165e4d3cb2c512b2db344aa50cb5d4751 20-Oct-2012 Jim Miller <jaggies@google.com> Get basic keyguard working in new branch

This merges the changes from the proto app into the framework.
Basic functionality tested on phone in portrait:

- Slide
- Pattern
- PIN
- Password (wonky)
- SIM PIN

Change-Id: I21b2c30cf05dc01ffb20948f41a044e7af1db25f
eyguardHostView.java
eyguardMultiUserAvatar.java
eyguardSecurityContainer.java
eyguardSimPukView.java
eyguardStatusViewManager.java
eyguardViewBase.java
eyguardWidgetFrame.java
eyguardWidgetPager.java
eyguardWidgetRegion.java
agedView.java
ecureCamera.java
904732c4573de8aa3fa79c3d741380db2457340f 18-Oct-2012 Craig Mautner <cmautner@google.com> Call requestFocus and ensure that screenOn is set.

When maybeCreateKeyguardLocked was called from methods other than
show(), the requestFocus() call on the new KeyguardHostView was
never made.

At boot time the screen on notification was not propagated to
KeyguardViewManager because the showListener callback was null.
This passes on the notification but does not make the callback
if it is null.

Bug: 7299119 fixed.
Change-Id: Iaf058954473dc63fe4864ab1f435db4463b1110e
eyguardViewManager.java
eyguardViewMediator.java
e4728b15cba1cebb8d9f60d146d95ff58a945ad8 17-Oct-2012 Steven Ross <stross@google.com> Merge "Stopping Face Unlock immediately on detaching from window fixes 7338808" into jb-mr1-dev
bdffd5c3a18e67443ebbd16d4f0349d0728285b1 16-Oct-2012 Jim Miller <jaggies@google.com> Fix missing layout parameters in keyguard.

This addresses crashes caused by an upcoming change to crash
when missing layout_width and layout_height attributes are missing.

Change-Id: I71044b4623d04cab41f4aee6a7a5c01b67b0d2a5
eyguardHostView.java
9a9f4ce1e2522f020b72a08161c1c3d244dd5c68 16-Oct-2012 Steven Ross <stross@google.com> Stopping Face Unlock immediately on detaching from window fixes 7338808

The refactoring broke my fix for 7222226. We need to stop Face Unlock without
any messaging delay when the window is detached to avoid it starting with an
invalid window, or stopping right after it restarts.

Change-Id: Iea23989ec2ab3ad7d1a57e2d1fb85163a6396024
eyguardFaceUnlockView.java
339875283263dbbe3587388f94f603439e59af5f 16-Oct-2012 Jim Miller <jaggies@google.com> Merge "Fix inoperative "Forgot pattern" button when face unlock enabled" into jb-mr1-dev
63f9b81795559443e0376985f8aaaa97a359ef94 16-Oct-2012 Jim Miller <jaggies@google.com> Fix inoperative "Forgot pattern" button when face unlock enabled

This fixes a bug where the forgot pattern button wasn't working because
the logic for face unlock was interfering with determining the proper
backup to use.

The fix:
- adds a new state to SecurityMode so we have an initial condition
we can check for.
- passes the current mode to SecurityModel.getBackupSecurityMode() so
it relies on the current state.
- prevents face unlock from invoking callbacks that change state
once we're no longer showing face unlock.

Fixes bug 7346989

Change-Id: I4e64515efbbad712f11c820e690b458f352bf46c
eyguardHostView.java
eyguardSecurityModel.java
25160a6f35b2cf487be2b8cea8b87b750f0c1c97 16-Oct-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Announce changes to the keyguard security message for accessibility." into jb-mr1-dev
f6d1afd1419d82c81b38a612fbf47653e28bb020 16-Oct-2012 alanv <alanv@google.com> Announce changes to the keyguard security message for accessibility.

Bug: 7352702
Change-Id: I790d7be08b222ae3cb76459064802f587c3e6f30
eyguardStatusViewManager.java
ac8a59d3d3a6ddb32a293e4dfc74fb55a0ea6e82 15-Oct-2012 Adam Cohen <adamcohen@google.com> Fix issue where pin field doesn't have focus (issue 7348937)

Change-Id: Ia926765271251248701416c001e2e73131cdf4ad
eyguardPasswordView.java
87d57952af662a94637c1519b2189e22456af2db 15-Oct-2012 Jim Miller <jaggies@google.com> Minor layout tweaks and bug fix in keyguard

- fix wrong string in SIM PUK unlock
- use buttonBar style for "emergency" and "forgot pattern" buttons

Bug 7341237

Change-Id: Id5593b54c345e3f869b6febc8554da01e7cb319e
eyguardSimPukView.java
6f131416ba4ff48067dc4e627971391a6b6778c4 15-Oct-2012 Adam Cohen <adamcohen@google.com> Fixing issues with pattern recovery / account view (issue 7341237):

-> Recovery button should only appear if account present
-> Recovery button should appear at bottom
-> Account view should have emergency call button
-> Account view should not show the clock / status area

Change-Id: Id12e8219f3fc6ecb14e82c5ec6ea4b3e28ed772d
eyguardHostView.java
eyguardPatternView.java
6dbf8610e94c1b41e0124577101d6369fd204ad3 15-Oct-2012 Adam Cohen <adamcohen@google.com> Fix for NPE with pattern recovery (issue 7341237)

-> Dealt with this NPE, and guarded against all related NPEs (which probably
can't happen, but given the stakes of a system crash, this is safer).

Change-Id: I3c207839ae0279033b6f3dad791d710b19415439
eyguardAccountView.java
eyguardNavigationManager.java
eyguardPasswordView.java
eyguardPatternView.java
eyguardSimPinView.java
eyguardSimPukView.java
68c2489457631f733f542e14058c6d1274c203de 14-Oct-2012 Jim Miller <jaggies@google.com> Disable security view transitions in keyguard

Now that we have a single stage unlock, there's no need for the transition. This
was causing unnecessary flickering to happen in views where we add the security view
just after inflation, which triggers the animation.

Fixes bug 7343632

Change-Id: I5bb8e37df66e4d96f00719e318424d46bf0e2e5a
eyguardHostView.java
3b9f9bceeaff0fe23f68f24d604158f614053dcf 14-Oct-2012 Adam Cohen <adamcohen@google.com> Merge "Fix inability to start pattern outside view bounds (issue 7344325)" into jb-mr1-dev
258d9fc6c6cb803aa2721a9e2f884088b476cafe 14-Oct-2012 Adam Cohen <adamcohen@google.com> Fix inability to start pattern outside view bounds (issue 7344325)

-> At the same time, disabling the abilit to page the widget region
and see the overscroll effect

Change-Id: Icd9d9e253404bfbfc411d8958f7c634ca4e37279
eyguardWidgetRegion.java
agedView.java
c4c562223b0246d2cbb973d0b0ab63f860798475 14-Oct-2012 Adam Cohen <adamcohen@google.com> Merge "Fix blank clock (issue 7344512)" into jb-mr1-dev
33387b1bee6813ea2f5cf82c7244dc90453a7c2c 14-Oct-2012 Adam Cohen <adamcohen@google.com> Merge "Fix edge case with status message (issue 7343848)" into jb-mr1-dev
7e39410f95ff65fbe425caa81d7440b44b3d2ea7 14-Oct-2012 Adam Cohen <adamcohen@google.com> Fix blank clock (issue 7344512)

Change-Id: Iad23f049fcc31ad8f08c99e7c3088e1523de1d45
agedView.java
61ccc162a08adf29dde65d3099ef1278996a2440 14-Oct-2012 Adam Cohen <adamcohen@google.com> Fix edge case with status message (issue 7343848)

-> When an unimportant message is set, we need to clear the security string
so that battery / owner info takes precedence at that point.

Change-Id: I3f86b0c2cc8fb2fb0023fce77a7725d8ada96d9e
eyguardStatusViewManager.java
32f9e8ffdd552aef550cd21c97d792b421cb12f9 14-Oct-2012 Adam Cohen <adamcohen@google.com> Merge "Only showing important security messages in status area (issue 7341795)" into jb-mr1-dev
0a4f900463024908220d0c9bf4b291a6e1284846 13-Oct-2012 Adam Cohen <adamcohen@google.com> Only showing important security messages in status area (issue 7341795)

Change-Id: Ie2fcd4dd7130b4684223d0442f50e76435f61768
eyguardAccountView.java
eyguardNavigationManager.java
eyguardPasswordView.java
eyguardPatternView.java
eyguardSimPinView.java
eyguardSimPukView.java
eyguardStatusViewManager.java
ecurityMessageDisplay.java
85341a76677abcccee757f7982b48b3bec2dcf63 13-Oct-2012 Adam Powell <adamp@google.com> Merge "Fix keyguard dimensions; IME state for password view; layouts" into jb-mr1-dev
70bc9f24ce6098a8c82245ac1ce7721d354ecd3d 13-Oct-2012 Adam Powell <adamp@google.com> Fix keyguard dimensions; IME state for password view; layouts

Fix a bug where ordering during inflation caused us not to set a
keyguard callback early enough to properly modify window flags. Add a
gross hack to work around this for now.

Fix status layouts to scale a bit more gracefully in the presence of
an IME.

Fix password layouts to scale more gracefully in the presence of an
IME

Bug 7343312
Bug 7341795
Bug 7342963
Bug 7343089

Change-Id: Ifb2c06defef11e8f7f9d0e09855632ed491bb31c
eyguardPasswordView.java
eyguardViewManager.java
211a18e2d6548ffc4657b8199661a1764f1008e0 13-Oct-2012 Jim Miller <jaggies@google.com> Merge "Partial fix for blank widget page" into jb-mr1-dev
ea06c3ed6fc5148e59885500fa923a76d0a9eaff 12-Oct-2012 Jim Miller <jaggies@google.com> Disable loading widgets in single-stage keyguard

Change-Id: I8975c3a8e6ba060987fda2d0d4b9fc8dc0686d06
eyguardHostView.java
d95c659a1d621dfbdd892759419ffc089e248672 12-Oct-2012 Danielle Millett <dmillett@google.com> Suppressing Face Unlock during phone call - fix b/7339069

Now that there isn't a swipe before launching face unlock, face unlock
needs to be suppressed during a phone call. If it isn't it will popup
on top of the phone call screen.

Change-Id: Id6c4165bf4df606ebf396c151f1c80603d5abca3
eyguardFaceUnlockView.java
eyguardSecurityModel.java
94c7b14b1a4f53157997939505b70ef056ca90d8 12-Oct-2012 Uriel Rodriguez <urodriguez@google.com> Fix bug 7338736. Only starting FUL if the screen is on

Change-Id: Id767cf1394218a7e9dccabcdd9aae5af27b493b1
eyguardFaceUnlockView.java
0ff7f010f8bfd011f0915031b02739ae3bee401e 12-Oct-2012 Jim Miller <jaggies@google.com> Change keyguard to use single-stage unlock.

Change-Id: Ica175a90ef4400941c7c4f05a494003b85d5e88c
eyguardAccountView.java
eyguardFaceUnlockView.java
eyguardHostView.java
eyguardNavigationManager.java
eyguardPasswordView.java
eyguardPatternView.java
eyguardSecurityModel.java
eyguardSecurityView.java
eyguardSelectorView.java
eyguardSimPinView.java
eyguardSimPukView.java
eyguardStatusView.java
eyguardStatusViewManager.java
eyguardUpdateMonitor.java
eyguardViewManager.java
eyguardViewMediator.java
agedView.java
ecurityMessageDisplay.java
e955121d6ee64502a938ff3bb3bba8058822d28f 12-Oct-2012 Jim Miller <jaggies@google.com> Partial fix for blank widget page

The code really shouldn't select the page until after the view has been
removed and had a chance to measure itself. The fix is to post a message
to select the correct widget page.

Bug 7334209

Change-Id: I5c2d59b00b3c502893da6000154ce6cdc79ecc1c
eyguardHostView.java
8f89e6f8e66ab445cca16e5426a126d3798f09d9 11-Oct-2012 Danielle Millett <dmillett@google.com> Merge "Face Unlock is shown correctly during a phone call - fix b/7271718" into jb-mr1-dev
e60cdf1291ba01400f7d864ee3501a6762e516bd 11-Oct-2012 Adam Cohen <adamcohen@google.com> Merge "Final keyguard tablet layout integration" into jb-mr1-dev
71b3cd56a618e66a407081ee46bf3f64bd0e9582 11-Oct-2012 Jim Miller <jaggies@google.com> Final keyguard tablet layout integration

This change integrates the finalized tablet layouts for keyguard. It supports
both 7" and 10" tablets and makes some minor tweaks on phones.

Bug 7094419

Change-Id: I7b683382974de509e8045210544ea959db82e72d
eyguardHostView.java
eyguardMultiUserAvatar.java
eyguardTransportControlView.java
eyguardViewManager.java
eyguardWidgetFrame.java
eyguardWidgetPager.java
eyguardWidgetRegion.java
6b17799b253dad55dc3df7929342d7effa3137ea 11-Oct-2012 Brian Colonna <bcolonna@google.com> Merge "Suppressing FUL after user switch (fix b/7316467)" into jb-mr1-dev
0a75ed0805dd7f97ff058623eb8e4f4b258c44ab 11-Oct-2012 Craig Mautner <cmautner@google.com> Merge "Revert "Remove debugging statements before final ROM."" into jb-mr1-dev
64ecc0e1015f1c6c1f949bb74ba3f0875178c737 10-Oct-2012 Craig Mautner <cmautner@google.com> Revert "Remove debugging statements before final ROM."

The bug cropped up again. Need these statements to pin it down.

This reverts commit f1f3b49b949af72692f7f85a1c1ef220e8630e30

Change-Id: Ie0548232daff32ee2541249b0950e23bd98c08d2
eyguardViewManager.java
59a960366424a354c7ddbca9a8d6008886ca2a77 10-Oct-2012 John Spurlock <jspurlock@google.com> Merge "Disable Camera + Search until USER_SETUP_COMPLETE." into jb-mr1-dev
0cd641001a152893642b702446bb12c7c0c08e48 10-Oct-2012 Craig Mautner <cmautner@google.com> Merge "Remove debugging statements before final ROM." into jb-mr1-dev
fafdb6f9ca2ded293ed45e9436f04bbc03e75072 10-Oct-2012 John Spurlock <jspurlock@google.com> Disable Camera + Search until USER_SETUP_COMPLETE.

Check the status of Settings.Secure.USER_SETUP_COMPLETE for the current
user when showing the keyguard, disabling the Camera + Search touchpoints
entirely until the user makes it through the setup wizard.

Bug:7308791
Change-Id: Ic8e3596582c2aefc7fe15af1824ed6bfd541dffa
eyguardSelectorView.java
61413b5ed215accd7b4f3eaf80edeab2f330aa49 10-Oct-2012 Danielle Millett <dmillett@google.com> Face Unlock is shown correctly during a phone call - fix b/7271718

If the user was in the middle of a phone call and went to the lock screen
it would show a black box with an X, but Face Unlock wouldn't pop up and
the X was unresponsive.

There were a few issues causing this. The X on the default view wasn't a
button, so it has been changed to a button which will go to the backup
lock. The concept of show() and hide() in FaceUnlock.java are obsolete
because Face Unlock is no longer being overlayed on top of the backup so
there's isn't a black box to show or hide. In addition, since it's not being
overlayed, Face Unlock doesn't cover the backup lock so fading to the backup
looks janky. The flip animation is more appropriate.

Change-Id: I730aa4bbce42b4656ee1bce61352b8aefbd6892d
iometricSensorUnlock.java
aceUnlock.java
eyguardFaceUnlockView.java
eyguardHostView.java
cc4104fd71225ed092f16b11882d9a10084e34ac 09-Oct-2012 Brian Colonna <bcolonna@google.com> Suppressing FUL after user switch (fix b/7316467)

When switching users, Face Unlock starts in onResume(). However,
there is no signal to indicate when the user actually sees their
unlock screen. This means Face Unlock could be running unseen, timing
out soon after it becomes visible, or letting the user in before they
see the preview.

This fix simply suppresses Face Unlock immediately after switching
users. This is not the ideal behavior, but there is no easy way to
make Face Unlock start only after the unlock screen becomes visible.
When the user changes screens it becomes unsuppressed, so if they go
back to the multi-select widget screen or login, Face Unlock works as
expected and is only suppressed again when the user is switched.

Change-Id: I80a302b0aefc1dee3c2dc77557978cbe062de435
eyguardHostView.java
eyguardSecurityModel.java
eyguardUpdateMonitor.java
f1f3b49b949af72692f7f85a1c1ef220e8630e30 09-Oct-2012 Craig Mautner <cmautner@google.com> Remove debugging statements before final ROM.

Change-Id: I18afd1a4c4f8f945308edc9b3af48b8c8adb3b9e
eyguardViewManager.java
223ce5c7326f6d13a17ccf2624605bb62864a27a 06-Oct-2012 Jim Miller <jaggies@google.com> Implement music and user priority scheme in keyguard

This fixes an issue where the music transport hangs around indefinitely.
It used to get dismissed when music stopped playing and a notification came in.
This was due to a bug in JB.

Now that the bug is fixed, the music control hangs around indefinitely until
the application actually releases it.

Since we have widget support, we can now leave the transport control in place
for as long as it's possible to resume music (state = playing | paused).

If music is playing, we start with the trasport showing
If not, and multi-user is enabled for more than one user, we show the user switcher.
Otherwise, we show the clock.

Bug 7290707

Change-Id: I6f0553a64b7b66bac7b35eca6d8a8793c15b918c
eyguardHostView.java
eyguardTransportControlView.java
eyguardViewManager.java
9ded0e1d48c016883858dd2dc574787524c6df84 08-Oct-2012 Brian Colonna <bcolonna@google.com> FUL fallback is no longer account login - fix b/7280196

When Face Unlock failed the maximum number of times (3), it was asking
for account login when it should have been asking for the backup lock
that the user chose when setting up Face Unlock.

This change splits the isBiometricUnlockEnabled() function into two.
One of them strictly checks whether it exists and is selected. The
other one checks whether too many attempts have occurred. When
deciding which backup to choose, the decision is now based only on
whether Face Unlock is enabled. Checking whether too many attempts
had occurred caused the bug because the check indicated it had already
'fallen back' to pattern, and the backup for pattern was being
selected instead of the backup for biometric unlock.

Change-Id: I6b9cf2c5155e8c14933cbfc8f5d58ebc007e53cb
eyguardHostView.java
eyguardSecurityModel.java
c7505bc9dddcb0655302c1598e966bf121586ebe 06-Oct-2012 Jeff Brown <jeffbrown@google.com> Increase lock screen timeout when on custom widget page.

Bug: 7290676
Change-Id: I93c48fb24adb24d16ec278a4fdd51a13a85a96c3
eyguardHostView.java
eyguardViewBase.java
eyguardViewManager.java
eyguardViewMediator.java
eyguardWidgetRegion.java
5a3322fec3be02cda158a0a9c66be725e4056746 06-Oct-2012 Jim Miller <jaggies@google.com> Merge "Fix unresponsive back button in keyguard." into jb-mr1-dev
0a34d9edf02954d83c2861a8c6836865f8fa00fb 06-Oct-2012 Jim Miller <jaggies@google.com> Fix unresponsive back button in keyguard.

When keyguard doesn't have focus, events weren't being propagated to
keyguard properly. The fix is to grab the back-button event from the
top-level view and handle it there.

Change-Id: Ied9761919cff30173f43f03e4c2a1732387e618e
eyguardHostView.java
eyguardViewManager.java
12ac6077ffdeb1af572594b869fa331a941f41c8 06-Oct-2012 Adam Cohen <adamcohen@google.com> Merge "Don't disable multi-user widget when Device Policy is enabled." into jb-mr1-dev
ec7131ffe3e5684eff4c19f577b324d0e5a61d33 06-Oct-2012 Jeff Brown <jeffbrown@google.com> Merge "Lock the screen while dreaming after the appropriate timeout." into jb-mr1-dev
6aaf29589b5fbe24721740e71b272c4a830b69e7 06-Oct-2012 Jeff Brown <jeffbrown@google.com> Lock the screen while dreaming after the appropriate timeout.

Bug: 7267187
Change-Id: I26ce3970a2d7cf446efe3e8c810fbbf3ddfcc47b
eyguardViewMediator.java
2874a54068af1e7de3c1c046cc0061412daafaf8 06-Oct-2012 Craig Mautner <cmautner@google.com> Merge "Add flag for displaying non-user's Windows to user." into jb-mr1-dev
88400d3a31139c40c4014faf86c243647087ef6c 30-Sep-2012 Craig Mautner <cmautner@google.com> Add flag for displaying non-user's Windows to user.

Created a new flag that indicates that a window should be shown
to all users. For the flag to be valid the owner of the window
must have system permissions.

Also separated system window types into those that show to all
users (e.g. StatusBar, Keyguard, ....) and those that appear only
to the owning users (e.g. Drag, ANR, TOAST, ...). Those that appear
only to their owner can override their default behavior using
the new flag (e.g. LowBattery).

Fixes bug 7211965.

Change-Id: I1fdca25d57b7b523f0c7f8bceb819af656c388d4
eyguardViewManager.java
7221d3ae08cc2be922d26e5d491038512cb6c74d 05-Oct-2012 Jim Miller <jaggies@google.com> Don't disable multi-user widget when Device Policy is enabled.

While fixing this bug, I fixed a few other issues:
- Always call showAppropriateWidgetPage(), even when DPM enabled
- Always disable status view interaction, even when DPM enabled

Fixes bug 7294880

Change-Id: Ia8495555c1940f2b38f42389558f46fde6aab775
eyguardHostView.java
9cf2c523d82ec14632fd0db920dcc8909c0f44a5 05-Oct-2012 Jim Miller <jaggies@google.com> More userActivity() calls in keyguard

Some security screens aren't currently calling userActivity(). As such,
they allow keyguard to timeout before the user has a chance to enter
the required information.

The fix uses a TextWatcher to look for changes in the input text
and call userActivity() appropriately.

bug 7291431

Change-Id: I6d7889cc01a4d6bdbefefc5af478e812c35b1a49
eyguardPasswordView.java
eyguardSimPinView.java
eyguardSimPukView.java
eyguardViewManager.java
f0520930441a228632423c486c2f0db3082ea781 05-Oct-2012 Jim Miller <jaggies@google.com> Merge "Allow lower case for owner info in keyguard" into jb-mr1-dev
9fdabab7e973686a612c6bc76d8ff0c6eb0839fa 05-Oct-2012 Jim Miller <jaggies@google.com> Allow lower case for owner info in keyguard

bug 7094419

Change-Id: Ic89d51f1d490b99a9cdd897b71057be37004301a
eyguardStatusViewManager.java
f752202bee88e31ce765483ba2efa6999ae9c9ad 04-Oct-2012 Adam Cohen <adamcohen@google.com> Plumbing to allow keyguard to be shown with user switcher (issue 7175023)

-> Also reduced calls to lockNow, and moved this call in ActivityManagerService

Change-Id: I9ba34ca902f7c0f71fa4ec302104688ca8d11f55
eyguardMultiUserSelectorView.java
eyguardViewManager.java
eyguardViewMediator.java
27b3819df0ff3bbfb680b5bac54ef7e9b4d3aac1 04-Oct-2012 John Spurlock <jspurlock@google.com> Merge "Reset status bar in keyguard, fix MU status bar bug." into jb-mr1-dev
e4ed092076430e4cc8aa2e179883f721da5b2a61 04-Oct-2012 Philip Milne <pmilne@google.com> Merge "Fix for bug: 7274232. Bold date on lock screen." into jb-mr1-dev
2d1cf35fc9ad7d297a96cf9972442dd6e9d84016 04-Oct-2012 Philip Milne <pmilne@google.com> Fix for bug: 7274232. Bold date on lock screen.

Change-Id: Ic3fc3e7c0770b2431139c3faf10296d307f1175e
eyguardStatusViewManager.java
4e6922d89e72e79a8ab31ae2cb8a19d85bee91f8 04-Oct-2012 John Spurlock <jspurlock@google.com> Reset status bar in keyguard, fix MU status bar bug.

Two things going on here, status bar disabled flags need to be reset
on user switch. Also make status bar's internal disable-record lookup
multi-user aware.

Bug:7278793
Change-Id: I1d7088d956a065330736da4c09cc1874c528c133
eyguardViewMediator.java
1a1918a5a693e8130d279da2f1147a074eb597e6 04-Oct-2012 alanv <alanv@google.com> Announce changes in keyguard message, e.g. bad unlock pattern.

Bug: 7280849
Change-Id: Ie28f7fa2f249c11d6523955de526d5f72da8d6f3
eyguardNavigationManager.java
6823de7142e65cd132433b2f003ae3327fde770f 04-Oct-2012 Adam Cohen <adamcohen@google.com> Merge "Modifying user switcher per design (issue 7047393)" into jb-mr1-dev
0a8d32673b3d34153c287916f0ca8d4439f3087e 03-Oct-2012 Adam Cohen <adamcohen@google.com> Modifying user switcher per design (issue 7047393)

-> When user is switched, we immediately show their security, if present
-> If a user taps on the active user, it shows the glow pad unlock hint

Change-Id: I074ed63123a6bc6a38051cb77b5d86bd3f0e93ea
eyguardHostView.java
eyguardMultiUserAvatar.java
eyguardMultiUserSelectorView.java
eyguardSelectorView.java
eyguardViewManager.java
eeadda59687478704ee7f7f45fd6868e3ec6eb3f 03-Oct-2012 Jim Miller <jaggies@google.com> Always enable hardware layers in widgets in keyguard while dragging.

This fixes a performance issue on the 7" tablet where disabling hardware
layers in landscape mode resulted in extremely bad drawing performance.

The code now enables hardware layers for all the widgets while the user
is dragging.

Fixes bug 7274971

Change-Id: Iafd18fb317fcd3caad45791fe5a0f111d40a1ed4
eyguardWidgetFrame.java
eyguardWidgetPager.java
5d2da713ed8338c0d73779d842e6958f86fbc2ee 03-Oct-2012 Jim Miller <jaggies@google.com> Update keyguard to send userActivity events

Since the new PowerManager changes are in, keyguard needs to handle
keeping the screen awake. This change does this in a few places in
addition to the existing security screens:

- when the widget page changes
- when the user interacts with any widget other than the status widget
- when the user taps on the target in the selector screen

Fixes bug 7273646

Change-Id: If4c76a38e9b886dd359ba96cd2aae03652007b66
eyguardHostView.java
eyguardWidgetFrame.java
eyguardWidgetRegion.java
6bcd73203ada36b446b05fa33f9834ac989c0621 03-Oct-2012 Jim Miller <jaggies@google.com> Switch back to user switcher in keyguard

Change-Id: I9acfb61fd34ad24a299e1f11f792e9e240f2b065
eyguardHostView.java
eyguardMultiUserAvatar.java
eyguardViewManager.java
eyguardViewMediator.java
61cd69c378cbf4eda996c59e53ea62c127e7c4d4 03-Oct-2012 Adam Cohen <adamcohen@google.com> Keyguard polish

-> Updated user switcher to be closer to spec (issue 7047393)
-> Drawing keyguard overscroll gradient manually in KeyguardWidgetFrame
(eliminates need for assets, eliminates banding)
-> Fixed clipping of overscroll on sw600dp using negative margin

Change-Id: I90ec7f820ca7dccebf7e05628a3185e95d41af08
eyguardMultiUserAvatar.java
eyguardWidgetFrame.java
5cf72e11b6ec38c09e810611ec57bff9ff40ce9d 03-Oct-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Accessibility support for the widgets switcher of the lock screen." into jb-mr1-dev
6526fdd7490acc40ce9dbe4ae563821f8867aa0f 03-Oct-2012 Svetoslav Ganov <svetoslavganov@google.com> Accessibility support for the widgets switcher of the lock screen.

bug:7232727
bug:7229598

Change-Id: Ib76b81b170bed0c4ef10f5141bf70f779ffa1ac4
eyguardWidgetPager.java
970a494ce18ca4b05bdb7c668161dcc3efee0bbe 03-Oct-2012 Jim Miller <jaggies@google.com> Merge "Attempt to fix missing transport control in keyguard" into jb-mr1-dev
4e81bd4bcf60a934d4cd589dab6e2bddb88d7356 02-Oct-2012 Jim Miller <jaggies@google.com> Attempt to fix missing transport control in keyguard

This attempts to fix a bug where the transport control would sometimes be
inoperative. The problem is that we had two transport control layouts
on some devices because they were being declared in the layout file.

The fix is to only inflate the layout once when KeyguardHostView
is created.

Also removes redundant KeyguardStatusView.

Fixes bug 7254833

Change-Id: Iab84e8326ff745ee57be5177ab2561114c8dc6f0
eyguardHostView.java
c6e570dbadc3689bc80c0516492a3209d5f6742b 02-Oct-2012 Jim Miller <jaggies@google.com> Merge "Fix camera disambiguation in secure keyguard" into jb-mr1-dev
7ffa8c08f32bd15bf0725d0a47087bf3fd5ca1c3 02-Oct-2012 Adam Cohen <adamcohen@google.com> Fixing up keyguard widget pager layouts

-> Related to issue 7232481 and issue 7261844

Change-Id: Ib3c15ed78d3473036820bb3061dcd1cd34a2bfc4
eyguardWidgetFrame.java
0207c0992cb05d0acc60540748c8ae6985917abb 01-Oct-2012 Adam Cohen <adamcohen@google.com> Fixing a coupld lockscreen bugs

-> Showing correct page, as per discussions (issue 7205431)
-> Hide the time when the system status widget is showsing (issue 7216577)

Change-Id: I5b79d72e8fd8226952f6a8ea99b776feb4ddde1f
eyguardHostView.java
eyguardWidgetRegion.java
b35000f3f48c5f2c620c4aa30275b92e38afb6c1 02-Oct-2012 Jim Miller <jaggies@google.com> Merge "Attempt to fix missing lock sounds" into jb-mr1-dev
b14288d4b13d7629f578c4854f5a14d4d9a06783 01-Oct-2012 Jim Miller <jaggies@google.com> Attempt to fix missing lock sounds

bug 7254629

Change-Id: I65eee674fe014a0e84d5ec20ead81abdec38f890
eyguardViewMediator.java
ee82f8fa2d47fc1dbfc29582ae348b3c45ff8fe0 02-Oct-2012 Jim Miller <jaggies@google.com> Fix camera disambiguation in secure keyguard

When there are multiple activities that respond to MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE
we need to show the disambiguation dialog to the user. However the disambiguation "dialog"
is actully an activity themed as a dialog. Hence, we can't show it in the secure keyguard.

This works around the issue by prompting the user for their credentials directly when the
intent needs disambiguation. This will take them out of keyguard and prompt them for
which activity they want to use.

We'll provide a more robust solution in a future release.

Fixes bug 7109816

Change-Id: I94e643d3cb503e1ce6de24c82400b4d5fcbb9d95
eyguardFaceUnlockView.java
eyguardSelectorView.java
eyguardViewMediator.java
3dc524bc31a1578693ca958ef442dfa092b7aa7f 01-Oct-2012 Jeff Brown <jeffbrown@google.com> Use new API to override user activity timeout from keyguard.

This now replaces the internal user activity timer that
keyguard maintained. We can probably simplify things a great
deal further now.

Bug: 7165399
Change-Id: Ia0d5a156a4ff0c339bbd094380b9f7ab3cec5d9b
eyguardHostView.java
eyguardSelectorView.java
eyguardViewManager.java
eyguardViewMediator.java
1d1fb6c5e611b77d923b92100628e7e1bbf5fcf9 30-Sep-2012 Adam Cohen <adamcohen@google.com> Making runway lights appear for correct pages (issue 7232481)

Change-Id: I66a48cc8f14cb9ebfbf032287591565f38cb3606
eyguardWidgetRegion.java
0a5bc22273fc274a0d4bd9aa4bc80ee5116e11ef 30-Sep-2012 Adam Cohen <adamcohen@google.com> Merge "Integrate keyguard paging hint" into jb-mr1-dev
a995b6e37f20b3e7eebfb37d8868c1bc14906204 29-Sep-2012 Mike Cleron <mcleron@google.com> Merge "Getting rid of blue outline in user switcher, instead brighten the user" into jb-mr1-dev
c1aa6a54a78972843899fd0d911f80a4aff4dd20 29-Sep-2012 Jim Miller <jaggies@google.com> Integrate keyguard paging hint

Bug 7232481

Change-Id: I1959ae61b8f5afd055158dad67bdceecc4870d24
lockView.java
eyguardGlowStripView.java
eyguardHostView.java
eyguardSelectorView.java
eyguardWidgetPager.java
eyguardWidgetRegion.java
9654329008bfde134de63df06dc15ac0271a0d4c 29-Sep-2012 Adam Cohen <adamcohen@google.com> Getting rid of blue outline in user switcher, instead brighten the user

Change-Id: I4817615cc28eb1fea35ecb5c3d69c4298c9cf2cf
eyguardMultiUserAvatar.java
eyguardMultiUserSelectorView.java
1ed143ea341d2dac29cc3aafaf2fbeb1b13c5251 29-Sep-2012 Jim Miller <jaggies@google.com> Merge "Clean up SIM PIN and PUK screens in keyguard." into jb-mr1-dev
3efe106264262924a9218268d3c7d19d272fb7a2 29-Sep-2012 Jim Miller <jaggies@google.com> Clean up SIM PIN and PUK screens in keyguard.

- new flow for PUK screen
- clean up SIM and PUK screen to match UX designs
- simplified logic for showing emergency call button

Change-Id: I66fcd312f3c52dd212d9836dc020735dbc88d5ee
mergencyButton.java
eyguardSimPukView.java
eyguardStatusViewManager.java
00baebe124701903db8eb35abb087767c5d769a5 29-Sep-2012 Craig Mautner <cmautner@google.com> Keep callback reference from being null.

The hide call delays removal of mKeyguardView but the inflate call
occurred before the delay expired. The method inflateKeyguardView
would have removed it except hide() also nulled out mKeyguardView.
Consequently there were two KeyguardHostViews in the view hierarchy.
The findViewById returned the first view which got the callback
assigned. Later that view was removed from the hierarchy and when
the new view was called it had no callback assigned => NPE!

This fix removes the KeyguardHostView from the mKeyguardHost by
referncing the id rather than the null mKeyguardView.

Fixes bug 7250008.

Change-Id: Ic9da3415d72187628f06271c12d5184f9d01059b
eyguardViewManager.java
cd03a26f4f5663b40d4679de102519ccc163fa10 28-Sep-2012 Craig Mautner <cmautner@google.com> Missed a spot, needInput was not getting called.

Fixes bug 7250008.

Change-Id: I837af438510275ea69e217289aeb7a08111b91b5
eyguardHostView.java
7def1db03943251fe8cb57ec514722026425479e 28-Sep-2012 Craig Mautner <cmautner@google.com> Add null checks before using mViewMediatorCallback.

Fixes bug 7250008.

Change-Id: I744241c46de5222a3e1767a04464e657ccd9f799
eyguardHostView.java
93aa70c6dfec91909404c9ade9b4a94574814092 28-Sep-2012 Steven Ross <stross@google.com> Merge "Only poke the wakelock for FUL if the screen is on fixes 7222901" into jb-mr1-dev
0d5cad735d03561c6bd215aa6fe3e78343fee5d2 28-Sep-2012 Jim Miller <jaggies@google.com> Merge "Updating AndroidClock font to match the Roboto thin style for time display." into jb-mr1-dev
36c37a021efb182b7369e28603740a29185f285a 28-Sep-2012 Jim Miller <jaggies@google.com> Fix crash caused by null owner info
Fixes bug 7249550

Change-Id: I35a46bf03e9d11311e2f7d7d55e25bbc93687f83
eyguardStatusViewManager.java
24de60507297c8fac04341a2f76a1e8f3020b973 26-Sep-2012 Christian Robertson <robertsonc@google.com> Updating AndroidClock font to match the Roboto thin style for time display.

The primary difference between the AndroidClock and Roboto-Thin fonts is that the new clock font defaults to variable width characters for better alignment on the lock screen.

Bug:7206207
Change-Id: I8509324510ce01d0a73ab1bb6b730b5d646a462c
lockView.java
42517367947047dd6cf7bd014e0c6d2db030af4e 28-Sep-2012 Jim Miller <jaggies@google.com> Merge "Update keyguard layouts on phone" into jb-mr1-dev
3af630c8d18bcf4b23a5a308917319dd04cc8ed2 26-Sep-2012 Jim Miller <jaggies@google.com> Update keyguard layouts on phone

- Go back to using old date format
- All keyguard text is now caps
- Lower brightness on emergency call text
- Fixed CR/LF issue with Owner info
- Added new alarm icon and fixed padding
- Swapped Google Now and lock icon in landscape mode
- Centered PIN/Password/Pattern help text in view in portrait
- Fixed keyboard size issue in landscape
- Merge new assets from UX

Change-Id: I7adb44b6c9a57d40cab0a77433d43291fb277568
eyguardPasswordView.java
eyguardPatternView.java
eyguardSimPinView.java
eyguardSimPukView.java
eyguardStatusViewManager.java
eyguardViewManager.java
acbe41fc1316cf16f03de80c84ea311cc4f55ffb 27-Sep-2012 Steven Ross <stross@google.com> Only poke the wakelock for FUL if the screen is on fixes 7222901

Change-Id: Ie00084fcaef3127ac917c740e5eea3fce463cbcd
aceUnlock.java
fbb9c6197f4c9dd2583590559502e3b0600867d8 27-Sep-2012 Steven Ross <stross@google.com> Stop FaceUnlock when detached from window fixes b/7222226

The FaceUnlock service gets onConfigurationChanged at about the same time as onDetachedFromWindow is received by the KeyguardFaceUnlockView, so we could do something beyond hiding the window there, but this approach should operate on the same thread as onPause and onResume, and thus be safe against threading issues.

Before this change, I was seeing startUi calls in FaceUnlock.java crashing the service because the ProcessingThread had already been set to null. After this change, onDetachedFromWindow gets called, followed by onPause, after a rotation. The onDetachedFromWindow call now clears the messages and shuts down the connection, which prevents the startUi call. We should also probably make sure startUi in the service exits if mThread is null for good measure.

Change-Id: I083066c9cb210e398d911e70c0f3bb5d2736cd8d
eyguardFaceUnlockView.java
bf6f6f9de72c9fd15e6bda9f228c05a9b37d6324 26-Sep-2012 Jeff Brown <jeffbrown@google.com> Update references to migrated global settings.

Fixed one setting that was migrated but not marked deprecated.

Removed a hidden setting that is no longer used by the new
power manager service.

Bug: 7231172
Change-Id: I332f020f876a18d519a1a20598a172f1c98036f7
eyguardUpdateMonitor.java
164ff6bb64ad022366e9fdec9b40bcedcbb3925a 25-Sep-2012 Jean-Baptiste Queru <jbq@google.com> Merge into jb-mr1-dev

Change-Id: I65f9c552cf0ef2792df64c907f0a56913e6c6f30
7641506e3cc493ac4e6f5037fd76516754e61c6e 25-Sep-2012 Jim Miller <jaggies@google.com> Fix wrong password attempt count in DevicePolicyManager

Keyguard wasn't resetting dpm's count when a successful password
was made. The result is the device would get wiped earlier than
it should.

Also fixes a TODO left over from keyguard refactoring that
allowed face unlock to trigger the same logic (ouch!).

Fixes bug 7219258

Change-Id: I2bd13c50a9beb8225d3237e86d5e34b73d0eb3cf
eyguardHostView.java
c6f8a9985b6cdfd770b707b8fdf05c0b1b2809fc 24-Sep-2012 Kenny Root <kroot@google.com> Merge "LockScreen: don't update KeyStore password on unlock" into jb-mr1-dev
1cd5522fcc16b6a7d38f7f4d2997359759196856 22-Sep-2012 Jim Miller <jaggies@google.com> Merge "Send USER_PRESENT for keyguard choice "None"" into jb-mr1-dev
3fd47af32d6be8971445f4da8deba0fadae688d3 22-Sep-2012 Jim Miller <jaggies@google.com> Send USER_PRESENT for keyguard choice "None"

This enables sending ACTION_USER_PRESENT when the user has
selected "None" for their keyguard screen. When this happens,
we delegate sending the event to onScreenTurnedOn().

Tested:
- None -> sends broadcast in onSystemReady() the first time after boot
and in onScreenTurnedOn() there after.
- Slide -> sends broadcast only once when screen is dismissed
- Pattern -> sends broadcast only once when screen is dismissed

Fixes bug 7029707

Change-Id: I785c3255b15e2ee598a10d7d3580ba5c03dd0068
eyguardViewMediator.java
77e95d3d71f10a0d936445e3f3ed90e15c019024 22-Sep-2012 Amith Yamasani <yamasani@google.com> Merge "Show lockscreen widgets for the current user." into jb-mr1-dev
8fd96ec2dc215095d12ef3e9bd7dc50ebc78625e 22-Sep-2012 Amith Yamasani <yamasani@google.com> Show lockscreen widgets for the current user.

Also shows the owner info and next alarm for the current user.
AppWidgetService now assumes that any widgets running in the system process are for the
current user, so that lockscreen shows widgets for the current user

Bug: 7211754
Bug: 7212421

Change-Id: Iaf0edc60e49af0afe42625c0b2dcf100c9ecc178
eyguardStatusViewManager.java
abb53b72fb0dc4ff9f2b917438ec48f0cc0111b6 22-Sep-2012 Kenny Root <kroot@google.com> LockScreen: don't update KeyStore password on unlock

The Gingerbread migration case updated the password when the user
unlocked their device. This is probably not needed anymore and disturbs
multi-user, so just remove it.

Bug: 7169463
Change-Id: Ie62eb9f3fee6953b1123cb7ef3665d519632c6f7
eyguardPasswordView.java
eyguardPatternView.java
1ed9fa10de3e94678ddb2929936caa3ff4164cf8 22-Sep-2012 Jim Miller <jaggies@google.com> Merge "Make DPM API for disabling keyguard widgets more generic" into jb-mr1-dev
7566abd305a2b3060ae541055ed04f087f5266ec 21-Sep-2012 Michael Jurka <mikejurka@google.com> Merge "Add support for changing status widget on security screen" into jb-mr1-dev
920ace0bbc2d4133dbec991d2636c99a57d6245e 21-Sep-2012 Amith Yamasani <yamasani@google.com> Query users excluding any being removed

Keep track of user creation and last logged-in time.
adb shell dumpsys users
User switcher shouldn't show users about to be removed.
No need to check for singleton for activities.

Bug: 7194894
Change-Id: Ic9a59ea5bd544920479e191d1a1e8a77f8b6ddcf
eyguardHostView.java
eyguardMultiUserSelectorView.java
eyguardViewMediator.java
20c41d5382b70fa5a24e9ef68f19ce0aedea5234 21-Sep-2012 Michael Jurka <mikejurka@google.com> Add support for changing status widget on security screen

Change-Id: I080fd89eb84445604c602b6e807b55153a7ee129
eyguardHostView.java
48b9b0d068844af9eb37c215484831c4d6b831b0 20-Sep-2012 Jim Miller <jaggies@google.com> Make DPM API for disabling keyguard widgets more generic

This change renames the widget-specific API to be more generic
to allow further disabling of keyguard-specific customizations
in the future. Currently only allows disabling widgets and the
secure camera but can now easily be extended to disable other
features we add.

Fixes bug: 7021368

Change-Id: I3934cc2e7c64e0c6d511efb86980fc38a849708d
eyguardHostView.java
eyguardSelectorView.java
109f1fd80c90409c0d7f21d49989641dfdf2ad1b 20-Sep-2012 Jim Miller <jaggies@google.com> Update keyguard selector view to match UX design spec
- Use new Roboto-Thin font
- Add new keyguard-specific date format
- Layout tweaks to keyguard selector screen.
- Add smart EmergencyButton class
- Add selective upper-casing of components on the display to enable later UX decision
- Work around SIM state bug

Bug: 7094419
Change-Id: Ic7e0f30697c14d4946372509d98ad81bf6a23c92
arrierText.java
lockView.java
mergencyButton.java
eyguardFaceUnlockView.java
eyguardMultiUserSelectorView.java
eyguardSecurityModel.java
eyguardSelectorView.java
eyguardStatusViewManager.java
eyguardTransportControlView.java
eyguardUpdateMonitor.java
eyguardViewManager.java
52716deb4008da1d566dfd711edc0a9c6de5f79f 19-Sep-2012 Dianne Hackborn <hackbod@google.com> Merge "Fix deadlock in LockPatternUtils by using local id." into jb-mr1-dev
f1b674197577e815040cd75ef86d611965d603ad 19-Sep-2012 Craig Mautner <cmautner@google.com> Fix deadlock in LockPatternUtils by using local id.

Activity manager now updates window manager's current user id
directly and immediately rather than waiting for a broadcast
update. Window manager passes this through policy to the
KeyguardViewMediator and into LockPatternUtils. LockPatternUtils
no longer goes to Activity to get the current user id if it finds
that its local id is non-default.

Fixes bug 7193726.

Change-Id: Id5613e7a9fe9e5b49e83c26b74504f587c3998c2
eyguardViewMediator.java
8f301e666873e4a9feaace38a0b184a5f3ce7003 19-Sep-2012 Craig Mautner <cmautner@google.com> Merge "Add debug for b/7094175." into jb-mr1-dev
5d8d169bbb0325665d600415bc7b4add2dbcaf75 19-Sep-2012 Jim Miller <jaggies@google.com> Merge "Fix wrong pattern count in keyguard pattern security view." into jb-mr1-dev
d2b82f70fede8c2ec4de34d8e6462ed4ece13c56 19-Sep-2012 Jim Miller <jaggies@google.com> Fix wrong pattern count in keyguard pattern security view.

This fixes a bug introduced in I085c5ec8 where keyguard attempts to emulate
slippery windows with views. In order to do so, the code was overloading
dispatchTouchEvent(). It would allow the super (a ViewGroup) to dispatch
the events and then would dispatch them itself to sub views. In the case
where an event overlaps an actual child view, it would result in 2 copies of the event
per window layer (there are 2). This results in 2 events per layer for the
top two views in the hierarchy. So each actual pattern attempt would count as 4
attempts to the system.

The solution is to overload onTouchEvent() at each level in the view hierarchy,
which means that we ignore events that were already handled by a child window
of the parent.

This change also disables slippery windows for keyguard because it causes
vertical patterns to be ignored.

Fixes bug 7191277

Change-Id: I4df217f2bf382134d93113b8d55b0d71e0e23677
eyguardHostView.java
eyguardPatternView.java
eyguardSecurityViewFlipper.java
eyguardViewManager.java
4adb9d34162b109db3c67e352ad50c76dc7f2d45 19-Sep-2012 Amith Yamasani <yamasani@google.com> Merge "DevicePolicyManager per user" into jb-mr1-dev
402f0c81230304379d7c4108745f928b34e052fa 19-Sep-2012 Jim Miller <jaggies@google.com> Merge "Refactor Carrier text as a movable module." into jb-mr1-dev
772db427a79fc1e81cb54f8ebead5e22edb0162d 19-Sep-2012 Jim Miller <jaggies@google.com> Merge "Selectively enable back button in keyguard for security screens." into jb-mr1-dev
599dd7ce9adf8ca067cefb0b191a5ac20ec35a79 15-Sep-2012 Amith Yamasani <yamasani@google.com> DevicePolicyManager per user

Bug: 7136483

Store device policy information for each user and apply them when user switches.

Global proxy can only be controlled by owner.
Camera restriction applies to all users, if any one has an admin that disables it.
Storage encryption can only be controlled by owner, although other users can query the state.
Wipe data will only remove the user if non-zero, wipe the device, if zero.

Change-Id: I359be46c1bc3828fd13d4be3228f11495081c8f2
eyguardHostView.java
eyguardSelectorView.java
eyguardViewMediator.java
0cbfcffe7b99eea85dc17e92ef204035fa6fd4f9 18-Sep-2012 Craig Mautner <cmautner@google.com> Add debug for b/7094175.

Change-Id: Iec83b9350bfeb804dfe3da25986138c2dbaa6d45
eyguardViewManager.java
f9cb7ba158c7016d55f121e200f96046ddbc5b70 18-Sep-2012 Jim Miller <jaggies@google.com> Refactor Carrier text as a movable module.

We seem to move carrier text around a lot. Rather than moving the support code,
this creates a smart text field that updates itself.

Change-Id: I9b5b7b22813e944f673a50e952742a1ac38c0e08
arrierText.java
eyguardStatusViewManager.java
931be0ee0cc5e6e762336429bf23640c6e71b936 18-Sep-2012 Jim Miller <jaggies@google.com> Merge "Don't show empty widget in the case where a widget can't be inflated" into jb-mr1-dev
99a3cae55bd1a4ea6d82aa7fa2a67170e7cd5b3e 18-Sep-2012 Jim Miller <jaggies@google.com> Don't show empty widget in the case where a widget can't be inflated

If the use deletes the widget by disabling a package or removing it,
we used to show a placeholder widget. Now it skips the widget if it's
not available.

Change-Id: I8582139bf982e41f3f16b5c002e248c5717290aa
eyguardHostView.java
5b50a25e6d12bdc641a3b48ba9e7c02d63bf00cd 17-Sep-2012 Adam Cohen <adamcohen@google.com> Enabling hardware layers while overscrolling widget pager

Change-Id: I94bef1aa614f91b115105adbb409def8027f3651
eyguardSubdivisionLayout.java
eyguardWidgetFrame.java
e23ab8b1acea211762f1d0c4202f73a9f7700bb5 17-Sep-2012 Jim Miller <jaggies@google.com> Selectively enable back button in keyguard for security screens.

This enables the back button on secure keyguard screens so the user can
get back to the initial screen.

Partial fix for bug 7094419

Change-Id: I4dc0ac8facfd2930ccb60710c36015ec1d2c8aa6
eyguardHostView.java
eyguardViewManager.java
eyguardViewMediator.java
625398598894b18d797cc407632b78979b20a604 16-Sep-2012 Adam Cohen <adamcohen@google.com> Merge "Second pass on Keyguard multi-user switcher" into jb-mr1-dev
24b351ab748cf1b2e41d106508604ba09f62d859 15-Sep-2012 Adam Cohen <adamcohen@google.com> Second pass on Keyguard multi-user switcher

-> animating active user to inactive, fading out lock
selector, freezing screen, then switching users
-> for now, just using a fade, but this will likely
see iteration

Change-Id: I3acc0b53f2cbf132741e3e0529e2e53fa2824542
eyguardHostView.java
eyguardMultiUserAvatar.java
eyguardMultiUserSelectorView.java
eyguardSubdivisionLayout.java
b45965f519d41f138f0d0edfb587e4861e2199f4 16-Sep-2012 Jim Miller <jaggies@google.com> Merge "Fix keyguard timeout dialog messages" into jb-mr1-dev
d65afc65ea5b2bf83889dd88a9c94f895da8aece 16-Sep-2012 Dianne Hackborn <hackbod@google.com> Merge "More multi-user stuff." into jb-mr1-dev
5dc5a00e7ebadc085ded7e29feacd17e53698486 16-Sep-2012 Dianne Hackborn <hackbod@google.com> More multi-user stuff.

- New public APIs to find out when a user goes to the foreground,
background, and is first initializing.
- New activity manager callback to be involved in the user switch
process, allowing other services to let it know when it is safe
to stop freezing the screen.
- Wallpaper service now implements this to handle its user switch,
telling the activity manager when it is done. (Currently this is
only handling the old wallpaper going away, we need a little more
work to correctly wait for the new wallpaper to get added.)
- Lock screen now implements the callback to do its user switch. It
also now locks itself when this happens, instead of relying on
some other entity making sure it is locked.
- Pre-boot broadcasts now go to all users.
- WallpaperManager now has an API to find out if a named wallpaper is
in use by any users.

Change-Id: I27877aef1d82126c0a1428c3d1861619ee5f8653
eyguardUpdateMonitor.java
eyguardViewMediator.java
08b2b6bfe2550b65c68ad7b4bef8283f1ff17561 15-Sep-2012 Jim Miller <jaggies@google.com> Fix keyguard timeout dialog messages

This fixes an issue where the attempt count was incorrect. We now show the
dialog *after* reporting the failed attempt.

This also fixes an issue where the text wasn't being reset in the password dialog
of keyguard.

Fixes bugs 7170545 and 7120895

Change-Id: Iba2009705373758acca6e10bd670eb34744bece9
eyguardHostView.java
eyguardPasswordView.java
eyguardStatusViewManager.java
a87826c345dbd692a86a340691cf7471a2505809 14-Sep-2012 Amith Yamasani <yamasani@google.com> Merge "Fix face unlock for multiple users" into jb-mr1-dev
4b4b954ddf34af51576441f0e3eca6d19150aada 14-Sep-2012 Amith Yamasani <yamasani@google.com> Fix face unlock for multiple users

Bug: 7152537

Not all instances of LockPatternUtils are getting updated with the current user, so
query it directly from the Activity Manager.

Change-Id: I46395c3e00feecd0edfe4228f8d7966f425519f2
aceUnlock.java
f229e4d3eb8f910c181f96416c6798f6f305a395 13-Sep-2012 Jim Miller <jaggies@google.com> Add support for settings for lock widgets

Change-Id: Iade094c6f32a7653bdbbd4921d345d68f2443ff4
eyguardHostView.java
6fba0a0c72394e880833b5dcf08241b7ce133239 13-Sep-2012 Jim Miller <jaggies@google.com> Music in keyguard improvements
- fix overscroll issue with workaround described in bug 7137941
- ignore noisy signals from music player that sometimes hide it

Change-Id: I6a25674ce7157bd70409f56881ec62644f5fce9b
eyguardHostView.java
4f77268c8a75dd89303b0c6bcf6ee02a97a68d1a 13-Sep-2012 Jim Miller <jaggies@google.com> Merge "Initial pass at adding Music control to new keyguard." into jb-mr1-dev
ff2aa0bc8919c247bfc8e81d3f168e5064f52ffb 07-Sep-2012 Jim Miller <jaggies@google.com> Initial pass at adding Music control to new keyguard.

- View is now added or removed based on AudioManager status
- Reduced depth of hierarchy by making KeyguardTransportControl a KeyguardWidgetFrame
- Return to the status view when we return to keyguard (onScreenTurnedOn)

Change-Id: Id7f9310ce4e7daf663471117564e5670f61b1471
eyguardHostView.java
eyguardTransportControlView.java
agedView.java
9c673b0536f0c19be289e15fe0e5fb9825769a3f 12-Sep-2012 Amith Yamasani <yamasani@google.com> Merge "Go back to keyguard if user is switched in lock screen" into jb-mr1-dev
d979dd7fbcf053cdb4fa5691dc625d2dfa4071f5 12-Sep-2012 Amith Yamasani <yamasani@google.com> Go back to keyguard if user is switched in lock screen

This is not the preferred solution, but at least it is not incorrect.

Bug: 7144478
Change-Id: Iec26723b21ff5c64546d57f9d8744a3bf2929862
eyguardViewManager.java
752ef4e0f86fa1412488b6c03ff4ae8a22f0e307 11-Sep-2012 Jim Miller <jaggies@google.com> Merge "This enables the back button in keyguard" into jb-mr1-dev
d03a5558350cb6adff68aaf97ad4ee946bcd91a1 11-Sep-2012 Jim Miller <jaggies@google.com> Attempt to fix blank keyguard issue

This is an attempt to fix bug 7137389. It forces a layout when the screen
comes back on, which should alleviate the issue.

Change-Id: I00a3829f1662a8db99d947856ca11660b4bfb805
eyguardHostView.java
eeabf942263d55eb9b1ac0b9a525bd917cfc1f30 11-Sep-2012 Jim Miller <jaggies@google.com> Merge "Allow pattern to start from outside pattern view" into jb-mr1-dev
5bf7800de6d14a55d0c6ee006425fa79c3f8d21e 11-Sep-2012 Amith Yamasani <yamasani@google.com> Merge "Force keyguard if there are multiple users" into jb-mr1-dev
b70ff9a181234ffb69e51db2148ed865eb3a6ca7 08-Sep-2012 Amith Yamasani <yamasani@google.com> Force keyguard if there are multiple users

Otherwise there would be no way to switch users if a user chooses None as lock screen.

Also adjust some layout params for Preference items to align the icons and text.

Change-Id: Ib11bb961edaef90de280bc7137d10b68765aea98
eyguardViewMediator.java
5737534abab477cf32b4dd0aa7a72f70ede0502c 10-Sep-2012 Jim Miller <jaggies@google.com> Allow pattern to start from outside pattern view

This effectively makes the pattern view slippery, which enables the
user to start their pattern outside the view and cross the view.

Fixes bug 7118762

Change-Id: I085c5ec8f7ccd2fc37a10606a8925078dc44be13
eyguardHostView.java
eyguardPatternView.java
eyguardSecurityViewFlipper.java
eyguardUpdateMonitor.java
41bd89f6b61296492d3775e5ef30e94c5f18d34f 10-Sep-2012 Wu-cheng Li <wuchengli@google.com> Merge "Pass EXCLUDE_FROM_RECENTS when starting secure camera." into jb-mr1-dev
644ea77b4fdafee48a4869d2ae7595673ee3a092 09-Sep-2012 Jim Miller <jaggies@google.com> This enables the back button in keyguard

When pressed, the back button now takes the user to the selector screen.

Change-Id: Ib8d86c6fe0b46de5ad482d526783b4542fdb3336
eyguardHostView.java
1ac44eb94d41019961209716052cc81f526440f8 08-Sep-2012 Jim Miller <jaggies@google.com> Merge "Don't hide the PIN keyboard even when a physical keyboard is present." into jb-mr1-dev
e46efc046074ecb49439ed9a557e5c79c0582468 08-Sep-2012 Jim Miller <jaggies@google.com> Enable lazy-loading of security views in keyguard

This change removes all but the default KeyguardSelectorView from KeyguardViewHost
to (1) reduce the overall memory footprint (2) reduce initial layout inflation
time and (3) avoid initializing the camera until needed by face unlock.

Fixes bug 7127666

Change-Id: Ibac1838dd7a490dcadbfab5bdfdd82734b69055a
eyguardHostView.java
ac8f5751f52fa445af641604e476703dd5e89504 08-Sep-2012 Jim Miller <jaggies@google.com> Don't hide the PIN keyboard even when a physical keyboard is present.

Originally this was done for aesthetics when we had a physical keyboard on
devices. The code also used to hide the PIN keyboard when a BT keyboard is
attached.

We now always show the keyboard, even when a physical keyboard is present.

Change-Id: I8e1f3af200071382bfe267c28d92062758ebb790
eyguardPasswordView.java
2ab0113b1ec34c96b84e8be9aac1a3f1e9d3ccb8 07-Sep-2012 Wu-cheng Li <wuchengli@google.com> Pass EXCLUDE_FROM_RECENTS when starting secure camera.

Camera started from the secure lock screen does not
show all the pictures in the camera roll. If users
launch camera from recent apps, they may enter secure
camera mode accidentally. Pass EXCLUDE_FROM_RECENTS
flag to prevent this.

bug:7053266
Change-Id: I0ad526d919dac02f358b25493777d7d73da6987f
eyguardSelectorView.java
a56f8f7ca2298f1516115be60e07a8193737293e 07-Sep-2012 Jim Miller <jaggies@google.com> Merge "Fix EmergencyDialer button on devices without telephony hardware" into jb-mr1-dev
b75111df9bf22496bacb7a6f9d9412e4a7b6827f 07-Sep-2012 Brian Muramatsu <btmura@google.com> Merge "Add wireless to KeyguardUpdateMonitor isPluggedIn" into jb-mr1-dev
47df44aad773fb2a46d4c07e20278c7d8c0b16be 07-Sep-2012 Jim Miller <jaggies@google.com> Fix EmergencyDialer button on devices without telephony hardware

This fixes showing the emergency dialer on devices without telephony.
Two fixes were required: 1. Move emergency dialer code to the view
that contains it (KeyguardSelectorView). 2. Always call onPause()
or onResume() in onScreenTurnedOff() and onScreenTurnedOn(), respectively.

Fixes bug 7117895

Change-Id: I96769fdda8478b6b60f46f7470bed2279ea2de72
eyguardHostView.java
eyguardSecurityModel.java
eyguardSelectorView.java
eyguardStatusView.java
eyguardStatusViewManager.java
66b9fb1662b304d24984af1ac4cc02f2ae8f4cc3 06-Sep-2012 Adam Cohen <adamcohen@google.com> Iintial stab at multi-user switcher on Keyguard

Change-Id: I604a769ef43c354a8eeadb415e413c19ca02571d
eyguardHostView.java
eyguardMultiUserAvatar.java
eyguardMultiUserSelectorView.java
eyguardWidgetFrame.java
eyguardWidgetPager.java
a92a01bb0bb458401af90bed5a46d932278160d7 06-Sep-2012 Brian Muramatsu <btmura@google.com> Add wireless to KeyguardUpdateMonitor isPluggedIn

Bug 7114383

It looks like this wasn't carried over from the old keyguard.

Change-Id: I79d47ac36d84289a3afd9d6df6582a6c8e541181
eyguardUpdateMonitor.java
5830cb2882b38182f414423ae1bc901cc27767cc 06-Sep-2012 Jim Miller <jaggies@google.com> Cosmetic code changes to face unlock after review.

Change-Id: I6e4face14c1585ed7123ae9c055b5ac3ccc86395
eyguardFaceUnlockView.java
d2d4a6456579ea460afb6baf3a4e7cb2a27d55fb 06-Sep-2012 Jim Miller <jaggies@google.com> Merge "Keep local reference to KeyguardStatusViewManager so it doesn't get GC'd" into jb-mr1-dev
6212cc0d3f59139421ceeaf630f6494239d81cd1 06-Sep-2012 Jim Miller <jaggies@google.com> Keep local reference to KeyguardStatusViewManager so it doesn't get GC'd

This fixes a bug where we'd stop updating the status view in keyguard
because KeyguardStatusViewManager had no references.

It also fixes a bug where KeyguardUpdateMonitor wasn't removing objects
because objects were being compared with WeakReferences rather than the
content of the WeakReferences.

Bug:7095359

Change-Id: I2d9df6097b2270655ad3662bcf7a6757e0515363
eyguardSelectorView.java
eyguardStatusView.java
eyguardUpdateMonitor.java
000464ac012471d301c6e48a8228291519915e17 05-Sep-2012 Jim Miller <jaggies@google.com> Initial pass at re-enabling face unlock in new keyguard.

Change-Id: I187629f9c4bfd810f11c73416db6e41b56f09a45
aceUnlock.java
eyguardFaceUnlockView.java
eyguardHostView.java
27230f076a0f3a3e461405cc61088fa306d9847c 05-Sep-2012 Jim Miller <jaggies@google.com> Merge "Better flow for SIM PIN/ SIM PUK screens in keyguard." into jb-mr1-dev
f73fbf79a1db4bc5ccc829c8a84f3431ab986cbc 05-Sep-2012 Jim Miller <jaggies@google.com> Don't depend on LockPatternUtils to get DevicePolicyManager

This fixes a crash where LockPatternUtils hasn't been set yet and
keyguard attempts to get the device policy for widgets.

This change breaks the dependency by getting a handle to DPM directly.

Bug:7109723

Change-Id: Iecae91474358821ebd30456648377253864c35cf
eyguardHostView.java
4b09dd31fb1cefcaee87e7a206f22ba31527e250 04-Sep-2012 Jim Miller <jaggies@google.com> Better flow for SIM PIN/ SIM PUK screens in keyguard.

We now fade between security screens when not coming from selection view.
In the case of SIM PIN/PUK screens, this means we show the user's security
screen without going back to the selector view.

This change also adds a fade animation for when we go between security screens
without going back to the selector view.

This also fixes a bug where we were invoking two checks for the SIM
state - one for ACTION_DOWN and another for ACTION_UP.

Change-Id: I260f9a2e0316cbf26ec7621f774bfdf9956ca488
eyguardHostView.java
eyguardSimPinView.java
eyguardSimPukView.java
175ae55c0d62b6adbc9b3cc215ad2e65a8b40cc3 05-Sep-2012 Jim Miller <jaggies@google.com> Merge "Update DevicePolicyManager with ability to disable keyguard widgets" into jb-mr1-dev
b8ec470617590fa2025db869e8e80dcce8eaec23 01-Sep-2012 Jim Miller <jaggies@google.com> Update DevicePolicyManager with ability to disable keyguard widgets

Change-Id: I5876e9e180b2a995aaa355fbbb2b67cebb86104d
eyguardHostView.java
d36ebe03c997cc034ba85d06e1fa0da8df047794 01-Sep-2012 Jim Miller <jaggies@google.com> Keyguard bug fixes

Bug:7088530 Lockscreen falsely states "Wrong PIN"
Bug:7091531 Owner name no longer shown on slide to unlock screen, Nakasi
Bug:7091131 When entering a SIM PIN, focus is not put onto the pin entry box
Change-Id: I5c7e957083b25a3445804ea092d962163d187fa1
eyguardPasswordView.java
eyguardSimPinView.java
eyguardStatusViewManager.java
258341c377b6aa9f1bd29a9b507a97967e432dfe 31-Aug-2012 Jim Miller <jaggies@google.com> Lots of keyguard improvements
- Fix "too many attempts" dialogs
- Fix account unlock mechanism so the user can use email account as backup for pattern unlock
- Add mechanism to support future account recovery from non-pattern screen
- Tune animation timing for flipping security view.
- Move password field to the top of the security view
- Add padding and visual feedback to navigation area button

Fixes bugs 7088482, 7088631

Change-Id: I23099feae3b7446ec291d8f860601bfc12f9edd8
eyguardHostView.java
eyguardNavigationManager.java
eyguardPatternView.java
eyguardSecurityCallback.java
eyguardSecurityModel.java
eyguardUpdateMonitor.java
eyguardViewMediator.java
eyguardWidgetFrame.java
5b81de4de741f736889fd86e1dd324ad88136ebe 30-Aug-2012 Jim Miller <jaggies@google.com> Merge "Fix Camera and GoogleNow launching in keyguard" into jb-mr1-dev
5f75aa15d7c1c5ea1c1eecd95bf2bb0920173eb2 30-Aug-2012 Jim Miller <jaggies@google.com> Fix Camera and GoogleNow launching in keyguard

This change allows keyguard to launch the secure camera when the device
is in a secure mode. It also allows launching delayed actions after the
user has entered their security, such as that required for GoogleNow.

Change-Id: I54975001728ced3c339f86eafc3a38cea606082b
eyguardHostView.java
eyguardSecurityCallback.java
eyguardSelectorView.java
f2dfc351dec58ad3c16f8496208b4e6e9c667efe 30-Aug-2012 Jim Miller <jaggies@google.com> Integrate overscroll into KeyguardWidgetView.

This integrates overscroll behavior into keyguard.

Change-Id: I19c0f70c85a4ebb0ddd3f433b6f88a992f40919b
eyguardHostView.java
eyguardWidgetFrame.java
eyguardWidgetPager.java
eyguardWidgetView.java
95b005c196de2f99513da28fe9108b2dec200140 30-Aug-2012 Jim Miller <jaggies@google.com> Fix MENU key in keyguard.

This re-enables the MENU key in keyguard so that automation tests still work.

Change-Id: I3d2fbf9240e12dc4a243354fa09e5d639304be6e
eyguardHostView.java
dcb3d84b82cc2448d04e73359a716581bfb657db 24-Aug-2012 Jim Miller <jaggies@google.com> Replace keyguard with new implementation

This change refactors keyguard to be more modular and maintainable. More
specifically, it replaces the top-level view with just one device-dependent
view that contains two views: a widget area and a security area.

The widget area can be populated with custom widgets.

The security area contains the current security method as dictated by
the stored password quality.

This change contains both the old and the new keyguard with the old keyguard
still enabled. The new keyguard will be enabled in a subsequent change.

Change-Id: Id75286113771ca1407e9db182172b580f870b612
iometricSensorUnlock.java
aceUnlock.java
eyguardAccountView.java
eyguardFaceUnlockView.java
eyguardHostView.java
eyguardNavigationManager.java
eyguardPasswordView.java
eyguardPatternView.java
eyguardSecurityCallback.java
eyguardSecurityModel.java
eyguardSecurityView.java
eyguardSelectorView.java
eyguardSimPinView.java
eyguardSimPukView.java
eyguardStatusView.java
eyguardStatusViewManager.java
eyguardUpdateMonitor.java
eyguardUpdateMonitorCallback.java
eyguardViewBase.java
eyguardViewManager.java
eyguardViewMediator.java
eyguardWidgetView.java
agedView.java