History log of /frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardWidgetPager.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ed88cee15b4f2245d4d191cf007f2b78d07788b9 11-Jan-2014 Selim Cinek <cinek@google.com> Fixed issue on Keyguard camera icon, where dragging on it
did not properly trigger abortion of the camera animation.

Also minorly simplified the touch slop calculation

BUG: 12036618
Change-Id: If01b48c815200066b32a37ffc44949edde1376f9
/frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardWidgetPager.java
6b0afaddae378f28d0a8a7f75b800e840ba0a239 29-Oct-2013 Jim Miller <jaggies@google.com> Fix flash caused by frame resize code

This fixes a problem where the frame would resize mid-animation because
the widget frame was being always being resized.

The issue was caused by having an extra fadeOutChallenge() in
onPageSwitching(). The fix is to remove this and handle this case
special for warping in onPageEndWarp()

Fixes bug 11190745

Change-Id: I6dbda4d09c77e3923887f8d41efb2215e1afb1b9
/frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardWidgetPager.java
4d20ed3f26d1ec2c47519484bcc968098581c3d6 19-Oct-2013 Jim Miller <jaggies@google.com> Revert "Fix dodgy states of keyguard transport controls"

This reverts commit bdb5ac7ddbabec0ba947a32937d8b95738d513dc.

Change-Id: Iea8db9a590a2a3b65d941b2918345eb27f690240
/frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardWidgetPager.java
bdb5ac7ddbabec0ba947a32937d8b95738d513dc 16-Oct-2013 Adam Powell <adamp@google.com> Fix dodgy states of keyguard transport controls

If a layout has already been requested when we want to show the
correct widget pane, post the event for later and immediately return.

This works because PagedView has some interesting ideas about
maintaining a consistent state. It will attempt to recalculate the
current page position during measurement, but thanks to a reliance on
this measurement to establish scrolling boundaries that scrollTo uses
for clamping plus other code that depends on the idea that it can add
a new widget pane view and immediately scroll to it, this attempt to
scroll fails if the target page was added and measurement is not yet
complete. This patch ensures we don't hit these edge cases in a few
known ways.

While this ends things in the correct state, it predictably has a few
visual artifacts. Situations where things would completely fail
before, positioning pages incorrectly or fading out wrong pages now
will briefly flash and fade the widget frames or in some cases will
visibly animate from the starting page to the correct one. We should
address these issues in a future release.

Bug 11217368
Bug 9760604

Change-Id: I989d03b5bfdd5b6403a6b67a8aae7585ca0c8ae0
/frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardWidgetPager.java
c162dd049084681711526b219ea997aa23f5ad98 26-Sep-2013 Jim Miller <jaggies@google.com> Fit and finish for camera affordance animations in keyguard
- better timing
- animate warp back when finger is released.
- Improve on/off screen animation for warped view
- Re-use existing constants for consistent timing.
- Hide the challenge area when the camera page is settling.
- Reduce jank when camera page starts snap transition.
- Prevent warping from going to previous page
- Smoothly blend between PagedView and Warp animations when scrolling starts.

Bug 10991981

Change-Id: I84822790a040a2ce2dcea60a9486f01df9cff105
/frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardWidgetPager.java
8de9e443d85df22d93898bf92cb612553313aecc 20-Sep-2013 Jim Miller <jaggies@google.com> Fit and finish for navbar camera affordance

- fix potential event dispatch bug where camera events weren't always propagated
- fix DelegateViewHelper to always propagate events, even when disabled

Bug 10332383

Change-Id: Ie082d3074fc6497ee3633dcc0a51a6b08bcf0037
/frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardWidgetPager.java
f4db8f997307179ea42b33b8d3c6621b2d8ec0bc 20-Sep-2013 Jim Miller <jaggies@google.com> Fit and finish for navbar camera affordance

- disable search gadget while interacting with camera
- clean up code that deals with warping to track both warp and swap views.
- fade camera and search icon when camera touched
- slide camera view on screen when camera is touched.
- fix fling of camera page to center in view when animation finishes.
- resolve stateful bug between edge swipe and camera button.

Bug 10332383

Change-Id: I8fc38148a01927bc7c228101308c3c4214113047
/frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardWidgetPager.java
caf24fc2c4bb9747eb80138bf3ce0be067851749 11-Sep-2013 Jim Miller <jaggies@google.com> Add camera affordance to navigation bar on phones

This adds a camera button on phones that can be used to show
and launch the camera.

- Minor refactoring of touch event dispatch in PagedView.
- Disables usability hints when keyguard loads.
- Only add a touch handler for camera icon once during layout.
- Update after review.
- Updated with latest UX camera and camera background assets

Change-Id: I09cd5cb0e501fd0f4659bea96d00c92b07f805c4
/frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardWidgetPager.java
afab4fd00b0e045027442bfc43e9fb1afb56aa04 26-Apr-2013 Svetoslav <svetoslavganov@google.com> am c6eeacd9: am c38bc5ab: Merge "Lockscreen widgets not always announced." into jb-mr2-dev

* commit 'c6eeacd9341c0348c2eb29d1808eb17ea08464f4':
Lockscreen widgets not always announced.
3f4e82b1909615f5c75d84104cb09e019c8bfdae 11-Apr-2013 Jim Miller <jaggies@google.com> am 3ef8f64d: am 5c58a916: Merge "Fix missing clock in keyguard" into jb-mr2-dev

* commit '3ef8f64d3faac1b110c737e69472be710d07d158':
Fix missing clock in keyguard
5ecd81154fa039961f65bb4e36d18ac555b0d1d6 10-Jan-2013 Jim Miller <jaggies@google.com> Move keyguard to its own process.

This is in preparation to moving keyguard into its own process.

Moved keyguard source and resources into new .apk.

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

Added new ACCESS_KEYGUARD_SECURE_STORAGE permission.

Temporarily disabled USER_PRESENT broadcast.

Remove unintentional whitespace changes in PhoneWindowManager, etc.

Checkpoint basic working version.

Move to systemui process.

Synchronize with TOT.

Sync with recent user API changes.

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

More keyguard crash robustness.

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

Fix selector view which was still using frameworks resources.

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

Allow runtime switching between service and local mode.

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

Fix PIN keyboard input.

Remove unnecessary copy of orientation attrs.

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

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

Merge with AppWidget userId changes in master.

Change-Id: I254d6fc6423ae40f6d7fef50aead4caa701e5ad2
/frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardWidgetPager.java
25a272a9f6323f6a3513bb522d45e839449878ce 10-Jan-2013 Jim Miller <jaggies@google.com> Move keyguard source and resources into new package

This is part 1 of two commits. This commit moves all keyguard
source and resources to a new com.android.keyguard package.
The second part of this change applies an overlay that makes
it work.

Change-Id: I360e9ac7783c6cb289c992733818b9535df185b9
/frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardWidgetPager.java