Home
last modified time | relevance | path

Searched refs:visibleState (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusIconContainer.java331 childState.visibleState = STATE_HIDDEN; in calculateIconTranslations()
339 childState.visibleState = STATE_ICON; in calculateIconTranslations()
375 state.visibleState = STATE_DOT; in calculateIconTranslations()
379 state.visibleState = STATE_HIDDEN; in calculateIconTranslations()
432 public int visibleState = STATE_ICON; field in StatusIconContainer.StatusIconState
456 || icon.getVisibleState() == STATE_HIDDEN && visibleState == STATE_ICON) { in applyToView()
462 } else if (icon.getVisibleState() != visibleState) { in applyToView()
463 if (icon.getVisibleState() == STATE_ICON && visibleState == STATE_HIDDEN) { in applyToView()
470 } else if (visibleState != STATE_HIDDEN && distanceToViewEnd != currentDistanceToEnd) { in applyToView()
475 icon.setVisibleState(visibleState, animateVisibility); in applyToView()
DNotificationIconContainer.java473 iconState.visibleState = iconState.hidden in calculateIconXTranslations()
505 iconState.visibleState = StatusBarIconView.STATE_ICON; in calculateIconXTranslations()
507 iconState.visibleState = StatusBarIconView.STATE_DOT; in calculateIconXTranslations()
513 iconState.visibleState = StatusBarIconView.STATE_HIDDEN; in calculateIconXTranslations()
536 iconState.visibleState = StatusBarIconView.STATE_ICON; in calculateIconXTranslations()
694 public int visibleState; field in NotificationIconContainer.IconState
722 (visibleState == StatusBarIconView.STATE_HIDDEN in applyToView()
724 || (visibleState == StatusBarIconView.STATE_DOT in applyToView()
740 } else if (visibleState != icon.getVisibleState()) { in applyToView()
747 || visibleState != StatusBarIconView.STATE_HIDDEN)) { in applyToView()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/ui/view/
DModernStatusBarViewTest.kt55 assertThat(view.visibleState).isEqualTo(STATE_ICON) in getVisibleState_icon_returnsIcon()
64 assertThat(view.visibleState).isEqualTo(STATE_DOT) in getVisibleState_dot_returnsDot()
73 assertThat(view.visibleState).isEqualTo(STATE_HIDDEN) in getVisibleState_hidden_returnsHidden()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java782 public void setVisibleState(int visibleState, boolean animate, Runnable endRunnable) { in setVisibleState() argument
783 setVisibleState(visibleState, animate, endRunnable, 0); in setVisibleState()
794 public void setVisibleState(int visibleState, boolean animate, Runnable endRunnable, in setVisibleState() argument
797 if (visibleState != mVisibleState) { in setVisibleState()
798 mVisibleState = visibleState; in setVisibleState()
808 if (visibleState == STATE_ICON) { in setVisibleState()
830 targetAmount = visibleState == STATE_ICON ? 2.0f : 0.0f; in setVisibleState()
832 if (visibleState == STATE_DOT) { in setVisibleState()
857 setIconAppearAmount(visibleState == STATE_ICON ? 1.0f : 0.0f); in setVisibleState()
858 setDotAppearAmount(visibleState == STATE_DOT ? 1.0f in setVisibleState()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/quickaffordance/
DQrCodeScannerKeyguardQuickAffordanceConfigTest.kt168 val visibleState = latest as KeyguardQuickAffordanceConfig.LockScreenState.Visible in assertVisibleState() constant
169 assertThat(visibleState.icon).isNotNull() in assertVisibleState()
170 assertThat(visibleState.icon.contentDescription).isNotNull() in assertVisibleState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardQuickAffordanceInteractor.kt303 val visibleState = in <lambda>() constant
313 icon = visibleState.icon, in <lambda>()
314 activationState = visibleState.activationState, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/view/
DModernStatusBarView.kt118 it.visibleState = STATE_DOT in initDotView()