OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Set the bounds on the drawable for ChangeBounds reparenting." into mnc-dr...
George Mount [Tue, 20 Oct 2015 22:57:59 +0000 (22:57 +0000)]
Merge "Set the bounds on the drawable for ChangeBounds reparenting." into mnc-dr-dev am: 1313020acc am: ee15f087db am: bc71059223
am: aa4ffbc7cb

* commit 'aa4ffbc7cb54a5abf2d847ec0d43d1eca47de927':
  Set the bounds on the drawable for ChangeBounds reparenting.

8 years agoresolve merge conflicts of f013c3f111 to master.
Michael Wright [Tue, 20 Oct 2015 22:48:55 +0000 (23:48 +0100)]
resolve merge conflicts of f013c3f111 to master.

Change-Id: I2045187f8fa948a1733cb9a2cdc0a69ae97b5907

8 years agoMerge "update system api"
Todd Kennedy [Tue, 20 Oct 2015 22:25:25 +0000 (22:25 +0000)]
Merge "update system api"

8 years agoupdate system api
Todd Kennedy [Tue, 20 Oct 2015 22:23:40 +0000 (15:23 -0700)]
update system api

Change-Id: Id5ba26efe0281ed9e4b8410f266fb41f7fde8479

8 years agoMerge "Race condition in JobServiceContext"
Matthew Williams [Tue, 20 Oct 2015 21:43:44 +0000 (21:43 +0000)]
Merge "Race condition in JobServiceContext"

8 years agoMerge "Retain fragment loaders" into mnc-dr-dev am: ad968cf4e5 am: 6320767fb1 am...
Todd Kennedy [Tue, 20 Oct 2015 21:38:55 +0000 (21:38 +0000)]
Merge "Retain fragment loaders" into mnc-dr-dev am: ad968cf4e5 am: 6320767fb1 am: 02940eb47f
am: 186fcb8b64

* commit '186fcb8b648edd31f7a59a358587264659e84f4f':
  Retain fragment loaders

8 years agoMerge "Enable "quick install""
Todd Kennedy [Tue, 20 Oct 2015 21:25:24 +0000 (21:25 +0000)]
Merge "Enable "quick install""

8 years agoMerge "Apply density scaling when updating from typed array"
Alan Viverette [Tue, 20 Oct 2015 21:20:29 +0000 (21:20 +0000)]
Merge "Apply density scaling when updating from typed array"

8 years agoApply density scaling when updating from typed array
Alan Viverette [Tue, 20 Oct 2015 21:15:27 +0000 (17:15 -0400)]
Apply density scaling when updating from typed array

Ensures that density scaling is applied to default dimension values
where needed. Previously, scaling was only applied when a drawable
was loaded from cached constant state; however, drawables that were
preloaded against a different density and first loaded in some other
density were not scaled.

Bug: 25081461
Change-Id: I0f8058cc01e2fe8d6bd7e255eba40485f3cbe48b

8 years agoRace condition in JobServiceContext
Matthew Williams [Sat, 17 Oct 2015 04:04:51 +0000 (21:04 -0700)]
Race condition in JobServiceContext

BUG: 23981171
JobServiceContext has a reference to the running job which
1) needs to be copied before providing access to outside callers
2) was not guarded by a lock in one case which might result in an NPE

Change-Id: I7eb04052f3fe63e7b386c564a6bdebf9144e976a

8 years agoEnable "quick install"
Todd Kennedy [Thu, 17 Sep 2015 23:49:25 +0000 (16:49 -0700)]
Enable "quick install"

Quick install skips a lot of the normal install steps in order to
dramatically reduce the installation time [eg Twitter normally takes
20s to install. But, installs in under 2.5s with quick install]

The specific optimizations [with caveats]:
1. Use the JIT. Although the oat file is technically created, it
only contains the exploded contents of the APK and does not contain
pre-compiled native binary code. While this improves install time,
it impacts app execution. [saves 17s]
2. Bypass Play verification. Play normally verifies all installs
to ensure we're not installing malware. But, it can take multiple
seconds for Play to collect and send package information to our
backend servers. [saves 2.7s]
3. Reduce JAR file verification. Due to the structure of the JAR
certs, we cannot completely bypass JAR processing. However we skip
the step of verifying every manifest entry. [saves 1.3s]

NOTE: #2 and #3 will only occur on eng/user-debug builds.

Bug: 22848361
Change-Id: I48e77595ad5c13a9534fdb06da67ba8dae2797fb

8 years agoMerge "Do not update pointer icon shape for HOVER_EXIT event."
Jun Mukai [Tue, 20 Oct 2015 19:54:47 +0000 (19:54 +0000)]
Merge "Do not update pointer icon shape for HOVER_EXIT event."

8 years agoMerge "Filter products during compile phase"
Adam Lesinski [Tue, 20 Oct 2015 19:49:53 +0000 (19:49 +0000)]
Merge "Filter products during compile phase"

