2245 Commits

Author SHA1 Message Date
Adam Cohen
44dc141376 Clean up some flashy jank (issue 7454766)
Change-Id: I809f3afbbb70e82847aa4851d20058a2c483a32e
2012-11-07 21:39:56 -08:00
Adam Powell
e7e210cb43 Merge "Fiddle with keyguard glowpad layouts" into jb-mr1-lockscreen-dev 2012-11-07 21:06:31 -08:00
Winson Chung
2635750fa7 Adding workaround to fix issue where the bouncer animation had the wrong pivot.
Change-Id: I500fb765cf206b97cc0b585c195cc647cc8e63f1
2012-11-07 20:57:33 -08:00
Adam Powell
3fbbbb66b6 Fiddle with keyguard glowpad layouts
Also add hierarchyviewer support for KeyguardSecurityView LayoutParams

Bug 7497272
Bug 7459668

Change-Id: I5d03751571d0af66f4c9d08a9d9ca476b32735ac
2012-11-07 20:47:23 -08:00
Jim Miller
ae0161e7af Merge "Don't handle click events on the emergency button in bouncer mode" into jb-mr1-lockscreen-dev 2012-11-07 19:52:08 -08:00
Adam Powell
d8e2fdf734 Merge "Use stable layouts for keyguard/SlidingChallengeLayout" into jb-mr1-lockscreen-dev 2012-11-07 18:31:46 -08:00
Adam Powell
eec4fe2cbe 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
2012-11-07 18:15:59 -08:00
Jim Miller
8bbafed48b 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
2012-11-07 18:10:49 -08:00
Daniel Sandler
5c533884ea Merge "Make dismissKeyguardLw use KeyguardViewMediator.dismiss()." into jb-mr1-lockscreen-dev 2012-11-07 18:03:11 -08:00
Winson Chung
4181e8a4ac Merge "Fixing issue where you can reorder/delete a non-widget page. (Bug 7493984)" into jb-mr1-lockscreen-dev 2012-11-07 17:50:24 -08:00
Winson Chung
c065a5d727 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
2012-11-07 17:44:42 -08:00
Adam Cohen
85c4281aae Merge "Fixing up overscroll asset / sizing" into jb-mr1-lockscreen-dev 2012-11-07 17:08:31 -08:00
Jim Miller
5da893c93b Merge "Add one more check for detecting crashes while inflating multiuser widget" into jb-mr1-lockscreen-dev 2012-11-07 17:01:53 -08:00
Adam Cohen
d51700b3cc Fixing up overscroll asset / sizing
-> No more jaggies! yay (issue 7459049)
-> Fixed up weird overscroll state (issue 7489094)

Change-Id: I5d6714a6f5f007ea0f73e4cf34a20572c5f43f64
2012-11-07 16:54:35 -08:00
Jim Miller
f6ab5f9e3e Add one more check for detecting crashes while inflating multiuser widget
Fix bug 7437751

Change-Id: I2e1d94458db9e56e049dae32f088b13a21803217
2012-11-07 16:15:13 -08:00
Jim Miller
4096288022 Merge "Implement fallback clock in keyguard" into jb-mr1-lockscreen-dev 2012-11-07 16:05:46 -08:00
Jim Miller
edc74abf8a 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
2012-11-07 15:58:47 -08:00
John Spurlock
0b435ae59e am 9a962d7c: am 64091a1d: am 8aa62362: am ae73c690: Fix regression in camera transition.
* commit '9a962d7c7df9ff762e3d9798cde868ad73b164db':
  Fix regression in camera transition.
2012-11-07 15:10:20 -08:00
Michael Jurka
eebf218ad4 am e4cc20d1: am 7dfbe2d6: am 3eaa876c: am 08924d00: Merge "Supporting EXTRA_APPWIDGET_OPTIONS correctly" into jb-mr1-lockscreen-dev
* commit 'e4cc20d1148addab9f6f27bad70b3f6d437ea06c':
  Supporting EXTRA_APPWIDGET_OPTIONS correctly
2012-11-07 15:10:16 -08:00
Jim Miller
91cc386e55 am d3bd6eb8: am 16ddf343: am 8eb3048a: am 87d0366d: Fix NPE caused by applications that try to hide keyguard while it\'s not showing
* commit 'd3bd6eb8b2f348c19fbbe79a11c0dc9aa5f27637':
  Fix NPE caused by applications that try to hide keyguard while it's not showing
