Searched refs:deltaDistance (Results 1 – 6 of 6) sorted by relevance
31 public static void onPull(EdgeEffect edgeEffect, float deltaDistance, float displacement) { in onPull() argument33 edgeEffect.onPull(deltaDistance, displacement); in onPull()35 edgeEffect.onPull(deltaDistance); in onPull()
184 public void onPull(float deltaDistance) { in onPull() argument197 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()
134 public void onPull(float deltaDistance) { in onPull() argument136 mValue = Utils.clamp(mValue + deltaDistance, -1.0f, 1.0f); in onPull()
162 final int deltaDistance = getDistance( in isStartOfAGesture() local168 && deltaDistance >= distanceThreshold; in isStartOfAGesture()172 deltaDistance, distanceThreshold, in isStartOfAGesture()
148 final double deltaDistance = Math.hypot(mInterpolator.mP1X - mInterpolator.mP2X, in interpolateStrokeAndReturnStartIndexOfLastSegment() local150 final int segmentsByDistance = (int)Math.ceil(deltaDistance in interpolateStrokeAndReturnStartIndexOfLastSegment()
179 public void onPull(float deltaDistance, float displacement) { in onPull() argument181 mDistance += deltaDistance * (mVelocityMultiplier / 3f); in onPull()