8 years agoMerge "Fix build"
Deepanshu Gupta [Tue, 20 Oct 2015 19:01:43 +0000 (19:01 +0000)]
Merge "Fix build"

8 years agoFix build
Deepanshu Gupta [Tue, 20 Oct 2015 18:59:27 +0000 (11:59 -0700)]
Fix build

Change-Id: I0e85f40955bfbf25e917f27c210c2f6f24d885a0

8 years agoMerge "Sync extras bundle comparison can throw NPE"
Matthew Williams [Tue, 20 Oct 2015 18:55:09 +0000 (18:55 +0000)]
Merge "Sync extras bundle comparison can throw NPE"

8 years agoSync extras bundle comparison can throw NPE
Matthew Williams [Fri, 16 Oct 2015 19:01:31 +0000 (12:01 -0700)]
Sync extras bundle comparison can throw NPE

BUG: 23591205
Change-Id: Ic6404c0befe70c34b078e0eae6a627826173d82c

8 years agoMerge "Set the bounds on the drawable for ChangeBounds reparenting." into mnc-dr...
George Mount [Tue, 20 Oct 2015 18:25:13 +0000 (18:25 +0000)]
Merge "Set the bounds on the drawable for ChangeBounds reparenting." into mnc-dr-dev am: 1313020acc am: ee15f087db
am: bc71059223

* commit 'bc7105922318391815660c2082ccfc621d27103c':
  Set the bounds on the drawable for ChangeBounds reparenting.

8 years agoMerge "Initial implementation of light-weight idle mode."
Dianne Hackborn [Tue, 20 Oct 2015 17:51:34 +0000 (17:51 +0000)]
Merge "Initial implementation of light-weight idle mode."

8 years agoresolve merge conflicts of 57a5cba606 to cw-e-dev. am: bab2b42445
Michael Wright [Tue, 20 Oct 2015 17:44:46 +0000 (17:44 +0000)]
resolve merge conflicts of 57a5cba606 to cw-e-dev. am: bab2b42445
am: b959ce872c

* commit 'b959ce872c37e5f49c8f77ad188fcb9970dcce7a':
  Add SystemUI component to watch for keyboard attachment.

8 years agoMerge "Set the bounds on the drawable for ChangeBounds reparenting." into mnc-dr...
George Mount [Tue, 20 Oct 2015 17:44:41 +0000 (17:44 +0000)]
Merge "Set the bounds on the drawable for ChangeBounds reparenting." into mnc-dr-dev am: 1313020acc
am: ee15f087db

* commit 'ee15f087db590ea21f5ce44e4571bbcc2885aaf2':
  Set the bounds on the drawable for ChangeBounds reparenting.

8 years agoInitial implementation of light-weight idle mode.
Dianne Hackborn [Thu, 15 Oct 2015 19:38:14 +0000 (12:38 -0700)]
Initial implementation of light-weight idle mode.

This mode turns on after the screen has been off for 15 minutes,
and then cycles through 15 minutes of idle and 1 minute of
maintenance, ragardless of whether the device is moving around.

It currently only impacts network access and sync/job scheduling.
It does not remove access to wake locks or alarms for any apps.
It also doesn't report in the public API that the device is in
idle mode (since it isn't modifying the behavior of the power
manager) -- this is probably what we desire, since we don't want
stuff like GCM to be reporting these frequent changes.

We'll probably at least want to have the alarm manager do some
kind of more aggressive batching of alarms in this most (not allowing
more than one wakeup every minute?).  That's for the future.

Also updated batterystats to include this new information, which
means the format of some of the data has changed -- device_idle
is no longer a flag, but an enum of (off, light, full), and there
is no information about time spent in light modes.

Also added new data about the maximum duration spent in both light
and full idle modes, to get a better understanding of how those
are behaving.

And did a little cleanup of DeviceIdleController, removing the
sensing alarm which was redundant with the regular alarm.

Change-Id: Ibeea6659577dc02deff58f048f97fcd9b0223307

8 years agoMerge "Set the bounds on the drawable for ChangeBounds reparenting." into mnc-dr-dev
George Mount [Tue, 20 Oct 2015 17:23:45 +0000 (17:23 +0000)]
Merge "Set the bounds on the drawable for ChangeBounds reparenting." into mnc-dr-dev
am: 1313020acc

* commit '1313020acc93e601c98779d8859f44391c504ba2':
  Set the bounds on the drawable for ChangeBounds reparenting.

8 years agoresolve merge conflicts of 57a5cba606 to cw-e-dev.
Michael Wright [Tue, 20 Oct 2015 17:23:23 +0000 (17:23 +0000)]
resolve merge conflicts of 57a5cba606 to cw-e-dev.
am: bab2b42445

* commit 'bab2b424453e556a2e7bb9470d70673793dd82df':
  Add SystemUI component to watch for keyboard attachment.

8 years agoMerge "Don't throw when request size and docked stack is not visible."
Filip Gruszczynski [Tue, 20 Oct 2015 17:12:15 +0000 (17:12 +0000)]
Merge "Don't throw when request size and docked stack is not visible."