2012-11-07 15:10:08 -08:00
John Spurlock
9a962d7c7d am 64091a1d: am 8aa62362: am ae73c690: Fix regression in camera transition.
* commit '64091a1da0e87937ad42c8ae0d5e3dd3913b297b':
  Fix regression in camera transition.
2012-11-07 15:06:45 -08:00
Michael Jurka
e4cc20d114 am 7dfbe2d6: am 3eaa876c: am 08924d00: Merge "Supporting EXTRA_APPWIDGET_OPTIONS correctly" into jb-mr1-lockscreen-dev
* commit '7dfbe2d6a7a3d6f11d522f44b5339c7a6d3f2a1b':
  Supporting EXTRA_APPWIDGET_OPTIONS correctly
2012-11-07 15:06:41 -08:00
Jim Miller
d3bd6eb8b2 am 16ddf343: am 8eb3048a: am 87d0366d: Fix NPE caused by applications that try to hide keyguard while it\'s not showing
* commit '16ddf343a61dfc93ff9a6fc4721b8fb16010da48':
  Fix NPE caused by applications that try to hide keyguard while it's not showing
2012-11-07 15:06:33 -08:00
Michael Jurka
fd8c388f02 Merge "Fix bug where newly added widget wasn't always shown" into jb-mr1-lockscreen-dev 2012-11-07 15:02:08 -08:00
Jean-Baptiste Queru
f5a79d313e am 476fceab: Merge 5418dd92
* commit '476fceaba3e8c8d5b775fc07ad098792fc757f76':
  Adding bouncer animation on PagedView. (Bug 7459660)
2012-11-07 14:54:34 -08:00
Jean-Baptiste Queru
476fceaba3 Merge 5418dd92
Change-Id: I50cd61c9dce55d528005b8d36dddf5cc62af89a8
2012-11-07 14:41:18 -08:00
Michael Jurka
1413889565 Fix bug where newly added widget wasn't always shown
Bug: 7491900

Change-Id: I878eea745ee6127b757aa945631c1a4eb08d9936
2012-11-07 14:22:26 -08:00
Adam Powell
c717d110ae Merge "Fix keyguard measurement bugs" into jb-mr1-lockscreen-dev 2012-11-07 14:14:24 -08:00
Adam Powell
eeb6255056 Fix keyguard measurement bugs
Bug 7493748
Bug 7493764

Change-Id: I2182ec4347eefc80198e675684bc5d195f947763
2012-11-07 14:07:46 -08:00
Chris Wren
8e3bf41d8b Merge "add logging to enableUserSelectorIfNecessary." into jb-mr1-lockscreen-dev 2012-11-07 13:49:03 -08:00
Chris Wren
d2dec00a0a add logging to enableUserSelectorIfNecessary.
Bug: 7437751
Change-Id: I4a223ac68f780dac212ee5ed0729d59278fd1e4b
2012-11-07 16:38:33 -05:00
Daniel Sandler
1ce804397f Make dismissKeyguardLw use KeyguardViewMediator.dismiss().
It previously did some of the logic of dismiss() itself:
checking to see if the KG is secure, and if not, proceeding
to call keyguardDone() to actually hide everything. But now
that we have the "bouncer" authentication UI, the WM should
let the keyguard challenge the user to see if even a secure
keyguard should be dismissed. (Insecure keyguards should
behave exactly has they did before.)

Unless, of course, the KVM is in a "dismissable" state, in
which case it's safe to call keyguardDone() directly. (This
can happen if the user has *already* authenticated and we're
ending up in this codepath in response.)

Bug: 7458531
Change-Id: I9571acf19f9bcc16bba7a826f916da7be8ca9c33
2012-11-07 16:38:21 -05:00
Kenny Root
7b172a49a9 am 58ed5d74: am 768d9e1a: Merge "Correct executable bit for source files"
* commit '58ed5d748c0b9b64845975ef5844ad313de7c3f6':
  Correct executable bit for source files
