Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/progress/
DTestUnfoldProgressListener.kt89 private val progressHistory: MutableList<Float> = arrayListOf() constant in com.android.systemui.unfold.progress.TestUnfoldProgressListener.UnfoldTransitionRecording
96 progressHistory += progress in addProgress()
104 assertThat(progressHistory.size).isGreaterThan(MIN_ANIMATION_EVENTS) in assertIncreasingProgress()
105 assertThat(progressHistory).isInOrder() in assertIncreasingProgress()
109 assertThat(progressHistory.size).isGreaterThan(MIN_ANIMATION_EVENTS) in assertDecreasingProgress()
110 assertThat(progressHistory).isInOrder(Comparator.reverseOrder<Float>()) in assertDecreasingProgress()
114 assertThat(progressHistory).isNotEmpty() in assertFinishedWithUnfold()
115 assertThat(progressHistory.last()).isEqualTo(1.0f) in assertFinishedWithUnfold()
119 assertThat(progressHistory).isNotEmpty() in assertFinishedWithFold()
120 assertThat(progressHistory.last()).isEqualTo(0.0f) in assertFinishedWithFold()
[all …]