150957 Commits

Author SHA1 Message Date
Eino-Ville Talvala
848fe733f3 Camera2: Check for sequence complete sooner.
It's possible, especially with legacy mode, for a last frame for a
sequence to have already arrived when a repeating sequence is stopped.

In that case, need to check for sequence complete as soon as the
requestId, framenumber pair is added to the pending queue of completions.

Bug: 17428716
Change-Id: Ie5c6ea5a43639c812b8441da326c6303e150fce0
2014-09-15 16:28:02 -07:00
Jeff Sharkey
8246e815ac Merge "Whoops, wait around for pm result." into lmp-dev 2014-09-15 22:55:53 +00:00
Yorke Lee
6b19a00d70 Merge "No longer require READ_PHONE_STATE permission for getCallState" into lmp-dev 2014-09-15 22:50:36 +00:00
Yorke Lee
f13a8b797d No longer require READ_PHONE_STATE permission for getCallState
Bug: 17510808
Change-Id: Id3bb5bf2fea9489bd613063aa946389e8ceb3104
2014-09-15 15:46:57 -07:00
Chet Haase
18c56d0ac4 Merge "Avoid invalidating view during some outline invalidations" into lmp-dev 2014-09-15 22:40:04 +00:00
Chet Haase
27652eff44 Avoid invalidating view during some outline invalidations
We were invalidating the view during outline invalidation far
too often. Sometimes, it's appropriate to invalidate the view when
the outline changes, but not when the outline is being invalidated
in the middle of drawing the view, which is done in reaction to a view
invalidation.

Issue #17460940 Volantis: panning in Calendar from month to month is only at 30fps

Change-Id: I7bdee17dc9c7df89d4cd3d781010823cef931222
2014-09-15 15:33:10 -07:00
Jeff Sharkey
49c0e7375b Merge "Update API naming to follow style guide." into lmp-dev 2014-09-15 21:51:18 +00:00
Jeff Sharkey
5ab6e0bac2 Whoops, wait around for pm result.
poll() returns immediately; we want to take() to wait for the result
to actually arrive.

Bug: 17510699
Change-Id: I87669e79e9941480fed33e4cc8a38de793d59e90
2014-09-15 14:50:41 -07:00
Michael Wright
63d991f28c Merge "Add config option for permanent dpad presence." into lmp-dev 2014-09-15 21:38:40 +00:00
Chris Craik
7436d1997c Merge "Enable shadow for GhostView" into lmp-dev 2014-09-15 21:32:06 +00:00
Michael Wright
a59e62341c Add config option for permanent dpad presence.
Since all TV devices are required to have a DPad as a form of
navigation we should suppress any configuration instances where it
claims one doesn't exist just because it isn't currently connected.

This prevents applications from going through a configuration change
and potentially an app restart when a remote disconnects to save
battery.

Bug: 17493314
Change-Id: Ice87b7056984afe02917ccba9196fdbcac9985fc
2014-09-15 14:24:59 -07:00
Jeff Sharkey
de74231f24 Update API naming to follow style guide.
Bug: 17510755
Change-Id: If73d81b416355559592feb895a62132194f4ba62
2014-09-15 14:17:46 -07:00
Svet Ganov
f230c5d21b Merge "Fix a crash in pring spooler." into lmp-dev 2014-09-15 20:27:52 +00:00
Ihab Awad
de4e52aa49 Merge "Add system feature for ConnectionService API support (1/3)" into lmp-dev 2014-09-15 20:14:51 +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
895e08adcd Merge "Set device admin on dpm set-device-owner command" into lmp-dev 2014-09-15 18:42:30 +00:00
George Mount
08ff5c14fe Merge "Fixed OOM due to visibility transitions." into lmp-dev 2014-09-15 18:12:24 +00:00
George Mount
94e7e7ef91 Merge "Fixed enter/exit transitions working against shared elements." into lmp-dev 2014-09-15 18:12:13 +00:00
Eino-Ville Talvala
5fa15be4e9 Merge "Camera2: Clean up corner case error handling" into lmp-dev 2014-09-15 18:11:11 +00:00
George Mount
27bc8aa583 Fixed enter/exit transitions working against shared elements.
Bug 17499971

The enter and exit transitions were targeting the shared element.
This means you'd get double transitions on the shared element.

Also, the enter transition was not properly initialized to have
an invalid target so it was targeting all views.

Change-Id: I4f3510c70bea90f09be01776bc0ad1ffb42d99d5
2014-09-15 11:08:39 -07:00
George Mount
79b2781aa7 Fixed OOM due to visibility transitions.
Have maximum size for Visibility transition bitmaps.

Also changed Visibility to avoid transitioning out child views
while transitioning out their parents.

Also moved view-to-bitmap code to common utility.

Bug 17469198

Change-Id: I05f069a267539b479da1b39cdad2cc9270c5c381
2014-09-15 11:05:36 -07:00
Matthew Williams
b6eaa86440 Merge "Remove a minimum wake-up time for a job" into lmp-dev 2014-09-15 17:56:51 +00:00
Selim Cinek
a2f945e227 Merge "Changed the swipe up search affordance" into lmp-dev 2014-09-15 17:18:40 +00:00
Ihab Awad
1ec6888685 Add system feature for ConnectionService API support (1/3)
Bug: 17445268
Change-Id: Ibf52cb394f00d075afd07b883a91f00da84b3c85
2014-09-15 09:10:54 -07:00
Chris Craik
025207b3cf Merge "Force isolation of clip and matrix within layer" into lmp-dev 2014-09-15 15:59:57 +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
Andres Morales
bd9d664743 Merge "Add hidden API for pausing and resuming NFC polling." into lmp-dev 2014-09-15 15:10:45 +00:00
Jorim Jaggi
f5989b053a Merge "Fix priority for recent task thumbnail loader" into lmp-dev 2014-09-15 15:02:41 +00: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
George Mount
2911b2046a Merge "Fix exit transitions hiding views permanently." into lmp-dev 2014-09-15 14:06:52 +00:00
Jungshik Jang
f5194d8cef Merge "Fix cyclic mute" into lmp-dev 2014-09-15 12:36:27 +00:00
Alexandra Gherghina
0a91a0ae7c Merge "Update briefcase icons" into lmp-dev 2014-09-15 11:46:01 +00: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
Jungshik Jang
720407ad06 Fix cyclic mute
Bug: 17502271
Change-Id: I837315afce8193ac1948fffed66cbb8c755968e2
2014-09-15 18:24:01 +09: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
f3d0e47572 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-15 04:19:49 +00: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
Baligh Uddin
bbaf0bb630 Import translations. DO NOT MERGE
Change-Id: Ic6c7d7ca45834f3f0b73967347232991b5c31910
Auto-generated-cl: translation import
2014-09-14 21:02:30 -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
Jungshik Jang
2d02b20405 Merge "Remove unnecessary warning." into lmp-dev 2014-09-15 02:23:08 +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