8 years agoMerge "Set the bounds on the drawable for ChangeBounds reparenting." into mnc-dr-dev
George Mount [Tue, 20 Oct 2015 16:41:33 +0000 (16:41 +0000)]
Merge "Set the bounds on the drawable for ChangeBounds reparenting." into mnc-dr-dev

8 years agoDon't throw when request size and docked stack is not visible.
Filip Gruszczynski [Tue, 20 Oct 2015 00:26:45 +0000 (17:26 -0700)]
Don't throw when request size and docked stack is not visible.

When requesting size for the stack that is next to the dock stack, we
shouldn't crash if the dock stack is not visible (which we would treat
as if it was not availble). We continue to throw an exception if the
docked stack really isn't there, but if it's only not visible, we give
the other stack full screen bounds.

Bug: 25019182
Change-Id: Ia611733590a6cb5a4ef4cc636aa0a2a6a0958ceb

8 years agoresolve merge conflicts of 57a5cba606 to cw-e-dev.
Michael Wright [Tue, 20 Oct 2015 16:06:27 +0000 (17:06 +0100)]
resolve merge conflicts of 57a5cba606 to cw-e-dev.

Change-Id: Ib43f0cf0b285c9799239658859af735279f87fff

8 years agoMerge "Add SystemUI component to watch for keyboard attachment." into mnc-dr-dev
Michael Wright [Tue, 20 Oct 2015 15:31:01 +0000 (15:31 +0000)]
Merge "Add SystemUI component to watch for keyboard attachment." into mnc-dr-dev

8 years agoMerge "Improve docked & freeform task to front app transition."
Filip Gruszczynski [Tue, 20 Oct 2015 15:07:36 +0000 (15:07 +0000)]
Merge "Improve docked & freeform task to front app transition."

8 years agoMerge "Retain fragment loaders" into mnc-dr-dev am: ad968cf4e5 am: 6320767fb1
Todd Kennedy [Tue, 20 Oct 2015 14:58:40 +0000 (14:58 +0000)]
Merge "Retain fragment loaders" into mnc-dr-dev am: ad968cf4e5 am: 6320767fb1
am: 02940eb47f

* commit '02940eb47fc1bdb3b069e42190bf8a70a9b916bf':
  Retain fragment loaders

8 years agoMerge "Retain fragment loaders" into mnc-dr-dev am: ad968cf4e5
Todd Kennedy [Tue, 20 Oct 2015 14:50:20 +0000 (14:50 +0000)]
Merge "Retain fragment loaders" into mnc-dr-dev am: ad968cf4e5
am: 6320767fb1

* commit '6320767fb181f48ea40da7da84167dbff373ea10':
  Retain fragment loaders

8 years agoMerge "Retain fragment loaders" into mnc-dr-dev
Todd Kennedy [Tue, 20 Oct 2015 14:41:23 +0000 (14:41 +0000)]
Merge "Retain fragment loaders" into mnc-dr-dev
am: ad968cf4e5

* commit 'ad968cf4e55afdd897ea84a44b7450442aea1e1d':
  Retain fragment loaders

8 years agoMerge "Retain fragment loaders" into mnc-dr-dev
Todd Kennedy [Tue, 20 Oct 2015 14:36:00 +0000 (14:36 +0000)]
Merge "Retain fragment loaders" into mnc-dr-dev

8 years agoMerge "Enable Work Profile passphrase verify/write with FBE"
Clara Bayarri [Tue, 20 Oct 2015 12:18:33 +0000 (12:18 +0000)]
Merge "Enable Work Profile passphrase verify/write with FBE"

8 years agoMerge "DO NOT MERGE Fix jank when intent resolver/chooser windows animate in" into...
Adam Powell [Tue, 20 Oct 2015 02:05:27 +0000 (02:05 +0000)]
Merge "DO NOT MERGE Fix jank when intent resolver/chooser windows animate in" into mnc-dr-dev am: 4ecfbcfdea am: eeed032eae am: 2a61cc8032
am: f94ce52404  -s ours

* commit 'f94ce52404e9d0354f123d22a8d9cd8aa8a73f86':
  DO NOT MERGE Fix jank when intent resolver/chooser windows animate in

8 years agoMerge "DO NOT MERGE Fix jank when intent resolver/chooser windows animate in" into...
Adam Powell [Tue, 20 Oct 2015 01:49:35 +0000 (01:49 +0000)]
Merge "DO NOT MERGE Fix jank when intent resolver/chooser windows animate in" into mnc-dr-dev am: 4ecfbcfdea am: eeed032eae
am: 2a61cc8032

* commit '2a61cc803203e605b1f4a017deec0aedb21605f3':
  DO NOT MERGE Fix jank when intent resolver/chooser windows animate in

