During the PiP animation, we have two basic requirements:
1. We need to scale windows to the pinned stack bounds.
2. We need to halt resize and movement notifications to the client.
As we end the animation, we need to disable these states at differing
times. First we need to deliver a final resize and movement notification
to the client for it's new position. However, Surfaces may not
immediately resize (in particular in the case of child windows,
it may be some time!), furthermore Surfaces may resize at different
times so we need to persist scaling on a Surface by Surface
basis after reenabling resize notifications.
Bug: 28559097
Change-Id: I6d52a3e213e08a34f4c0eea892b2a84cd4c20e18
We want to calculate the scaling factor we need to have
the content area of the surface (not including insets) to reach
our desired size, otherwise we will seem to scale the insets
up or down over time.
Bug: 28559097
Change-Id: I86dbd5fc902b5d380d33dba626c6694b3c57ff25
am: ab0744344d
* commit 'ab0744344db3e626f1a249f285289b66653cf6bb':
Fix a deadlock in system server
Change-Id: Ib223cf25d4ac53225e9e8791bdae497956dc8471
am: 625f97ba3b
* commit '625f97ba3b4b0da653bf9da3a8336431f7b4f50e':
Updated link to material design page.
Change-Id: I4f295c8b35d7a7093ef48c58428ce43b27dd2502
am: 890101ccb3
* commit '890101ccb338fe0633b07f0197fe5c9957a4870d':
Updated link to material design page.
Change-Id: I6d88350c3f4681fa998c514e88532fe117c304dd
am: 26aea1383a
* commit '26aea1383afcaef13cedd5792088d3a3d6859f44':
Updated link to material design page.
Change-Id: Ia3e66198caff48e12fa03f471ecf80cb9bb4901e
am: 96b2fe6a4e
* commit '96b2fe6a4eec82635f39c025ee9c57e99207a3df':
Fix a few issues with ime adjust/minimized dock stack
Change-Id: I29e2d748e77f7773d7fc45440c1f807b25389ac5
am: ea65985513
* commit 'ea659855131e1ee506793813e97532f6fdbd4294':
docs: Updates to GIFs on WH home page
Change-Id: Ib0f1594f841de2bf0b18fdd8ce8c10c0ca19f3bf
am: ef033cd807
* commit 'ef033cd807e23643b160bcb2152ba36eb3b8a2ed':
docs: Updates to GIFs on WH home page
Change-Id: I13a20a619f9adf79901306585e2e17e28f6ebe84
am: 3bed1c0ef8
* commit '3bed1c0ef8a66c4ce064b1c6ee443681070c5fcb':
Explicitly close pipe end when we cease operations...
Change-Id: Iefb271ac59812bee8e271bbfe6fc73fcd60c4581
- Do not override minimized state in SysUI when IME adjust change
comes in.
- Do not animate IME adjust if we are already animating for minimized.
This lead to problems that we animated the minimized state with the IME
adjust values.
- Make sure to update state after checking whether the IME adjust is
animating. This is to fix an issue where sometimes the IME adjust
animation didn't run because the old target was wrong.
Change-Id: Ie35e2f943a4cda99ffdc6f14663d892863759e46
Fixes: 28819201
...because the other in-VM reference to that FD means that it won't
get GC'd after we release our local reference to the containing object,
and we wind up with the feeder end blocking on write to a still-fully-
open pipe rather than being made aware that the read end has needed
to shut down.
Bug 28756668
Change-Id: I90b6aaeaabe7d912d96d7ef57c24f68d87d9d0ab
am: 5ca058d38e
* commit '5ca058d38ec22e0a160859aee8d774dc59bf759c':
docs: Updates to GIFs on WH home page
Change-Id: I280afb495fb816376e368ca16c2a401adfeeb3a2