126687 Commits

Author SHA1 Message Date
Matthew Williams
4bcf922a55 am c798e4f5: am 4701b51a: am bb87ac7f: DO NOT MERGE: Downgrade expedited to normal on reschedule.
* commit 'c798e4f5497c39a3c6c14b120cffdee1122a9212':
  DO NOT MERGE: Downgrade expedited to normal on reschedule.
2014-03-25 10:04:56 +00:00
Scott Main
941eabc248 am e9b50e75: am 9d8184e7: am 779174ea: update wear homepage with layout fixes and replace GIFs with smaller versions
* commit 'e9b50e75a050e75161aa316b0c73bdab500ca14d':
  update wear homepage with layout fixes and replace GIFs with smaller versions
2014-03-25 10:04:51 +00:00
Ricardo Cervera
bd48af2cd7 am cd64a9ba: am 399b9994: docs: Added release notes for Google APIs System Image v4.
* commit 'cd64a9ba96bed7841e01fa125241d0410fc7b214':
  docs: Added release notes for Google APIs System Image v4.
2014-03-25 09:57:43 +00:00
Matthew Williams
c798e4f549 am 4701b51a: am bb87ac7f: DO NOT MERGE: Downgrade expedited to normal on reschedule.
* commit '4701b51af216ce2b6fa9fa508ebba47bf13063c7':
  DO NOT MERGE: Downgrade expedited to normal on reschedule.
2014-03-25 09:57:36 +00:00
Scott Main
e9b50e75a0 am 9d8184e7: am 779174ea: update wear homepage with layout fixes and replace GIFs with smaller versions
* commit '9d8184e790b49238fa17cf24bf744596ce1ee195':
  update wear homepage with layout fixes and replace GIFs with smaller versions
2014-03-25 09:57:09 +00:00
Yohann Roussel
30494b70e9 Merge "Add one test application for multidex." 2014-03-25 09:38:43 +00:00
Scott Main
52f449fd5a fix size and behavior of video thumbnail when flash not available
Change-Id: Ifc5eae0f9e42cc16b0daab9e715ff885388cf91c
2014-03-24 23:23:22 -07:00
Selim Cinek
50cd7c39bb am f7805dd7: am 7290b56b: am 8ae8689d: am c41853ce: Fixed wallpaper bug where wrong size was taken when cropping
* commit 'f7805dd77aab98bcf2153bdd5e22f1c44beed137':
  Fixed wallpaper bug where wrong size was taken when cropping
2014-03-25 04:00:26 +00:00
Gabriel Peal
c1edfc2c67 am 4668f1ed: am 8ee4491d: am e05077d7: am 83da75d9: Added a private apis jar that includes explicitly supported APIs that are not useful for 3rd party developers.
* commit '4668f1ed0d9b4fbb321d25803192d53c31d1ec3d':
  Added a private apis jar that includes explicitly supported APIs that are not useful for 3rd party developers.
2014-03-25 04:00:23 +00:00
John Reck
bfb07a0377 Move where updateProperties is called
Change-Id: I27da448996019094c44487ce28c5689d098d6535
2014-03-24 21:00:18 -07:00
Selim Cinek
f7805dd77a am 7290b56b: am 8ae8689d: am c41853ce: Fixed wallpaper bug where wrong size was taken when cropping
* commit '7290b56b51119070c549d88d3946d61e34f62ba3':
  Fixed wallpaper bug where wrong size was taken when cropping
2014-03-25 03:54:14 +00:00
Gabriel Peal
4668f1ed0d am 8ee4491d: am e05077d7: am 83da75d9: Added a private apis jar that includes explicitly supported APIs that are not useful for 3rd party developers.
* commit '8ee4491dc80943429cd79d0c7b87c28056067a58':
  Added a private apis jar that includes explicitly supported APIs that are not useful for 3rd party developers.
