Ejemplo n.º 1
0
 /**
  * Call when the effect absorbs an impact at the given velocity. Used when a fling reaches the
  * scroll boundary.
  *
  * <p>When using a {@link android.widget.Scroller} or {@link android.widget.OverScroller}, the
  * method <code>getCurrVelocity</code> will provide a reasonable approximation to use here.
  *
  * @param velocity Velocity at impact in pixels per second.
  * @return true if the host view should invalidate, false if it should not.
  */
 public boolean onAbsorb(int velocity) {
   return IMPL.onAbsorb(mEdgeEffect, velocity);
 }
Ejemplo n.º 2
0
 public boolean onAbsorb(int paramInt) {
   return IMPL.onAbsorb(this.mEdgeEffect, paramInt);
 }