8 years agoMerge "Fix read_mapinfo to recognize free list large object space" am: 59d548e1e5...
Mathieu Chartier [Tue, 20 Oct 2015 01:49:20 +0000 (01:49 +0000)]
Merge "Fix read_mapinfo to recognize free list large object space" am: 59d548e1e5 am: 7acf8c21d8
am: 8bf71cb7e7

* commit '8bf71cb7e73816431409a8e96287cf34a5a48c81':
  Fix read_mapinfo to recognize free list large object space

8 years agoMerge "Reload content description of KeyButtonView" into mnc-dr-dev am: 9a345f31f2...
Adrian Roos [Tue, 20 Oct 2015 01:18:09 +0000 (01:18 +0000)]
Merge "Reload content description of KeyButtonView" into mnc-dr-dev am: 9a345f31f2 am: 574b5f71e8 am: 011f9eb1fc
am: 0fdcc66177

* commit '0fdcc6617769d8198012a92527c6aff2ced4831f':
  Reload content description of KeyButtonView

8 years agoMerge branch \'cw-e-dev\' of /usr/local/google/game/mirror/googleplex-android_googles...
Todd Kennedy [Tue, 20 Oct 2015 01:17:20 +0000 (01:17 +0000)]
Merge branch \'cw-e-dev\' of /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/frameworks/base into cw-e-dev am: ec8a4ecc92 am: 7e5b18a9dd
am: 78891b64c9

* commit '78891b64c9245fd0780fa4559b018d4279766fb4':

8 years agoMerge "Set host when restoring a fragment" into mnc-dr-dev am: 986d4b482d am: d419d86...
Todd Kennedy [Tue, 20 Oct 2015 01:16:19 +0000 (01:16 +0000)]
Merge "Set host when restoring a fragment" into mnc-dr-dev am: 986d4b482d am: d419d86952 am: e9c7512147
am: eede174f7b

* commit 'eede174f7b7ee6fa8f1ad7de237c1d647a5db05f':
  Set host when restoring a fragment

8 years agoMerge "Fix read_mapinfo to recognize free list large object space" into mnc-dr-dev...
Mathieu Chartier [Tue, 20 Oct 2015 01:15:28 +0000 (01:15 +0000)]
Merge "Fix read_mapinfo to recognize free list large object space" into mnc-dr-dev am: 7f2deeeef5 am: df0cc41a7b am: efa447e1ab
am: a6358d93a0

* commit 'a6358d93a0f1cbc6469c226f7a77858e00b7de77':
  Fix read_mapinfo to recognize free list large object space

8 years agoMerge "Don\'t allow concurrent permission requests." into mnc-dr-dev am: e199016a82...
Svetoslav Ganov [Tue, 20 Oct 2015 01:14:04 +0000 (01:14 +0000)]
Merge "Don\'t allow concurrent permission requests." into mnc-dr-dev am: e199016a82 am: aebff7f1ad am: 2a95159d2c
am: 7fdc5d95ad

* commit '7fdc5d95ada01a378877d6a7c8be1894eb869e04':
  Don't allow concurrent permission requests.

8 years agoam 73b6750c: am 005d36d1: Merge "Fix a possible race condition in SensorManager initi...
Aravind Akella [Tue, 20 Oct 2015 01:12:52 +0000 (01:12 +0000)]
am 73b6750c: am 005d36d1: Merge "Fix a possible race condition in SensorManager initialization." into mnc-dr-dev am: a817c90a7a
am: fd81002e71

* commit 'fd81002e719737696c1c5913f2ba77f2e28883f3':
  Fix a possible race condition in SensorManager initialization.

8 years agoMerge "DO NOT MERGE Fix jank when intent resolver/chooser windows animate in" into...
Adam Powell [Tue, 20 Oct 2015 01:12:40 +0000 (01:12 +0000)]
Merge "DO NOT MERGE Fix jank when intent resolver/chooser windows animate in" into mnc-dr-dev am: 4ecfbcfdea
am: eeed032eae

* commit 'eeed032eae1ac03509155fe7002189df054bb8af':
  DO NOT MERGE Fix jank when intent resolver/chooser windows animate in

8 years agoMerge "Fix read_mapinfo to recognize free list large object space" am: 59d548e1e5
Mathieu Chartier [Tue, 20 Oct 2015 01:12:36 +0000 (01:12 +0000)]
Merge "Fix read_mapinfo to recognize free list large object space" am: 59d548e1e5
am: 7acf8c21d8

* commit '7acf8c21d848305400f645126918100f1d99f921':
  Fix read_mapinfo to recognize free list large object space

8 years agoMerge "DO NOT MERGE Fix jank when intent resolver/chooser windows animate in" into...
Adam Powell [Tue, 20 Oct 2015 00:54:34 +0000 (00:54 +0000)]
Merge "DO NOT MERGE Fix jank when intent resolver/chooser windows animate in" into mnc-dr-dev
am: 4ecfbcfdea

* commit '4ecfbcfdeaed67c3a08002069a530fa58582a48b':
  DO NOT MERGE Fix jank when intent resolver/chooser windows animate in

