Merge "Update folder to new specs." into sc-dev

This commit is contained in:
Jonathan Miranda
2021-02-18 03:14:50 +00:00
committed by Android (Google) Code Review
3 changed files with 8 additions and 5 deletions

View File

@@ -19,6 +19,7 @@ package com.android.launcher3;
import static android.animation.ValueAnimator.areAnimatorsEnabled;
import static com.android.launcher3.anim.Interpolators.DEACCEL_1_5;
import static com.android.launcher3.config.FeatureFlags.ENABLE_FOUR_COLUMNS;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
@@ -599,7 +600,9 @@ public class CellLayout extends ViewGroup {
if (child instanceof BubbleTextView) {
BubbleTextView bubbleChild = (BubbleTextView) child;
bubbleChild.setTextVisibility(mContainerType != HOTSEAT);
bubbleChild.setCenterVertically(mContainerType != HOTSEAT);
if (ENABLE_FOUR_COLUMNS.get()) {
bubbleChild.setCenterVertically(mContainerType != HOTSEAT);
}
}
child.setScaleX(mChildScale);