Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/views/
DSpringRelativeLayout.java91 protected void absorbPullDeltaDistance(float deltaDistance, float displacement) { in absorbPullDeltaDistance() argument
92 mEdgeGlowBottom.onPull(deltaDistance, displacement); in absorbPullDeltaDistance()
142 public void onPull(float deltaDistance) { in onPull() argument
143 mParent.onPull(deltaDistance); in onPull()
148 public void onPull(float deltaDistance, float displacement) { in onPull() argument
149 mParent.onPull(deltaDistance, displacement); in onPull()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DEdgeEffectCompat.java38 public float onPullDistance(float deltaDistance, float displacement) { in onPullDistance() argument
40 return super.onPullDistance(deltaDistance, displacement); in onPullDistance()
42 onPull(deltaDistance, displacement); in onPullDistance()
43 return deltaDistance; in onPullDistance()
DOverlayEdgeEffect.java48 public float onPullDistance(float deltaDistance, float displacement) { in onPullDistance() argument
49 mDistance = Math.max(0f, deltaDistance + mDistance); in onPullDistance()
55 return mDistance > 0 ? deltaDistance : 0; in onPullDistance()
/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/allapps/
DAllAppsContainerView.java681 public void onPull(float deltaDistance, float displacement) { in onPull() argument
682 absorbPullDeltaDistance(PULL_MULTIPLIER * deltaDistance, PULL_MULTIPLIER * displacement); in onPull()