Home
last modified time | relevance | path

Searched refs:STATE_HIDDEN (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/ui/view/
DModernStatusBarViewTest.kt25 import com.android.systemui.statusbar.StatusBarIconView.STATE_HIDDEN
71 view.setVisibleState(STATE_HIDDEN, /* animate= */ false) in getVisibleState_hidden_returnsHidden()
73 assertThat(view.visibleState).isEqualTo(STATE_HIDDEN) in getVisibleState_hidden_returnsHidden()
DSingleBindableStatusBarIconViewTest.kt73 view.setVisibleState(StatusBarIconView.STATE_HIDDEN, /* animate= */ false) in getVisibleState_hidden_returnsHidden()
75 assertThat(view.visibleState).isEqualTo(StatusBarIconView.STATE_HIDDEN) in getVisibleState_hidden_returnsHidden()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusIconContainer.java20 import static com.android.systemui.statusbar.StatusBarIconView.STATE_HIDDEN;
341 childState.visibleState = STATE_HIDDEN; in calculateIconTranslations()
393 state.visibleState = STATE_HIDDEN; in calculateIconTranslations()
472 || icon.getVisibleState() == STATE_HIDDEN && visibleState == STATE_ICON) { in applyToView()
476 icon.setVisibleState(STATE_HIDDEN); in applyToView()
479 if (icon.getVisibleState() == STATE_ICON && visibleState == STATE_HIDDEN) { in applyToView()
486 } else if (visibleState != STATE_HIDDEN && distanceToViewEnd != currentDistanceToEnd) { in applyToView()
DNotificationIconContainer.java396 … if (areAnimationsEnabled(icon) && icon.getVisibleState() != StatusBarIconView.STATE_HIDDEN in onViewRemoved()
410 icon.setVisibleState(StatusBarIconView.STATE_HIDDEN, true /* animate */, in onViewRemoved()
530 ? StatusBarIconView.STATE_HIDDEN in calculateIconXTranslations()
565 iconState.visibleState = StatusBarIconView.STATE_HIDDEN; in calculateIconXTranslations()
854 icon.setVisibleState(StatusBarIconView.STATE_HIDDEN, in applyToView()
865 && (icon.getVisibleState() != StatusBarIconView.STATE_HIDDEN in applyToView()
866 || visibleState != StatusBarIconView.STATE_HIDDEN)) { in applyToView()
896 && (icon.getVisibleState() != StatusBarIconView.STATE_HIDDEN in applyToView()
897 || visibleState != StatusBarIconView.STATE_HIDDEN)) { in applyToView()
948 (visibleState == StatusBarIconView.STATE_HIDDEN in animationsAllowed()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/view/
DModernStatusBarView.kt28 import com.android.systemui.statusbar.StatusBarIconView.STATE_HIDDEN
42 private var iconVisibleState: Int = STATE_HIDDEN
DSingleBindableStatusBarIconView.kt34 import com.android.systemui.statusbar.StatusBarIconView.STATE_HIDDEN in <lambda>()
89 val visibilityState: MutableStateFlow<Int> = MutableStateFlow(STATE_HIDDEN) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/shortcut/ui/view/
DShortcutHelperActivity.kt39 import com.google.android.material.bottomsheet.BottomSheetBehavior.STATE_HIDDEN in <lambda>()
187 if (newState == STATE_HIDDEN) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/binder/
DModernStatusBarViewVisibilityHelper.kt45 StatusBarIconView.STATE_HIDDEN -> { in setVisibilityState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/ui/view/
DModernStatusBarWifiViewTest.kt32 import com.android.systemui.statusbar.StatusBarIconView.STATE_HIDDEN
154 view.setVisibleState(STATE_HIDDEN, /* animate= */ false) in setVisibleState_hidden_iconAndDotHidden()
182 view.setVisibleState(STATE_HIDDEN, /* animate= */ false) in setVisibleState_hidden_keepWidth()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/ui/binder/
DWifiViewBinder.kt31 import com.android.systemui.statusbar.StatusBarIconView.STATE_HIDDEN in <lambda>()
75 val visibilityState: MutableStateFlow<Int> = MutableStateFlow(STATE_HIDDEN) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNotificationIconContainerTest.kt25 import com.android.systemui.statusbar.StatusBarIconView.STATE_HIDDEN
211 assertEquals(STATE_HIDDEN, iconContainer.getIconState(iconFour).visibleState) in calculateIconXTranslations_givenWidthNotEnoughForFourIcons_atCorrectXWithOverflowDot()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/binder/
DMobileIconBinder.kt40 import com.android.systemui.statusbar.StatusBarIconView.STATE_HIDDEN in <lambda>()
64 @StatusBarIconView.VisibleState initialVisibilityState: Int = STATE_HIDDEN, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java97 public static final int STATE_HIDDEN = 2; field in StatusBarIconView
102 @IntDef({STATE_ICON, STATE_DOT, STATE_HIDDEN})
110 case STATE_HIDDEN: return "HIDDEN"; in getVisibleStateString()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/view/
DModernStatusBarMobileViewTest.kt152 view.setVisibleState(StatusBarIconView.STATE_HIDDEN, /* animate= */ false) in setVisibleState_hidden_iconAndDotHidden()