8 years agoMerge "Add device model name to MtpDocumentsProvider's roots."
Daichi Hirono [Tue, 20 Oct 2015 00:47:07 +0000 (00:47 +0000)]
Merge "Add device model name to MtpDocumentsProvider's roots."

8 years agoMerge "DO NOT MERGE Fix jank when intent resolver/chooser windows animate in" into...
Adam Powell [Tue, 20 Oct 2015 00:33:37 +0000 (00:33 +0000)]
Merge "DO NOT MERGE Fix jank when intent resolver/chooser windows animate in" into mnc-dr-dev

8 years agoMerge "Reload content description of KeyButtonView" into mnc-dr-dev am: 9a345f31f2...
Adrian Roos [Tue, 20 Oct 2015 00:32:09 +0000 (00:32 +0000)]
Merge "Reload content description of KeyButtonView" into mnc-dr-dev am: 9a345f31f2 am: 574b5f71e8
am: 011f9eb1fc

* commit '011f9eb1fcdfd5bda83185ee2190664b3bc3f22f':
  Reload content description of KeyButtonView

8 years agoMerge "Fix read_mapinfo to recognize free list large object space"
Mathieu Chartier [Tue, 20 Oct 2015 00:30:52 +0000 (00:30 +0000)]
Merge "Fix read_mapinfo to recognize free list large object space"
am: 59d548e1e5

* commit '59d548e1e54fa753d3776647b98dc34ea7c27685':
  Fix read_mapinfo to recognize free list large object space

8 years agoDO NOT MERGE Fix jank when intent resolver/chooser windows animate in
Adam Powell [Mon, 19 Oct 2015 23:25:08 +0000 (16:25 -0700)]
DO NOT MERGE Fix jank when intent resolver/chooser windows animate in

An old optimization in ViewRoot prevents updating a window surface
while a window animation is playing. SystemUI and other small system
components that blend these animations disable this for a smoother
experience. Disable it in ResolverActivity as well.

Bug 24989381

Change-Id: Iac7d1c7b1101ed8d2bc4c3557277a773ce871beb

8 years agoMerge branch \'cw-e-dev\' of /usr/local/google/game/mirror/googleplex-android_googles...
Todd Kennedy [Mon, 19 Oct 2015 23:53:37 +0000 (23:53 +0000)]
Merge branch \'cw-e-dev\' of /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/frameworks/base into cw-e-dev am: ec8a4ecc92
am: 7e5b18a9dd

* commit '7e5b18a9ddfff06f01cb97dbea12ae58a662870e':

8 years agoMerge "Set host when restoring a fragment" into mnc-dr-dev am: 986d4b482d am: d419d86952
Todd Kennedy [Mon, 19 Oct 2015 23:52:37 +0000 (23:52 +0000)]
Merge "Set host when restoring a fragment" into mnc-dr-dev am: 986d4b482d am: d419d86952
am: e9c7512147

* commit 'e9c751214715f3d136ae07fe9f553c488d01f352':
  Set host when restoring a fragment

8 years agoMerge "Fix read_mapinfo to recognize free list large object space" into mnc-dr-dev...
Mathieu Chartier [Mon, 19 Oct 2015 23:51:35 +0000 (23:51 +0000)]
Merge "Fix read_mapinfo to recognize free list large object space" into mnc-dr-dev am: 7f2deeeef5 am: df0cc41a7b
am: efa447e1ab

* commit 'efa447e1ab5a51c96219fc1d6204c128dbbaf661':
  Fix read_mapinfo to recognize free list large object space

8 years agoMerge "Don\'t allow concurrent permission requests." into mnc-dr-dev am: e199016a82...
Svetoslav Ganov [Mon, 19 Oct 2015 23:50:28 +0000 (23:50 +0000)]
Merge "Don\'t allow concurrent permission requests." into mnc-dr-dev am: e199016a82 am: aebff7f1ad
am: 2a95159d2c

* commit '2a95159d2cce4321205ca7f40027a97acc2fb77e':
  Don't allow concurrent permission requests.

8 years agoMerge "Reload content description of KeyButtonView" into mnc-dr-dev am: 9a345f31f2
Adrian Roos [Mon, 19 Oct 2015 23:50:19 +0000 (23:50 +0000)]
Merge "Reload content description of KeyButtonView" into mnc-dr-dev am: 9a345f31f2
am: 574b5f71e8

* commit '574b5f71e80cb5b205dcca2d9ef33820e33a850e':
  Reload content description of KeyButtonView

8 years agoMerge "Reload content description of KeyButtonView" into mnc-dr-dev
Adrian Roos [Mon, 19 Oct 2015 23:43:32 +0000 (23:43 +0000)]
Merge "Reload content description of KeyButtonView" into mnc-dr-dev
am: 9a345f31f2

* commit '9a345f31f23fc581f9ce501e854c821e865920ca':
  Reload content description of KeyButtonView

