Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DEdgeEffect.java182 public void onPull(float deltaDistance) { in onPull() argument
195 mPullDistance += deltaDistance; in onPull()
204 (Math.abs(deltaDistance) * PULL_DISTANCE_ALPHA_GLOW_FACTOR)); in onPull()
206 float glowChange = Math.abs(deltaDistance); in onPull()
207 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/
DGestureStroke.java206 final int deltaDistance = getDistance( in isStartOfAGesture() local
212 && deltaDistance >= distanceThreshold; in isStartOfAGesture()
216 deltaDistance, distanceThreshold, in isStartOfAGesture()