Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/haptics/slider/
DSliderStateTracker.kt59 SliderState.IDLE -> handleIdle(event.type, event.currentProgress) in iterateState()
60 SliderState.WAIT -> handleWait(event.type, event.currentProgress) in iterateState()
62 SliderState.DRAG_HANDLE_DRAGGING -> handleDragging(event.type, event.currentProgress) in iterateState()
64 handleReachedBookend(event.type, event.currentProgress) in iterateState()
70 handleArrowContinuous(event.type, event.currentProgress) in iterateState()
73 latestProgress = event.currentProgress in iterateState()
76 private fun handleIdle(newEventType: SliderEventType, currentProgress: Float) { in handleIdle()
85 if (bookendReached(currentProgress)) SliderState.ARROW_HANDLE_REACHED_BOOKEND in handleIdle()
101 private fun handleWait(newEventType: SliderEventType, currentProgress: Float) { in handleWait()
106 val deltaProgressIsJump = deltaProgressIsAboveThreshold(currentProgress) in handleWait()
[all …]
DSliderStateProducer.kt46 SliderEvent(eventType, previousEvent.currentProgress) in <lambda>()
55 SliderEvent(eventType, previousEvent.currentProgress) in <lambda>()
DSliderEvent.kt30 @FloatRange(from = 0.0, to = 1.0) val currentProgress: Float constant in com.android.systemui.haptics.slider.SliderEvent
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/common/ui/view/
DSeekBarWithIconButtonsViewTest.java181 final int currentProgress = mSeekbar.getProgress(); in setProgressStateLabels_getExpectedStateDescriptionOnInitialization() local
184 assertThat(currentProgress).isEqualTo(1); in setProgressStateLabels_getExpectedStateDescriptionOnInitialization()
185 assertThat(stateDescription).isEqualTo(stateLabels[currentProgress]); in setProgressStateLabels_getExpectedStateDescriptionOnInitialization()
195 final int currentProgress = mSeekbar.getProgress(); in setProgressStateLabels_progressChanged_getExpectedStateDescription() local
198 assertThat(currentProgress).isEqualTo(1); in setProgressStateLabels_progressChanged_getExpectedStateDescription()
199 assertThat(stateDescription).isEqualTo(stateLabels[currentProgress]); in setProgressStateLabels_progressChanged_getExpectedStateDescription()
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DDynamicSystemInstallationService.java553 long currentProgress = in buildNotification() local
558 progress += (int) currentProgress; in buildNotification()
/frameworks/base/core/java/android/widget/
DProgressBar.java1594 final float currentProgress = progress; in getPercent() local
1599 final float percent = (currentProgress - minProgress) / diffProgress; in getPercent()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp1619 int currentProgress = android::base::GetIntProperty(PROGRESS_PROP_NAME, 0); in playAnimation() local
1621 (i == (pcount -1)) && currentProgress != 0; in playAnimation()