Loading packages/SystemUI/src/com/android/systemui/qs/QSPanel.java +3 −1 Original line number Diff line number Diff line Loading @@ -423,7 +423,9 @@ public class QSPanel extends ViewGroup { } for (TileRecord record : mRecords) { record.tileView.setDual(record.tile.supportsDualTargets()); if (record.tileView.setDual(record.tile.supportsDualTargets())) { record.tileView.handleStateChanged(record.tile.getState()); } if (record.tileView.getVisibility() == GONE) continue; final int cw = record.row == 0 ? mLargeCellWidth : mCellWidth; final int ch = record.row == 0 ? mLargeCellHeight : mCellHeight; Loading packages/SystemUI/src/com/android/systemui/qs/QSTileView.java +2 −1 Original line number Diff line number Diff line Loading @@ -172,7 +172,7 @@ public class QSTileView extends ViewGroup { } } public void setDual(boolean dual) { public boolean setDual(boolean dual) { final boolean changed = dual != mDual; mDual = dual; if (changed) { Loading @@ -199,6 +199,7 @@ public class QSTileView extends ViewGroup { setFocusable(!dual); mDivider.setVisibility(dual ? VISIBLE : GONE); postInvalidate(); return changed; } private void setRipple(RippleDrawable tileBackground) { Loading Loading
packages/SystemUI/src/com/android/systemui/qs/QSPanel.java +3 −1 Original line number Diff line number Diff line Loading @@ -423,7 +423,9 @@ public class QSPanel extends ViewGroup { } for (TileRecord record : mRecords) { record.tileView.setDual(record.tile.supportsDualTargets()); if (record.tileView.setDual(record.tile.supportsDualTargets())) { record.tileView.handleStateChanged(record.tile.getState()); } if (record.tileView.getVisibility() == GONE) continue; final int cw = record.row == 0 ? mLargeCellWidth : mCellWidth; final int ch = record.row == 0 ? mLargeCellHeight : mCellHeight; Loading
packages/SystemUI/src/com/android/systemui/qs/QSTileView.java +2 −1 Original line number Diff line number Diff line Loading @@ -172,7 +172,7 @@ public class QSTileView extends ViewGroup { } } public void setDual(boolean dual) { public boolean setDual(boolean dual) { final boolean changed = dual != mDual; mDual = dual; if (changed) { Loading @@ -199,6 +199,7 @@ public class QSTileView extends ViewGroup { setFocusable(!dual); mDivider.setVisibility(dual ? VISIBLE : GONE); postInvalidate(); return changed; } private void setRipple(RippleDrawable tileBackground) { Loading