Loading packages/SystemUI/src/com/android/systemui/qs/QuickQSPanel.java +0 −19 Original line number Original line Diff line number Diff line Loading @@ -228,24 +228,5 @@ public class QuickQSPanel extends QSPanel { } } } } } } @Override public void setExpansion(float expansion) { if (expansion > 0f && expansion < 1f) { return; } boolean selected = expansion == 0f; // Expansion == 0f is when QQS is fully showing (as opposed to 1f, which is QS). At this // point we want them to be selected so the tiles will marquee (but not at other points // of expansion. // We set it as not important while we change this, so setting each tile as selected // will not cause them to announce themselves until the user has actually selected the // item. setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS); for (int i = 0; i < getChildCount(); i++) { getChildAt(i).setSelected(selected); } setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_AUTO); } } } } } packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileViewImpl.kt +3 −0 Original line number Original line Diff line number Diff line Loading @@ -190,6 +190,9 @@ open class QSTileViewImpl @JvmOverloads constructor( if (collapsed) { if (collapsed) { labelContainer.ignoreLastView = true labelContainer.ignoreLastView = true secondaryLabel.alpha = 0f secondaryLabel.alpha = 0f // Do not marque in QQS label.ellipsize = TextUtils.TruncateAt.END secondaryLabel.ellipsize = TextUtils.TruncateAt.END } } setLabelColor(getLabelColorForState(QSTile.State.DEFAULT_STATE)) setLabelColor(getLabelColorForState(QSTile.State.DEFAULT_STATE)) setSecondaryLabelColor(getSecondaryLabelColorForState(QSTile.State.DEFAULT_STATE)) setSecondaryLabelColor(getSecondaryLabelColorForState(QSTile.State.DEFAULT_STATE)) Loading Loading
packages/SystemUI/src/com/android/systemui/qs/QuickQSPanel.java +0 −19 Original line number Original line Diff line number Diff line Loading @@ -228,24 +228,5 @@ public class QuickQSPanel extends QSPanel { } } } } } } @Override public void setExpansion(float expansion) { if (expansion > 0f && expansion < 1f) { return; } boolean selected = expansion == 0f; // Expansion == 0f is when QQS is fully showing (as opposed to 1f, which is QS). At this // point we want them to be selected so the tiles will marquee (but not at other points // of expansion. // We set it as not important while we change this, so setting each tile as selected // will not cause them to announce themselves until the user has actually selected the // item. setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS); for (int i = 0; i < getChildCount(); i++) { getChildAt(i).setSelected(selected); } setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_AUTO); } } } } }
packages/SystemUI/src/com/android/systemui/qs/tileimpl/QSTileViewImpl.kt +3 −0 Original line number Original line Diff line number Diff line Loading @@ -190,6 +190,9 @@ open class QSTileViewImpl @JvmOverloads constructor( if (collapsed) { if (collapsed) { labelContainer.ignoreLastView = true labelContainer.ignoreLastView = true secondaryLabel.alpha = 0f secondaryLabel.alpha = 0f // Do not marque in QQS label.ellipsize = TextUtils.TruncateAt.END secondaryLabel.ellipsize = TextUtils.TruncateAt.END } } setLabelColor(getLabelColorForState(QSTile.State.DEFAULT_STATE)) setLabelColor(getLabelColorForState(QSTile.State.DEFAULT_STATE)) setSecondaryLabelColor(getSecondaryLabelColorForState(QSTile.State.DEFAULT_STATE)) setSecondaryLabelColor(getSecondaryLabelColorForState(QSTile.State.DEFAULT_STATE)) Loading