Prevent thumbnails from shifting if placeholder view doesn't overlap

Always shift thumbnails when in phone mode.

Bug: 181705607
Test: Placeholder view didn't shift when no thumbnails underneath
it in portrait.

Change-Id: Ib2f066fdf17134b3f5bbd9b465b87868e9ce7583
This commit is contained in:
Vinit Nayak
2021-05-05 10:28:05 -07:00
parent f94540b28a
commit f4f0c4d82a
4 changed files with 51 additions and 6 deletions

View File

@@ -105,7 +105,7 @@ public abstract class BaseRecentsViewStateController<T extends RecentsView>
TASK_PRIMARY_SPLIT_TRANSLATION, TASK_SECONDARY_SPLIT_TRANSLATION,
mLauncher.getDeviceProfile());
setter.setFloat(mRecentsView, taskViewsFloat,
toState.getOverviewSecondaryTranslation(mLauncher), LINEAR);
toState.getSplitSelectTranslation(mLauncher), LINEAR);
setter.setFloat(mRecentsView, getContentAlphaProperty(), toState.overviewUi ? 1 : 0,
config.getInterpolator(ANIM_OVERVIEW_FADE, AGGRESSIVE_EASE_IN_OUT));