2012-11-07 13:08:25 -08:00
Chris Wren
b524f4b928 Merge "add some defensive code to enableUserSelectorIfNecessary." into jb-mr1-lockscreen-dev 2012-11-07 12:39:54 -08:00
Chris Wren
91f080c777 add some defensive code to enableUserSelectorIfNecessary.
Bug: 7437751
Change-Id: I3f8e317624f158fce0d58be69b733699a208d802
2012-11-07 15:21:37 -05:00
Kenny Root
58ed5d748c am 768d9e1a: Merge "Correct executable bit for source files"
* commit '768d9e1a72ceee7d4a5f608776b87b62d6ce4a04':
  Correct executable bit for source files
2012-11-07 11:52:12 -08:00
Adam Cohen
8f837a690b Merge "Storing boot completed in KeyguardUpdateMonitor so it is persistent (issue 7492235)" into jb-mr1-lockscreen-dev 2012-11-07 11:51:06 -08:00
Adam Cohen
4eb36cfdca Storing boot completed in KeyguardUpdateMonitor so it is persistent (issue 7492235)
Change-Id: I736816dac8cea47632fbdbc75b367f2c6216dff7
2012-11-07 11:45:30 -08:00
Jim Miller
259e3121d3 am 51117262: Handle DevicePolicyManagement and safe mode when inflating widgets
* commit '51117262c8fadb6d227d137e83ad66996b013141':
  Handle DevicePolicyManagement and safe mode when inflating widgets
2012-11-07 11:14:14 -08:00
Adam Powell
de565f3bcb am 7136544c: Merge "Keyguard - MultiPaneChallengeLayout measurement/layout changes" into jb-mr1-lockscreen-dev
* commit '7136544c06c2d10c7a1c6aa8715d2b717221aee8':
  Keyguard - MultiPaneChallengeLayout measurement/layout changes
2012-11-07 11:14:04 -08:00
Chris Wren
888322a659 am 5fcca70d: Merge "animating challenge closed should close the challenge." into jb-mr1-lockscreen-dev
* commit '5fcca70d280a789002f540ea04b9d7ae5d7fe324':
  animating challenge closed should close the challenge.
2012-11-07 11:13:57 -08:00
Winson Chung
43ecd1912c am 6cf53bb3: Using screen dimensions to calculate the expanded PagedView dimensions.
* commit '6cf53bb3a94ec5a6eebc96a315dac32d042f1945':
  Using screen dimensions to calculate the expanded PagedView dimensions.
2012-11-07 11:13:52 -08:00
Danielle Millett
2f4be247b6 am 2d9fae2b: Merge "Removing callbacks in onDetachedFromWindow, fixes b/7465673" into jb-mr1-lockscreen-dev
* commit '2d9fae2bcfbc8021873a39b3935644e9b9fb5af2':
  Removing callbacks in onDetachedFromWindow, fixes b/7465673
2012-11-07 11:13:43 -08:00
Adam Cohen
441d3401bf am 7741e620: Merge "Making sure the sticky widget logic works with music" into jb-mr1-lockscreen-dev
* commit '7741e6209ab4c6425ee4156631f54fe9bfce5fc3':
  Making sure the sticky widget logic works with music
2012-11-07 11:13:37 -08:00
Chris Wren
950f947cea am 9f79d0db: Merge "make challengeShowing sticky across bounce." into jb-mr1-lockscreen-dev
* commit '9f79d0db09818e94b6c2089f952d1ef42e1e1fae':
  make challengeShowing sticky across bounce.
2012-11-07 11:13:27 -08:00
Chris Wren
98f95b3af1 am f7e47a00: Merge "specify start value: Drawables don\'t have getAlpha(). also, some clean up." into jb-mr1-lockscreen-dev
* commit 'f7e47a003ada4b225dcafe722ab0de35a846b58a':
  specify start value: Drawables don't have getAlpha(). also, some clean up.
2012-11-07 11:13:24 -08:00
Kenny Root
3a084af2e9 Correct executable bit for source files
Many media files and source code files were marked as executable in Git.
Remove those.

Also a shell script and python script were not marked as executable.

Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
2012-11-07 10:27:31 -08:00
Chris Wren
cf9ee4c55d Merge "Don't pop the IME for passwors at ScreenOn on tablets." into jb-mr1-lockscreen-dev 2012-11-07 09:12:32 -08:00
Chris Wren
a042ac9064 Don't pop the IME for passwors at ScreenOn on tablets.
Change-Id: I4c157559b2a70021d55211607c1d62ba73adc590
2012-11-07 11:53:41 -05:00
John Spurlock
34c4fe523a 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
2012-11-07 10:22:06 -05:00