10953 Commits

Author SHA1 Message Date
Svetoslav
bff16debdc am 9208a81b: Merge "Page shredder callback invoked on the wrong thread." into lmp-dev
* commit '9208a81b4bfd22ab73fa9c459653fe6d18a7b8ea':
  Page shredder callback invoked on the wrong thread.
2014-09-16 08:42:42 +00:00
Svetoslav
9dd2ff496d am c59be126: Merge "Update print preview when a printer becomes available" into lmp-dev
* commit 'c59be126443a89c23a193e67f633ccccbfd939e0':
  Update print preview when a printer becomes available
2014-09-16 08:42:37 +00:00
Adam Lesinski
006d1bc4ed am 1416621b: Merge "Show the lockscreen when more than 1 user is present" into lmp-dev
* commit '1416621b4407fe8a1b488cface2be5743fa4b7a3':
  Show the lockscreen when more than 1 user is present
2014-09-16 08:42:12 +00:00
Svetoslav
56bdeeeb80 Merge "Page shredder callback invoked on the wrong thread." into lmp-dev 2014-09-16 02:22:22 +00:00
Svetoslav
0e51a6d97a Merge "Update print preview when a printer becomes available" into lmp-dev 2014-09-16 02:21:59 +00:00
Svetoslav
fb3532eea3 Page shredder callback invoked on the wrong thread.
The code executed in the shredder completion callback must
be called on the main thread but instead it was called on
another one. This led to a crash.

bug:17514533

Change-Id: Id9e86d38a90fedadc60f967b193470fd83eb3362
2014-09-15 19:01:34 -07:00
Svetoslav
e0fa06c088 Update print preview when a printer becomes available
We laizily request printer capabilities and when they are reported
we were not updating the preview and as a result the content was not
rendered, hence pages showing an empty state.

bug:17514117

Change-Id: Icfee7eaa1ab63f5e4d7655d4057ef2110c27cd43
2014-09-15 18:21:14 -07: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
Svet Ganov
4aa35d71ed am f7d0cd92: Merge "Fix a crash in pring spooler." into lmp-dev
* commit 'f7d0cd92c6a049a54efc2e29ec69c34f096be46d':
  Fix a crash in pring spooler.
2014-09-15 22:06:46 +00:00
John Spurlock
264691a96a am f2dc7e56: Merge "Doze: Aggressively dial down notification-related pulses." into lmp-dev
* commit 'f2dc7e56235631542d9f0ddc042832391da3453f':
  Doze: Aggressively dial down notification-related pulses.
2014-09-15 22:06:36 +00:00
Svet Ganov
f230c5d21b Merge "Fix a crash in pring spooler." into lmp-dev 2014-09-15 20:27:52 +00: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
Esteban Talavera
b3969f4e2f am 95f023d0: Merge "Set device admin on dpm set-device-owner command" into lmp-dev
* commit '95f023d018f51bb13a462a5b1f43cd9d6be0cde5':
  Set device admin on dpm set-device-owner command
2014-09-15 19:30:14 +00:00
Selim Cinek
8c5c91ef4c am f4e6f631: Merge "Changed the swipe up search affordance" into lmp-dev
* commit 'f4e6f631e5c42d63a7d70facc3568440bd18a100':
  Changed the swipe up search affordance
2014-09-15 19:29:44 +00:00
Jorim Jaggi
e9e8d8ebbe am f86eb8b0: Merge "Fix priority for recent task thumbnail loader" into lmp-dev
* commit 'f86eb8b0b124ecc22c25d3fb89770fd3ac375ef9':
  Fix priority for recent task thumbnail loader
2014-09-15 19:29:28 +00:00
Esteban Talavera
895e08adcd Merge "Set device admin on dpm set-device-owner command" into lmp-dev 2014-09-15 18:42:30 +00: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
Esteban Talavera
9c17388cff Set device admin on dpm set-device-owner command
Bug: 17312478
Change-Id: I4ef730a97d603352eda77f04a2b00fa97c2be662
2014-09-15 11:42:34 +01:00
Jorim Jaggi
459c3095d4 am 026a5154: Aggressive tuning of recents memory usage
* commit '026a51548b783713d5b47f3bae7f1ba998fee0c8':
  Aggressive tuning of recents memory usage
