Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationIconContainer.java381 ViewState iconState = mIconStates.get(view); in resetViewStates() local
382 iconState.initFrom(view); in resetViewStates()
383 iconState.alpha = mIsolatedIcon == null || view == mIsolatedIcon ? 1.0f : 0.0f; in resetViewStates()
384 iconState.hidden = false; in resetViewStates()
405 IconState iconState = mIconStates.get(view); in calculateIconTranslations() local
406 if (iconState.iconAppearAmount == 1.0f) { in calculateIconTranslations()
410 iconState.xTranslation = translationX; in calculateIconTranslations()
413 mFirstVisibleIconState = iconState; in calculateIconTranslations()
416 && iconState.iconAppearAmount > 0.0f || i >= maxVisibleIcons; in calculateIconTranslations()
421 iconState.visibleState = iconState.hidden in calculateIconTranslations()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java301 NotificationIconContainer.IconState iconState = getIconState(icon); in updateAppearance() local
305 if (iconState != null && iconState.clampedAppearAmount == 1.0f) { in updateAppearance()
620 NotificationIconContainer.IconState iconState = getIconState(icon);
621 if (iconState == null) {
627 iconState.noAnimations = (scrollingFast || expandingAnimated) && !isLastChild;
631 iconState.cancelAnimations(icon);
632 iconState.noAnimations = true;
639 iconState.needsCannedAnimation = iconState.clampedAppearAmount != clampedAmount;
641 iconState.clampedAppearAmount = clampedAmount;
664 NotificationIconContainer.IconState iconState = getIconState(icon);
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerEthernetTest.java49 IconState iconState = iconArg.getValue(); in verifyLastEthernetIcon() local
50 assertEquals("Ethernet visible, in status bar", visible, iconState.visible); in verifyLastEthernetIcon()
51 assertEquals("Ethernet icon, in status bar", icon, iconState.icon); in verifyLastEthernetIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DEvents.java257 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()
DVolumeDialogImpl.java725 Events.writeEvent(Events.EVENT_ICON_CLICK, row.stream, row.iconState); in initRow()
1658 row.iconState = in updateVolumeRowH()
2218 private int iconState; // from Events field in VolumeDialogImpl.VolumeRow
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DIconProvider.java375 void onSystemIconStateChanged(String iconState); in onSystemIconStateChanged() argument