Searched refs:deltaDistance (Results 1 - 2 of 2) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DEdgeEffect.java177 * @param deltaDistance Change in distance since the last call. Values may be 0 (no change) to
181 public void onPull(float deltaDistance) { argument
194 mPullDistance += deltaDistance;
203 (Math.abs(deltaDistance) * PULL_DISTANCE_ALPHA_GLOW_FACTOR));
205 float glowChange = Math.abs(deltaDistance);
206 if (deltaDistance > 0 && mPullDistance < 0) {
H A DPaper.java138 // The deltaDistance's magnitude is in the range of -1 (no change) to 1.
141 public void onPull(float deltaDistance) { argument
143 mValue = Utils.clamp(mValue + deltaDistance, -1.0f, 1.0f);

Completed in 96 milliseconds