Home
last modified time | relevance | path

Searched refs:qsExpansion (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/shade/
DShadeTestUtil.kt41 fun setQsExpansion(qsExpansion: Float) { in setQsExpansion()
43 delegate.setQsExpansion(qsExpansion) in setQsExpansion()
47 fun setShadeAndQsExpansion(shadeExpansion: Float, qsExpansion: Float) { in setShadeAndQsExpansion()
50 shadeExpansion == 0f || qsExpansion == 0f || shadeExpansion + qsExpansion == 1f, in setShadeAndQsExpansion()
53 delegate.setShadeAndQsExpansion(shadeExpansion, qsExpansion) in setShadeAndQsExpansion()
97 fun setShadeAndQsExpansion(shadeExpansion: Float, qsExpansion: Float) in assertFlagValid()
112 fun setQsExpansion(qsExpansion: Float) in assertFlagValid()
125 override fun setShadeAndQsExpansion(shadeExpansion: Float, qsExpansion: Float) { in assertFlagValid()
127 shadeRepository.setQsExpansion(qsExpansion) in assertFlagValid()
154 override fun setQsExpansion(qsExpansion: Float) { in assertFlagValid()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/domain/interactor/
DShadeInteractorLegacyImpl.kt58 repository.qsExpansion, in <lambda>()
64 qsExpansion, in <lambda>() method
69 if (!splitShadeEnabled && qsExpansion > 0f) 1f - qsExpansion in <lambda>()
80 override val qsExpansion: StateFlow<Float> = repository.qsExpansion in <lambda>() constant
88 createAnyExpansionFlow(scope, shadeExpansion, qsExpansion) in <lambda>()
106 userInteractingFlow(repository.legacyQsTracking, repository.qsExpansion) in <lambda>()
DShadeInteractor.kt81 val qsExpansion: StateFlow<Float> constant
119 qsExpansion: Flow<Float> in createAnyExpansionFlow()
121 return combine(shadeExpansion, qsExpansion) { shadeExp, qsExp -> maxOf(shadeExp, qsExp) } in createAnyExpansionFlow()
DShadeInteractorSceneContainerImpl.kt59 override val qsExpansion: StateFlow<Float> = in <lambda>() constant
64 ) { isSplitShadeEnabled, shadeExpansion, qsExpansion -> in <lambda>() method
68 qsExpansion in <lambda>()
74 qsExpansion in <lambda>()
116 createAnyExpansionFlow(scope, shadeExpansion, qsExpansion) in <lambda>()
DShadeInteractorEmptyImpl.kt34 override val qsExpansion: StateFlow<Float> = inactiveFlowFloat constant in com.android.systemui.shade.domain.interactor.ShadeInteractorEmptyImpl
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/data/repository/
DShadeRepository.kt32 @Deprecated("Use ShadeInteractor.qsExpansion instead") val qsExpansion: StateFlow<Float> constant
151 fun setQsExpansion(qsExpansion: Float) in setShadeMode()
179 override val qsExpansion: StateFlow<Float> = _qsExpansion.asStateFlow() in setShadeMode() constant in com.android.systemui.shade.data.repository.ShadeRepositoryImpl
274 override fun setQsExpansion(qsExpansion: Float) { in setShadeMode()
275 _qsExpansion.value = qsExpansion in setShadeMode()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DVariableDateViewControllerTest.kt66 private val qsExpansion = MutableStateFlow(0F) constant
87 `when`(shadeInteractor.qsExpansion).thenReturn(qsExpansion) in setUp()
188 qsExpansion.value = 0f in testQsExpansionTrue_ignoreAtMostMeasureRequests()
203 qsExpansion.value = 1f in testQsExpansionFalse_acceptAtMostMeasureRequests()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/data/repository/
DShadeRepositoryImplTest.kt49 assertThat(underTest.qsExpansion.value).isEqualTo(0f) in updateQsExpansion()
52 assertThat(underTest.qsExpansion.value).isEqualTo(.5f) in updateQsExpansion()
55 assertThat(underTest.qsExpansion.value).isEqualTo(.82f) in updateQsExpansion()
58 assertThat(underTest.qsExpansion.value).isEqualTo(1f) in updateQsExpansion()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/shade/data/repository/
DFakeShadeRepository.kt33 override val qsExpansion = _qsExpansion constant in com.android.systemui.shade.data.repository.FakeShadeRepository
119 override fun setQsExpansion(qsExpansion: Float) { in setQsExpansion()
120 _qsExpansion.value = qsExpansion in setQsExpansion()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/
DSharedNotificationContainerViewModel.kt152 shadeInteractor.qsExpansion.map { it > 0f }, in <lambda>()
153 ) { shadeExpansion, qsExpansion -> in <lambda>() method
154 shadeExpansion || qsExpansion in <lambda>()
373 shadeInteractor.qsExpansion, in <lambda>()
376 ) { onLockscreen, bounds, paddingTop, (top, isInTransitionToAnyState, qsExpansion) -> in <lambda>() method
382 val animate = qsExpansion == 0f && !isInTransitionToAnyState in <lambda>()
406 shadeInteractor.qsExpansion, in <lambda>()
407 ) { shadeExpansion, qsExpansion -> in <lambda>() method
408 if (shadeExpansion > 0f || qsExpansion > 0f) { in <lambda>()
411 } else if (qsExpansion == 1f) { in <lambda>()
[all …]
DNotificationScrollViewModel.kt67 shadeInteractor.qsExpansion, in <lambda>()
70 ) { shadeExpansion, shadeMode, qsExpansion, transitionState, quickSettingsScene -> in <lambda>() method
98 (qsExpansion / EXPANSION_FOR_MAX_SCRIM_ALPHA - in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsKeyguardViewControllerLegacy.kt97 private var qsExpansion = 0f in <lambda>() variable
167 override fun onQSExpansionChanged(qsExpansion: Float) { in <lambda>()
168 this@UdfpsKeyguardViewControllerLegacy.qsExpansion = qsExpansion in <lambda>()
356 qsExpansion = keyguardViewManager.qsExpansion in <lambda>()
402 pw.println("qsExpansion=$qsExpansion") in <lambda>()
519 (alpha * (1.0f - Interpolators.EMPHASIZED_DECELERATE.getInterpolation(qsExpansion))) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/
DMediaHierarchyManagerTest.kt200 mediaHierarchyManager.qsExpansion = 1.0f in testBlockedWhenScreenTurningOff()
213 mediaHierarchyManager.qsExpansion = 0.0f in testBlockedWhenScreenTurningOff()
227 mediaHierarchyManager.qsExpansion = 1.0f in testBlockedWhenConfigurationChangesAndScreenOff()
254 mediaHierarchyManager.qsExpansion = 1.0f in testAllowedWhenConfigurationChanges()
278 mediaHierarchyManager.qsExpansion = 1.0f in testAllowedWhenNotTurningOff()
290 mediaHierarchyManager.qsExpansion = 0.0f in testAllowedWhenNotTurningOff()
505 mediaHierarchyManager.qsExpansion = 0f in isCurrentlyInGuidedTransformation_desiredLocationIsHub_returnsFalse()
626 mediaHierarchyManager.qsExpansion = 0.1f in testCommunalLocation_showsUntilQsExpands()
736 mediaHierarchyManager.qsExpansion = 1.0f in expandQS()
740 mediaHierarchyManager.qsExpansion = 1.0f in enterGuidedTransformation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DUdfpsKeyguardInteractor.kt70 shadeInteractor.qsExpansion // swipe from top of LS in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardClockPositionAlgorithm.java192 int unlockedStackScrollerPadding, float qsExpansion, int cutoutTopInset, in setup() argument
205 mQsExpansion = qsExpansion; in setup()
DKeyguardBypassController.kt163 shadeInteractorLazy.get().qsExpansion.map { it > 0f }.distinctUntilChanged() in <lambda>()
DStatusBarKeyguardViewManager.java1685 public void setQsExpansion(float qsExpansion) { in setQsExpansion() argument
1686 mQsExpansion = qsExpansion; in setQsExpansion()
1856 default void onQSExpansionChanged(float qsExpansion) { } in onQSExpansionChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardRootViewModel.kt168 shadeInteractor.qsExpansion, in <lambda>()
174 qsExpansion, in <lambda>() method
189 /* value = */ max(qsExpansion, shadeExpansion) in <lambda>()
DAodToLockscreenTransitionViewModel.kt84 shadeInteractor.qsExpansion.value > 0f in <lambda>()
DDeviceEntryIconViewModel.kt89 private val qsProgress: Flow<Float> = shadeInteractor.qsExpansion.onStart { emit(0f) } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaHierarchyManager.kt267 var qsExpansion: Float = 0.0f variable
1055 return qsExpansion in getQSTransformationProgress()
1210 (onCommunalNotDreaming && qsExpansion == 0.0f) || onCommunalDreamingAndShadeExpanding in calculateLocation()
1216 (qsExpansion > 0.0f || inSplitShade) && !onLockscreen -> LOCATION_QS in calculateLocation()
1217 qsExpansion > EXPANSION_THRESHOLD && onLockscreen -> LOCATION_QS in calculateLocation()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/domain/interactor/
DShadeInteractorSceneContainerImplTest.kt61 val actual by collectLastValue(underTest.qsExpansion) in qsExpansionWhenInSplitShadeAndQsExpanded()
89 val actual by collectLastValue(underTest.qsExpansion) in qsExpansionWhenNotInSplitShadeAndQsExpanded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DVariableDateViewController.kt182 shadeInteractor.qsExpansion.collect(::onQsExpansionFractionChanged) in onViewAttached()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DScrimControllerTest.java1076 public void qsExpansion() { in qsExpansion() method in ScrimControllerTest