34106 Commits

Author SHA1 Message Date
Ruben Brunk
9c17a4c862 am 97f0ed03: Merge "camera3: Update blackLevelPattern tag."
* commit '97f0ed03ec0d9a7d06064c0018feb8d7a45e0c52':
  camera3: Update blackLevelPattern tag.
2014-02-07 15:42:23 -08:00
Ruben Brunk
97f0ed03ec Merge "camera3: Update blackLevelPattern tag." 2014-02-07 23:39:44 +00:00
Ruben Brunk
67b4702428 camera3: Update blackLevelPattern tag.
Change-Id: Iee29d475c92bec1688de96e7cae54dfaf1eec69d
2014-02-07 15:38:28 -08:00
ztenghui
3e793b5ef5 am 82946aae: Merge "Add the clipToOutline by just using the clipPathOp"
* commit '82946aae3cae9bdfe01f96cfc5e8d1efcefeba7c':
  Add the clipToOutline by just using the clipPathOp
2014-02-07 14:10:52 -08:00
ztenghui
82946aae3c Merge "Add the clipToOutline by just using the clipPathOp" 2014-02-07 22:09:39 +00:00
Dianne Hackborn
ec2299d01a am 68ac5cef: Merge "Battery stats: more events, fixes."
* commit '68ac5cef63a9fef595a0cd6b7d8f9170994672ad':
  Battery stats: more events, fixes.
2014-02-07 13:58:39 -08:00
Dianne Hackborn
68ac5cef63 Merge "Battery stats: more events, fixes." 2014-02-07 21:56:45 +00:00
Dianne Hackborn
eaf2ac464b Battery stats: more events, fixes.
Add new history events for top application package and
foreground application packages.

Doing this involved a fair amount of improvement to history
events.  The event code is now separated out to have "start"
and "finish" identifies, and we use that to now keep track
of which events are active.  With that, when resetting the
stats, we can spit out all of the currently active events at
the front of the new history.

Also fixed some problems when I re-arranged the history delta
int bits that were conflicting with the packing of the battery
status bits.  These packing structures are changed to work
together correctly.

Change-Id: Ic8b815060dd8a50ff4a0a209efc2e1044215cd88
2014-02-07 13:45:01 -08:00
ztenghui
fad4593a3c Add the clipToOutline by just using the clipPathOp
Change-Id: I6ba23b589e579599d018600d0744be0efe2028c1
2014-02-07 13:36:57 -08:00
Chris Craik
841af3a5f7 am 27bfb245: Merge "Rework and clean up DisplayList projection"
* commit '27bfb24518934f0344c79a1d655ea8d1208d2446':
  Rework and clean up DisplayList projection
2014-02-07 10:51:10 -08:00
Chris Craik
27bfb24518 Merge "Rework and clean up DisplayList projection" 2014-02-07 18:47:57 +00:00
Chris Craik
1df26446b7 Rework and clean up DisplayList projection
Move the projection surface to be a property of a DisplayList,
set to true for every background drawable.

Additionally, handle a projecting view background such that it doesn't
try to project onto itself (which is undesirable).

Change-Id: Ic70b17474bd87340e80767f8518f73b233419c7a
2014-02-06 16:07:37 -08:00
Adam Powell
47e352cf04 am 6250c59e: Merge "Refactoring of fitSystemWindows to applyWindowInsets for views"
* commit '6250c59e0d917fb3641ac499ca69b011aa50a4bd':
  Refactoring of fitSystemWindows to applyWindowInsets for views
2014-02-06 14:43:27 -08:00
Adam Powell
6250c59e0d Merge "Refactoring of fitSystemWindows to applyWindowInsets for views" 2014-02-06 22:41:14 +00:00
John Reck
ef129d8442 am 393fdbec: Merge "Remove overdraw counter"
* commit '393fdbec9f3f11d277e1631c2e36362e408cbbdc':
  Remove overdraw counter
2014-02-06 14:17:25 -08:00
Jeff Sharkey
be781e26aa am 2b1252dd: Merge "Update DrmOutputStream to use raw FileDescriptor."
* commit '2b1252ddd2650cb38918cb85d2a3711b2cfa8db5':
  Update DrmOutputStream to use raw FileDescriptor.
2014-02-06 14:17:18 -08:00
John Reck
593b19a49e Remove overdraw counter
Change-Id: Iee05362b9080b28714a4cca5a571f19ce81eadfd
2014-02-06 11:26:23 -08:00
Jeff Sharkey
ebf8ad5d91 Update DrmOutputStream to use raw FileDescriptor.
This allows DownloadManager to use FDs, paving the way for downloading
directly to content:// Uris.

Also return flag indicating if deleteOlderFiles() actually deleted
anything.  Update tests to verify.

Bug: 5287571
Change-Id: I2579e5e2113f31b2860d7b021bd61c91b6310963
2014-02-06 09:47:38 -08:00
Jessica Hummel
3c3e16e041 am e33e2ca3: Merge "Extend DeviceOwner concept to accommodate ProfileOwners"
* commit 'e33e2ca3460c0e5a898e5b0406d86b16b96f735a':
  Extend DeviceOwner concept to accommodate ProfileOwners
