Home
last modified time | relevance | path

Searched refs:shadeTestUtil (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DAuthDialogPanelInteractionDetectorTest.kt26 import com.android.systemui.shade.shadeTestUtil
59 private val shadeTestUtil by lazy { kosmos.shadeTestUtil } in <lambda>() constant
79 shadeTestUtil.setShadeExpansion(0f) in enableDetector_expand_shouldRunAction()
84 shadeTestUtil.setTracking(true) in enableDetector_expand_shouldRunAction()
85 shadeTestUtil.setShadeExpansion(.5f) in enableDetector_expand_shouldRunAction()
96 shadeTestUtil.setTracking(true) in enableDetector_isUserInteractingTrue_shouldNotPostRunnable()
108 shadeTestUtil.setShadeExpansion(0f) in enableDetector_shadeExpandImmediate_shouldNotPostRunnable()
113 shadeTestUtil.setShadeExpansion(1f) in enableDetector_shadeExpandImmediate_shouldNotPostRunnable()
125 shadeTestUtil.setShadeExpansion(0f) in disableDetector_shouldNotPostRunnable()
132 shadeTestUtil.setTracking(true) in disableDetector_shouldNotPostRunnable()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/
DNotificationListViewModelTest.kt37 import com.android.systemui.shade.shadeTestUtil
82 private val shadeTestUtil by lazy { kosmos.shadeTestUtil } in <lambda>() constant
183 shadeTestUtil.setQsFullscreen(true) in shouldIncludeEmptyShadeView_falseWhenQsExpandedDefault()
198 shadeTestUtil.setQsExpansion(1f) in shouldIncludeEmptyShadeView_trueWhenQsExpandedInSplitShade()
201 shadeTestUtil.setShadeExpansion(1f) in shouldIncludeEmptyShadeView_trueWhenQsExpandedInSplitShade()
311 shadeTestUtil.setShadeExpansion(1f) in shouldIncludeFooterView_trueWhenShade()
327 shadeTestUtil.setShadeExpansion(1f) in shouldIncludeFooterView_trueWhenLockedShade()
358 shadeTestUtil.setShadeExpansion(1f) in shouldIncludeFooterView_falseWhenUserNotSetUp()
376 shadeTestUtil.setShadeExpansion(1f) in shouldIncludeFooterView_falseWhenStartingToSleep()
394 shadeTestUtil.setShadeExpansion(1f) in shouldIncludeFooterView_falseWhenQsExpandedDefault()
[all …]
DSharedNotificationContainerViewModelTest.kt58 import com.android.systemui.shade.shadeTestUtil in <lambda>()
128 val shadeTestUtil in <lambda>() constant
129 get() = kosmos.shadeTestUtil in <lambda>()
370 shadeTestUtil.setLockscreenShadeExpansion(0.1f) in <lambda>()
481 shadeTestUtil.setLockscreenShadeExpansion(0f) in <lambda>()
482 shadeTestUtil.setQsExpansion(0f) in <lambda>()
494 shadeTestUtil.setQsExpansion(0f) in <lambda>()
495 shadeTestUtil.setLockscreenShadeExpansion(0.1f) in <lambda>()
498 shadeTestUtil.setLockscreenShadeExpansion(0.1f) in <lambda>()
499 shadeTestUtil.setShadeAndQsExpansion(0.1f, .9f) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/
DDefaultUdfpsTouchOverlayViewModelTest.kt31 import com.android.systemui.shade.shadeTestUtil
65 private val shadeTestUtil by lazy { kosmos.shadeTestUtil } in <lambda>() constant
93 shadeTestUtil.setShadeExpansion(1f) in shadeExpanded()
94 shadeTestUtil.setTracking(false) in shadeExpanded()
95 shadeTestUtil.setLegacyExpandedOrAwaitingInputTransfer(true) in shadeExpanded()
98 shadeTestUtil.setShadeExpansion(0f) in shadeExpanded()
99 shadeTestUtil.setTracking(false) in shadeExpanded()
100 shadeTestUtil.setLegacyExpandedOrAwaitingInputTransfer(false) in shadeExpanded()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/viewmodel/
DLockscreenToDreamingTransitionViewModelTest.kt39 import com.android.systemui.shade.shadeTestUtil
62 private lateinit var shadeTestUtil: ShadeTestUtil variable
82 shadeTestUtil = kosmos.shadeTestUtil in setUp()
196 shadeTestUtil.setQsExpansion(1f) in shadeExpanded()
199 shadeTestUtil.setQsExpansion(0f) in shadeExpanded()
200 shadeTestUtil.setLockscreenShadeExpansion(0f) in shadeExpanded()
DKeyguardRootViewModelTest.kt47 import com.android.systemui.shade.shadeTestUtil
81 private val shadeTestUtil by lazy { kosmos.shadeTestUtil } in <lambda>() constant
397 shadeTestUtil.setQsExpansion(0f) in alpha_emitsOnShadeExpansion()
400 shadeTestUtil.setQsExpansion(0.5f) in alpha_emitsOnShadeExpansion()
415 shadeTestUtil.setQsExpansion(0f) in alphaFromShadeExpansion_doesNotEmitWhenTransitionRunning()
446 shadeTestUtil.setQsExpansion(0.5f) in alphaFromShadeExpansion_doesNotEmitWhenTransitionRunning()
464 shadeTestUtil.setQsExpansion(1f) in alpha_shadeClosedOverLockscreen_isOne()
468 shadeTestUtil.setQsExpansion(0f) in alpha_shadeClosedOverLockscreen_isOne()
485 shadeTestUtil.setQsExpansion(1f) in alpha_shadeClosedOverDream_isZero()
489 shadeTestUtil.setQsExpansion(0f) in alpha_shadeClosedOverDream_isZero()
[all …]
DLockscreenToOccludedTransitionViewModelTest.kt42 import com.android.systemui.shade.shadeTestUtil
64 private lateinit var shadeTestUtil: ShadeTestUtil variable
85 shadeTestUtil = kosmos.shadeTestUtil in setUp()
219 shadeTestUtil.setQsExpansion(1f) in shadeExpanded()
222 shadeTestUtil.setQsExpansion(0f) in shadeExpanded()
223 shadeTestUtil.setLockscreenShadeExpansion(0f) in shadeExpanded()
DLockscreenToPrimaryBouncerTransitionViewModelTest.kt38 import com.android.systemui.shade.shadeTestUtil
64 private val shadeTestUtil by lazy { kosmos.shadeTestUtil } in <lambda>() constant
170 shadeTestUtil.setQsExpansion(1f) in shadeExpanded()
173 shadeTestUtil.setQsExpansion(0f) in shadeExpanded()
174 shadeTestUtil.setLockscreenShadeExpansion(0f) in shadeExpanded()
DLockscreenToAodTransitionViewModelTest.kt36 import com.android.systemui.shade.shadeTestUtil
63 private val shadeTestUtil by lazy { kosmos.shadeTestUtil } in <lambda>() constant
221 shadeTestUtil.setQsExpansion(1f) in shadeExpanded()
224 shadeTestUtil.setQsExpansion(0f) in shadeExpanded()
225 shadeTestUtil.setLockscreenShadeExpansion(0f) in shadeExpanded()
DAodToLockscreenTransitionViewModelTest.kt31 import com.android.systemui.shade.shadeTestUtil
50 val shadeTestUtil by lazy { kosmos.shadeTestUtil } in <lambda>() constant
89 shadeTestUtil.setQsExpansion(0.5f) in notificationAlpha_whenShadeIsExpanded_equalsOne()
105 shadeTestUtil.setQsExpansion(0f) in notificationAlpha_whenShadeIsNotExpanded_usesTransitionValue()
DBouncerToGoneFlowsTest.kt36 import com.android.systemui.shade.shadeTestUtil
65 private val shadeTestUtil by lazy { kosmos.shadeTestUtil } in <lambda>() constant
96 shadeTestUtil.setLockscreenShadeExpansion(1f) in scrimAlpha_runDimissFromKeyguard_shadeExpanded()
122 shadeTestUtil.setLockscreenShadeExpansion(0f) in scrimAlpha_runDimissFromKeyguard_shadeNotExpanded()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/deviceentry/domain/ui/viewmodel/
DUdfpsAccessibilityOverlayViewModelTest.kt39 import com.android.systemui.shade.shadeTestUtil
68 private val shadeTestUtil by lazy { kosmos.shadeTestUtil } in <lambda>() constant
169 shadeTestUtil.setQsExpansion(0f) in setupVisibleStateOnLockscreen()
170 shadeTestUtil.setLockscreenShadeExpansion(0f) in setupVisibleStateOnLockscreen()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/domain/interactor/
DUdfpsKeyguardInteractorTest.kt38 import com.android.systemui.shade.shadeTestUtil
66 val shadeTestUtil by lazy { kosmos.shadeTestUtil } in <lambda>() constant
201 shadeTestUtil.setQsExpansion(.22f) in qsProgress_updates()
204 shadeTestUtil.setQsExpansion(.5f) in qsProgress_updates()
207 shadeTestUtil.setQsExpansion(.7f) in qsProgress_updates()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/footer/ui/viewmodel/
DFooterViewModelTest.kt37 import com.android.systemui.shade.shadeTestUtil
69 private val shadeTestUtil by lazy { kosmos.shadeTestUtil } in <lambda>() constant
173 shadeTestUtil.setShadeAndQsExpansion(1f, 0f) in clearAllButtonAnimating_whenShadeExpandedAndTouchable()
205 shadeTestUtil.setShadeExpansion(0f) in clearAllButtonAnimating_whenShadeNotExpanded()
207 shadeTestUtil.setQsExpansion(0f) in clearAllButtonAnimating_whenShadeNotExpanded()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/view/viewmodel/
DCommunalViewModelTest.kt75 import com.android.systemui.shade.shadeTestUtil in <lambda>()
115 private lateinit var shadeTestUtil: ShadeTestUtil in <lambda>() variable
136 shadeTestUtil = kosmos.shadeTestUtil in <lambda>()
384 shadeTestUtil.setLockscreenShadeExpansion(0f) in <lambda>()
394 shadeTestUtil.setLockscreenShadeExpansion(1f) in <lambda>()
406 shadeTestUtil.setLockscreenShadeExpansion(0f) in <lambda>()
418 shadeTestUtil.setLockscreenShadeExpansion(1f) in <lambda>()
429 shadeTestUtil.setLockscreenShadeExpansion(0f) in <lambda>()
471 shadeTestUtil.setLockscreenShadeExpansion(0f) in <lambda>()
496 shadeTestUtil.setLockscreenShadeExpansion(0f) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DKeyguardBypassControllerTest.kt34 import com.android.systemui.shade.shadeTestUtil
73 private val shadeTestUtil by lazy { kosmos.shadeTestUtil } in <lambda>() constant
313 shadeTestUtil.setQsExpansion(0.5f) in qsExpansion_updates()
318 shadeTestUtil.setQsExpansion(0f) in qsExpansion_updates()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/domain/interactor/
DShadeInteractorImplTest.kt40 import com.android.systemui.shade.shadeTestUtil
72 val shadeTestUtil by lazy { kosmos.shadeTestUtil } in <lambda>() constant
311 shadeTestUtil.setShadeAndQsExpansion(.6f, 0f) in shadeExpansionWhenNotInSplitShadeAndQsCollapsed()
321 shadeTestUtil.setShadeAndQsExpansion(.5f, 0f) in anyExpansion_shadeGreater()
332 shadeTestUtil.setShadeAndQsExpansion(0f, .5f) in anyExpansion_qsGreater()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/domain/interactor/
DHeadsUpNotificationInteractorTest.kt31 import com.android.systemui.shade.shadeTestUtil
62 private val shadeTestUtil by lazy { kosmos.shadeTestUtil } in <lambda>() constant in com.android.systemui.statusbar.notification.domain.interactor.HeadsUpNotificationInteractorTest
311 shadeTestUtil.setShadeExpansion(1.0f) in showHeadsUpStatusBar_whenShadeExpanded_false()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/
DNotificationIconContainerStatusBarViewModelTest.kt38 import com.android.systemui.shade.shadeTestUtil
87 private val shadeTestUtil by lazy { kosmos.shadeTestUtil } in <lambda>() constant
290 shadeTestUtil.setShadeExpansion(0f) in isolatedIcon_animateOnAppear_shadeCollapsed()
317 shadeTestUtil.setShadeExpansion(.5f) in isolatedIcon_dontAnimateOnAppear_shadeExpanded()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/shade/
DShadeTestUtilKosmos.kt25 var Kosmos.shadeTestUtil: ShadeTestUtil by variable
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DGlanceableHubContainerControllerTest.kt287 shadeTestUtil.setQsExpansion(1.0f) in onTouchEvent_communalAndShadeShowing_doesNotIntercept()
434 shadeTestUtil.setQsExpansion(1.0f) in lifecycle_startedAfterShadeShows()
479 shadeTestUtil.setQsExpansion(1.0f) in gestureExclusionZone_unsetWhenShadeOpen()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardTransitionScenariosTest.kt55 import com.android.systemui.shade.shadeTestUtil
97 private val shadeTestUtil by lazy { kosmos.shadeTestUtil } in <lambda>() constant
1666 shadeTestUtil.setTracking(true) in lockscreenToPrimaryBouncerDragging()
1667 shadeTestUtil.setShadeExpansion(.9f) in lockscreenToPrimaryBouncerDragging()
1684 shadeTestUtil.setTracking(false) in lockscreenToPrimaryBouncerDragging()
1685 shadeTestUtil.setShadeExpansion(1f) in lockscreenToPrimaryBouncerDragging()