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.java21 import com.android.systemui.statusbar.policy.NetworkController.IconState;
249 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastQsWifiIcon()
256 IconState iconState = iconArg.getValue(); in verifyLastQsWifiIcon()
264 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastWifiIcon()
269 IconState iconState = iconArg.getValue(); in verifyLastWifiIcon()
DNetworkControllerBaseTest.java70 import com.android.systemui.statusbar.policy.NetworkController.IconState;
394 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastQsMobileDataIndicators()
406 IconState iconState = iconArg.getValue(); in verifyLastQsMobileDataIndicators()
429 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastMobileDataIndicators()
440 IconState iconState = iconArg.getValue(); in verifyLastMobileDataIndicators()
468 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastMobileDataIndicators()
470 ArgumentCaptor<IconState> qsIconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastMobileDataIndicators()
490 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, in notifyListeners()
DEthernetSignalController.java21 import com.android.systemui.statusbar.policy.NetworkController.IconState;
55 callback.setEthernetIndicators(new IconState(ethernetVisible, getCurrentIconId(), in notifyListeners()
DMobileSignalController.java45 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.java518 cb.setIsAirplaneMode(new IconState(mAirplaneMode, in addCallback()
834 mCallbackHandler.setIsAirplaneMode(new IconState(mAirplaneMode, in notifyListeners()
964 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/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/statusbar/phone/
DNotificationIconContainer.java143 private final HashMap<View, IconState> mIconStates = new HashMap<>();
163 private IconState mLastVisibleIconState;
164 private IconState mFirstVisibleIconState;
282 IconState v = new IconState(child); in onViewAdded()
397 IconState iconState = mIconStates.get(view); in calculateIconTranslations()
435 IconState iconState = mIconStates.get(view); in calculateIconTranslations()
479 IconState iconState = mIconStates.get(view); in calculateIconTranslations()
487 IconState iconState = mIconStates.get(view); in calculateIconTranslations()
492 IconState iconState = mIconStates.get(mIsolatedIcon); in calculateIconTranslations()
592 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;
342 IconState state = mRightButton.getIcon(); in updateRightAffordanceIcon()
401 IconState state = mLeftButton.getIcon(); in updateLeftAffordanceIcon()
782 private IconState mIconState = new IconState();
785 public IconState getIcon() { in getIcon()
815 private IconState mIconState = new IconState();
818 public IconState getIcon() { in getIcon()
DCollapsedStatusBarFragment.java73 public void setIsAirplaneMode(NetworkController.IconState icon) {
/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;
251 public void setMobileDataIndicators(IconState statusIcon, IconState qsIcon, int statusType, in setMobileDataIndicators()
277 public void setIsAirplaneMode(IconState icon) { in setIsAirplaneMode()
DWifiTile.java48 import com.android.systemui.statusbar.policy.NetworkController.IconState;
291 public void setWifiIndicators(boolean enabled, IconState statusIcon, IconState qsIcon, in setWifiIndicators()
DCastTile.java251 NetworkController.IconState statusIcon,
252 NetworkController.IconState qsIcon, boolean activityIn, boolean activityOut,
/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;
334 NotificationIconContainer.IconState iconState = getIconState(icon); in updateAppearance()
535 NotificationIconContainer.IconState iconState = getIconState(icon);
640 NotificationIconContainer.IconState iconState) {
674 NotificationIconContainer.IconState iconState = getIconState(icon);
749 NotificationIconContainer.IconState iconState = getIconState(icon);
847 private NotificationIconContainer.IconState getIconState(StatusBarIconView icon) { in getIconState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/carrier/
DQSCarrierGroupControllerTest.java219 mock(NetworkController.IconState.class), in testSetMobileDataIndicators_invalidSim()
220 mock(NetworkController.IconState.class), in testSetMobileDataIndicators_invalidSim()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/carrier/
DQSCarrierGroupController.java69 public void setMobileDataIndicators(NetworkController.IconState statusIcon,
70 NetworkController.IconState qsIcon, int statusType, int qsType,