Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DSwipeToDismissInteractorTest.kt27 import com.android.systemui.shade.data.repository.FlingInfo in <lambda>()
54 shadeRepository.setCurrentFling(FlingInfo(expand = false)) in <lambda>()
60 { fling: FlingInfo? -> fling?.expand }, in <lambda>()
73 shadeRepository.setCurrentFling(FlingInfo(expand = false)) in <lambda>()
88 shadeRepository.setCurrentFling(FlingInfo(expand = false)) in <lambda>()
101 FlingInfo(expand = true) // Not a dismiss fling (expand = true). in <lambda>()
DFromLockscreenTransitionInteractorTest.kt37 import com.android.systemui.shade.data.repository.FlingInfo
130 FlingInfo(expand = false) // Is a dismiss fling upward (expand = false). in testTransitionsToGone_whenDismissFlingWhileDismissable_flagEnabled()
151 FlingInfo(expand = true) // Not a dismiss fling (expand = true). in testDoesNotTransitionToGone_whenDismissFlingWhileDismissable_flagDisabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/data/repository/
DShadeRepository.kt41 val currentFling: StateFlow<FlingInfo?>
159 fun setCurrentFling(info: FlingInfo?) in setShadeMode()
189 private val _currentFling: MutableStateFlow<FlingInfo?> = MutableStateFlow(null) in setShadeMode()
190 override val currentFling: StateFlow<FlingInfo?> = _currentFling.asStateFlow() in setShadeMode()
286 override fun setCurrentFling(info: FlingInfo?) { in setShadeMode()
DFlingInfo.kt25 data class FlingInfo @JvmOverloads constructor( class
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/shade/data/repository/
DFakeShadeRepository.kt38 private val _currentFling: MutableStateFlow<FlingInfo?> = MutableStateFlow(null)
39 override val currentFling: StateFlow<FlingInfo?> = _currentFling
127 override fun setCurrentFling(info: FlingInfo?) { in setCurrentFling()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DNotificationPanelViewController.java175 import com.android.systemui.shade.data.repository.FlingInfo;
2134 mShadeRepository.setCurrentFling(new FlingInfo(expand, vel)); in flingToHeight()