10481 Commits

Author SHA1 Message Date
Baligh Uddin
0fc76f0755 Import translations. DO NOT MERGE
Change-Id: Ifb234cb1ae0c96f393e3b203488f61467d97c267
Auto-generated-cl: translation import
2014-09-14 19:11:15 -07: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
Svetoslav
2047df6f5f Merge "Page content sometimes missing while scrolling." into lmp-dev 2014-09-13 18:45:52 +00:00
Tyler Gunn
ead6ad8a38 Merge "Renaming Telecomm to Telecom." into lmp-dev 2014-09-13 17:32:49 +00:00
Svet Ganov
102f9398ee Merge changes Ife1c7cb0,I398ff797 into lmp-dev
* changes:
  Fixing controls allignment in print UI.
  Fix a crash in print spooler.
2014-09-13 17:13:32 +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
Svet Ganov
922507026a Fixing controls allignment in print UI.
Making some allignment tweaks based on UX feedback.

bug:17489187

Change-Id: Ife1c7cb0f55eb0398bca4a5e015ace24437ff2a6
2014-09-12 19:54:09 -07:00
Svet Ganov
05ff998fd8 Fix a crash in print spooler.
A recent bug fix exposed another one where we were not updating
the internal state of the remote print document after it finishes
updating. This resulted in a crash on every print.

bug:16966145

Change-Id: I398ff7976533241e3d4cb6cd27f69cdc25e67be9
2014-09-12 19:25:32 -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
Jeff Sharkey
c713bf79dd Merge "Fix boot loop when deriving device name." into lmp-dev 2014-09-12 23:00:48 +00:00
Jeff Sharkey
69aada9c7f Merge "Add xxxhdpi assets for DocumentsUI." into lmp-dev 2014-09-12 23:00:06 +00:00
Jeff Sharkey
ad59c43072 Fix boot loop when deriving device name.
Bug: 17490408
Change-Id: If1cc25a341eed4e41a7bf170bab077203fa19d15
2014-09-12 15:56:30 -07:00
Svetoslav
80adf03d6f Merge "Fix crash in spooler if printing app dies." into lmp-dev 2014-09-12 22:23:40 +00:00
Jeff Sharkey
3ad3b4f11a Add xxxhdpi assets for DocumentsUI.
Bug: 17486169
Change-Id: I26fd257ab9404b1c3985ee6861c9b81ec5e581bc
2014-09-12 14:50:59 -07:00
Svetoslav
e6ecba59fd Page content sometimes missing while scrolling.
The logic when a page view to request the content had a logical
error and it was getting in a bad state where it never requested
the content anymore. This change simplifies the logic and minimizes
the kept state.

Removed unnecessary calls to recycle for a bitmap as according
to the graphics folks we should not be calling this API anymore.

bug:16966145

Change-Id: Idda8314b43343136d3b867167261790481116fac
2014-09-12 14:31:07 -07:00
Svetoslav
2fb64a5cb1 Fix crash in spooler if printing app dies.
bug:16966145

Change-Id: I092c489a7f1b4000a96d3f12f2996ccabf734b9a
2014-09-12 13:55:35 -07:00
Svetoslav
6cd998a340 Merge "Fix a crash in print preview on multiple rotations." into lmp-dev 2014-09-12 20:48:29 +00:00
Jerome Poichet
3d68c10854 Merge "Update default device name to MODEL only" into lmp-dev 2014-09-12 20:33:46 +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
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
Svetoslav
139ba7fb0e Fix a crash in print preview on multiple rotations.
bug:16966145

Change-Id: I8266315bd9253953cb6c3b9dab1ba36f104a74a5
2014-09-12 10:35:38 -07: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
Zoltan Szatmary-Ban
11f72c0d97 Merge "Leave SettingsProvider running if cloning of a setting fails" into lmp-dev 2014-09-12 10:15:10 +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
Svetoslav
36f6951e32 Merge "Fix back button behavior and clean up in print preview activity." into lmp-dev 2014-09-11 23:24:20 +00:00
Svet Ganov
c946e9ab46 Merge "Fix edit text error state in the print UI." into lmp-dev 2014-09-11 22:15:59 +00:00
Svetoslav
e17123dd6d Fix back button behavior and clean up in print preview activity.
The print preview UI owns and drives the lifecycle of several objects.
These objects were torn down too late resulting in an attempt to use
the activity as a context when it was no longer valid and service unbind
resulting in causing a crash.

Fixed a bug where if the back button is pressed mutiple times when
the print UI is being initialized a crash occurs.

bug:17454041

Change-Id: Ic1455b467586f0ad65f907e2160ec5cfb2d17d05
2014-09-11 14:12:22 -07:00
Jerome Poichet
550021ec5a Update default device name to MODEL only
b/17428259 | Change device name to default to model name

Change-Id: If9f0a30f2362574d32fc69c0880c01ec7a3edb9f
2014-09-11 11:59:45 -07: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
Svet Ganov
43212264dd Fix edit text error state in the print UI.
If the user input in the print UI is invalid we show an error icon
next to it. The design requires no error message being shown in a
popup but TextView does show the popup all the time.

bug:16966145

Change-Id: I7aa1ec8093bc76e2f440bcb243609e92e049786b
2014-09-11 10:35:26 -07:00