124241 Commits

Author SHA1 Message Date
Alan Viverette
3b6502f541 Merge "Always set item type on obtained ListView item views" 2014-02-27 03:49:45 +00:00
Yuhao Zheng
72e1400e2f Merge "Add new API to scan a given channel set" 2014-02-27 03:12:06 +00:00
Jeff Brown
d964a746e0 am ba61962b: (-s ours) am 71e21fec: am 6ca90042: Add touch.wake IDC property to control wakeup.
* commit 'ba61962b3308881e6200870c8d6420b81c6f9225':
  Add touch.wake IDC property to control wakeup.
2014-02-27 02:42:30 +00:00
Alan Viverette
e6be9c78b5 Always set item type on obtained ListView item views
If a view is scrapped without layout params being set, it will
incorrectly be recycled as item type 0.

BUG: 13212603
Change-Id: I2a42c04ec5065067ab260a0a8afb07207db729f6
2014-02-26 18:16:36 -08:00
Jeff Brown
ba61962b33 am 71e21fec: am 6ca90042: Add touch.wake IDC property to control wakeup.
* commit '71e21fec61d17b41a3f0ed817bfa2ae5fb357212':
  Add touch.wake IDC property to control wakeup.
2014-02-27 02:02:22 +00:00
Jeff Brown
71e21fec61 am 6ca90042: Add touch.wake IDC property to control wakeup.
* commit '6ca90042b398153e063cf69dea784e201e76a9ee':
  Add touch.wake IDC property to control wakeup.
2014-02-27 01:59:02 +00:00
Alan Viverette
af7c240b99 Restore getTintMode() method on BitmapDrawable
Change-Id: I8fffc90ce3f0811d75b517d2dfc71de731188da6
2014-02-26 17:20:10 -08:00
Alan Viverette
09ceac298c Clean up tint API
Change-Id: I56056e7596840c563f5332922d63e8893a0cac17
2014-02-26 16:49:10 -08:00
Alan Viverette
257398378a Merge "Fix shape drawable constructor" 2014-02-27 00:27:05 +00:00
Alan Viverette
2cc13d0ef1 Fix shape drawable constructor
Change-Id: Ibb2c1993faf9d2baae3130f334475aa07fbe9015
2014-02-26 16:26:33 -08:00
Dianne Hackborn
c2248715e3 Merge "Collect per-uid mobile radio usage." 2014-02-27 00:18:00 +00:00
Wonsik Kim
a9499d704c Merge "VideoPlaneView initial implementation" 2014-02-27 00:07:40 +00:00
Dianne Hackborn
d45665bf0b Collect per-uid mobile radio usage.
We now compute radio active time per application, by distributing
the active time across all applications each time the radio goes
down, weighting it by the number of packets transferred.

Per-app radio power use is now computed using this radio active
time.

This also gives us a new metric "ms per packet", which give an
idea of how effectively an application is using the radio.  This
is collected and reported as a new set of stats in the human-
readable checkin.  (It can be computed from the raw checkin data).

Also improve sync reporting to include the sync source as used
in wake locks, not just the component name.

Change-Id: I0b0185fadd1e47ae749090ed36728ab78ac24c5e
2014-02-26 15:53:44 -08:00
Alan Viverette
813d85b82c Fix progress bar tinting, add tint support to ShapeDrawable
Cleans up APIs a little, since I think we may want to add tinting
modes beyond what Porter-Duff can provide. Plus we don't actually
support some of the Porter-Duff modes in hardware.

Change-Id: I2cea1b737cc93607a24842c54eb9f0d8346b29d4
2014-02-26 15:38:51 -08:00
Jeff Brown
6ca90042b3 Add touch.wake IDC property to control wakeup.
Normally we do not wake the device when the internal touch screen is
touched.  This behavior can now be configured by setting a property
in the input device configuration file.  Add the following line to
the IDC file to enable an initial touch to wake the device from sleep.

  touch.wake = 1

Change-Id: Ifd6d4f51afacd30d85f475725a66e6fcccde9cbb
2014-02-26 15:15:53 -08:00
Chris Craik
ba7d4f564c am f85da425: (-s ours) Fix build - DO NOT MERGE
* commit 'f85da42512d5dd76a899097907974b48b887be60':
  Fix build - DO NOT MERGE
