220574 Commits

Author SHA1 Message Date
Alan Viverette
0cacad7023 Apply density scaling in LayerDrawable and subclasses
Bug: 25081461
Change-Id: I48e62caf5017ff2dd84cf62b68a828f4542b6ae5
2015-10-28 16:37:25 -04:00
Keisuke Kuroyanagi
5918519f97 Merge "Add null check for MotionEvent#getDevice." 2015-10-27 11:08:38 +00:00
Keisuke Kuroyanagi
276793a808 Merge "Stop making a reversed selection with mice." 2015-10-27 09:45:32 +00:00
Daichi Hirono
78312be559 Merge "Let MtpDatabase add device name to storage root." 2015-10-27 08:34:34 +00:00
Keisuke Kuroyanagi
9a4450ba6c Add null check for MotionEvent#getDevice.
MotionEvent#getDevice can return null when the device is
unknown.

Change-Id: I902a96300307e3b2d3b324a2998e470254388e27
2015-10-27 17:29:53 +09:00
Daichi Hirono
85a808bf96 Let MtpDatabase add device name to storage root.
We have added device name to storage root by ag/790395.
But the change was not added to MtpDatabase class.

BUG=25162822

Change-Id: I019a9cf770a91c43b4e2f4e81e74b40175fd4872
2015-10-27 17:27:16 +09:00
Daichi Hirono
afe97dd103 Merge "Remove fullpath from MtpDatabase." 2015-10-27 08:26:45 +00:00
Keisuke Kuroyanagi
ead6ba3a63 Stop making a reversed selection with mice.
Bug: 24889605
Bug: 24475013
Change-Id: I6d39e050656dc28e523fab862c84054169e6300b
2015-10-27 17:26:07 +09:00
Daichi Hirono
88d2f781f0 Remove fullpath from MtpDatabase.
If the remote MTP device is backed by typical file system, the file name
is unique among files in a directory. However, MTP protocol itself does
not guarantee the uniqueness of name so we cannot use fullpath as ID.

Instead of fullpath, we use artifical ID generated by MtpDatabase
itself. So we don't need to store fullpath in the database.

BUG=25162822

Change-Id: I06598ce631a3221ed72e11734dbdaefef4c6349c
2015-10-27 17:14:50 +09:00
Daichi Hirono
71abc95dc9 Merge "Move TestResources class to the outside of MtpDocumentProviderTest." 2015-10-27 08:09:25 +00:00
Daichi Hirono
b999b0cb0f Move TestResources class to the outside of MtpDocumentProviderTest.
TestResources class will be used in MtpDatabaseTest.

BUG=25162822

Change-Id: I4f51b517532bbc111e95e7ebd96787a2e6f0f87a
2015-10-27 17:08:20 +09:00
Keisuke Kuroyanagi
742bd40328 Merge "Fix: Last char can be excluded from mouse selection." 2015-10-27 05:46:47 +00:00
Keisuke Kuroyanagi
09424c83d6 Merge "Add mouse interaction UI test for TextView." 2015-10-27 05:46:00 +00:00
Geoff Mendal
97dffdb72f Merge "Import translations. DO NOT MERGE" into cw-e-dev am: 337495bded -s ours am: 515e97a52c -s ours
am: ff20c28c38  -s ours

* commit 'ff20c28c3813f412379c03457c6b3f31e53d81c4':
  Import translations. DO NOT MERGE
2015-10-27 04:51:39 +00:00
Dianne Hackborn
780318180f Merge "Bring back the sensing alarm. We need it!" 2015-10-27 00:15:02 +00:00
Chong Zhang
0c4a76959a Merge "Use saved window surface to start entering animation" 2015-10-26 23:57:13 +00:00
Mitchell Wills
61da59bd9c Merge "Fix TimeUtils.formatDuration for exactly one of a unit" 2015-10-26 23:53:57 +00:00
Chong Zhang
db20b5f7a1 Use saved window surface to start entering animation
When app is paused, keep the window surface around. Use it to start
enter animation if size remains unchanged on next launch.

bug: 19940527
Change-Id: Icf88d81f08b59e8bd946e410611f5098b253eb10
2015-10-26 16:30:16 -07:00
Chris Craik
ac7062e7f1 Merge "Initial version of clipped saveLayer in new pipeline" 2015-10-26 23:12:46 +00:00
Chris Craik
818c9fbf1d Initial version of clipped saveLayer in new pipeline
Additionally disables usage of FBO cache, so FBO destruction safely
interacts with renderstate caching.

