1745 Commits

Author SHA1 Message Date
Adam Powell
67625e2920 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
2012-10-26 15:13:00 -07:00
John Spurlock
358148e386 Implement "sticky" widget logic.
(frameworks/base)
Used after screen-off, and after launching camera.

Bug: 7418847
Change-Id: I5179e6af13be4494fde77fde2cdb5610ab888dac
2012-10-26 15:58:13 -04:00
Daniel Sandler
61426f3d83 Merge "Remove the handle headroom if the challenge is open." into jb-mr1-lockscreen-dev 2012-10-26 10:57:58 -07:00
Daniel Sandler
b42b842ee8 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
2012-10-26 12:50:27 -04:00
Daniel Sandler
c9a7d98999 Merge "Expand top of touchable area of challenge drag handle." into jb-mr1-lockscreen-dev 2012-10-26 08:55:17 -07:00
Daniel Sandler
1bfcc82184 Expand top of touchable area of challenge drag handle.
Change-Id: I8d471041205cd929e899903daae61d5ac948597c
Proto-Id: I5f44a135451c1cd86bbe4fb8ebd1af7609715ce3
2012-10-26 11:25:49 -04:00
Chris Wren
f0fd172a7d lock out clicks while switching.
Bug: 7416992
Change-Id: Ic0fcf809c4d9bb3515dd1168d427f8b22d5f76b6
Proto-Id: I0ea871fb012feb2e17249e37a9253861f2ef5011
2012-10-26 10:08:16 -04:00
John Spurlock
47cde77bc7 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
2012-10-26 08:25:51 -04:00
Adam Powell
6f35209e72 Integrate assets from UX; drag/bouncer animation behavior in slider
Integrated changes from prototype app

Change-Id: I5f017431531b6d12aca89a674d865402c60c2104
2012-10-25 21:28:27 -07:00
Jim Miller
9b1db682c3 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
2012-10-25 19:39:58 -07:00
Jim Miller
a71984f3da 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
2012-10-25 18:16:30 -07:00
Michael Jurka
1254f2f42f Persist reordering/deleting widgets on keyguard
Also, clean up warnings from unused imports

Change-Id: Id0ef12a584ffdaa8a4fb64ffe93d0dda0af398ec
2012-10-25 16:43:10 -07:00
Jim Miller
f90716c9cc Merge "Route signals from SlidingChalleng to SecurityView" into jb-mr1-lockscreen-dev 2012-10-25 14:35:20 -07:00
John Spurlock
7de482babc 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.
2012-10-25 14:17:22 -07:00
Jim Miller
bbba68a14a 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
2012-10-25 14:12:52 -07:00
Adam Powell
0b1b552268 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
2012-10-25 13:57:19 -07:00
John Spurlock
3e98b9afe6 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
2012-10-25 16:15:30 -04:00
John Spurlock
dcc9681b0d Manual frameworks/base merge from lockhotness (camera).
Change-Id: I8649ef77b706120a2297ddccd9bbb4d7ddf026a9
Proto-Id: Ia60ed9ee263b6053b9ca00d71fbd3ffc64a96278
2012-10-25 14:35:19 -04:00
Daniel Sandler
7bc8af3abc Haptics for PIN enter key
Change-Id: Ie9d026847a6231b89cba55baf74e795f30ac857d
2012-10-25 11:13:18 -04:00
Daniel Sandler
acb60fb577 Haptics for PIN keys.
Change-Id: I65b12a614f344faef140334658ec1e627094e05e
2012-10-25 10:46:37 -04:00
Daniel Sandler
d5692742c1 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
2012-10-25 03:30:28 -04:00
Daniel Sandler
2c1ce0564f Cleaning up password input.
Starting to try to show the IME at the right times.

Change-Id: Idc681304c309022666a03c26885a5c94ab4ec2a2
2012-10-25 01:30:00 -04:00
Jim Miller
df99b1d5d3 Merge "Fix new password view in keyguard" into jb-mr1-lockscreen-dev 2012-10-24 20:18:00 -07:00
Jim Miller
86f9637d7b 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
2012-10-24 20:14:47 -07:00
Michael Jurka
147dfc8642 Merge "Adding ability to add multiple widgets to keyguard" into jb-mr1-lockscreen-dev 2012-10-24 18:28:21 -07:00
Michael Jurka
aa2859ae61 Adding ability to add multiple widgets to keyguard
Bug: 7381803
2012-10-24 17:41:34 -07:00
Adam Powell
eee209313d Beginnings of bouncer support; add scrims and state tracking
Integrating from prototype app

