Loading packages/SystemUI/src/com/android/systemui/qs/QSContainer.java +4 −0 Original line number Diff line number Diff line Loading @@ -237,6 +237,10 @@ public class QSContainer extends FrameLayout { mQSPanel.setListening(mListening && mQsExpanded); } public void setHeaderListening(boolean listening) { mHeader.setListening(listening); } public void setQsExpansion(float expansion, float headerTranslation) { if (DEBUG) Log.d(TAG, "setQSExpansion " + expansion + " " + headerTranslation); mQsExpansion = expansion; Loading packages/SystemUI/src/com/android/systemui/qs/QSPanel.java +6 −4 Original line number Diff line number Diff line Loading @@ -246,12 +246,14 @@ public class QSPanel extends LinearLayout implements Tunable, Callback { if (mListening) { refreshAllTiles(); } if (mBrightnessView.getVisibility() == View.VISIBLE) { if (listening) { mBrightnessController.registerCallbacks(); } else { mBrightnessController.unregisterCallbacks(); } } } public void refreshAllTiles() { for (TileRecord r : mRecords) { Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +3 −0 Original line number Diff line number Diff line Loading @@ -1617,6 +1617,9 @@ public class NotificationPanelView extends PanelView implements if (mQsExpanded) { onQsExpansionStarted(); } // Since there are QS tiles in the header now, we need to make sure we start listening // immediately so they can be up to date. mQsContainer.setHeaderListening(true); } @Override Loading Loading
packages/SystemUI/src/com/android/systemui/qs/QSContainer.java +4 −0 Original line number Diff line number Diff line Loading @@ -237,6 +237,10 @@ public class QSContainer extends FrameLayout { mQSPanel.setListening(mListening && mQsExpanded); } public void setHeaderListening(boolean listening) { mHeader.setListening(listening); } public void setQsExpansion(float expansion, float headerTranslation) { if (DEBUG) Log.d(TAG, "setQSExpansion " + expansion + " " + headerTranslation); mQsExpansion = expansion; Loading
packages/SystemUI/src/com/android/systemui/qs/QSPanel.java +6 −4 Original line number Diff line number Diff line Loading @@ -246,12 +246,14 @@ public class QSPanel extends LinearLayout implements Tunable, Callback { if (mListening) { refreshAllTiles(); } if (mBrightnessView.getVisibility() == View.VISIBLE) { if (listening) { mBrightnessController.registerCallbacks(); } else { mBrightnessController.unregisterCallbacks(); } } } public void refreshAllTiles() { for (TileRecord r : mRecords) { Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +3 −0 Original line number Diff line number Diff line Loading @@ -1617,6 +1617,9 @@ public class NotificationPanelView extends PanelView implements if (mQsExpanded) { onQsExpansionStarted(); } // Since there are QS tiles in the header now, we need to make sure we start listening // immediately so they can be up to date. mQsContainer.setHeaderListening(true); } @Override Loading