History log of /frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
efbfa685b678c010342f28ebed1b3b70efae201c 08-Nov-2012 Chris Wren <cwren@android.com> add bouncer frame to glowpad.

Bug: 7497916
Change-Id: I6bddbfc91c89b0855eba0dcec46bc1b88684b8ad
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.java
70c2f8736437ebb6073c3b6dab2e08e6dd9f39a6 08-Nov-2012 Winson Chung <winsonc@google.com> Synchronizing bouncer duration with page scaling duration.

Change-Id: I9fba381582a083ce2ab26375698c5a6f3d554a1b
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.java
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
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.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
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.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
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.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
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.java
03ad0c09502c72c02af464f1e273af3b6ff799cc 06-Nov-2012 Chris Wren <cwren@android.com> make challengeShowing sticky across bounce.

Bug: 7482335
Change-Id: I94811c778c66c78655988f7ff6e4c6d59dac831d
Proto-Id: I3e10968c2a627ac392f39ffc3a6ae5fb33f78117
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.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
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.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
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.java
5a2c5f0efacf5f11a928c8481f6747c3d13ddcfd 06-Nov-2012 Adam Powell <adamp@google.com> Keyguard sanity checks for when layout is not yet complete

Bug 7470163

Change-Id: I1e5f860ab39633f6c5e2046f6f18424227842406
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.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
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.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
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.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
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.java
052999f3c94df2659e6e3e7730a2810980f718f7 02-Nov-2012 Chris Wren <cwren@android.com> hide the correct text, and more text, on bounce

Bug: 7464865
Change-Id: I39dc6f06ce0403a29e4802fcc5288788cffb6070
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.java
1ec464679f731827f626856084f19643fff64a94 02-Nov-2012 John Spurlock <jspurlock@google.com> Block swipe up gesture if challenge non-interactive.

Change-Id: I0f9ba918c072261614011cd675e417e54296366f
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.java
78a8f126a9af0c4994188adeba1b955b5d4afd28 02-Nov-2012 John Spurlock <jspurlock@google.com> Properly disable challenge handle.

Bug:7464304
Change-Id: Ib69ccc66bbd348fc3ad17e5097522a0976838daa
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.java
bb5c941149b66c0192736468bb60f47984dd5e1f 31-Oct-2012 John Spurlock <jspurlock@google.com> Disable security handle when swiping into camera widget.

Bug:7444313
Change-Id: I3eb268a41bc8b8a4323e55577a775c5ab3cef10d
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.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
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.java
c238af5112bee38b3143a65849bd41785c3744b0 01-Nov-2012 Adam Powell <adamp@google.com> Keyguard sliding challenge - fix overeager touch interception

Bug 7458287

Change-Id: I31f196539eecab1df5835e8ac1a76d9732a332fe
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.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
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.java
6e36f1019cb6d7098b49e036e1640c8cfc6880cf 01-Nov-2012 John Spurlock <jspurlock@google.com> Fix launcher flash during secure camera transition.

Bug:7452928
Change-Id: I8b7d9bdb14addefb9e9ed71a45d438418b3e21dd
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.java
74bdd21629681528dbe7f3ea363d99c8514e026b 01-Nov-2012 Svetoslav Ganov <svetoslavganov@google.com> Adding a button for expanding the clock screen challenge.

Change-Id: Ia39303012251cf7cc4dadac030d1aa471ceff776
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.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
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.java
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
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.java
5be14ded6762bc51fabbbecb1b2ec01a8c758631 30-Oct-2012 Adam Cohen <adamcohen@google.com> Addressing a couple comments on previous CL

Change-Id: I6ee066a5e6c2dadff921bb2ed7e91ea2601eec05
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.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
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.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
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.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
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.java
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
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.java
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
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.java
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
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.java
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
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.java
1bfcc82184824c8dc648a0948303f4b3611ac087 26-Oct-2012 Daniel Sandler <dsandler@android.com> Expand top of touchable area of challenge drag handle.

Change-Id: I8d471041205cd929e899903daae61d5ac948597c
Proto-Id: I5f44a135451c1cd86bbe4fb8ebd1af7609715ce3
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.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
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.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
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.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
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.java
86b6357e5eb91950eac7de7ffe29e5a4ad32903b 24-Oct-2012 John Spurlock <jspurlock@google.com> Manual f/b merge of lockhotness camera integration.

Change-Id: I5c7c3c49e13656e9ba4a3761be7d503642d5b76f
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.java
19a5267003e7dc70100a4bd4f1f449523b2ff38b 24-Oct-2012 Jim Miller <jaggies@google.com> Merge latest prototype changes into keyguard

Change-Id: Ibec6e9a7667ec730a25a58226c3203332af64b24
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.java
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
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.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
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/SlidingChallengeLayout.java