8 years agoSet the bounds on the drawable for ChangeBounds reparenting.
George Mount [Mon, 19 Oct 2015 19:14:01 +0000 (12:14 -0700)]
Set the bounds on the drawable for ChangeBounds reparenting.

Bug 24993183

The bounds for the drawable weren't being set, so the
drawable was never drawn to the correct size.

Change-Id: I992951f28ee6fac2ce8752d2dc0e23f51d3cf584
(cherry picked from commit f2a3703696f5dc8b1a0d243051e0db65c2145452)

8 years agoRetain fragment loaders
Todd Kennedy [Mon, 19 Oct 2015 22:31:51 +0000 (15:31 -0700)]
Retain fragment loaders

Remove the partial fix [it did not work for child fragment managers]
and replace with a more general fix that works with all fragments.

Bug: 23838271
Change-Id: I88b465f6a06a6ad627b9651b9e2eea41fae08972

8 years agoMerge branch \'cw-e-dev\' of /usr/local/google/game/mirror/googleplex-android_googles...
Todd Kennedy [Mon, 19 Oct 2015 23:32:29 +0000 (23:32 +0000)]
Merge branch \'cw-e-dev\' of /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/frameworks/base into cw-e-dev
am: ec8a4ecc92

* commit 'ec8a4ecc9210fa509283a860bb91814f28d28a4f':

8 years agoMerge "Set host when restoring a fragment" into mnc-dr-dev am: 986d4b482d
Todd Kennedy [Mon, 19 Oct 2015 23:31:34 +0000 (23:31 +0000)]
Merge "Set host when restoring a fragment" into mnc-dr-dev am: 986d4b482d
am: d419d86952

* commit 'd419d86952fd962e34011eb3d989f748e678691d':
  Set host when restoring a fragment

8 years agoMerge "Fix read_mapinfo to recognize free list large object space" into mnc-dr-dev...
Mathieu Chartier [Mon, 19 Oct 2015 23:29:56 +0000 (23:29 +0000)]
Merge "Fix read_mapinfo to recognize free list large object space" into mnc-dr-dev am: 7f2deeeef5
am: df0cc41a7b

* commit 'df0cc41a7bfa480ce5584420bceda850ad0c56c8':
  Fix read_mapinfo to recognize free list large object space

8 years agoMerge "Don\'t allow concurrent permission requests." into mnc-dr-dev am: e199016a82
Svetoslav Ganov [Mon, 19 Oct 2015 23:28:55 +0000 (23:28 +0000)]
Merge "Don\'t allow concurrent permission requests." into mnc-dr-dev am: e199016a82
am: aebff7f1ad

* commit 'aebff7f1ad23299d1ed71e83a3e76619a1a03574':
  Don't allow concurrent permission requests.

8 years agoMerge "Reload content description of KeyButtonView" into mnc-dr-dev
Adrian Roos [Mon, 19 Oct 2015 23:26:47 +0000 (23:26 +0000)]
Merge "Reload content description of KeyButtonView" into mnc-dr-dev

8 years agoMerge branch 'cw-e-dev' of /usr/local/google/game/mirror/googleplex-android_googlesou...
Todd Kennedy [Mon, 19 Oct 2015 23:25:04 +0000 (23:25 +0000)]
Merge branch 'cw-e-dev' of /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/frameworks/base into cw-e-dev

8 years agoMerge "Set host when restoring a fragment" into mnc-dr-dev
Todd Kennedy [Mon, 19 Oct 2015 23:22:57 +0000 (23:22 +0000)]
Merge "Set host when restoring a fragment" into mnc-dr-dev
am: 986d4b482d

* commit '986d4b482da952cd07e329b3bd11c935edd7ec01':
  Set host when restoring a fragment

8 years agoMerge "Set host when restoring a fragment" into mnc-dr-dev
Todd Kennedy [Mon, 19 Oct 2015 23:19:51 +0000 (23:19 +0000)]
Merge "Set host when restoring a fragment" into mnc-dr-dev
am: 986d4b482d

* commit '986d4b482da952cd07e329b3bd11c935edd7ec01':
  Set host when restoring a fragment

8 years agoMerge "Fix read_mapinfo to recognize free list large object space" into mnc-dr-dev
Mathieu Chartier [Mon, 19 Oct 2015 23:17:09 +0000 (23:17 +0000)]
Merge "Fix read_mapinfo to recognize free list large object space" into mnc-dr-dev
am: 7f2deeeef5

* commit '7f2deeeef53887dcad74b8aed86936983353cec4':
  Fix read_mapinfo to recognize free list large object space

8 years agoMerge "Don\'t allow concurrent permission requests." into mnc-dr-dev
Svetoslav Ganov [Mon, 19 Oct 2015 23:13:46 +0000 (23:13 +0000)]
Merge "Don\'t allow concurrent permission requests." into mnc-dr-dev
am: e199016a82

* commit 'e199016a82329b645a86db345c2d39322c8ad03a':
  Don't allow concurrent permission requests.