Change-Id: Ib142cf371c5997f547266d8af7e25129fb4e1343
2012-10-24 16:33:44 -07:00
Adam Powell
c0657fb36c Integrate changes from lockscreen proto app
Fix padding/layout issues in MultiPaneChallengeLayout

Change-Id: I610b4c0cc321a690fa29d071d6a960c05ffbe3a7
2012-10-24 14:01:37 -07:00
Chris Wren
f0cec427a4 Merge "remove debug logs." into jb-mr1-lockscreen-dev 2012-10-24 13:27:40 -07:00
Chris Wren
dc0d12278a remove debug logs.
Change-Id: I8d0066bdce1c93c7a3da0fa36d865c674e5dcd40
Proto-Id: I7ac6b8c8a664dbd7abda089fcd9edb8d7ccc3208
2012-10-24 16:26:34 -04:00
Adam Cohen
a9f166695b Merge "Fading side pages as per mock" into jb-mr1-lockscreen-dev 2012-10-24 13:18:39 -07:00
Adam Cohen
6fb841fa21 Fading side pages as per mock
-> Also, adding side pages hints when keyguard is inflated

Change-Id: I33f073ed97510a5982cddc4ee95f1ee3ed3c9397
2012-10-24 13:15:38 -07:00
Chris Wren
28c5ee9ea9 catch exceptional cases on factory-fresh devices.
Change-Id: I2019b4f31415efba72b5a3b5d659e41595e506f6
Proto-Id: I8a57f9f6f5b7339df3e243ecc51fb311f6ac8981
2012-10-24 16:05:14 -04:00
John Spurlock
86b6357e5e Manual f/b merge of lockhotness camera integration.
Change-Id: I5c7c3c49e13656e9ba4a3761be7d503642d5b76f
2012-10-24 13:30:02 -04:00
Jim Miller
19a5267003 Merge latest prototype changes into keyguard
Change-Id: Ibec6e9a7667ec730a25a58226c3203332af64b24
2012-10-23 19:52:04 -07:00
Svetoslav Ganov
e1655c980d Merge "When A11y is on, use a longer interval between lockout announcements." into jb-mr1-dev 2012-10-23 17:35:24 -07:00
alanv
c2798a916e When A11y is on, use a longer interval between lockout announcements.
Bug: 7384471
Change-Id: I72ac1fe7646588c9c7185cb0186f1e990b3a2f72
2012-10-23 17:26:17 -07:00
Danielle Millett
7c420ec698 Merge "Handling popups correctly for face unlock" into jb-mr1-lockscreen-dev 2012-10-23 15:42:22 -07:00
Danielle Millett
f6d0fc190c 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
2012-10-23 18:34:03 -04:00
Daniel Sandler
69bdee7c87 Integrate new PIN pad.
Change-Id: I08d6551dfde501c5526eb6fd641ae08475c1365b
2012-10-23 16:45:50 -04:00
Chris Wren
3867ddabbe Merge "merge new multiuser avatars in from proto app" into jb-mr1-lockscreen-dev 2012-10-23 12:29:05 -07:00
Chris Wren
692bb13352 merge new multiuser avatars in from proto app
Change-Id: I6a7f63738279be1c036061b4cea461e94fb51658
2012-10-23 13:48:38 -04:00
John Spurlock
31821c5b61 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.
2012-10-23 04:14:11 -07:00
Jim Miller
022554e3da Merge latest prototype changes into keyguard
- multi-user avatar stuff.
- new SlidingChallengeLayout changes.

Change-Id: I45bec7313b71dbca16544e7525281bf6c0e44a25
2012-10-22 19:06:05 -07:00
Jim Miller
c28261d4fa Merge "Wire up "add widget" in keyguard" into jb-mr1-lockscreen-dev 2012-10-22 18:52:37 -07:00
Jim Miller
086977094d 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
2012-10-22 16:50:50 -07:00
John Spurlock
1bbd49d72e 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
2012-10-22 17:10:25 -04:00
Amith Yamasani
aad8cd4daa 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
2012-10-22 13:34:29 -07:00
Amith Yamasani
cd75706117 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
2012-10-22 12:38:53 -07:00
Dianne Hackborn
a582c5081b am f584f111: Merge "Fix issue #7353900: Brief flash of home screen while dream starts on lock screen." into jb-mr1-dev
* commit 'f584f1112772fdffce13cba38995b9e28adca191':
  Fix issue #7353900: Brief flash of home screen while dream starts on lock screen.
2012-10-22 10:32:19 -07:00