Searched refs:deltaTime (Results 1 – 9 of 9) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | GestureStrokeRecognitionPoints.java | 127 private int getGestureDynamicDistanceThreshold(final int deltaTime) { in getGestureDynamicDistanceThreshold() argument 128 if (!mAfterFastTyping || deltaTime >= mRecognitionParams.mDynamicThresholdDecayDuration) { in getGestureDynamicDistanceThreshold() 133 * deltaTime / mRecognitionParams.mDynamicThresholdDecayDuration; in getGestureDynamicDistanceThreshold() 137 private int getGestureDynamicTimeThreshold(final int deltaTime) { in getGestureDynamicTimeThreshold() argument 138 if (!mAfterFastTyping || deltaTime >= mRecognitionParams.mDynamicThresholdDecayDuration) { in getGestureDynamicTimeThreshold() 144 * deltaTime / mRecognitionParams.mDynamicThresholdDecayDuration; in getGestureDynamicTimeThreshold() 158 final int deltaTime = mEventTimes.get(lastIndex) - mDetectFastMoveTime; in isStartOfAGesture() local 159 if (deltaTime < 0) { in isStartOfAGesture() 165 final int distanceThreshold = getGestureDynamicDistanceThreshold(deltaTime); in isStartOfAGesture() 166 final int timeThreshold = getGestureDynamicTimeThreshold(deltaTime); in isStartOfAGesture() [all …]
|
/packages/apps/Settings/src/com/android/settings/gestures/ |
D | BackGestureIndicatorDrawable.java | 93 mTimeAnimator.setTimeListener((TimeAnimator animation, long totalTime, long deltaTime) -> { in BackGestureIndicatorDrawable() argument 94 updateCurrentWidth(totalTime, deltaTime); in BackGestureIndicatorDrawable() 99 private void updateCurrentWidth(long totalTime, long deltaTime) { in updateCurrentWidth() argument 101 float step = deltaTime * mWidthChangePerMs; in updateCurrentWidth()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/animation/view/ |
D | LoadingAnimation.kt | 145 setTimeListener { _, totalTime, deltaTime -> flushUniforms(totalTime, deltaTime) } in <lambda>() method 284 private fun flushUniforms(totalTime: Long, deltaTime: Long) { in <lambda>() 285 elapsedTime += deltaTime in <lambda>() 390 setTimeListener { _, totalTime, deltaTime -> flushUniforms(totalTime, deltaTime) } in <lambda>() method
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | RotateImageView.java | 105 int deltaTime = (int)(time - mAnimationStartTime); in onDraw() local 107 * (mClockwise ? deltaTime : -deltaTime) / 1000; in onDraw()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarVolumeTest.java | 387 long deltaTime = KEY_EVENT_TIMEOUT_MS - 1; in getSuggestedAudioContext_withStillActiveContext_retPrevActiveContextMultipleTimes() local 390 .thenReturn(START_TIME + (volumeCounter * deltaTime)); in getSuggestedAudioContext_withStillActiveContext_retPrevActiveContextMultipleTimes() 469 long deltaTime = KEY_EVENT_TIMEOUT_MS - 1; in getSuggestedAudioContext_afterMultipleQueriesAndNewContextCall_returnsNewContext() local 471 when(mMockClock.uptimeMillis()).thenReturn(START_TIME + volumeCounter * deltaTime); in getSuggestedAudioContext_afterMultipleQueriesAndNewContextCall_returnsNewContext() 476 .thenReturn(START_TIME + (TRIAL_COUNTS * deltaTime) + KEY_EVENT_TIMEOUT_MS); in getSuggestedAudioContext_afterMultipleQueriesAndNewContextCall_returnsNewContext()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/ |
D | MediaScannerTest.java | 164 final long deltaTime = SystemClock.elapsedRealtime() - beforeTime; in scanDirectory() local 166 Log.i(TAG, "Scan " + tag + ": " + deltaTime + "ms " + Arrays.toString(deltaCounts)); in scanDirectory()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | AudioPlaybackProgressBar.java | 47 final long deltaTime) { in AudioPlaybackProgressBar()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | SoundLevels.java | 110 final long deltaTime) { in SoundLevels()
|
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/voice/ |
D | BitmapSoundLevelView.java | 156 public void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime) { in BitmapSoundLevelView()
|