1868 Commits

Author SHA1 Message Date
Adam Cohen
7741e6209a Merge "Making sure the sticky widget logic works with music" into jb-mr1-lockscreen-dev 2012-11-06 13:40:30 -08:00
Adam Cohen
d6f8960b68 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
2012-11-06 13:20:40 -08:00
Amith Yamasani
5eac4d852b 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.
2012-11-06 12:58:35 -08:00
Chris Wren
9f79d0db09 Merge "make challengeShowing sticky across bounce." into jb-mr1-lockscreen-dev 2012-11-06 12:56:57 -08:00
Amith Yamasani
f763b71756 Merge "Authenticate correct user's account when pattern fails multiple times." into jb-mr1-dev 2012-11-06 12:56:17 -08:00
Chris Wren
f7e47a003a Merge "specify start value: Drawables don't have getAlpha(). also, some clean up." into jb-mr1-lockscreen-dev 2012-11-06 12:39:48 -08:00
Chris Wren
03ad0c0950 make challengeShowing sticky across bounce.
Bug: 7482335
Change-Id: I94811c778c66c78655988f7ff6e4c6d59dac831d
Proto-Id: I3e10968c2a627ac392f39ffc3a6ae5fb33f78117
2012-11-06 15:17:13 -05:00
Chris Wren
50bf545842 specify start value: Drawables don't have getAlpha().
also, some clean up.

Bug: 7477513
Change-Id: Iaf05c1ae78ed4e7ba9d4cd3c713b5862a04b61f6
Proto-Id: I28d0569b88a978e1fff2acad1869bc10751dc37f
2012-11-06 15:17:12 -05:00
John Spurlock
65cbcbea8a Remove add widget transition jank (insecure).
Refactor to use common activity launcher.

Still work to do on secure.

Bug:7482560
Change-Id: I2f8869afe8172850e1cb019a051aaeb49bb8c5bc
2012-11-06 11:41:29 -05:00
John Spurlock
ae73c6908f Fix regression in camera transition.
Caused by: Ic18188a2a3caa9dfde8785611242b1c9925f7b87
  "Adding bouncer animation on PagedView."

Bug:7483566
Change-Id: Ie0b4e7cf3d4dc717cac02c7cf8a1ec24b9b860a6
2012-11-06 09:48:03 -05:00
Michael Jurka
08924d007f Merge "Supporting EXTRA_APPWIDGET_OPTIONS correctly" into jb-mr1-lockscreen-dev 2012-11-05 23:06:40 -08:00
Jim Miller
87d0366d9e Fix NPE caused by applications that try to hide keyguard while it's not showing
Fixes bug 7466360

Change-Id: Idec4c60c2ca2477e49e0f4526ae2357353d4a1e3
2012-11-05 20:28:09 -08:00
Michael Jurka
0a75b94872 Supporting EXTRA_APPWIDGET_OPTIONS correctly 2012-11-05 18:57:10 -08:00
Amith Yamasani
2c7bc26a74 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
2012-11-05 18:17:40 -08:00
Winson Chung
48275d2de9 Adding bouncer animation on PagedView. (Bug 7459660)
- Adding Remove text for translations.

Change-Id: Ic18188a2a3caa9dfde8785611242b1c9925f7b87
2012-11-05 16:15:34 -08:00
Adam Powell
9ff6d4f8db Merge "Keyguard sanity checks for when layout is not yet complete" into jb-mr1-lockscreen-dev 2012-11-05 15:52:43 -08:00
Adam Powell
5a2c5f0efa Keyguard sanity checks for when layout is not yet complete
Bug 7470163

Change-Id: I1e5f860ab39633f6c5e2046f6f18424227842406
2012-11-05 15:44:29 -08:00
Adam Cohen
6f72b1c917 Fix small widgets not showing up on tablet (issue 7471516)
Change-Id: Ie217268ef9c96512942f64b8ffd7e1d54a0ea850
2012-11-05 15:20:42 -08:00
Adam Powell
5da6430fff 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
2012-11-05 14:26:33 -08:00
Chris Wren
b3f87c24ee Merge "bouncer: hide more text and frame less." into jb-mr1-lockscreen-dev 2012-11-05 12:24:11 -08:00
Steven Ross
025fb93e3e 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
2012-11-05 13:49:31 -05:00
Chris Wren
c0ae9e67eb bouncer: hide more text and frame less.
Bug: 7464865
Change-Id: Ic8dac2582c014922143919f142fd36eb720dd3a9
Proto-Id: Id80601c9ffbdc34669b485e943b42cee237898f3
2012-11-05 13:30:26 -05:00
Amith Yamasani
d812e7a10e am fca8d258: Merge "Remove power menu user switcher" into jb-mr1-dev
* commit 'fca8d258c5699ad2703d46181c492e78e1dc87a8':
  Remove power menu user switcher
