Home
last modified time | relevance | path

Searched refs:IconState (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DCallbackHandlerTest.java32 import com.android.systemui.statusbar.policy.NetworkController.IconState;
82 IconState status = new IconState(true, 0, ""); in testSignalCallback_setWifiIndicators()
83 IconState qs = new IconState(true, 1, ""); in testSignalCallback_setWifiIndicators()
92 ArgumentCaptor<IconState> statusArg = ArgumentCaptor.forClass(IconState.class); in testSignalCallback_setWifiIndicators()
93 ArgumentCaptor<IconState> qsArg = ArgumentCaptor.forClass(IconState.class); in testSignalCallback_setWifiIndicators()
114 IconState status = new IconState(true, 0, ""); in testSignalCallback_setMobileDataIndicators()
115 IconState qs = new IconState(true, 1, ""); in testSignalCallback_setMobileDataIndicators()
130 ArgumentCaptor<IconState> statusArg = ArgumentCaptor.forClass(IconState.class); in testSignalCallback_setMobileDataIndicators()
131 ArgumentCaptor<IconState> qsArg = ArgumentCaptor.forClass(IconState.class); in testSignalCallback_setMobileDataIndicators()
183 IconState state = new IconState(true, R.drawable.stat_sys_ethernet, "Test Description"); in testSignalCallback_setEthernetIndicators()
[all …]
DNetworkControllerEthernetTest.java10 import com.android.systemui.statusbar.policy.NetworkController.IconState;
44 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastEthernetIcon()
48 IconState iconState = iconArg.getValue(); in verifyLastEthernetIcon()
DNetworkControllerWifiTest.java19 import com.android.systemui.statusbar.policy.NetworkController.IconState;
219 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastQsWifiIcon()
226 IconState iconState = iconArg.getValue(); in verifyLastQsWifiIcon()
234 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastWifiIcon()
239 IconState iconState = iconArg.getValue(); in verifyLastWifiIcon()
DNetworkControllerBaseTest.java65 import com.android.systemui.statusbar.policy.NetworkController.IconState;
358 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastQsMobileDataIndicators()
369 IconState iconState = iconArg.getValue(); in verifyLastQsMobileDataIndicators()
392 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastMobileDataIndicators()
402 IconState iconState = iconArg.getValue(); in verifyLastMobileDataIndicators()
428 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastMobileDataIndicators()
430 ArgumentCaptor<IconState> qsIconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastMobileDataIndicators()
447 IconState iconState = iconArg.getValue(); in verifyLastMobileDataIndicators()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkController.java51 default void setWifiIndicators(boolean enabled, IconState statusIcon, IconState qsIcon, in setWifiIndicators()
71 default void setMobileDataIndicators(IconState statusIcon, IconState qsIcon, int statusType, in setMobileDataIndicators()
82 default void setEthernetIndicators(IconState icon) {} in setEthernetIndicators()
84 default void setIsAirplaneMode(IconState icon) {} in setIsAirplaneMode()
93 public static class IconState { class
98 public IconState(boolean visible, int icon, String contentDescription) { in IconState() method in NetworkController.IconState
104 public IconState(boolean visible, int icon, int contentDescription, in IconState() method in NetworkController.IconState
DCallbackHandler.java25 import com.android.systemui.statusbar.policy.NetworkController.IconState;
80 signalCluster.setEthernetIndicators((IconState) msg.obj); in handleMessage()
85 signalCluster.setIsAirplaneMode((IconState) msg.obj); in handleMessage()
111 public void setWifiIndicators(final boolean enabled, final IconState statusIcon, in setWifiIndicators()
112 final IconState qsIcon, final boolean activityIn, final boolean activityOut, in setWifiIndicators()
123 public void setMobileDataIndicators(final IconState statusIcon, final IconState qsIcon, in setMobileDataIndicators()
158 public void setEthernetIndicators(IconState icon) { in setEthernetIndicators()
163 public void setIsAirplaneMode(IconState icon) { in setIsAirplaneMode()
DWifiSignalController.java33 import com.android.systemui.statusbar.policy.NetworkController.IconState;
95 IconState statusIcon = new IconState(wifiVisible, getCurrentIconId(), contentDescription); in notifyListeners()
96 IconState qsIcon = new IconState(mCurrentState.connected, getQsCurrentIconId(), in notifyListeners()
DEthernetSignalController.java21 import com.android.systemui.statusbar.policy.NetworkController.IconState;
55 callback.setEthernetIndicators(new IconState(ethernetVisible, getCurrentIconId(), in notifyListeners()
DMobileSignalController.java46 import com.android.systemui.statusbar.policy.NetworkController.IconState;
378 IconState statusIcon = new IconState(mCurrentState.enabled && !mCurrentState.airplaneMode, in notifyListeners()
382 IconState qsIcon = null; in notifyListeners()
387 qsIcon = new IconState(mCurrentState.enabled in notifyListeners()
DNetworkControllerImpl.java486 cb.setIsAirplaneMode(new IconState(mAirplaneMode, in addCallback()
802 mCallbackHandler.setIsAirplaneMode(new IconState(mAirplaneMode, in notifyListeners()
931 mCallbackHandler.setIsAirplaneMode(new IconState(show, in dispatchDemoCommand()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DCastTileTest.java108 NetworkController.IconState qsIcon = in testStateUnavailable_wifiDisabled()
109 new NetworkController.IconState(false, 0, ""); in testStateUnavailable_wifiDisabled()
110 mCallback.setWifiIndicators(false, mock(NetworkController.IconState.class), in testStateUnavailable_wifiDisabled()
120 NetworkController.IconState qsIcon = in testStateUnavailable_wifiNotConnected()
121 new NetworkController.IconState(false, 0, ""); in testStateUnavailable_wifiNotConnected()
122 mCallback.setWifiIndicators(true, mock(NetworkController.IconState.class), in testStateUnavailable_wifiNotConnected()
131 NetworkController.IconState qsIcon = in enableWifiAndProcessMessages()
132 new NetworkController.IconState(true, 0, ""); in enableWifiAndProcessMessages()
133 mCallback.setWifiIndicators(true, mock(NetworkController.IconState.class), in enableWifiAndProcessMessages()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationIconContainer.java136 private final HashMap<View, IconState> mIconStates = new HashMap<>();
156 private IconState mLastVisibleIconState;
157 private IconState mFirstVisibleIconState;
275 IconState v = new IconState(); in onViewAdded()
390 IconState iconState = mIconStates.get(view); in calculateIconTranslations()
423 IconState iconState = mIconStates.get(view); in calculateIconTranslations()
467 IconState iconState = mIconStates.get(view); in calculateIconTranslations()
475 IconState iconState = mIconStates.get(view); in calculateIconTranslations()
480 IconState iconState = mIconStates.get(mIsolatedIcon); in calculateIconTranslations()
577 public IconState getIconState(StatusBarIconView icon) { in getIconState()
[all …]
DStatusBarSignalPolicy.java28 import com.android.systemui.statusbar.policy.NetworkController.IconState;
139 public void setWifiIndicators(boolean enabled, IconState statusIcon, IconState qsIcon, in setWifiIndicators()
179 public void setMobileDataIndicators(IconState statusIcon, IconState qsIcon, int statusType, in setMobileDataIndicators()
272 public void setEthernetIndicators(IconState state) { in setEthernetIndicators()
286 public void setIsAirplaneMode(IconState icon) { in setIsAirplaneMode()
DKeyguardBottomAreaView.java77 import com.android.systemui.plugins.IntentButtonProvider.IntentButton.IconState;
336 IconState state = mRightButton.getIcon(); in updateRightAffordanceIcon()
391 IconState state = mLeftButton.getIcon(); in updateLeftAffordanceIcon()
770 private IconState mIconState = new IconState();
773 public IconState getIcon() { in getIcon()
804 private IconState mIconState = new IconState();
807 public IconState getIcon() { in getIcon()
DCollapsedStatusBarFragment.java74 public void setIsAirplaneMode(NetworkController.IconState icon) {
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DIntentButtonProvider.java34 public static class IconState { class
41 public IconState getIcon(); in getIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DLockscreenFragment.java347 private final IconState mIconState;
351 mIconState = new IconState(); in ShortcutButton()
363 public IconState getIcon() { in getIcon()
375 private final IconState mIconState;
379 mIconState = new IconState(); in ActivityButton()
391 public IconState getIcon() { in getIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DCellularTile.java51 import com.android.systemui.statusbar.policy.NetworkController.IconState;
256 public void setMobileDataIndicators(IconState statusIcon, IconState qsIcon, int statusType, in setMobileDataIndicators()
282 public void setIsAirplaneMode(IconState icon) { in setIsAirplaneMode()
DWifiTile.java48 import com.android.systemui.statusbar.policy.NetworkController.IconState;
293 public void setWifiIndicators(boolean enabled, IconState statusIcon, IconState qsIcon, in setWifiIndicators()
DCastTile.java248 NetworkController.IconState statusIcon,
249 NetworkController.IconState qsIcon, boolean activityIn, boolean activityOut,
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSCarrierGroupTest.java173 mock(NetworkController.IconState.class), in testSetMobileDataIndicators_invalidSim()
174 mock(NetworkController.IconState.class), in testSetMobileDataIndicators_invalidSim()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DOperatorNameView.java36 import com.android.systemui.statusbar.policy.NetworkController.IconState;
95 public void setIsAirplaneMode(IconState icon) { in setIsAirplaneMode()
DNotificationShelf.java20 import static com.android.systemui.statusbar.phone.NotificationIconContainer.IconState.NO_VALUE;
339 NotificationIconContainer.IconState iconState = getIconState(icon); in updateAppearance()
537 NotificationIconContainer.IconState iconState = getIconState(icon);
627 NotificationIconContainer.IconState iconState = getIconState(icon);
684 NotificationIconContainer.IconState iconState = getIconState(icon);
758 private NotificationIconContainer.IconState getIconState(StatusBarIconView icon) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSCarrierGroup.java207 public void setMobileDataIndicators(NetworkController.IconState statusIcon, in setMobileDataIndicators()
208 NetworkController.IconState qsIcon, int statusType, in setMobileDataIndicators()