6575 Commits

Author SHA1 Message Date
Dan Sandler
882df5be51 am 34c08655: Merge "Customized ripple animation for navigation bar" into lmp-dev
* commit '34c08655610018a0625fb6583df0e19a9c7f63dd':
  Customized ripple animation for navigation bar
2014-09-14 21:04:05 +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
98add61136 am a2e66053: Merge "Adding null check for invalid recents task list. (Bug 17476926)" into lmp-dev
* commit 'a2e66053456b4728997eff047515487ef20d87ec':
  Adding null check for invalid recents task list. (Bug 17476926)
2014-09-14 08:56:46 +00:00
Winson Chung
b96034fbb3 am 0973117b: Merge "Fixing issue with stack not being fully centered. (Bug 17015153)" into lmp-dev
* commit '0973117bd59659ddd4151d332fd61e64ca5b1b2f':
  Fixing issue with stack not being fully centered. (Bug 17015153)
2014-09-14 08:56:43 +00: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
6c8d6d74c0 resolved conflicts for merge of 66c16547 to lmp-sprout-dev
Also fixed issue in TelephonyManager.

Change-Id: I4dde45e638c2bcf32f8f929d34d0083966f6761f
2014-09-13 20:10:08 +00: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
3b817e38f3 am ce0a756f: Merge "Add support for dozing after screen off." into lmp-dev
* commit 'ce0a756fd13cf9feea1409b75534b260b187398e':
  Add support for dozing after screen off.
2014-09-13 01:03:07 +00: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
6a2d613675 am 5710ec48: Merge "Make status bar indicators reflect the network actually in use." into lmp-dev
* commit '5710ec483d879d833f19c25eef4d944161ec5a6e':
  Make status bar indicators reflect the network actually in use.
2014-09-12 23:14:00 +00: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
8ca2b02903 am d4bbdada: Merge "Add touch disabled state output in dumpsys" into lmp-dev
* commit 'd4bbdadacbbe1485766682d54e7093c3f4e0a7e7':
  Add touch disabled state output in dumpsys
2014-09-12 20:11:32 +00:00
Jorim Jaggi
a8a372220a Merge "Add touch disabled state output in dumpsys" into lmp-dev 2014-09-12 19:57:26 +00:00
John Spurlock
90b9c20d4d am 0db66c6b: Merge "Doze: Use configured doze brightness when pulsing." into lmp-dev
* commit '0db66c6b8f6cfda9535cff8814c1444ad85a261f':
  Doze: Use configured doze brightness when pulsing.
2014-09-12 19:48:45 +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
6d476e9938 am a853c623: Merge "Avoid some more layer creations" into lmp-dev
* commit 'a853c62323cef84ffc8442e0d1f6550ee7b1f99e':
  Avoid some more layer creations
2014-09-12 18:53:18 +00:00
Jorim Jaggi
347a07acaa am 570ed0e7: Merge "More notifications and bigger clock for phablets" into lmp-dev
* commit '570ed0e78b6d593560dd0347734210c2f2842b90':
  More notifications and bigger clock for phablets
2014-09-12 18:53:07 +00:00
Jorim Jaggi
60676af36a am 733bf7bd: Merge "Attempt to fix invisible Keyguard #2" into lmp-dev
* commit '733bf7bd9a834df719ac10c79d7044a16e5af968':
  Attempt to fix invisible Keyguard #2
2014-09-12 18:52:52 +00:00
Alexandra Gherghina
64a0adc47e am 443a5766: Merge "Assign default icon to users at creation time and in SystemUI." into lmp-dev
* commit '443a5766fa9b079c9612105cfe962d057fc98fe8':
  Assign default icon to users at creation time and in SystemUI.
2014-09-12 18:52:27 +00:00
Jorim Jaggi
689d491d8a Merge "Avoid some more layer creations" into lmp-dev 2014-09-12 18:42:57 +00:00
Jorim Jaggi
e9cfbadc35 Merge "More notifications and bigger clock for phablets" into lmp-dev 2014-09-12 18:31:21 +00:00
Jorim Jaggi
0b15e00675 More notifications and bigger clock for phablets
Bug: 16799035
Change-Id: I7aa6240ca8a06276640bafd531d92893cf53f40b
2014-09-12 20:13:44 +02: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
Alexandra Gherghina
64d4dca63f Assign default icon to users at creation time and in SystemUI.
Right now different code in System UI, Settings app and other places replace the
user icon with their own default. This tries to make it consistent by moving the
mechanism used in Settings in a helper class.