2014-02-06 02:25:23 -08:00
Jessica Hummel
e33e2ca346 Merge "Extend DeviceOwner concept to accommodate ProfileOwners" 2014-02-06 10:23:00 +00:00
Adam Connors
776c555d95 Extend DeviceOwner concept to accommodate ProfileOwners
ProfileOwners, like DeviceOwners, are Device Admins that have
additional priviledges. ProfileOwners however are scoped per
user.

Change-Id: I1e22c85878e0672121e6ebbe97fca38591f992b2
2014-02-06 10:07:19 +00:00
Alan Viverette
1f9a3a862a am d5154ec2: Add prototype for borderless touch feedback drawable
* commit 'd5154ec2bc7e7c0bdfd14fc784912d390afe43cc':
  Add prototype for borderless touch feedback drawable
2014-02-05 18:55:43 -08:00
Alan Viverette
d5154ec2bc Add prototype for borderless touch feedback drawable
Change-Id: I6366855b1fb838aa077bc6bdb62adc2134c51dca
2014-02-05 17:53:33 -08:00
John Spurlock
8662cab1ee am 0e29ad02: Merge "Global system setting to override certain window policy."
* commit '0e29ad02f9ed46f2f2a9de59249969f9d1bdd7f6':
  Global system setting to override certain window policy.
2014-02-05 16:56:17 -08:00
John Spurlock
0e29ad02f9 Merge "Global system setting to override certain window policy." 2014-02-06 00:53:42 +00:00
Dianne Hackborn
6946115e62 am 6eb0fdb9: Merge "Improve logging of first wake lock, history size."
* commit '6eb0fdb99bc09210bea4df054a9c8a05daea3d1b':
  Improve logging of first wake lock, history size.
2014-02-05 16:44:07 -08:00
Dianne Hackborn
6eb0fdb99b Merge "Improve logging of first wake lock, history size." 2014-02-06 00:41:49 +00:00
Dianne Hackborn
3d658bf20e Improve logging of first wake lock, history size.
We now try to have a better label for the first wake lock
that is acquired in the log.  This is done in two ways:

- The alarm manager now sorts the alarms it is going to
  execute so that wakeup alarms are first, which are more
  important w.r.t. which one should be logged.
- There is a new power manager facility to make a wake lock
  as "unimportant for logging," which just means in battery
  stats that a wake lock acquired after that can be considered
  the actual one to log.  This is only used by the alarm manager
  to mark its TIME_TICK alarms as unimportant for logging.

Also reworked the battery history code to be cleaner and a bit
smaller.  There is no longer a separate EVENT command, instead
the event code and tag are just another thing that can be included
in an UPDATE command.

The bits used in the first history int are also re-arrange, so
that only the ones that really change a fair amount in the state
bits are up at the top and there is no longer space used for
the command code (since now it is always just UPDATE).  This
allows us to have more room for the time delta at the bottom,
to better avoid situations where we need to write an int delta.

Change-Id: I1bb860ae5b558a248800b090b03a84fbf7acd68a
2014-02-05 16:40:51 -08:00
Alan Viverette
8ba71d1091 am dc912588: Merge "Temporary fix for background invalidation"
* commit 'dc9125880c372b3d3a2af09d48225c9c50b962f7':
  Temporary fix for background invalidation
2014-02-05 14:19:27 -08:00
Alan Viverette
dc9125880c Merge "Temporary fix for background invalidation" 2014-02-05 22:16:10 +00:00
Alan Viverette
e6875f1575 Temporary fix for background invalidation
Not a complete solution, since we could be more efficient, but enough
to have both background display lists and proper invalidation.

Change-Id: I0216a104948c0930760275bb2b98318b0a4487e7
2014-02-05 14:05:17 -08:00
Zhijun He
cb49cb32ae am b77690ce: Merge "Camera2: update aeLock and transform matrix tag specs"
* commit 'b77690cea0f146c6823c922a4f8d8ca7336dde21':
  Camera2: update aeLock and transform matrix tag specs
2014-02-05 13:52:25 -08:00
Zhijun He
b77690cea0 Merge "Camera2: update aeLock and transform matrix tag specs" 2014-02-05 21:49:56 +00:00
Zhijun He
49a3ca9330 Camera2: update aeLock and transform matrix tag specs
Change-Id: I436f41ff2bf811a654de15b51739c07def354648
2014-02-05 13:48:09 -08:00
John Spurlock
c6d1c60fb1 Global system setting to override certain window policy.
Specifically, the ability to force immersive-mode-like behavior
on the status bar, the navigation bar (or both) on a
package-by-package basis - and to disable immersive mode
confirmations for specific packages.

