Home
last modified time | relevance | path

Searched refs:iconState (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationIconContainer.java457 ViewState iconState = mIconStates.get(view); in resetViewStates() local
458 iconState.initFrom(view); in resetViewStates()
459 iconState.setAlpha(mIsolatedIcon == null || view == mIsolatedIcon ? 1.0f : 0.0f); in resetViewStates()
460 iconState.hidden = false; in resetViewStates()
519 IconState iconState = mIconStates.get(view); in calculateIconXTranslations() local
520 if (iconState.iconAppearAmount == 1.0f) { in calculateIconXTranslations()
524 iconState.setXTranslation(translationX); in calculateIconXTranslations()
527 mFirstVisibleIconState = iconState; in calculateIconXTranslations()
529 iconState.visibleState = iconState.hidden in calculateIconXTranslations()
534 iconState.iconAppearAmount, maxVisibleIcons); in calculateIconXTranslations()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/
DNetworkControllerEthernetTest.java64 IconState iconState = iconArg.getValue(); in verifyLastEthernetIcon() local
65 assertEquals("Ethernet visible, in status bar", visible, iconState.visible); in verifyLastEthernetIcon()
66 assertEquals("Ethernet icon, in status bar", icon, iconState.icon); in verifyLastEthernetIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java815 NotificationIconContainer.IconState iconState = getIconState(icon); in updateIconPositioning() local
816 if (iconState == null) { in updateIconPositioning()
822 iconState.noAnimations = (scrollingFast || expandingAnimated) && !isLastChild; in updateIconPositioning()
826 iconState.cancelAnimations(icon); in updateIconPositioning()
827 iconState.noAnimations = true; in updateIconPositioning()
834 iconState.needsCannedAnimation = iconState.clampedAppearAmount != clampedAmount; in updateIconPositioning()
836 iconState.clampedAppearAmount = clampedAmount; in updateIconPositioning()
858 NotificationIconContainer.IconState iconState = getIconState(icon); in setIconTransformationAmount() local
859 if (iconState == null) { in setIconTransformationAmount()
862 iconState.setAlpha(ICON_ALPHA_INTERPOLATOR.getInterpolation(transitionAmount)); in setIconTransformationAmount()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DEvents.java272 static VolumeDialogEvent fromIconState(int iconState) { in fromIconState() argument
273 switch (iconState) { in fromIconState()
421 final Integer iconState = (Integer) list[1]; in logEvent() local
422 sUiEventLogger.log(VolumeDialogEvent.fromIconState(iconState)); in logEvent()
424 .append(iconStateToString(iconState)); in logEvent()
522 private static String iconStateToString(int iconState) { in iconStateToString() argument
523 switch (iconState) { in iconStateToString()
527 default: return "unknown_state_" + iconState; in iconStateToString()
DVolumeDialogImpl.java894 Events.writeEvent(Events.EVENT_ICON_CLICK, row.stream, row.iconState); in initRow()
1974 row.iconState =
2662 private int iconState; // from Events
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNotificationIconContainerTest.kt97 val iconState = iconContainer.getIconState(icon) in calculateIconXTranslations_shortShelfOneIcon_atCorrectXWithoutOverflowDot() constant
98 iconState.iconAppearAmount = 1f in calculateIconXTranslations_shortShelfOneIcon_atCorrectXWithoutOverflowDot()
104 assertEquals(10f, iconState.xTranslation) in calculateIconXTranslations_shortShelfOneIcon_atCorrectXWithoutOverflowDot()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DMobileSignalController.java592 QsInfo(int typeIcon, IconState iconState, CharSequence desc) { in QsInfo() argument
594 icon = iconState; in QsInfo()
610 SbInfo(boolean show, int typeIcon, IconState iconState) { in SbInfo() argument
613 icon = iconState; in SbInfo()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DIconProvider.java349 void onSystemIconStateChanged(String iconState); in onSystemIconStateChanged() argument