Change-Id: I25c277cb7afec2ca33bf226445d6c8867a15a915
2015-10-26 15:51:48 -07:00
Filip Gruszczynski
541f92cb19 Clean up and document app transition animation loading.
We had three different sources of information about where the
animated window will start/end: appFrame, containingFrame,
containingWidth/Height. We can merge these into one, because
containingWidth/Height can be calculated from containingFrame and
appFrame is actually used only once and the containingFrame is not
used in the same scenario.

Also, documentation about the frames and insets. The rest is fairly
simple, but frames and insets need explanation of how they are used.

Finally, simplify naming.

Bug: 25246833

Change-Id: I0accc2f23792bca4e1b9941007c6249745e023ce
2015-10-26 14:55:31 -07:00
Filip Gruszczynski
455f8e2414 Merge "Improve infrastructure for replacing windows." 2015-10-26 21:48:30 +00:00
John Reck
1e4313dfd0 Merge "eglSwapBuffers can also return EGL_BAD_NATIVE_WINDOW" 2015-10-26 21:32:52 +00:00
Dianne Hackborn
18acb55de5 Bring back the sensing alarm. We need it!
Change-Id: I9f42dc19b99b7550189449d0a5100caa140810c1
2015-10-26 14:31:07 -07:00
Filip Gruszczynski
b6e6662462 Improve infrastructure for replacing windows.
We need to be more precise when removing the window that is being
replaced. We used to depend on the fact that we can remove it after
the first draw of the new added window. However, due to resizing the
old window might reset its draw state and that will trigger a removal
of that window.

We need to add an information about the window that is replacing the
old one and only when this new window draws itself, we remove the old
one.

This improves the transition after maximizing docked window. This is
a situation where first resize operation finishes and immediately
after we have a replacement operation.

Bug: 24914011
Change-Id: Ia8e5bb7872787e663ba23f26588f9c4db1a5e574
2015-10-26 14:11:32 -07:00
Filip Gruszczynski
20070371f3 Merge "Align the freeform to docking animation." 2015-10-26 21:09:27 +00:00
Filip Gruszczynski
2dfcf840aa Align the freeform to docking animation.
It was not aligned, because we didn't take into account that the
docked window will be cropped by the status bar and navigation
bar. We need to account for that when creating the animation.

Bug: 24913915
Change-Id: Idb82eefa14d65fe3bf6b25a9bd94c12dc8cbe648
2015-10-26 14:08:22 -07:00
John Reck
c2547fa6f9 eglSwapBuffers can also return EGL_BAD_NATIVE_WINDOW
Bug: 25017107
Change-Id: I545a746ba89d577de5769bc3e7dd335a100638c0
2015-10-26 13:52:52 -07:00
Steve McKay
44063d7559 Merge "Address followup comments from 793838." 2015-10-26 20:51:09 +00:00
Steve McKay
1eafb666c2 Address followup comments from 793838.
Change-Id: Ie77112ea38796f970a8f688c1c94aeb05f46ab78
2015-10-26 13:27:59 -07:00
Phil Burk
2cce579ed2 Merge "MIDI docs: add missing bracket" 2015-10-26 20:26:11 +00:00
Xiaohui Chen
29635859b8 Merge "Scan package with null user context." 2015-10-26 20:01:51 +00:00
Xiaohui Chen
8e46e7db5d Scan package with null user context.
Bug: 25185277
Change-Id: Ib15c04b55b10e315f186dd58a9489bbfcd527061
2015-10-26 20:00:16 +00:00
Geoff Mendal
33fcff8086 Merge "Import translations. DO NOT MERGE" into cw-e-dev am: db4f28692a -s ours am: ad3bd48dfe -s ours
am: dd21740d6b  -s ours

* commit 'dd21740d6b6ec56e812cd2845c85fe3efd3e3e6a':
  Import translations. DO NOT MERGE
2015-10-26 19:59:46 +00:00
Geoff Mendal
eac54076f2 Merge "Import translations. DO NOT MERGE" into cw-e-dev am: 9865051825 -s ours am: fe4a48c010 -s ours
am: 4604e75970  -s ours

* commit '4604e7597041f17dce0f9469ab5dcaae32426cf4':
  Import translations. DO NOT MERGE