2014-03-25 03:54:11 +00:00
Selim Cinek
7290b56b51 am 8ae8689d: am c41853ce: Fixed wallpaper bug where wrong size was taken when cropping
* commit '8ae8689d165299bd0bbd0e04bff987dad352c8f5':
  Fixed wallpaper bug where wrong size was taken when cropping
2014-03-25 03:46:27 +00:00
Gabriel Peal
8ee4491dc8 am e05077d7: am 83da75d9: Added a private apis jar that includes explicitly supported APIs that are not useful for 3rd party developers.
* commit 'e05077d78c9abde054a754db53e71c647b9a705c':
  Added a private apis jar that includes explicitly supported APIs that are not useful for 3rd party developers.
2014-03-25 03:46:17 +00:00
Alan Viverette
eebf17ad20 Merge "Unhide touch feedback drawable and wrapper" 2014-03-25 02:55:27 +00:00
Alan Viverette
840dede901 Unhide touch feedback drawable and wrapper
Change-Id: I98926d4adfb6e8c6130b31c8f4534a1a382d0f3b
2014-03-24 19:54:34 -07:00
Koji Fukui
39f7068ed9 Don't wait for finishing animation when second display is disconnected
Basically WindowManagerService wait for finishing animation when
a window is removed. But when second display is disconnected, windows
on second display can't be shown even if animation is waited for.
On the contrary, it keeps on waiting for finishing the animation
in special case.

With this fix windows are immediately removed without waiting for
animation when second display is disconnected.

Change-Id: I1354c193c04db394a21a11c174e10c8e7da17a0e
2014-03-25 11:25:32 +09:00
Michael Wright
5da8ca9189 Merge "Respect ACTION_CANCEL for joystick fallbacks" 2014-03-25 01:48:06 +00:00
Alan Viverette
9bbbee116e Merge "Implement APIs for obtaining, caching themed Drawables" 2014-03-25 01:26:15 +00:00
Alan Viverette
52b999f072 Implement APIs for obtaining, caching themed Drawables
When Drawables are inflated during preload (or otherwise without a theme)
they cache their themeable attributes in their constant state as an array
keyed on attribute index. Drawables inflated with a theme will simply
resolve theme attributes as part of normal inflation, and they will not
cache any themeable attributes.

Drawables obtained from Resources are pulled from theme-specific cache
when possible. If an unthemed Drawable exists in the preload cache, a
new constant state will be obtained for the Drawable and the theme will
be applied by resolving the cached themeable attributes and overwriting
their respective constant state properties. If no cached version exists,
a new Drawable is inflated against the desired theme.

Constant states from themed drawables may be cached if the applied theme
is "pure" and was loaded from a style resource without any subsequent
modifications.

This CL does not handle applying themes to several Drawable types, but it
fully supports BitmapDrawable, GradientDrawable, NinePatchDrawable,
ColorDrawable, and TouchFeedbackDrawable.

BUG: 12611005
Change-Id: I4e794fbb62f7a371715f4ebdf946ee5f9a5ad1c9
2014-03-24 18:00:26 -07:00
Jens Gulin
6056e10271 Solve three memory leaks related to PatchCache
A Patch can be fairly large, holding bitmap data, but
is also frequently leaked which adds to the severity.
The feature is used in many important processes such
as Home, SystemUI and Chrome.

The following leaks are solved:

1. The Patch itself was not always freed.
PatchCache::removeDeferred() can mark patches to be
cared for by PatchCache::clearGarbage(). But
mCache.remove() would only destroy the container
and the pointer, not the Patch object itself.

2. The vertices stored in the Patch at Patch::createMesh()
would always leak. The empty/default destructor in Patch
would not properly destroy "vertices" since it's just a
pointer.

3. A BufferBlock that's added to the mFreeBlocks
in PatchCache could leak. The leak happened when a
patch later needed the entire free block, because the
object was removed from the list but never deleted
in PatchCache::setupMesh().

