Merge "Update hotseat qsb and icons visibility with alpha" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
bf0411ea7e
@@ -112,6 +112,7 @@ public class Hotseat extends CellLayout implements Insettable {
|
||||
addView(mQsb);
|
||||
mIconsAlphaChannels = new MultiValueAlpha(getShortcutsAndWidgets(),
|
||||
ALPHA_CHANNEL_CHANNELS_COUNT);
|
||||
mIconsAlphaChannels.setUpdateVisibility(true);
|
||||
if (mQsb instanceof Reorderable qsbReorderable) {
|
||||
mQsbTranslationX = qsbReorderable.getTranslateDelegate()
|
||||
.getTranslationX(MultiTranslateDelegate.INDEX_NAV_BAR_ANIM);
|
||||
@@ -119,6 +120,7 @@ public class Hotseat extends CellLayout implements Insettable {
|
||||
mIconsTranslationXFactory = new MultiPropertyFactory<>(getShortcutsAndWidgets(),
|
||||
VIEW_TRANSLATE_X, ICONS_TRANSLATION_X_CHANNELS_COUNT, Float::sum);
|
||||
mQsbAlphaChannels = new MultiValueAlpha(mQsb, ALPHA_CHANNEL_CHANNELS_COUNT);
|
||||
mQsbAlphaChannels.setUpdateVisibility(true);
|
||||
}
|
||||
|
||||
/** Provides translation X for hotseat icons for the channel. */
|
||||
|
||||
Reference in New Issue
Block a user