2015-10-26 19:58:17 +00:00
Geoff Mendal
ff20c28c38 Merge "Import translations. DO NOT MERGE" into cw-e-dev am: 337495bded -s ours
am: 515e97a52c  -s ours

* commit '515e97a52c0b15d3e7a2d629d3faa821fa4f285e':
  Import translations. DO NOT MERGE
2015-10-26 19:52:50 +00:00
Geoff Mendal
dd21740d6b Merge "Import translations. DO NOT MERGE" into cw-e-dev am: db4f28692a -s ours
am: ad3bd48dfe  -s ours

* commit 'ad3bd48dfe219ac6cb8531f7a7750437c75b0fa3':
  Import translations. DO NOT MERGE
2015-10-26 19:51:18 +00:00
Geoff Mendal
4604e75970 Merge "Import translations. DO NOT MERGE" into cw-e-dev am: 9865051825 -s ours
am: fe4a48c010  -s ours

* commit 'fe4a48c01056f539f041572c5b685fa44eddb9f4':
  Import translations. DO NOT MERGE
2015-10-26 19:49:00 +00:00
Vladislav Kaznacheev
077794468a Merge "Fix drag and drop URI permission grants" 2015-10-26 19:46:21 +00:00
Geoff Mendal
515e97a52c Merge "Import translations. DO NOT MERGE" into cw-e-dev
am: 337495bded  -s ours

* commit '337495bded9c4035a922274143c1ab119e692bdd':
  Import translations. DO NOT MERGE
2015-10-26 19:44:27 +00:00
Geoff Mendal
ad3bd48dfe Merge "Import translations. DO NOT MERGE" into cw-e-dev
am: db4f28692a  -s ours

* commit 'db4f28692aacccb57d64f86b3dfd4205bafebf9b':
  Import translations. DO NOT MERGE
2015-10-26 19:42:59 +00:00
Geoff Mendal
fe4a48c010 Merge "Import translations. DO NOT MERGE" into cw-e-dev
am: 9865051825  -s ours

* commit '9865051825fbc709510deefa129c4210fadf057a':
  Import translations. DO NOT MERGE
2015-10-26 19:40:56 +00:00
Geoff Mendal
337495bded Merge "Import translations. DO NOT MERGE" into cw-e-dev 2015-10-26 19:36:01 +00:00
Geoff Mendal
db4f28692a Merge "Import translations. DO NOT MERGE" into cw-e-dev 2015-10-26 19:35:20 +00:00
Geoff Mendal
9865051825 Merge "Import translations. DO NOT MERGE" into cw-e-dev 2015-10-26 19:35:02 +00:00
Wale Ogunwale
67b78a3dae Merge changes I8ac518ce,I8392b4c3,I3bef3f75
* changes:
  Support for activity to opt-in/out of PiP form of multi-window.
  API for moving top activity in a stack to pinned stack.
  Added support for pinned stack.
2015-10-26 19:27:57 +00:00
Wale Ogunwale
8227969644 Merge "Removed use of leanback mode in ActivityManager." 2015-10-26 19:27:32 +00:00
Geoff Mendal
c5874fb8ab Merge "Import translations. DO NOT MERGE" into cw-e-dev am: 8961b24ff2 -s ours am: 7976a3fbf4 -s ours
am: cc7abc5edd  -s ours

* commit 'cc7abc5eddf9c2a47456103a720d28609e94b658':
  Import translations. DO NOT MERGE
2015-10-26 19:25:11 +00:00
Wale Ogunwale
b60692e3d8 Support for activity to opt-in/out of PiP form of multi-window.
While it makes sense to be able to resize most activities types
in multi-window mode. It only makes sense to put specific types
of activities in Picture-in-Picture (PiP) form of multi-window.
For example, activities that play video will be good candidates
while the Settings activity isn't.

The new flag allows the system to differentiate between resizeable
activities that can go into PiP mode and those that can't.

Bug: 25006507
Change-Id: I8ac518cec2fa3c8fb88be40c266b3751fb88f1ce
2015-10-26 12:23:59 -07:00
Geoff Mendal
55f91b7e54 Merge "Import translations. DO NOT MERGE" into cw-e-dev am: 4917e9dd1c -s ours am: e8be87e96f -s ours
am: b45b5ee1ca  -s ours

* commit 'b45b5ee1ca8c014f41e2aba6186285f573437aae':
  Import translations. DO NOT MERGE
2015-10-26 19:23:46 +00:00