Change-Id: I41e60824479230b67426fc546d3dbff294c8891f
2014-03-25 09:37:02 +09:00
Michael Wright
9adca06514 Respect ACTION_CANCEL for joystick fallbacks
Also change MotionEvent.PointerCoords bit packing and unpacking
methods to be consistent with BitSets which are now used on the
native PointerCoords object.

Bug: 11480300
Change-Id: Ic6c7ebda5c545d07ea1ed259ca1f1184ccf85f29
2014-03-24 17:33:29 -07:00
Chong Zhang
29e4cf0a1a am 2ac81ee6: (-s ours) am c4e6233b: am b68d38e8: DO NOT MERGE change Surface constructor arg to 64bit
* commit '2ac81ee6ba51708d5504db5762ef44aafefc6ee2':
  DO NOT MERGE change Surface constructor arg to 64bit
2014-03-25 00:32:17 +00:00
Chong Zhang
2ac81ee6ba am c4e6233b: am b68d38e8: DO NOT MERGE change Surface constructor arg to 64bit
* commit 'c4e6233b2097dbd23927a9a247229ab67f41e4f8':
  DO NOT MERGE change Surface constructor arg to 64bit
2014-03-25 00:26:11 +00:00
Winson Chung
c9b0d58207 Merge "Fixing issue where we were relaunching each activity from recents instead of bringing them to the front." 2014-03-25 00:24:14 +00:00
Winson Chung
4be0445c66 Fixing issue where we were relaunching each activity from recents instead of bringing them to the front. 2014-03-24 17:22:30 -07:00
Chong Zhang
c4e6233b20 am b68d38e8: DO NOT MERGE change Surface constructor arg to 64bit
* commit 'b68d38e81fd779011e478dcf9911fbe77f71f20e':
  DO NOT MERGE change Surface constructor arg to 64bit
2014-03-25 00:20:03 +00:00
Ricardo Cervera
cd64a9ba96 am 399b9994: docs: Added release notes for Google APIs System Image v4.
* commit '399b99940e68eec11de1d0a23df67740ac3fdbd4':
  docs: Added release notes for Google APIs System Image v4.
2014-03-25 00:16:55 +00:00
Ruben Brunk
0dfdcb1019 Merge "camera3: Update whiteLevel/greenSplit docs." 2014-03-25 00:12:21 +00:00
Ruben Brunk
e89b120eae camera3: Update whiteLevel/greenSplit docs.
Bug: 13191430
Change-Id: I61cab65da546bdf1a748f46c28b6fce218b27bc4
2014-03-24 17:10:35 -07:00
Kenny Root
da776c872e Use X509ExtendedTrustManager and not Conscrypt
This allows the new X509ExtendedTrustManager to be used instead of
Conscrypt directly.

Bug: 13103812
Change-Id: I736f475342395f26657f2371828a6d3a0065a50a
2014-03-24 17:05:22 -07:00
Ricardo Cervera
399b99940e docs: Added release notes for Google APIs System Image v4.
Change-Id: Iac43dc318de44d19d48b0977c951cbc600b5c396
2014-03-24 17:01:35 -07:00
Winson Chung
75c549c537 Merge "Moving task view layout into resource." 2014-03-24 23:03:37 +00:00
Winson Chung
37c8d8ef85 Moving task view layout into resource.
- Using new activity icon/labels

Change-Id: If27bf60d2df75813213e9f3095baeb03085da8f7
2014-03-24 15:55:39 -07:00
John Spurlock
66c49bc99d am c3b7a671: (-s ours) am e2cae0a6: am 2b45d84e: Merge "Unhide Notification kind, rename to category." into klp-modular-dev
* commit 'c3b7a6718290dfc0cbd63039e76292f2ba35e43b':
  Unhide Notification kind, rename to category.