2014-09-15 09:26:08 +00: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
Baligh Uddin
00bb3fe4a3 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-15 04:19:48 +00:00
Baligh Uddin
5dfa84f77f Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-15 04:19:44 +00:00
Baligh Uddin
0a8e7d1f31 Import translations. DO NOT MERGE
Change-Id: Ib73a5356d8804c8216be0ce59c84637ff609e81a
Auto-generated-cl: translation import
2014-09-14 21:05:55 -07:00
Baligh Uddin
5b5a4afc20 Import translations. DO NOT MERGE
Change-Id: Ie385c9b051b20bf52b7c0b266ca4c9147f7fbb90
Auto-generated-cl: translation import
2014-09-14 21:04:22 -07:00
Svet Ganov
e771caf332 Fix a crash in pring spooler.
If the printer capabilities are reported with a delay which is pretty
common we were trying to evaluate the preview page dimensions without
having a media size resulting in a NPE.

bug:17501953

Change-Id: I6765137f61b8fd060e9eabff07e632875d934963
2014-09-14 20:29:30 -07:00
Baligh Uddin
b310039442 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-15 02:45:11 +00:00
Baligh Uddin
3471203196 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-15 02:45:00 +00:00
Baligh Uddin
b8810b04ba Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-15 02:44:57 +00:00
Dan Sandler
7c948c02c9 am 3c7954e6: NavigationBarView: Fix NPE in Drawable.setVisible()
* commit '3c7954e6d6045c377a72b4d10f72602c84845b77':
  NavigationBarView: Fix NPE in Drawable.setVisible()
2014-09-15 02:37:14 +00:00
Baligh Uddin
b3c8598174 Import translations. DO NOT MERGE
Change-Id: I57bb85dcb94f83e095e07ee4956d786849284688
Auto-generated-cl: translation import
2014-09-14 19:17:12 -07:00
Baligh Uddin
3e8ce3bb33 Import translations. DO NOT MERGE
Change-Id: Idb536e9edfaee903119b8d84188d013e045f5fba
Auto-generated-cl: translation import
2014-09-14 19:12:57 -07:00
Baligh Uddin
0fc76f0755 Import translations. DO NOT MERGE
Change-Id: Ifb234cb1ae0c96f393e3b203488f61467d97c267
Auto-generated-cl: translation import
2014-09-14 19:11:15 -07: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
861da4e0ef am 7dbbaf7e: Merge "Fix jank while unlocking and security is set" into lmp-dev
* commit '7dbbaf7edb12a92aa119dc23fa705a3fb405668d':
  Fix jank while unlocking and security is set
2014-09-14 21:54:30 +00: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
14fc72f814 am 1ddb7a6b: Merge "Saver: PowerManager call to set low power mode." into lmp-dev
* commit '1ddb7a6b406f23c3b549aa6a771cec61c1778f3e':
  Saver: PowerManager call to set low power mode.
2014-09-14 19:51:00 +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
9f5d4c4335 am 34c08655: Merge "Customized ripple animation for navigation bar" into lmp-dev
* commit '34c08655610018a0625fb6583df0e19a9c7f63dd':
  Customized ripple animation for navigation bar
2014-09-14 17:55:33 +00: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
2bbc52205a 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 10:10:41 +00:00
Winson Chung
9d06d4da5d 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 10:10:37 +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
Svetoslav
16c8e53b33 am c2281007: Merge "Page content sometimes missing while scrolling." into lmp-dev
* commit 'c2281007f190ab197b23484fd087c30955ffdd6b':
  Page content sometimes missing while scrolling.
2014-09-13 18:57:44 +00:00