2014-02-26 21:28:34 +00:00
Chris Craik
f85da42512 Fix build - DO NOT MERGE
Change-Id: I1ab7c369082d1d2aa4f4ed11354c13ff86582410
2014-02-26 13:21:41 -08:00
Ying Wang
82f4988d0e Merge "Fix SDK build." 2014-02-26 20:34:40 +00:00
Ying Wang
fd5f381edb Fix SDK build.
Change-Id: Ic93a6d3e7b510aef2d66dc0dc2dad5af8e7648c5
2014-02-26 12:33:46 -08:00
Chris Craik
adcd253a14 am 4fecd0ae: (-s ours) am 74a8b916: am 59ff85af: (-s ours) am 2729857d: (-s ours) Merge "Fix AOSP build - DO NOT MERGE"
* commit '4fecd0aeeb9a76b55c234a24cfd5e1394c801348':
  Fix AOSP build - DO NOT MERGE
2014-02-26 19:31:22 +00:00
Chris Craik
300bdfa13d am 328b7ee6: am aecb8c43: am 7b4cce68: am c3bac8a0: Merge "Fix graphics corruption caused by HWUI caches"
* commit '328b7ee6a2ba2dc8f162fa57dbafd4bfc89bb72e':
  Fix graphics corruption caused by HWUI caches
2014-02-26 19:31:16 +00:00
Felipe Leme
9d1ae3b87c Merge "Added support for WiFi frequency on WifiInfo (getter, settter, and frequency constant). Bug: 12767819" 2014-02-26 19:22:52 +00:00
Chris Craik
4fecd0aeeb am 74a8b916: am 59ff85af: (-s ours) am 2729857d: (-s ours) Merge "Fix AOSP build - DO NOT MERGE"
* commit '74a8b916aceb0b55a7fdfa63bd8267c50d952a28':
  Fix AOSP build - DO NOT MERGE
2014-02-26 19:14:35 +00:00
Chris Craik
328b7ee6a2 am aecb8c43: am 7b4cce68: am c3bac8a0: Merge "Fix graphics corruption caused by HWUI caches"
* commit 'aecb8c43d0c6c3d2b55f88abeaa0e3197be59301':
  Fix graphics corruption caused by HWUI caches
2014-02-26 19:14:32 +00:00
Chris Craik
74a8b916ac am 59ff85af: (-s ours) am 2729857d: (-s ours) Merge "Fix AOSP build - DO NOT MERGE"
* commit '59ff85af314e2984068943f5572ac40ef381edea':
  Fix AOSP build - DO NOT MERGE
2014-02-26 19:10:44 +00:00
Chris Craik
aecb8c43d0 am 7b4cce68: am c3bac8a0: Merge "Fix graphics corruption caused by HWUI caches"
* commit '7b4cce68853d8bcfce2b6bd7f999915063eb56d2':
  Fix graphics corruption caused by HWUI caches
2014-02-26 19:10:39 +00:00
Jeff Davidson
0f58bb3b4d Merge "Fix SDK build broken by ag/423985" 2014-02-26 19:10:06 +00:00
Chris Craik
59ff85af31 am 2729857d: (-s ours) Merge "Fix AOSP build - DO NOT MERGE"
* commit '2729857df6c559b37248c96b78303b662212d14b':
  Fix AOSP build - DO NOT MERGE
2014-02-26 11:06:30 -08:00
Chris Craik
7b4cce6885 am c3bac8a0: Merge "Fix graphics corruption caused by HWUI caches"
* commit 'c3bac8a096cc5661cf91c8c0aa9b7dd0fc099c5d':
  Fix graphics corruption caused by HWUI caches
2014-02-26 11:06:27 -08:00
Chris Craik
2729857df6 Merge "Fix AOSP build - DO NOT MERGE" 2014-02-26 18:48:27 +00:00
Chris Craik
c3bac8a096 Merge "Fix graphics corruption caused by HWUI caches" 2014-02-26 18:48:00 +00:00
Chris Craik
2c42b79c6c Fix AOSP build - DO NOT MERGE
Change-Id: I42b420c2ce89ce364a2809b28b827964e6923fa1
2014-02-26 10:44:50 -08:00
Sangkyu Lee
36fad8f6fc Fix graphics corruption caused by HWUI caches
Some caches(PatchCache, TextureCache, PathCache) for HWUI
uses deferred removal for their cache entries even though
actual resource objects are immediately freed by
ResourceCache.
For this reason, the uniqueness of a resource address in
the caches is not guaranteed in specific cases.
(Because malloc() can return the same address when malloc()
and free() called very frequently.)

