Home
last modified time | relevance | path

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

/packages/services/Car/surround_view/service-impl/
DAnimationModule.cpp183 float& currentProgress = currentCarPartStatus.vhalProgressMap.at(vhalProperty); in performGammaOp() local
185 if (currentProgress > 0) { // part not rest in performGammaOp()
188 currentProgress = 0.0f; in performGammaOp()
192 if (progressDelta > currentProgress) { in performGammaOp()
194 currentProgress = 0.0f; in performGammaOp()
197 getRationalNumber(gammaOp.gammaRange, currentProgress - progressDelta); in performGammaOp()
198 currentProgress -= progressDelta; in performGammaOp()
209 currentProgress = mVhalStatusMap.at(vhalProperty).vhalValueFloat; in performGammaOp()
215 currentProgress = 1.0f; in performGammaOp()
218 getRationalNumber(gammaOp.gammaRange, currentProgress + progressDelta); in performGammaOp()
[all …]
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/
DFlingUpDownTouchHandler.java147 private float currentProgress; field in FlingUpDownTouchHandler
246 startMotion(pointerY, false, currentProgress); in onTouch()
264 startMotion(newY, true, currentProgress); in onTouch()
397 flingAnimationUtils.apply(animator, currentProgress, target, velocity); in fling()
399 flingAnimationUtils.applyDismissing(animator, currentProgress, target, velocity, 1); in fling()
430 if (currentProgress == 0) { in onMoveEnded()
433 listener.onMoveFinish(currentProgress > 0); in onMoveEnded()
438 ValueAnimator animator = ValueAnimator.ofFloat(currentProgress, targetProgress); in createProgressAnimator()
493 currentProgress = progress; in setCurrentProgress()