4102 Commits

Author SHA1 Message Date
Winson Chung
3133616d92 Merge "Listening for widget changes while Recents is in the background. (Bug 17153663)" into lmp-dev 2014-09-18 22:45:26 +00:00
Adrian Roos
59b17d83eb Merge "Disable QS user switcher when not supported" into lmp-dev 2014-09-18 21:28:11 +00:00
Adrian Roos
81e3e941fb Disable QS user switcher when not supported
Bug: 17570310
Change-Id: Id32e076928c92c663645024f0d38b26ec4667b78
2014-09-18 21:11:20 +02:00
Winson Chung
bf5dbf1c15 Enabling recents stack clipping
The taskviews now avoid overdraw by clipping invisible
parts. Also adapted some timings of the animation.

Bug: 17455301
Change-Id: Ifbf7bab363e530cb2ad842baed50fc16dcfcc4c4
2014-09-18 18:34:17 +00:00
Jorim Jaggi
a8433c6512 Merge "Add option for recents to use fake shadows" into lmp-dev 2014-09-18 18:33:42 +00:00
Selim Cinek
9aefd41557 Merge "Removed round rect clipping and hardware layers from recents" into lmp-dev 2014-09-18 18:33:26 +00:00
Adrian Roos
595f6d912a Merge "Reinitialize emergency calls only view if configuration changes" into lmp-dev 2014-09-18 18:32:07 +00:00
Jason Monk
3ad242df72 Block QS in sec. users setup when simple
When simple user switcher is enabled block QS for secondary users
during setup.

Bug: 16782635
Change-Id: Ibc39c61675f8728d73a5f8ef04d0613ff36af909
2014-09-18 18:26:39 +00:00
Jason Monk
2bc75f0821 Merge "Fix crash from USER_PRESENT broadcast in sysui" into lmp-dev 2014-09-18 16:12:06 +00:00
Adrian Roos
72cc3702d2 Fix wrong face unlock size
Bug: 17533062
Change-Id: I532d7197fcd59baffd8f6c4e76a9fb8eda389eac
2014-09-18 17:25:09 +02:00
Jason Monk
cf5a9530f7 Fix crash from USER_PRESENT broadcast in sysui
Since sending the USER_PRESENT broadcast too early in the boot
process can result in a SecurityException, don't do auto-unlock
until after the boot has completed.

Bug: 17464800
Change-Id: Iee3d0b9723ed38abddf0bdde009f95331881008b
2014-09-18 11:02:19 -04:00
Adrian Roos
763546a15a Merge "Don't crash if a user can't be created" into lmp-dev 2014-09-18 12:47:45 +00:00
Jorim Jaggi
cb5570316d Add option for recents to use fake shadows
Bug: 17522143
Change-Id: I61fdecf8c5aa86b6dacd65ff8729590553d0854a
2014-09-18 14:26:52 +02:00
Selim Cinek
e8199c582d Removed round rect clipping and hardware layers from recents
This saves us a lot of memory and we avoid the clipToOutline.
The view still looks the same, as we now draw the thumbnail
in a rounded rect.
We now only use a hardware layer on the header, which is much
smaller.

Bug: 17522143
Change-Id: I197a1172efe8450ffb0b537c780a240d38f84275
2014-09-18 14:26:35 +02:00
Dan Sandler
1391d8a9b3 Merge "Living with the LLand." into lmp-dev 2014-09-18 11:34:18 +00:00
Dan Sandler
4455da985d Living with the LLand.
Bug: 15984887
Change-Id: I2a42a064587db3478d865348f860bda07217f7dd
2014-09-18 06:57:28 +00:00
Winson Chung
905950abd0 Listening for widget changes while Recents is in the background. (Bug 17153663)
Change-Id: Ibaff45e988deda21280b684757396a73bb3294c0
2014-09-17 23:25:39 +02:00
Adrian Roos
54f934cd0c Reinitialize emergency calls only view if configuration changes
Bug: 17420007
Change-Id: I2eec7a04e86e776aff5da3c059469dcdaa780445
2014-09-17 18:36:35 +02:00
Adrian Roos
f99727cb87 Don't crash if a user can't be created
Bug: 17543257
Change-Id: I3ef4ac1524a0e23b4ce1d77c4c05c97f061adc97
2014-09-17 16:19:18 +02:00
John Spurlock
386831dc3c Merge "Zen: Fix recent regression in mode selection after reboot." into lmp-dev 2014-09-16 21:54:02 +00:00
John Spurlock
4291fb79c7 Zen: Fix recent regression in mode selection after reboot.
Bug:17509473
Change-Id: I761cd90384c490c7ab07fb633133535846701ce6
2014-09-16 17:02:23 -04:00
Jorim Jaggi
072707dfad Use RenderThread for navigation bar ripples
Bug: 17506181
Change-Id: Icf3b80f8c4bc29fe85313381d4019dda3ef85ea9
2014-09-16 17:51:55 +00:00
John Spurlock
50a8ea6ec2 Doze: Workaround vibration-related pickup gestures.
Ensure the pickup is registered a safe period of time after the
last notification before resetting the notification pulse schedule.

