2D Recents: Keep nav bar hidden from transition thumbnail
Bug: 32101881 Bug: 33752154 Test: Checked (slow motion screencast) transitions on local sw600dp device Change-Id: Id124f62df1063cf0fa81b5ef4367c047c3f51be3
This commit is contained in:
@@ -1105,8 +1105,10 @@ public class AppTransition implements Dump {
|
|||||||
// We scale the width and clip to the top/left square
|
// We scale the width and clip to the top/left square
|
||||||
float scale = thumbWidth /
|
float scale = thumbWidth /
|
||||||
(appWidth - contentInsets.left - contentInsets.right);
|
(appWidth - contentInsets.left - contentInsets.right);
|
||||||
int unscaledThumbHeight = (int) (thumbHeight / scale);
|
if (!mGridLayoutRecentsEnabled) {
|
||||||
mTmpFromClipRect.bottom = mTmpFromClipRect.top + unscaledThumbHeight;
|
int unscaledThumbHeight = (int) (thumbHeight / scale);
|
||||||
|
mTmpFromClipRect.bottom = mTmpFromClipRect.top + unscaledThumbHeight;
|
||||||
|
}
|
||||||
|
|
||||||
mNextAppTransitionInsets.set(contentInsets);
|
mNextAppTransitionInsets.set(contentInsets);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user