Bug: 17311038
Change-Id: Ic858c65bf82a98b9806dbba029e7cdcf441f372e
2014-09-12 15:43:42 +01:00
Winson Chung
6074c5c151 Fixing issue with stack not being fully centered. (Bug 17015153)
Change-Id: Id9d0d77d03ff0291fccb717d81754c239d8442b4
2014-09-12 13:56:32 +00:00
Winson Chung
4298b43592 Adding null check for invalid recents task list. (Bug 17476926)
Change-Id: Ie12b70282bf35de5c33634012e2b2e0a9e0c6af0
2014-09-12 15:25:46 +02:00
Jorim Jaggi
671dd09e10 am 135f086a: Merge "Add massive logging to investigate blank Keyguard" into lmp-dev
* commit '135f086a314690699229a98364b03e48e9651ec2':
  Add massive logging to investigate blank Keyguard
2014-09-12 07:22:32 +00:00
Jorim Jaggi
5262fe3a1a Merge "Add massive logging to investigate blank Keyguard" into lmp-dev 2014-09-12 00:30:28 +00:00
Jorim Jaggi
b01287fbfb Add massive logging to investigate blank Keyguard
This CL needs to be reverted after the issue is fixed, as it clutters
the code a lot.

Bug: 17439581
Change-Id: I548fdd73bbcd6d6ce727901f9dcd9f3f7268db9d
2014-09-12 02:17:48 +02:00
John Spurlock
07af6dc8e5 am 5d77d533: Merge "Doze: Introduce a pulse period function." into lmp-dev
* commit '5d77d533275690aa82a4713d75761ac03bb714bc':
  Doze: Introduce a pulse period function.
2014-09-11 18:38:46 +00:00
John Spurlock
3e42b33980 Merge "Doze: Introduce a pulse period function." into lmp-dev 2014-09-11 18:33:38 +00:00
John Spurlock
d06aa57037 Doze: Introduce a pulse period function.
Instead of pulsing every 30 seconds to mimic the LED, use
a function that pulses more frequently for new notifications,
decaying to a slower pulse, and eventually stopping.

Specifically, the step function for the interval is:
 - 10 seconds for the first minute
 - then 30 seconds until the five minute mark
 - then 60 seconds until the 30 minute mark
 - then no pulsing at all

 - Since we pulse more frequently on new notifications, remove
   the "multi-pulse" concept.
 - Move all doze-related duration parameters to a new helper,
   backed by config, overridable by sysprops, include in dump.
 - Wake up from dozing when hitting volume keys during a pulse.
 -
Bug:17393939
Change-Id: Ica86f08b25c738338fced165c77faf3dfccd0343
2014-09-11 14:25:11 -04:00
Jorim Jaggi
8d2707219d am 840b03de: Merge "Don\'t use layers when fading between public/private layout" into lmp-dev
* commit '840b03dec0630486675cf6fb5f412362ed7b0d37':
  Don't use layers when fading between public/private layout
2014-09-11 16:01:50 +00:00
Selim Cinek
b8cef7b8a5 am 2b304948: Merge "Fixed a crash when the more card or the dismissview was longpressed" into lmp-dev
* commit '2b304948e68a5bfe372a43b5dae3abb89eb3903e':
  Fixed a crash when the more card or the dismissview was longpressed
2014-09-11 16:01:39 +00:00
Selim Cinek
b44f63b694 am 31ffc0d6: Merge "Fixed a bug where the drag down animation was behaving wrong" into lmp-dev
* commit '31ffc0d6315a8a4f14c7d1f167e04cf03bec6774':
  Fixed a bug where the drag down animation was behaving wrong
2014-09-11 16:01:35 +00:00
Selim Cinek
b0482b3068 am e4de3fbe: Merge "Fixed a bug where the notifications and the clock could jump" into lmp-dev
* commit 'e4de3fbe2ff869ed904bbfaf54903b9095cb7206':
  Fixed a bug where the notifications and the clock could jump
2014-09-11 16:01:31 +00:00
Baligh Uddin
356a11a557 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-11 15:29:13 +00:00
Baligh Uddin
a11ba90099 Merge "Import translations. DO NOT MERGE" into lmp-sprout-dev 2014-09-11 15:29:05 +00:00
Jorim Jaggi
8353e76a99 Merge "Don't use layers when fading between public/private layout" into lmp-dev 2014-09-11 12:41:26 +00:00
Selim Cinek
72eda1729a Merge "Fixed a crash when the more card or the dismissview was longpressed" into lmp-dev 2014-09-11 12:20:21 +00:00
Selim Cinek
9d25c97ea0 Merge "Fixed a bug where the drag down animation was behaving wrong" into lmp-dev 2014-09-11 12:20:07 +00:00