Bug:17496795
Change-Id: I0edc9bcbdf078cbf55df5935744a3eee7e902b5d
2014-09-16 09:12:03 -04:00
Adam Lesinski
61d9409239 Show the lockscreen when more than 1 user is present
Bug:17399024
Change-Id: Iaf2ea2747cbcd9db45ba9faa7c8fe0389a799855
2014-09-15 17:46:10 -07:00
John Spurlock
5ff1d4f848 Merge "Doze: Aggressively dial down notification-related pulses." into lmp-dev 2014-09-15 19:37:56 +00:00
John Spurlock
190d026167 Doze: Aggressively dial down notification-related pulses.
When dozing and buzz-worthy notifications arrive, don't follow
the LED logic with periodic pulses.

Instead, follow a simple decay schedule after the initial arrival,
 pulsing only at 10s, 30s, 60s, and 120s.

The schedule is reset when a new notification arrives, but only
for the first three times, until either the pickup sensor is
triggered or the device exits doze.

Also:
 - Make the notification trigger configurable.
 - Centralize existing sysprop configuration into DozeParameters.
 - Decouple vibration from debugging, make separately configurable.
 - Remove "delayed" pulse concept, fold into new schedule.

Bug:17496795
Change-Id: I64fc1c862bcfa1c288a4fd91c9d17e3bff245add
2014-09-15 15:35:56 -04:00
Selim Cinek
a2f945e227 Merge "Changed the swipe up search affordance" into lmp-dev 2014-09-15 17:18:40 +00:00
Selim Cinek
92d892c0cd Changed the swipe up search affordance
The previous card animation is removed and replaced by a animating
circle with a shadow. Also fixes several cases where the card could
either get stuck and the affordance was not launched.

Bug: 17457300
Bug: 17444236
Change-Id: I005313a1dbe63d338490e6100dd3bd01e35687ba
2014-09-15 17:25:40 +02:00
Jorim Jaggi
50949eaff7 Fix priority for recent task thumbnail loader
Follow up CL for Id9a32f87ca3f9f19e5cad5f115d54b19b26f4f93

Bug: 16513124
Change-Id: I3e95d0ae56a273c482db31b377f66fe7397d01f8
2014-09-15 16:08:17 +02:00
Jorim Jaggi
81e0c8491f Aggressive tuning of recents memory usage
Limit the thumbnail count to a maximum of 10 thumbnails and the app
icon count to a maximum of 20 thumbnails, instead of using a
byte-size based limit.

Also prune entries immediately when leaving recents.

Bug: 16513124
Change-Id: Id9a32f87ca3f9f19e5cad5f115d54b19b26f4f93
2014-09-15 10:56:35 +02:00
Dan Sandler
8cd9e2db31 NavigationBarView: Fix NPE in Drawable.setVisible()
Bug: 17495735
Change-Id: I9d5ed5a324ae5c08ea0c225104c41b44462aff22
2014-09-14 21:25:08 -04:00
Jorim Jaggi
49b03451f9 Merge "Fix jank while unlocking and security is set" into lmp-dev 2014-09-14 21:40:15 +00:00
John Spurlock
7ca1161e30 Merge "Saver: PowerManager call to set low power mode." into lmp-dev 2014-09-14 19:36:13 +00:00
John Spurlock
8d4e6cb060 Saver: PowerManager call to set low power mode.
- Add an explicit power manager call to set the low power mode state,
  instead of trying manage everything around a single setting.
- When low-power mode is triggered by falling below the configured
  threshold, it does not update the setting.
- The "is-enabled" api returns setting || below configured trigger.
- Move the snooze management into the new api call.
- Callers (sysui + settings) updated to use the api instead of the
  setting.
- Handles the case where the level does an unpowered leap out of the
  low battery level. (Possible if powered in-between while the device
  is off)

