1673 Commits

Author SHA1 Message Date
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
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
Jim Miller
b5f3b707a7 Wire up "add widget" in keyguard
Change-Id: If10e91b4ed1289259f04e0dca91db4ce8645a0f7
2012-10-21 19:09:23 -07:00
Jim Miller
d6523da1ad 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
2012-10-21 17:45:09 -07:00
Jim Miller
838906b165 Get basic keyguard working in new branch
This merges the changes from the proto app into the framework.
Basic functionality tested on phone in portrait:

- Slide
- Pattern
- PIN
- Password (wonky)
- SIM PIN

Change-Id: I21b2c30cf05dc01ffb20948f41a044e7af1db25f
2012-10-19 18:42:56 -07:00
Dianne Hackborn
7ad4438414 Fix issue #7353900: Brief flash of home screen while dream starts on lock screen.
Not very clean, this has a special hack in the window manager to
redo layout when a dream window is shown.  After MR1 we should clean
this up (and the various other special dream hacks).

Change-Id: Ic1a5a2b10a0a07b4a5dccdbf0736b614ec06dd4a
2012-10-19 16:40:13 -07:00
Jeff Sharkey
8d9a1f66d9 More migration to Global settings.
Bug: 7375796
Change-Id: I3954ce141ad30073896090a28eee743ba15fd736
2012-10-18 15:38:14 -07:00
Jeff Brown
586503d51f Merge "Add special mirroring modes for demonstration purposes." into jb-mr1-dev 2012-10-18 00:06:48 -07:00
Craig Mautner
c6ccb29b9a Merge "Call requestFocus and ensure that screenOn is set." into jb-mr1-dev 2012-10-17 20:25:12 -07:00
Jeff Brown
27f1d674bf Add special mirroring modes for demonstration purposes.
Assume rotation of HDMI display is portait.
$ adb shell setprop persist.demo.hdmirotation portrait

Don't lock rotation while HDMI is plugged in.
$ adb shell setprop persist.demo.hdmirotationlock false

Hide secondary displays from apps but continue mirroring to them.
$ adb shell setprop persist.demo.singledisplay true

Bug: 7326281
Change-Id: I8f9a3b0bc19821a3a01043b0f516806dac82ce53
2012-10-17 18:41:31 -07:00
Craig Mautner
904732c457 Call requestFocus and ensure that screenOn is set.
When maybeCreateKeyguardLocked was called from methods other than
show(), the requestFocus() call on the new KeyguardHostView was
never made.

At boot time the screen on notification was not propagated to
KeyguardViewManager because the showListener callback was null.
This passes on the notification but does not make the callback
if it is null.

Bug: 7299119 fixed.
Change-Id: Iaf058954473dc63fe4864ab1f435db4463b1110e
2012-10-17 15:35:43 -07:00
Fabrice Di Meglio
e9a33c6098 Merge "Fix bug #7363252 Popup and Dialog UI widgets should be RTL aware" into jb-mr1-dev 2012-10-17 11:18:13 -07:00
Dianne Hackborn
dec9e1640a Merge "Fix issue #7343719: GlobalActions dialog (power off / airplane mode / sound off)" into jb-mr1-dev 2012-10-17 10:45:08 -07:00
Fabrice Di Meglio
cf12897cf5 Fix bug #7363252 Popup and Dialog UI widgets should be RTL aware
- set the Configuration's layout direction in ViewRootImpl instead of PhoneWindow$DecorView
- then remove unecessary API on ListPopupWindow for passing the layout direction

Change-Id: Ia2c6e4aa8cb82aed9b088bc3b8004ea0a1ded1f3
2012-10-16 20:59:04 -07:00
Dianne Hackborn
bef0f617a0 Fix issue #7343719: GlobalActions dialog (power off / airplane mode / sound off)
does not show if you press on power button when the "low battery" dialog is showing up

Always put the global actions dialog in the keyguard dialog layer (above
the keyguard).  I don't see any reason to have it change layers based
on whether the keyguard is showing.

Change-Id: I1bd3600af9f115d662d2a4783f835e234db1b7f0
2012-10-16 18:34:48 -07:00
Steven Ross
e4728b15cb Merge "Stopping Face Unlock immediately on detaching from window fixes 7338808" into jb-mr1-dev 2012-10-16 17:44:53 -07:00
Jim Miller
48994ce945 Merge "Fix missing layout parameters in keyguard." into jb-mr1-dev 2012-10-16 17:28:08 -07:00
Jim Miller
bdffd5c3a1 Fix missing layout parameters in keyguard.
This addresses crashes caused by an upcoming change to crash
when missing layout_width and layout_height attributes are missing.

Change-Id: I71044b4623d04cab41f4aee6a7a5c01b67b0d2a5
2012-10-16 13:55:13 -07:00
Steven Ross
9a9f4ce1e2 Stopping Face Unlock immediately on detaching from window fixes 7338808
The refactoring broke my fix for 7222226.  We need to stop Face Unlock without
any messaging delay when the window is detached to avoid it starting with an
invalid window, or stopping right after it restarts.

Change-Id: Iea23989ec2ab3ad7d1a57e2d1fb85163a6396024
2012-10-16 13:56:37 -04:00
Craig Mautner
f6dbd61b10 Merge "Always layout Keyguard on config change." into jb-mr1-dev 2012-10-15 22:05:55 -07:00
Jim Miller
3398752832 Merge "Fix inoperative "Forgot pattern" button when face unlock enabled" into jb-mr1-dev 2012-10-15 18:37:00 -07:00
Jim Miller
63f9b81795 Fix inoperative "Forgot pattern" button when face unlock enabled
This fixes a bug where the forgot pattern button wasn't working because
the logic for face unlock was interfering with determining the proper
backup to use.

The fix:
- adds a new state to SecurityMode so we have an initial condition
we can check for.
- passes the current mode to SecurityModel.getBackupSecurityMode() so
it relies on the current state.
- prevents face unlock from invoking callbacks that change state
once we're no longer showing face unlock.

Fixes bug 7346989

Change-Id: I4e64515efbbad712f11c820e690b458f352bf46c
2012-10-15 18:16:24 -07:00
Svetoslav Ganov
25160a6f35 Merge "Announce changes to the keyguard security message for accessibility." into jb-mr1-dev 2012-10-15 17:15:44 -07:00
alanv
f6d1afd141 Announce changes to the keyguard security message for accessibility.
Bug: 7352702
Change-Id: I790d7be08b222ae3cb76459064802f587c3e6f30
2012-10-15 15:37:44 -07:00