Change-Id: I2df7092a91eceeb815367ef917dd7289f4f2b27e
2014-02-05 16:45:23 -05:00
Hui Shu
a09c820552 am e6415f50: Merge "Fix postUrl to call loadUrl when url is not a network url."
* commit 'e6415f50b10fe455df2cbe568a90bc762cce3cf7':
  Fix postUrl to call loadUrl when url is not a network url.
2014-02-05 13:38:01 -08:00
Hui Shu
e6415f50b1 Merge "Fix postUrl to call loadUrl when url is not a network url." 2014-02-05 21:35:12 +00:00
Hui Shu
c60ad9c3fb Fix postUrl to call loadUrl when url is not a network url.
Change-Id: I4be00611c220572b4e8ecea1a00409a6f5d2bb18
2014-02-05 13:32:37 -08:00
Zhijun He
6f4e1e51b4 am c44b51bd: Merge "Camera2: Update stream num tag specs"
* commit 'c44b51bdebd901def3015591814a57964f0adeef':
  Camera2: Update stream num tag specs
2014-02-05 11:30:59 -08:00
Narayan Kamath
25b66062ad am 33e77b61: Merge "Revert "Camera2: Update stream num tag specs""
* commit '33e77b61b8c170166206fbdacb157e56955bebc8':
  Revert "Camera2: Update stream num tag specs"
2014-02-05 10:43:56 -08:00
Jake Hamby
c130ffacdb am dbe576eb: Merge "Add new RIL commands to read/write NV items and reset NV config."
* commit 'dbe576ebd1c6bc05d17657aedb3f2feec162f2b1':
  Add new RIL commands to read/write NV items and reset NV config.
2014-02-05 10:43:53 -08:00
Zhijun He
a5a0cace7d Camera2: Update stream num tag specs
Change-Id: Iba6f1f8c779e5c3a622a7f07029f4373a887bffe
2014-02-05 07:55:44 -08:00
Narayan Kamath
33e77b61b8 Merge "Revert "Camera2: Update stream num tag specs"" 2014-02-05 12:19:15 +00:00
Narayan Kamath
8b1c5704cb Revert "Camera2: Update stream num tag specs"
This reverts commit 67c23833f81cb27671ee9f62a87ba810d0d49989.

Change-Id: I3aa2d0b245c998c57f3312e2d6f68aa72d80c338
2014-02-05 12:16:46 +00:00
Jake Hamby
dbe576ebd1 Merge "Add new RIL commands to read/write NV items and reset NV config." 2014-02-05 03:56:03 +00:00
Zhijun He
b2eb575ee8 am 67c23833: Camera2: Update stream num tag specs
* commit '67c23833f81cb27671ee9f62a87ba810d0d49989':
  Camera2: Update stream num tag specs
2014-02-04 18:06:50 -08:00
Zhijun He
67c23833f8 Camera2: Update stream num tag specs
Change-Id: I69ae1a34828230408a27bf7c016eb514485097b1
2014-02-04 18:02:07 -08:00
Adam Powell
46e38fd9ab Refactoring of fitSystemWindows to applyWindowInsets for views
Applying insets is now handled by:

* WindowInsets class - Encapsulate system insets and local decor
  insets into a single object, written specifically so that new inset
  categories may be added later. Apps cannot construct their own
  WindowInsets, only clone with optional modifications. This is to
  prevent losing data in the event of new insets added in the future.

* onApplyWindowInsets - Actually perform the application of insets.

* OnApplyWindowInsetsListener - Allow an app to use a separate
  Listener object to apply insets to a View. This allows for things
  like support lib integration in custom views written for older
  versions where the verifier would otherwise complain about the use
  of the new WindowInsets class as a method parameter. It also allows
  for applying insets in a custom way without writing a custom view.

* dispatchApplyWindowInsets - Dispatch the call to self and children
  in turn, if applicable. An OnApplyWindowInsetsListener will override
  the behavior of the view's default onApplyWindowInsets method; a
  listener wishing to call down to the 'superclass' implementation as
  part of its own operation should call view.onApplyWindowInsets. App
  code should generally not override this method and instead override
  onApplyWindowInsets or provide a listener.

Compatibility support with the existing fitSystemWindows method has
been provided in both directions: for code that previously called
fitSystemWindows on arbitrary views and also for code that overrode
the fitSystemWindows method in custom views. A view that supports the
newer onApplyWindowInsets mechanism should not mix that behavior with
other calls to fitSystemWindows or vice versa. Support lib-style code
should take care to consistently use one mechanism or the other at
runtime.

Change-Id: Ie88b96e0382beb5d3c3f6cd013f7043acbc0a105
2014-02-04 16:52:22 -08:00
George Mount
7799eea7bf am 8adb491e: Merge "Cross-Activity Scene transition API."
* commit '8adb491e08b79657deedc13c427f785c889ee448':
  Cross-Activity Scene transition API.
2014-02-04 16:24:47 -08:00
George Mount
8adb491e08 Merge "Cross-Activity Scene transition API." 2014-02-05 00:23:03 +00:00