Bug:17460535
Change-Id: Ic030504c9cad9868a7137abbe837b170da37852b
2014-09-14 14:07:23 -04:00
Dan Sandler
ca68f2ca45 Merge "Customized ripple animation for navigation bar" into lmp-dev 2014-09-14 17:44:33 +00:00
Jorim Jaggi
416493bf66 Fix jank while unlocking and security is set
- Delay showing the bouncer and playing the entrance animation for a
  couple of frames.
- Do not disable back button on the normal Keyguard. This makes the
  entrance animation nicer and fixes some jank due to the need to
  draw into both windows.
- Prevent setPadding(...) call when nothing changes. setPadding would
  invalidate the padding for the whole view hierarchy, which results
  in a slower measure() when setting the window to invisible.

Bug: 17419960
Change-Id: I4a239d4af40ad86875e4a0dd08473f19a5c9b961
2014-09-14 18:04:15 +02:00
Winson Chung
ba3306fc47 Merge "Adding null check for invalid recents task list. (Bug 17476926)" into lmp-dev 2014-09-14 07:12:40 +00:00
Winson Chung
625f055958 Merge "Fixing issue with stack not being fully centered. (Bug 17015153)" into lmp-dev 2014-09-14 07:12:29 +00:00
Christian Robertson
42310965fa Customized ripple animation for navigation bar
To implement the new gel-cap shaped ripple I resurrected the
onDraw and setPressed methods from the KitKat implementation.
The KitKat animation timings were adjusted to match the material
ripple, but the structure of the animators is the same as KitKat.

Since the new ripple is drawn directly to the canvas, the references
to the KitKat background image were removed.

The LogInterpolator is copied from the framework Ripple
to match the material animation curves.

Bug: 17112935
Change-Id: If6a3eb92de794b526338166bf8cb096eb9764cf6
2014-09-14 02:15:19 -04:00
Tyler Gunn
ef9f6f957d Renaming Telecomm to Telecom.
- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.

Bug: 17364651
Change-Id: I192cb5d189f55db012ea72ee82ccc5aedbc21638
2014-09-12 22:16:17 -07:00
Jeff Brown
2175e9c366 Add support for dozing after screen off.
On some devices, we want the screen off transition to complete before
we start dozing.  Added a new config.xml attribute config_dozeAfterScreenOff
to configure this behavior.

Defer starting dreams until the display is ready.

Fixed some minor issues in the system UI doze service when setting the
display state.

Bug: 16187655
Change-Id: Ib1bc60de5457166f4b4880732db5df989dda67a4
2014-09-12 17:31:54 -07:00
Robert Greenwalt
d118449477 Merge "Make status bar indicators reflect the network actually in use." into lmp-dev 2014-09-12 23:04:50 +00:00
Jorim Jaggi
a8a372220a Merge "Add touch disabled state output in dumpsys" into lmp-dev 2014-09-12 19:57:26 +00:00
Jorim Jaggi
50d87a7fb4 Add touch disabled state output in dumpsys
Bug: 17439581
Change-Id: I1e071e849b1196485b633716aebf19aebc63a4b2
2014-09-12 21:43:35 +02:00
John Spurlock
ce8a52f9aa Merge "Doze: Use configured doze brightness when pulsing." into lmp-dev 2014-09-12 19:26:42 +00:00
Jorim Jaggi
689d491d8a Merge "Avoid some more layer creations" into lmp-dev 2014-09-12 18:42:57 +00:00
Jorim Jaggi
cffd540c15 Merge "Attempt to fix invisible Keyguard #2" into lmp-dev 2014-09-12 17:44:59 +00:00
John Spurlock
f50dc4993f Doze: Use configured doze brightness when pulsing.
Use the framework doze brightness configured for this device
when pulsing, instead of a separately configured value.

Bug:17409425
Change-Id: Icadc00d6c20909375d4ab726ec254dbafd997ead
2014-09-12 13:26:00 -04:00
Jorim Jaggi
d41083ad06 Attempt to fix invisible Keyguard #2
Bug: 17439581
Change-Id: Ib38d9be3271081b33c23b3b17b2ed7790c71729b
2014-09-12 19:12:15 +02:00
Jorim Jaggi
e19b1ac57c Avoid some more layer creations
Bug: 17287256
Change-Id: I8c0c6f1f189b70d9a0c261f75987def3464d808d
2014-09-12 18:42:20 +02:00