2014-03-24 22:54:20 +00:00
John Reck
78ce1c5247 Add back clobbered cleanup
Change-Id: I418b612710850bbc3033c4bd0143fb0f0befd2cb
2014-03-24 15:43:49 -07:00
Matthew Williams
4701b51af2 am bb87ac7f: DO NOT MERGE: Downgrade expedited to normal on reschedule.
* commit 'bb87ac7f9733ca9b490cb34e8a675dba083a57b7':
  DO NOT MERGE: Downgrade expedited to normal on reschedule.
2014-03-24 22:39:21 +00:00
Jose Lima
41c2d2cec3 Merge "resolved conflicts for merge of 6c45157c to master" 2014-03-24 22:35:08 +00:00
John Reck
2ddf5166ea Merge "Add stagingProperties" 2014-03-24 22:34:47 +00:00
Jose Lima
e911813840 resolved conflicts for merge of 6c45157c to master
Change-Id: I95d7f927f4321405318b44a21172b99f3f16e00a
2014-03-24 15:33:25 -07:00
John Reck
d0a0b2a314 Add stagingProperties
Change-Id: Ic7de551f8843fd70a77f738e33028e25c020bb3c
2014-03-24 15:31:34 -07:00
Ricardo Cervera
ae5d7d5d61 docs: Added new sensor types. Bug: 10674725
Original SHA-1: Ib378e3a1b3f1812b966c53a0eda6319f1bea464b

Original Conflicts:
	docs/html/guide/topics/sensors/sensors_motion.jd

Change-Id: I8f8632410b2756174ea4dfab8d58486e58cd8db2
2014-03-24 15:24:43 -07:00
Scott Main
9d8184e790 am 779174ea: update wear homepage with layout fixes and replace GIFs with smaller versions
* commit '779174ea182908e18d821656fc408697485a1f7a':
  update wear homepage with layout fixes and replace GIFs with smaller versions
2014-03-24 22:14:29 +00:00
Dianne Hackborn
852472d9aa Fix build.
Change-Id: I1dd79e932a551bd537d2c71e8fca29a299c9312f
2014-03-24 14:53:39 -07:00
Matthew Williams
bb87ac7f97 DO NOT MERGE: Downgrade expedited to normal on reschedule.
bug: 12033540
Expedited was previously tracked by a redundant internal variable, ostensibly
as an optimisation. This variable could differ from the value in the bundle
depending on how the operation is initialised, which led to confusion. Now an
expedited sync will only be treated as such on its first execution.

Change-Id: Ibfc4e9e49b86c82f2364a6ef55f887705a053eb6
2014-03-24 14:42:06 -07:00
Ricardo Cervera
40594d9833 docs: Added release notes for Support Library 19.1.0
Change-Id: I622bf7644051a01a23f31058a860d5df206b3a84
2014-03-24 14:35:24 -07:00
Mark Renouf
de02cdc1e9 am 7390d4ab: am 3796594c: am a63cd9f4: Merge "Run finalizers before counting for StrictMode." into klp-modular-dev
* commit '7390d4ab8d12d5ffa5d28341096f4425247204a0':
  Run finalizers before counting for StrictMode.
2014-03-24 21:25:41 +00:00
Craig Mautner
452fd49369 am 5332706b: am b98ee1eb: am 103ed355: am 557a93e1: Merge "Set ScreenshotSurface secure if any secure content is shown."
* commit '5332706b87c8772b97198e30c7cb4cc4ef3b577f':
  Set ScreenshotSurface secure if any secure content is shown.
2014-03-24 21:25:37 +00:00
Jinsuk Kim
1c855178e4 am 775a097f: am 3c34e5db: am c01e1aeb: Merge "Add HdmiCecManager" into klp-modular-dev
* commit '775a097f01a349548d2124ae9d7dd562c72eaa27':
  Add HdmiCecManager
2014-03-24 21:25:21 +00:00
Chris Craik
76c30ce3c1 Merge "Rework Outline API, remove isolatedZVolume remnants" 2014-03-24 21:22:36 +00:00