Robert Carr
001ccdc98f
Merge "Respect manually set HARDWARE_ACCELERATED flag." into nyc-dev am: 37696cccd8 am: ff54c9eeb2
...
am: e42b3f0586
* commit 'e42b3f0586b5055eeb1e77c4b5d52001fcff9c90':
Respect manually set HARDWARE_ACCELERATED flag.
Change-Id: I84acd6bb147dded75314aa97e21dc8d9446fd43a
2016-04-21 20:08:18 +00:00
Rob Carr
e42b3f0586
Merge "Respect manually set HARDWARE_ACCELERATED flag." into nyc-dev am: 37696cccd8
...
am: ff54c9eeb2
* commit 'ff54c9eeb2eeebebcb8d14fd35dfcdcbafa187a6':
Respect manually set HARDWARE_ACCELERATED flag.
Change-Id: Ie0530121ee8dc34ae41f89acb27eeaf41ddf3534
2016-04-21 20:03:34 +00:00
Rob Carr
37696cccd8
Merge "Respect manually set HARDWARE_ACCELERATED flag." into nyc-dev
2016-04-21 19:52:02 +00:00
Vladislav Kaznacheev
32c8b330df
Merge "Add JavaDoc for View.updateDragShadow" into nyc-dev am: 2860936 am: 1a5cc60b39
...
am: 24d1f99711
* commit '24d1f997115c8e114900bd2306e4e11a0c05e35f':
Add JavaDoc for View.updateDragShadow
Change-Id: I7fc6a1b8403687329dd217c09781ccc1887bc331
2016-04-21 02:10:02 +00:00
Vladislav Kaznacheev
24d1f99711
Merge "Add JavaDoc for View.updateDragShadow" into nyc-dev am: 2860936
...
am: 1a5cc60b39
* commit '1a5cc60b3968d54b9c7bf4e6883b3b4ca55821ca':
Add JavaDoc for View.updateDragShadow
Change-Id: I07bfcff42ea12ae0260c850012d936121b3d3ea6
2016-04-21 00:17:45 +00:00
TreeHugger Robot
28609360cf
Merge "Add JavaDoc for View.updateDragShadow" into nyc-dev
2016-04-21 00:02:08 +00:00
Ruchi Kandoi
e325e5629f
Merge "window: Adds a Sustained Performance Mode window flag." into nyc-dev am: a645c97 am: 75da7b4
...
am: a78d8d3
* commit 'a78d8d303e46b06948e4d2199f9f2942ee09138e':
window: Adds a Sustained Performance Mode window flag.
Change-Id: I4f2c47cdaa9fa6391e73d725aebb0348ae28f0ac
2016-04-20 23:05:29 +00:00
Vladislav Kaznacheev
ea4d221c42
Add JavaDoc for View.updateDragShadow
...
Bug: 28296402
Change-Id: I2aec5ab9932c3177cb08dbf1210abfd949e0dab7
2016-04-20 14:40:32 -07:00
Trevor Johns
0392182bff
Merge changes from topic \'merge_docs_nyc-dev\' into nyc-dev am: 59c9a93 am: 254f1b8
...
am: e1b5670
* commit 'e1b56701fd219227adae615fe81f03d5db4ae433':
Remove links to createAndInitializeUser() and createUser()
Resolve merge conflicts of a5060ee to nyc-dev
Change-Id: I8cf43f9ad491c6f23eb5fe0051293267ab2d03bf
2016-04-20 21:32:39 +00:00
Ruchi Kandoi
a78d8d303e
Merge "window: Adds a Sustained Performance Mode window flag." into nyc-dev am: a645c97
...
am: 75da7b4
* commit '75da7b4ad041586d1a7a086467a6e6a76516e15f':
window: Adds a Sustained Performance Mode window flag.
Change-Id: Id029aa2f10e4d278c385487739978075607f29a1
2016-04-20 21:17:12 +00:00
Trevor Johns
e1b56701fd
Merge changes from topic \'merge_docs_nyc-dev\' into nyc-dev am: 59c9a93
...
am: 254f1b8
* commit '254f1b8a43480749b7061129289d34bc15d345a5':
Remove links to createAndInitializeUser() and createUser()
Resolve merge conflicts of a5060ee to nyc-dev
Change-Id: I32a3081af9ca5533785c90b7239ffd5b5e69d5bf
2016-04-20 21:15:11 +00:00
Robert Carr
13678ee74e
Respect manually set HARDWARE_ACCELERATED flag.
...
When choosing what window parameters to pass on
to child windows, we need to respect the manually set
FLAG_HARDWARE_ACCELERATED from Window.setFlags() in
addition to the activity manifest value, and the value
from setWindowManager. Given that we pass the value
on to child windows from when setWindowManager is called,
I think it makes sense to pass it when setFlags is
called.
Bug: 27099358
Bug: 23036374
Change-Id: Ie018841aadd270910fe0f8bc5a5ddca3bfbee69b
2016-04-20 14:09:55 -07:00
Ruchi Kandoi
a645c9753f
Merge "window: Adds a Sustained Performance Mode window flag." into nyc-dev
2016-04-20 20:35:21 +00:00
Trevor Johns
59c9a93fc2
Merge changes from topic 'merge_docs_nyc-dev' into nyc-dev
...
* changes:
Remove links to createAndInitializeUser() and createUser()
Resolve merge conflicts of a5060ee to nyc-dev
2016-04-20 18:35:57 +00:00
Ruchi Kandoi
43e38de253
window: Adds a Sustained Performance Mode window flag.
...
Adds setSustainedPerformanceMode(boolean) API for applications to set
the mode for a given window. The mode will be disabled automatically when the
window is no longer in focus.
Bug: 28150358
Change-Id: Ibe8bc564eeaaccbcaad5c4f792cda16da931dffd
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com >
2016-04-20 09:57:11 -07:00
Jorim Jaggi
9b23400b05
Merge "Fixes for resize thread" into nyc-dev am: 13219992a0 am: 47606dc20f
...
am: b3150d580e
* commit 'b3150d580e869fe85e3aec1b6417a9161acc7400':
Fixes for resize thread
Change-Id: I6c9d9151edd94b18792875cd25f70f816053e326
2016-04-20 00:18:57 +00:00
Jorim Jaggi
b3150d580e
Merge "Fixes for resize thread" into nyc-dev am: 13219992a0
...
am: 47606dc20f
* commit '47606dc20fb12e6fcf9c889d48b1b78b6790561e':
Fixes for resize thread
Change-Id: I683fcd212936beb48808d016f8cf87a8c5635925
2016-04-20 00:16:45 +00:00
Jorim Jaggi
13219992a0
Merge "Fixes for resize thread" into nyc-dev
2016-04-20 00:07:54 +00:00
Robert Carr
d51e2981a2
Merge "Force windows to be scalable during pinned animation." into nyc-dev am: 4e9a9df am: 1b72363
...
am: 465ff1f
* commit '465ff1f9e61953eb57ab2fe3ff3405abebc79628':
Force windows to be scalable during pinned animation.
Change-Id: I49a8373aad59842e28847f36511e662c7087d4b3
2016-04-19 22:28:20 +00:00
Robert Carr
1b72363846
Merge "Force windows to be scalable during pinned animation." into nyc-dev
...
am: 4e9a9df
* commit '4e9a9dfb67ebc48028b1613a03144101d94f7d92':
Force windows to be scalable during pinned animation.
Change-Id: I772d120442ed82c55c71fbf5ce841735d7a14cc5
2016-04-19 22:17:16 +00:00
Rob Carr
4e9a9dfb67
Merge "Force windows to be scalable during pinned animation." into nyc-dev
2016-04-19 22:11:02 +00:00
Jorim Jaggi
0d6222d96d
Fixes for resize thread
...
- Make sure to draw navigation bar/status bar background before the
main render node. This is to avoid any flickering when entering
resizing mode, so you rather overdraw than underdraw.
- Draw the first frame from the main thread directly to increase
chance that all drawing commands are processing within a single
frame.
Bug: 27864358
Bug: 28003586
Change-Id: I033f57cdbcb2c16ea93134c041095a415d5c25b4
2016-04-19 14:41:11 -07:00
Robert Carr
1ca6a33f36
Force windows to be scalable during pinned animation.
...
We resize windows at the beginning of the pinned stack
animation when animating to a larger size, and so for some
duration a resize will be pending. We need to force the window
out of SCALING_MODE_FREEZE so we can animate during this period.
Bug: 27891386
Change-Id: I5cff599ed67f2c179e938662b6f0d99bd790aaba
2016-04-19 12:47:18 -07:00
John Reck
6d1ce48ff1
Merge "Don\'t reuse LOST_SURFACE for stopped" into nyc-dev am: 9110429 am: 5cc4428
...
am: 0f694e9
* commit '0f694e945a5b82d75b348d4ce89e2409e0131063':
Don't reuse LOST_SURFACE for stopped
Change-Id: Ied8d4602334c13c34fab6b7779fbfdd206bf6103
2016-04-19 14:59:23 +00:00
John Reck
5cc4428bec
Merge "Don\'t reuse LOST_SURFACE for stopped" into nyc-dev
...
am: 9110429
* commit '9110429f0d8acac0d621d805050103fa58953fb9':
Don't reuse LOST_SURFACE for stopped
Change-Id: Ia7c609029215da17c61eb77bd3279c077d1b7713
2016-04-19 14:53:31 +00:00
John Reck
9110429f0d
Merge "Don't reuse LOST_SURFACE for stopped" into nyc-dev
2016-04-19 14:45:16 +00:00
Trevor Johns
682c24e228
Resolve merge conflicts of a5060ee to nyc-dev
...
This undoes the automerger skip which occured in
commit e740c84dc3 and
replays it as a standard (NOT -s ours) merge.
Change-Id: If5a47be26f73d6a0735c425cd66310a3e2a89086
2016-04-19 02:03:59 -07:00
Wale Ogunwale
b7947b49c4
Merge "Use right starting window resource in multi-window mode." into nyc-dev am: 3eefb4c am: a2ce89c
...
am: 55ca92d
* commit '55ca92d9a8fc0b0736eadd158ff215da52a82129':
Use right starting window resource in multi-window mode.
Change-Id: I4c0cf10fcfd19d4a2eff35f098496e1b330221fe
2016-04-19 00:16:21 +00:00
Wale Ogunwale
a2ce89ce0d
Merge "Use right starting window resource in multi-window mode." into nyc-dev
...
am: 3eefb4c
* commit '3eefb4c313d0269f7e8bd226bdcc2d039f9e5608':
Use right starting window resource in multi-window mode.
Change-Id: Iae72368565a49a177dac4db22c1060f7af77f61b
2016-04-19 00:10:53 +00:00
TreeHugger Robot
3eefb4c313
Merge "Use right starting window resource in multi-window mode." into nyc-dev
2016-04-19 00:04:00 +00:00
Wale Ogunwale
dfc18623ed
Use right starting window resource in multi-window mode.
...
Use the override configuration for the task the app is contained
in to generate resources for the starting window.
Bug: 28220001
Change-Id: I6fdf39a6d6de41287b44b25861a76f58fe58dd53
2016-04-18 15:09:34 -07:00
Michael Wright
e6f885912e
Merge "Add new, hidden MotionEvent flag for partially obscured windows." into mnc-dev am: 224582e am: c6629bd am: a8064c2 am: bc57aae am: c348fa3 am: c418909
...
am: efb51a0
* commit 'efb51a05afef601ae5286f03ac45558f6dde0849':
Add new, hidden MotionEvent flag for partially obscured windows.
Change-Id: I0be2af3c08f484ceb69418c5ac044c4d355a0345
2016-04-18 19:19:36 +00:00
Michael Wright
c418909e9c
Merge "Add new, hidden MotionEvent flag for partially obscured windows." into mnc-dev am: 224582e am: c6629bd am: a8064c2 am: bc57aae
...
am: c348fa3
* commit 'c348fa319df3c9980383b904d371ddd93baf5c21':
Add new, hidden MotionEvent flag for partially obscured windows.
Change-Id: I52f9cce7770394fa693cc3016b2c1c22e526427d
2016-04-18 19:08:45 +00:00
Michael Wright
c348fa319d
Merge "Add new, hidden MotionEvent flag for partially obscured windows." into mnc-dev am: 224582e am: c6629bd am: a8064c2
...
am: bc57aae
* commit 'bc57aaed0e9ac88a63fa989dba145dc35d048c48':
Add new, hidden MotionEvent flag for partially obscured windows.
Change-Id: I7663785a6877f61eaec121303dbdcedcbd242ec6
2016-04-18 19:03:25 +00:00
Michael Wright
bc57aaed0e
Merge "Add new, hidden MotionEvent flag for partially obscured windows." into mnc-dev am: 224582e am: c6629bd
...
am: a8064c2
* commit 'a8064c2a8b54881bceade03a9d2f6c1223e055f3':
Add new, hidden MotionEvent flag for partially obscured windows.
Change-Id: I4e8d2bff82a3308c5966a0b0c154209b727db669
2016-04-18 18:57:54 +00:00
Michael Wright
a8064c2a8b
Merge "Add new, hidden MotionEvent flag for partially obscured windows." into mnc-dev am: 224582e
...
am: c6629bd
* commit 'c6629bd5dff622a26683269f9201b8d7871c6ef1':
Add new, hidden MotionEvent flag for partially obscured windows.
Change-Id: I0d602765de707548ede0b1c0a6a38790626e7da1
2016-04-18 18:52:13 +00:00
Michael Wright
c6629bd5df
Merge "Add new, hidden MotionEvent flag for partially obscured windows." into mnc-dev
...
am: 224582e
* commit '224582e0403bb123da49d80af21f108900185769':
Add new, hidden MotionEvent flag for partially obscured windows.
Change-Id: I24f2bf328c91bbc05f1b76ed464d962c71e92245
2016-04-18 18:46:44 +00:00
John Reck
9a17da8125
Don't reuse LOST_SURFACE for stopped
...
Fixes: 28218991
If a draw() happens while we are stopped, don't report
that the surface is lost because this will prompt
a tear-down of the surface which isn't desired. It can
result in ViewRootImpl ending up in an internally-bad state
in this case.
Change-Id: If3eb8c6bc8702299e5330bc0917952624dce3b7e
2016-04-18 11:29:35 -07:00
John Reck
a1141701e5
Merge "Merge "Fix NPE checkjni" into nyc-dev am: 2a12c6c am: 660874d" into nyc-mr1-dev-plus-aosp
...
am: 1cc94dd
* commit '1cc94dd6e5f2e9b09b6cbe73722aceb9b2795552':
Fix NPE checkjni
Change-Id: I181b6c0a9b5c8415ab454d88528cbd5f7ef47347
2016-04-18 18:09:24 +00:00
John Reck
f848f64224
Merge "Fix NPE checkjni" into nyc-dev am: 2a12c6c
...
am: 660874d
* commit '660874d1313f950dbddbc309fd50483716a678f4':
Fix NPE checkjni
Change-Id: I15ab8d4e8a154218de90cb24560be3cabe741a89
2016-04-18 18:03:44 +00:00
Dan Stoza
aaacb3f3c5
Merge "Revert "Hook up HDR capabilities from native SurfaceControl"" into nyc-dev am: 71574c3 am: bbfe7f7
...
am: 2785ebc
* commit '2785ebccb4fccc2aa747eab439398e827e2c5d02':
Revert "Hook up HDR capabilities from native SurfaceControl"
Change-Id: Idf01afd45e5162450078eb48cd9eefe67f36fe8c
2016-04-18 17:58:21 +00:00
John Reck
18fd148170
Merge "Fix NPE checkjni" into nyc-dev
...
am: 2a12c6c
* commit '2a12c6c2cf87be85365025c8a71976cc9117e2f6':
Fix NPE checkjni
Change-Id: I34f969987f14159d3a3f5c1bb0d09774bf001845
2016-04-18 17:58:12 +00:00
Dan Stoza
2785ebccb4
Merge "Revert "Hook up HDR capabilities from native SurfaceControl"" into nyc-dev am: 71574c3
...
am: bbfe7f7
* commit 'bbfe7f7d233f85b91f7ea1f3db7825a724d3b317':
Revert "Hook up HDR capabilities from native SurfaceControl"
Change-Id: Ib846ac9dd922144ce89ca18aa226aa70f79b32c1
2016-04-18 17:52:50 +00:00
Dan Stoza
c33adb5acf
Merge "Revert "Hook up HDR capabilities from native SurfaceControl"" into nyc-dev
...
am: 71574c3
* commit '71574c3371441b621700e2829f28e0e6eeec1bd4':
Revert "Hook up HDR capabilities from native SurfaceControl"
Change-Id: I433d0eacc1b3114af7ad4c1fa8baffee66a3f5c9
2016-04-18 17:47:35 +00:00
Dan Stoza
71574c3371
Merge "Revert "Hook up HDR capabilities from native SurfaceControl"" into nyc-dev
2016-04-18 17:37:57 +00:00
Dan Stoza
2c38f45f27
Revert "Hook up HDR capabilities from native SurfaceControl"
...
This reverts commit 49d438ebdf .
Change-Id: Ic41e3006f06784a9fe6adaba6445bb18f2e7fad1
2016-04-18 17:35:38 +00:00
John Reck
4afbed15f3
Fix NPE checkjni
...
Fixes: 28240259
releasedCallback can be null, which we need to check for
Change-Id: Ib218e1c624be8734db5722fc625ebbd72fa099ec
2016-04-18 10:35:08 -07:00
Dan Stoza
01f70a29d9
Merge "Hook up HDR capabilities from native SurfaceControl" into nyc-dev am: 554fa0f am: 18120cd
...
am: 6b35f57
* commit '6b35f571af17ea4176b812a53ec5069347491887':
Hook up HDR capabilities from native SurfaceControl
Change-Id: Ia283c09c14f4cdbc4b59b7dbcc5df8bc1116eaf0
2016-04-18 17:10:28 +00:00
Dan Stoza
6b35f571af
Merge "Hook up HDR capabilities from native SurfaceControl" into nyc-dev am: 554fa0f
...
am: 18120cd
* commit '18120cd472b7814bb3e7e468114f5be561bc0412':
Hook up HDR capabilities from native SurfaceControl
Change-Id: Iec5ef8db6169a1c0097faffbb20782a57dfe392f
2016-04-18 17:05:19 +00:00
Dan Stoza
379aabd81e
Merge "Hook up HDR capabilities from native SurfaceControl" into nyc-dev
...
am: 554fa0f
* commit '554fa0fa90f1d7eb2b7111c7d93ab3303b4ccdd8':
Hook up HDR capabilities from native SurfaceControl
Change-Id: I832cfabe3a3fc9a3a5ffaaab1a5cb82bf94cce24
2016-04-18 17:00:03 +00:00