Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DCallbackHandlerTest.java25 import com.android.systemui.statusbar.policy.NetworkController.IconState;
78 IconState status = new IconState(true, 0, ""); in testSignalCallback_setWifiIndicators()
79 IconState qs = new IconState(true, 1, ""); in testSignalCallback_setWifiIndicators()
87 ArgumentCaptor<IconState> statusArg = ArgumentCaptor.forClass(IconState.class); in testSignalCallback_setWifiIndicators()
88 ArgumentCaptor<IconState> qsArg = ArgumentCaptor.forClass(IconState.class); in testSignalCallback_setWifiIndicators()
107 IconState status = new IconState(true, 0, ""); in testSignalCallback_setMobileDataIndicators()
108 IconState qs = new IconState(true, 1, ""); in testSignalCallback_setMobileDataIndicators()
122 ArgumentCaptor<IconState> statusArg = ArgumentCaptor.forClass(IconState.class); in testSignalCallback_setMobileDataIndicators()
123 ArgumentCaptor<IconState> qsArg = ArgumentCaptor.forClass(IconState.class); in testSignalCallback_setMobileDataIndicators()
173 IconState state = new IconState(true, R.drawable.stat_sys_ethernet, "Test Description"); in testSignalCallback_setEthernetIndicators()
[all …]
DNetworkControllerEthernetTest.java7 import com.android.systemui.statusbar.policy.NetworkController.IconState;
42 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastEthernetIcon()
46 IconState iconState = iconArg.getValue(); in verifyLastEthernetIcon()
DNetworkControllerWifiTest.java20 import com.android.systemui.statusbar.policy.NetworkController.IconState;
120 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in testBadgedWifiIcon()
124 IconState iconState = iconArg.getValue(); in testBadgedWifiIcon()
275 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastQsWifiIcon()
282 IconState iconState = iconArg.getValue(); in verifyLastQsWifiIcon()
290 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastWifiIcon()
295 IconState iconState = iconArg.getValue(); in verifyLastWifiIcon()
DNetworkControllerBaseTest.java36 import com.android.systemui.statusbar.policy.NetworkController.IconState;
305 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastQsMobileDataIndicators()
316 IconState iconState = iconArg.getValue(); in verifyLastQsMobileDataIndicators()
339 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastMobileDataIndicators()
349 IconState iconState = iconArg.getValue(); in verifyLastMobileDataIndicators()
360 ArgumentCaptor<IconState> iconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastMobileDataIndicators()
362 ArgumentCaptor<IconState> qsIconArg = ArgumentCaptor.forClass(IconState.class); in verifyLastMobileDataIndicators()
376 IconState iconState = iconArg.getValue(); in verifyLastMobileDataIndicators()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkController.java48 default void setWifiIndicators(boolean enabled, IconState statusIcon, IconState qsIcon, in setWifiIndicators()
51 default void setMobileDataIndicators(IconState statusIcon, IconState qsIcon, int statusType, in setMobileDataIndicators()
57 default void setEthernetIndicators(IconState icon) {} in setEthernetIndicators()
59 default void setIsAirplaneMode(IconState icon) {} in setIsAirplaneMode()
68 public static class IconState { class
82 public IconState(boolean visible, int icon, int iconOverlay, String contentDescription) { in IconState() method in NetworkController.IconState
89 public IconState(boolean visible, int icon, String contentDescription) { in IconState() method in NetworkController.IconState
93 public IconState(boolean visible, int icon, int contentDescription, in IconState() method in NetworkController.IconState
DCallbackHandler.java24 import com.android.systemui.statusbar.policy.NetworkController.IconState;
79 signalCluster.setEthernetIndicators((IconState) msg.obj); in handleMessage()
84 signalCluster.setIsAirplaneMode((IconState) msg.obj); in handleMessage()
110 public void setWifiIndicators(final boolean enabled, final IconState statusIcon, in setWifiIndicators()
111 final IconState qsIcon, final boolean activityIn, final boolean activityOut, in setWifiIndicators()
125 public void setMobileDataIndicators(final IconState statusIcon, final IconState qsIcon, in setMobileDataIndicators()
162 public void setEthernetIndicators(IconState icon) { in setEthernetIndicators()
167 public void setIsAirplaneMode(IconState icon) { in setIsAirplaneMode()
DEthernetSignalController.java21 import com.android.systemui.statusbar.policy.NetworkController.IconState;
55 callback.setEthernetIndicators(new IconState(ethernetVisible, getCurrentIconId(), in notifyListeners()
DWifiSignalController.java40 import com.android.systemui.statusbar.policy.NetworkController.IconState;
146 IconState statusIcon = new IconState(wifiVisible, getCurrentIconId(), in notifyListeners()
148 IconState qsIcon = new IconState( in notifyListeners()
DMobileSignalController.java40 import com.android.systemui.statusbar.policy.NetworkController.IconState;
275 IconState statusIcon = new IconState(mCurrentState.enabled && !mCurrentState.airplaneMode, in notifyListeners()
279 IconState qsIcon = null; in notifyListeners()
284 qsIcon = new IconState(mCurrentState.enabled in notifyListeners()
DNetworkControllerImpl.java374 cb.setIsAirplaneMode(new IconState(mAirplaneMode, in addCallback()
642 mCallbackHandler.setIsAirplaneMode(new IconState(mAirplaneMode, in notifyListeners()
768 mCallbackHandler.setIsAirplaneMode(new IconState(show, in dispatchDemoCommand()
/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.java109 private final HashMap<View, IconState> mIconStates = new HashMap<>();
194 IconState v = new IconState(); in onViewAdded()
300 IconState iconState = mIconStates.get(view); in calculateIconTranslations()
332 IconState overflowState = mIconStates.get(firstOverflowView); in calculateIconTranslations()
351 IconState iconState = mIconStates.get(view); in calculateIconTranslations()
380 IconState iconState = mIconStates.get(view); in calculateIconTranslations()
388 IconState iconState = mIconStates.get(view); in calculateIconTranslations()
468 public IconState getIconState(StatusBarIconView icon) { in getIconState()
515 public class IconState extends ViewState { class
DKeyguardBottomAreaView.java73 import com.android.systemui.plugins.IntentButtonProvider.IntentButton.IconState;
332 IconState state = mRightButton.getIcon(); in updateRightAffordanceIcon()
384 IconState state = mLeftButton.getIcon(); in updateLeftAffordanceIcon()
832 private IconState mIconState = new IconState();
835 public IconState getIcon() { in getIcon()
863 private IconState mIconState = new IconState();
866 public IconState getIcon() { in getIcon()
DCollapsedStatusBarFragment.java63 public void setIsAirplaneMode(NetworkController.IconState icon) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DCellularTile.java44 import com.android.systemui.statusbar.policy.NetworkController.IconState;
189 public void setWifiIndicators(boolean enabled, IconState statusIcon, IconState qsIcon, in setWifiIndicators()
196 public void setMobileDataIndicators(IconState statusIcon, IconState qsIcon, int statusType, in setMobileDataIndicators()
233 public void setIsAirplaneMode(IconState icon) { in setIsAirplaneMode()
DWifiTile.java47 import com.android.systemui.statusbar.policy.NetworkController.IconState;
251 public void setWifiIndicators(boolean enabled, IconState statusIcon, IconState qsIcon, in setWifiIndicators()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DLockscreenFragment.java355 private final IconState mIconState;
359 mIconState = new IconState(); in ShortcutButton()
371 public IconState getIcon() { in getIcon()
383 private final IconState mIconState;
387 mIconState = new IconState(); in ActivityButton()
399 public IconState getIcon() { in getIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DSignalClusterView.java50 import com.android.systemui.statusbar.policy.NetworkController.IconState;
289 public void setWifiIndicators(boolean enabled, IconState statusIcon, IconState qsIcon, in setWifiIndicators()
302 public void setMobileDataIndicators(IconState statusIcon, IconState qsIcon, int statusType, in setMobileDataIndicators()
323 public void setEthernetIndicators(IconState state) { in setEthernetIndicators()
388 public void setIsAirplaneMode(IconState icon) { in setIsAirplaneMode()
DNotificationShelf.java354 NotificationIconContainer.IconState iconState = getIconState(icon);
402 NotificationIconContainer.IconState iconState = getIconState(icon);
468 private NotificationIconContainer.IconState getIconState(StatusBarIconView icon) {