Searched refs:displacement (Results 1 – 4 of 4) sorted by relevance
151 public boolean onDrag(float displacement, float velocity) { in onDrag() argument155 mIsInOverScroll = (!canScrollVertically(1) && displacement < 0) || in onDrag()156 (!canScrollVertically(-1) && displacement > 0); in onDrag()167 mFirstDisplacement = displacement; in onDrag()169 float overscrollY = displacement - mFirstDisplacement; in onDrag()
211 public void onPull(float deltaDistance, float displacement) { in onPull() argument213 mTargetDisplacement = displacement; in onPull()370 final float displacement = Math.max(0, Math.min(mDisplacement, 1.f)) - 0.5f; in draw() local371 float translateX = mBounds.width() * displacement / 2; in draw()
80 // Bucketized values for small displacement field in
175 boolean onDrag(float displacement, float velocity); in onDrag() argument