8 years agoMerge "Use null GL for unit tests/microbench"
Chris Craik [Mon, 19 Oct 2015 22:59:23 +0000 (22:59 +0000)]
Merge "Use null GL for unit tests/microbench"

8 years agoUse null GL for unit tests/microbench
Chris Craik [Mon, 19 Oct 2015 18:22:11 +0000 (11:22 -0700)]
Use null GL for unit tests/microbench

Change-Id: Ie6234f03d8561b71fc2ebd149ddd7334f275d7c5

8 years agoMerge "Set host when restoring a fragment" into mnc-dr-dev
Todd Kennedy [Mon, 19 Oct 2015 22:52:27 +0000 (22:52 +0000)]
Merge "Set host when restoring a fragment" into mnc-dr-dev

8 years agoDo not update pointer icon shape for HOVER_EXIT event.
Jun Mukai [Mon, 19 Oct 2015 22:51:28 +0000 (15:51 -0700)]
Do not update pointer icon shape for HOVER_EXIT event.

EXIT event does not have to udpate the pointer icon shape, because
when it immediately moves to another window, its HOVER_ENTER will
handle the icon shape.

Also HOVER_EXIT can happen after the HOVER_ENTER of the new window,
and in that case updating pointer icon at HOVER_EXIT will overwrite
the pointer icon for the new window.

Bug: 24415739
Change-Id: I08fc72cc69bbc3a6eef36d501d93e8e9ad36df85

8 years agoMerge "Fix read_mapinfo to recognize free list large object space" into mnc-dr-dev
Mathieu Chartier [Mon, 19 Oct 2015 22:47:45 +0000 (22:47 +0000)]
Merge "Fix read_mapinfo to recognize free list large object space" into mnc-dr-dev

8 years agoFix read_mapinfo to recognize free list large object space
Mathieu Chartier [Mon, 19 Oct 2015 20:48:34 +0000 (13:48 -0700)]
Fix read_mapinfo to recognize free list large object space

Bug: 25081604

(cherry picked from commit 6421da8f46e2a60da55939d8a4f7d91ab286dfcf)

Change-Id: If676c2309e3e397676fa8cef21405c34db7d5db2

8 years agoMerge "Don't allow concurrent permission requests." into mnc-dr-dev
Svetoslav Ganov [Mon, 19 Oct 2015 22:41:35 +0000 (22:41 +0000)]
Merge "Don't allow concurrent permission requests." into mnc-dr-dev

8 years agoMerge "Fix read_mapinfo to recognize free list large object space"
Mathieu Chartier [Mon, 19 Oct 2015 22:36:40 +0000 (22:36 +0000)]
Merge "Fix read_mapinfo to recognize free list large object space"

8 years agoFix read_mapinfo to recognize free list large object space
Mathieu Chartier [Mon, 19 Oct 2015 20:48:34 +0000 (13:48 -0700)]
Fix read_mapinfo to recognize free list large object space

Bug: 25081604
Change-Id: Ie277fd964afcdc80b97432cbd611a8136a2059d7

8 years agoMerge "Set the bounds on the drawable for ChangeBounds reparenting."
George Mount [Mon, 19 Oct 2015 22:20:52 +0000 (22:20 +0000)]
Merge "Set the bounds on the drawable for ChangeBounds reparenting."

8 years agoMerge "Fix trace end in inflate"
John Reck [Mon, 19 Oct 2015 22:00:54 +0000 (22:00 +0000)]
Merge "Fix trace end in inflate"

8 years agoMerge "Decouple gesture detection."
Steve McKay [Mon, 19 Oct 2015 22:00:39 +0000 (22:00 +0000)]
Merge "Decouple gesture detection."

8 years agoDecouple gesture detection.
Steve McKay [Mon, 19 Oct 2015 19:04:21 +0000 (12:04 -0700)]
Decouple gesture detection.

DirectoryFragment now uses an independent gesture detector.
Move early event-handling logic out of listener into the handler class.

Change-Id: Ie8a01b1507c8a8aa74355ead38feb7b802029540

8 years agoam 73b6750c: am 005d36d1: Merge "Fix a possible race condition in SensorManager initi...
Aravind Akella [Mon, 19 Oct 2015 21:41:36 +0000 (21:41 +0000)]
am 73b6750c: am 005d36d1: Merge "Fix a possible race condition in SensorManager initialization." into mnc-dr-dev am: a817c90a7a

* commit '73b6750cb6c3c9d5d7602878fd7020fa114a3cd3':
  Fix a possible race condition in SensorManager initialization.

8 years agoam 005d36d1: Merge "Fix a possible race condition in SensorManager initialization...
Aravind Akella [Mon, 19 Oct 2015 21:36:10 +0000 (21:36 +0000)]
am 005d36d1: Merge "Fix a possible race condition in SensorManager initialization." into mnc-dr-dev am: a817c90a7a

* commit '005d36d1b0653fccc5aaea2af36a2622f6d74f34':
  Fix a possible race condition in SensorManager initialization.

