Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/compat/
DEdgeEffectCompat.java31 public static void onPull(EdgeEffect edgeEffect, float deltaDistance, float displacement) { in onPull() argument
33 edgeEffect.onPull(deltaDistance, displacement); in onPull()
35 edgeEffect.onPull(deltaDistance); in onPull()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DEdgeEffect.java184 public void onPull(float deltaDistance) { in onPull() argument
197 mPullDistance += deltaDistance; in onPull()
206 (Math.abs(deltaDistance) * PULL_DISTANCE_ALPHA_GLOW_FACTOR)); in onPull()
208 float glowChange = Math.abs(deltaDistance); in onPull()
209 if (deltaDistance > 0 && mPullDistance < 0) { in onPull()
DPaper.java134 public void onPull(float deltaDistance) { in onPull() argument
136 mValue = Utils.clamp(mValue + deltaDistance, -1.0f, 1.0f); in onPull()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureStrokeRecognitionPoints.java162 final int deltaDistance = getDistance( in isStartOfAGesture() local
168 && deltaDistance >= distanceThreshold; in isStartOfAGesture()
172 deltaDistance, distanceThreshold, in isStartOfAGesture()
DGestureStrokeDrawingPoints.java148 final double deltaDistance = Math.hypot(mInterpolator.mP1X - mInterpolator.mP2X, in interpolateStrokeAndReturnStartIndexOfLastSegment() local
150 final int segmentsByDistance = (int)Math.ceil(deltaDistance in interpolateStrokeAndReturnStartIndexOfLastSegment()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DSpringRelativeLayout.java179 public void onPull(float deltaDistance, float displacement) { in onPull() argument
181 mDistance += deltaDistance * (mVelocityMultiplier / 3f); in onPull()