Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureStrokeRecognitionPoints.java127 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/
DBackGestureIndicatorDrawable.java92 mTimeAnimator.setTimeListener((TimeAnimator animation, long totalTime, long deltaTime) -> { in BackGestureIndicatorDrawable() argument
93 updateCurrentWidth(totalTime, deltaTime); in BackGestureIndicatorDrawable()
98 private void updateCurrentWidth(long totalTime, long deltaTime) { in updateCurrentWidth() argument
100 float step = deltaTime * mWidthChangePerMs; in updateCurrentWidth()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DRotateImageView.java105 int deltaTime = (int)(time - mAnimationStartTime); in onDraw() local
107 * (mClockwise ? deltaTime : -deltaTime) / 1000; in onDraw()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DMediaScannerTest.java222 final long deltaTime = SystemClock.elapsedRealtime() - beforeTime; in scanDirectory() local
224 Log.i(TAG, "Scan " + tag + ": " + deltaTime + "ms " + Arrays.toString(deltaCounts)); in scanDirectory()
/packages/apps/Messaging/src/com/android/messaging/ui/
DAudioPlaybackProgressBar.java47 final long deltaTime) { in AudioPlaybackProgressBar()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DSoundLevels.java110 final long deltaTime) { in SoundLevels()
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/voice/
DBitmapSoundLevelView.java156 public void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime) { in BitmapSoundLevelView()
/packages/apps/Nfc/src/com/android/nfc/beam/
DSendUi.java681 public void onTimeUpdate(TimeAnimator animation, long totalTime, long deltaTime) { in onTimeUpdate() argument