8 years agoMerge "Fix a possible race condition in SensorManager initialization." into mnc-dr-dev
Aravind Akella [Mon, 19 Oct 2015 21:32:25 +0000 (21:32 +0000)]
Merge "Fix a possible race condition in SensorManager initialization." into mnc-dr-dev
am: a817c90a7a

* commit 'a817c90a7ab296473345b0e106acc9be4e5b678c':
  Fix a possible race condition in SensorManager initialization.

8 years agoMerge "Fix a possible race condition in SensorManager initialization." into mnc-dr-dev
Aravind Akella [Mon, 19 Oct 2015 21:15:28 +0000 (21:15 +0000)]
Merge "Fix a possible race condition in SensorManager initialization." into mnc-dr-dev

8 years agoSet the bounds on the drawable for ChangeBounds reparenting.
George Mount [Mon, 19 Oct 2015 19:14:01 +0000 (12:14 -0700)]
Set the bounds on the drawable for ChangeBounds reparenting.

Bug 24993183

The bounds for the drawable weren't being set, so the
drawable was never drawn to the correct size.

Change-Id: I992951f28ee6fac2ce8752d2dc0e23f51d3cf584

8 years agoSet host when restoring a fragment
Todd Kennedy [Mon, 19 Oct 2015 19:48:55 +0000 (12:48 -0700)]
Set host when restoring a fragment

When we restore a fragment [i.e. on configuration change], we need to
make sure the host is set prior to calling into lifecycle methods
such as onInflate(). These use data contained within the host.

Bug: 22512520
Change-Id: I709365a858cfc555ec5b7fc200629fa8d022faad

8 years agoFix trace end in inflate
John Reck [Mon, 19 Oct 2015 19:46:09 +0000 (12:46 -0700)]
Fix trace end in inflate

Change-Id: I62809d70410a045231c8210ecd94a0bfc5e2d2fb

8 years agoMerge "Clean up VectorDrawable usage of stroke and fill color state lists"
Alan Viverette [Mon, 19 Oct 2015 19:34:16 +0000 (19:34 +0000)]
Merge "Clean up VectorDrawable usage of stroke and fill color state lists"

8 years agoClean up VectorDrawable usage of stroke and fill color state lists
Alan Viverette [Mon, 19 Oct 2015 19:18:53 +0000 (15:18 -0400)]
Clean up VectorDrawable usage of stroke and fill color state lists

Only store stateful CSLs; otherwise, just use the default (e.g. the
only available) color.

Bug: 25074102
Change-Id: I050c89841d4c6bf22473a66c713a845b0358dc94

8 years agoFix a possible race condition in SensorManager initialization.
Aravind Akella [Fri, 16 Oct 2015 21:18:40 +0000 (14:18 -0700)]
Fix a possible race condition in SensorManager initialization.

Bug: 24526176
Change-Id: Ib8bae6eee16a5b787d3c2da6ef03af311cfdfadc

8 years agoMerge "Use LinearStdAllocator in DisplayList"
Chris Craik [Mon, 19 Oct 2015 19:14:56 +0000 (19:14 +0000)]
Merge "Use LinearStdAllocator in DisplayList"

8 years agoUse LinearStdAllocator in DisplayList
Chris Craik [Fri, 16 Oct 2015 21:23:12 +0000 (14:23 -0700)]
Use LinearStdAllocator in DisplayList

bug:24300128

This removes most of the remaining calls to malloc when
recording DisplayLists.

Change-Id: If928bd53dac0f145aadc436a62759086b67da0ed

8 years agoMerge "Remove GLTrace support"
Pablo Ceballos [Mon, 19 Oct 2015 17:55:59 +0000 (17:55 +0000)]
Merge "Remove GLTrace support"

8 years agoImprove docked & freeform task to front app transition.
Filip Gruszczynski [Fri, 16 Oct 2015 21:21:09 +0000 (14:21 -0700)]
Improve docked & freeform task to front app transition.

Current transition animation assumes that it will go into fullscreen
mode. This makes it aware of the docked stack and makes it translate
from the click position to the final position. It also is aware of the
freeform bounds, so it can translate from the click position to the
freeform position.

Bug: 24913915
Change-Id: Idd42369e3ea86f85de851e2797ca9cef4b3842c2

8 years agoMerge "Fix: input source comparison -> MotionEvent.isFromSource"
Jun Mukai [Mon, 19 Oct 2015 17:23:23 +0000 (17:23 +0000)]
Merge "Fix: input source comparison -> MotionEvent.isFromSource"

8 years agoMerge "Fix: input source comparison -> MotionEvent.isFromSource()"
Jun Mukai [Mon, 19 Oct 2015 17:23:08 +0000 (17:23 +0000)]
Merge "Fix: input source comparison -> MotionEvent.isFromSource()"

8 years agoMerge "Enable explicit package for quick view intent."
Steve McKay [Mon, 19 Oct 2015 16:30:09 +0000 (16:30 +0000)]
Merge "Enable explicit package for quick view intent."