2012-11-05 09:33:57 -08:00
Amith Yamasani
fca8d258c5 Merge "Remove power menu user switcher" into jb-mr1-dev 2012-11-05 09:31:48 -08:00
John Spurlock
57f928fc4a Recover from badly behaving 3rd party secure cameras.
Bug:7473953
Change-Id: I8daf18c85d951e03fa1c98dda5f255327f96f0ba
2012-11-05 10:40:23 -05:00
Jim Miller
08898375fb Show bouncer mode for Slide mode in keyguard if widget isn't expanded
Change-Id: If225198b0c6b122fef854ddd91e49c1071b74d50
2012-11-04 19:08:40 -08:00
Adam Cohen
8caabadd02 Making challenge come back if within the same gesture you return to the original page (issue 7422999)
Change-Id: I8ada54ca39ebebc15295f93a2d9029f3b7915acb
2012-11-04 17:25:12 -08:00
Adam Cohen
7f6bb6e460 Ensure edge swiping is enforced immediately upon showing keyguard (issue 7453156)
Change-Id: I197a5304bbea904b58494a9dcb7ff95ff3c4a52b
2012-11-04 14:01:40 -08:00
Adam Cohen
25228801ba Fix issue 7468224, make sure to size pages if page changes
Change-Id: I8b3d7573eda7ed8e6a9aa479e61737fb12e26b92
2012-11-04 13:20:26 -08:00
John Spurlock
6275b3f1f3 Use better signal for camera launch.
Keyguard set-hidden instead of window lost focus.

Tested with face unlock.

Bug:7464536
Change-Id: I6171c96699d1b1ccfebd7a14179d90963fb8aa54
2012-11-04 13:48:42 -05:00
John Spurlock
37d84ae605 Render camera widget on a background thread.
Bug:7470978
Change-Id: Ieace005ac42d39ac4c146673910e6681f38e8f56
2012-11-04 11:11:47 -05:00
John Spurlock
f70239a431 Fully block user interactions when transitioning to camera.
Bug:7464265
Change-Id: I654b3d7c455f782495946988bb2e5198ff4252ec
2012-11-04 09:42:42 -05:00
Dianne Hackborn
47eb0c103a am 2ea9bae7: Fix issue #7457380: IME leaves a mark after user switching
* commit '2ea9bae7121f1df5461437d7d08fa550cdf6e0b0':
  Fix issue #7457380: IME leaves a mark after user switching
2012-11-03 23:37:36 -07:00
Adam Cohen
934d0835c8 Fixing up overscroll / hints on tablet
Change-Id: I8b0ce30b02b2d13d71826d6765d154f5ab89072b
2012-11-03 20:03:27 -07:00
Adam Cohen
5d47a8dc2e Cleaning up the overscroll effect
Change-Id: I685693fa178fb7b6418145554eb320b1a62d7462
2012-11-03 19:19:11 -07:00
Adam Cohen
db1c5d596e 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
2012-11-03 17:14:38 -07:00
Adam Cohen
7cefef7c7c Merge "Making screen hints just side page outlines, as per new design (issue 7467968)" into jb-mr1-lockscreen-dev 2012-11-02 22:03:23 -07:00
Adam Cohen
45adaa7020 Making screen hints just side page outlines, as per new design (issue 7467968)
Change-Id: Iff66e0b01cca89337227e54033f6245d6833a5ff
2012-11-02 22:00:57 -07:00
Dianne Hackborn
2ea9bae712 Fix issue #7457380: IME leaves a mark after user switching
The gnarly stuff where we keep track of the old input method
window as if it was still there was sitting around leaving things
in a stuck state.  Now we clear this out at key points in the
window manager (freezing screen, user change), and the input
method manager service is less aggressive about asking the window
manager to do it.

Also fixed a problem that was causing flickers during some
wallpaper transitions -- when we are animating two things on
top of the wallpaper and one of them disappears, we need to
make sure the wallpaper target points to whatever the current
target should be (if any), not left pointing to the old target
that has gone away.

Change-Id: I2fb9600f569a5bd5e3528aaf24cde9340af56cb0
2012-11-02 18:56:01 -07:00
Jim Miller
fe43e2b178 Merge "Attempt to fix MENU key issue." into jb-mr1-lockscreen-dev 2012-11-02 17:35:13 -07:00
Jim Miller
75931e0547 Attempt to fix MENU key issue.
Bug 7467642

Change-Id: If9ee91fc17b454dd47945e800e90d76c0faa7f3d
2012-11-02 16:47:39 -07:00
Svetoslav Ganov
f74d0c39b6 Merge "Polish user selector accessibility." into jb-mr1-lockscreen-dev 2012-11-02 15:55:11 -07:00
Amith Yamasani
912133a496 Remove power menu user switcher
Bug: 7466189
Change-Id: Ieb5e637f3e0b557eb616b5531a0a05a38a788fab
2012-11-02 15:38:17 -07:00
Adam Cohen
ff105ea2f6 Merge "Fix pages disappearing (issue 7456885)" into jb-mr1-lockscreen-dev 2012-11-02 15:35:30 -07:00
Svetoslav Ganov
fc9c4cd51b 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
2012-11-02 15:32:25 -07:00
Adam Cohen
196cde973f Fix pages disappearing (issue 7456885)
Change-Id: I51e4510da06a9b81aaefb8b2165234297ad4de92
2012-11-02 15:28:12 -07:00
Chris Wren
81af21e67c Merge "hide the correct text, and more text, on bounce" into jb-mr1-lockscreen-dev 2012-11-02 13:28:57 -07:00
Chris Wren
052999f3c9 hide the correct text, and more text, on bounce
Bug: 7464865
Change-Id: I39dc6f06ce0403a29e4802fcc5288788cffb6070
2012-11-02 16:28:18 -04:00
Daniel Sandler
a96cd636ec Merge "Improve PIN key layouts." into jb-mr1-lockscreen-dev 2012-11-02 12:34:16 -07:00
Daniel Sandler
80bc85a791 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
2012-11-02 15:31:48 -04:00