So it can be possible the cache have two cache entries for
two different resources but the same memory address.
(Of course one of the resources is already freed.)
It also can be possible mGarbage vector in PatchCache has
duplicated addresses and this can lead to duplicated free
blocks in the free block list and graphics corruption.
(Deferred removal was implmeneted based on an assumption of
unique resource addresses.)

So this patch makes sure resource objects are freed after
the resources are removed from the caches to guarantee
the uniqueness of a resource address and prevent graphics
corruption.

Change-Id: I040f033a4fc783d2c4bc04b113589657c36fb15b
Signed-off-by: Sangkyu Lee <sk82.lee@lge.com>
2014-02-26 10:43:26 -08:00
Jeff Davidson
84cd55e8bc Fix SDK build broken by ag/423985
Change-Id: I85480683531468b7a8a83749d9366f5cc334bd24
2014-02-26 10:19:04 -08:00
RoboErik
8fb4cf1ef4 Merge "Move Session apis to android.media.session" 2014-02-26 18:13:35 +00:00
Jeff Davidson
073c1c1f60 Merge "Add --replace-version flag to aapt." 2014-02-26 17:38:47 +00:00
George Mount
206e30cd93 Revert "Change Activity Scene Transitions to be more automatic."
This reverts commit f10587faadb9080a7bf9991cbe04bac5525da482.

Change-Id: I2785a3d2d6b667cad6d61dcbbc1c624161735fa4
2014-02-26 08:56:30 -08:00
Yohann Roussel
1ec1370a5d Merge "Add support.multidex tests app for an update bug." 2014-02-26 16:23:34 +00:00
Yohann Roussel
05e2a94c8b Add support.multidex tests app for an update bug.
The failing scenario is
- install v1
- run
- update to v2
- update to v3
- run
last run was failing with initial multidex library versions because
it's still running on v1 extracted secondary dex files.

Change-Id: Id9811371fc70b0a4e9b49de913ee38d18699b21d
2014-02-26 17:02:13 +01:00
Alan Viverette
14b51940e9 Merge "Constrain starting sub row to list bounds" 2014-02-26 03:04:36 +00:00
Christopher Tate
c900829c17 Merge "Deal with apps known to LocalTransport backend but with no data" 2014-02-26 02:48:09 +00:00
Wonsik Kim
5f8aa41429 VideoPlaneView initial implementation
Note that eventually VideoPlaneView should not inherit from SurfaceView.

Remove a few trailing spaces too.

Change-Id: Ia0a461169d560435a827861be2cc15f1e3ee68fa
2014-02-26 02:45:15 +00:00
Alan Viverette
2546fcf5c9 Constrain starting sub row to list bounds
BUG: 13077653
Change-Id: Id01da055e8502b1447519666eb439d8480437c6c
2014-02-25 18:45:03 -08:00
Christopher Tate
a9b91864a1 Deal with apps known to LocalTransport backend but with no data
An app might have backed something up and later deleted it, in which
case it will have a directory in the LocalTransport bookkeeping but
with no actual dataset.  Skip these packages at restore time, since
we know a priori that there will be nothing to do.

Change-Id: I85853097bc65ed60e5efd217ee6553b50459e445
2014-02-25 17:42:21 -08:00
Amith Yamasani
8fcd324894 Regen current.txt to fix incorrect id for requiredForProfile
Change-Id: I9b3cf326070bffd78e3e30519495b062c81b3d52
2014-02-25 16:54:10 -08:00
RoboErik
2f5b057da7 Move Session apis to android.media.session
This is to make it easier to distinguish the new apis from the old
ones.

Change-Id: Ic5eaf65e8bd054a844f87b9118c4bb18f30ac8a7
2014-02-25 16:01:55 -08:00
Deepanshu Gupta
a2aa375dea Merge "Add DatePickerDialog to layoutlib" 2014-02-25 23:55:58 +00:00
George Mount
121e25dcf0 Merge "Change Activity Scene Transitions to be more automatic." 2014-02-25 23:47:57 +00:00
Jim Miller
2606f8d54a Merge "Disable simple keyguard when notifications enabled." 2014-02-25 23:39:40 +00:00
Jim Miller
cfa68b977c Disable simple keyguard when notifications enabled.
Enabling notifications on keyguard tripped keyguard into simple
mode which isn't ready for prime-time.  Disabled with variable.

Fixes bug 13172958

Change-Id: Ia281b06d754cd62455010f9e31c0ee81e4937977
2014-02-25 15:36:13 -08:00