Searched refs:iconState (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationShelf.java | 334 NotificationIconContainer.IconState iconState = getIconState(icon); in updateAppearance() local 338 if (iconState != null && iconState.clampedAppearAmount == 1.0f) { in updateAppearance() 535 NotificationIconContainer.IconState iconState = getIconState(icon); 557 handleCustomTransformHeight(view, expandingAnimated, iconState); 568 if (iconState != null && iconState.hasCustomTransformHeight()) { 569 fullHeight = iconState.customTransformHeight; 570 transformDistance = iconState.customTransformHeight; 605 if (iconState != null && fullyInOrOut && !expandingAnimated && iconState.isLastExpandIcon) { 606 iconState.isLastExpandIcon = false; 607 iconState.customTransformHeight = NO_VALUE; [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NotificationIconContainer.java | 372 ViewState iconState = mIconStates.get(view); in resetViewStates() local 373 iconState.initFrom(view); in resetViewStates() 374 iconState.alpha = mIsolatedIcon == null || view == mIsolatedIcon ? 1.0f : 0.0f; in resetViewStates() 375 iconState.hidden = false; in resetViewStates() 397 IconState iconState = mIconStates.get(view); in calculateIconTranslations() 398 if (iconState.iconAppearAmount == 1.0f) { in calculateIconTranslations() 402 iconState.xTranslation = translationX; in calculateIconTranslations() 405 mFirstVisibleIconState = iconState; in calculateIconTranslations() 408 && iconState.iconAppearAmount > 0.0f || i >= maxVisibleIcons; in calculateIconTranslations() 416 iconState.visibleState = StatusBarIconView.STATE_ICON; in calculateIconTranslations() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerEthernetTest.java | 48 IconState iconState = iconArg.getValue(); in verifyLastEthernetIcon() local 49 assertEquals("Ethernet visible, in status bar", visible, iconState.visible); in verifyLastEthernetIcon() 50 assertEquals("Ethernet icon, in status bar", icon, iconState.icon); in verifyLastEthernetIcon()
|
D | NetworkControllerBaseTest.java | 406 IconState iconState = iconArg.getValue(); in verifyLastQsMobileDataIndicators() local 409 assertEquals("Visibility in, quick settings", visible, iconState.visible); in verifyLastQsMobileDataIndicators() 410 assertEquals("Signal icon in, quick settings", state, iconState.icon); in verifyLastQsMobileDataIndicators() 440 IconState iconState = iconArg.getValue(); in verifyLastMobileDataIndicators() local 445 assertEquals("Signal icon in status bar", state, iconState.icon); in verifyLastMobileDataIndicators() 447 assertEquals("Visibility in status bar", visible, iconState.visible); in verifyLastMobileDataIndicators() 490 IconState iconState = iconArg.getValue(); in verifyLastMobileDataIndicators() local 499 assertEquals("Signal icon in status bar", state, iconState.icon); in verifyLastMobileDataIndicators() 500 assertEquals("Visibility in status bar", visible, iconState.visible); in verifyLastMobileDataIndicators() 502 iconState = qsIconArg.getValue(); in verifyLastMobileDataIndicators() [all …]
|
D | NetworkControllerWifiTest.java | 256 IconState iconState = iconArg.getValue(); in verifyLastQsWifiIcon() local 258 assertEquals("WiFi connected, in quick settings", connected, iconState.visible); in verifyLastQsWifiIcon() 259 assertEquals("WiFi signal, in quick settings", icon, iconState.icon); in verifyLastQsWifiIcon() 269 IconState iconState = iconArg.getValue(); in verifyLastWifiIcon() local 270 assertEquals("WiFi visible, in status bar", visible, iconState.visible); in verifyLastWifiIcon() 271 assertEquals("WiFi signal, in status bar", icon, iconState.icon); in verifyLastWifiIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | Events.java | 257 static VolumeDialogEvent fromIconState(int iconState) { in fromIconState() argument 258 switch (iconState) { in fromIconState() 402 final Integer iconState = (Integer) list[1]; in logEvent() local 403 sUiEventLogger.log(VolumeDialogEvent.fromIconState(iconState)); in logEvent() 405 .append(iconStateToString(iconState)); in logEvent() 494 private static String iconStateToString(int iconState) { in iconStateToString() argument 495 switch (iconState) { in iconStateToString() 499 default: return "unknown_state_" + iconState; in iconStateToString()
|