Lines Matching defs:consumed
110 // consumed by this as the nested scrolling parent is used in place of the
755 // Reset the counter of how much leftover scroll needs to be consumed.
764 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) {
769 consumed[1] = dy - (int) mTotalUnconsumed;
773 consumed[1] = dy;
783 && Math.abs(dy - consumed[1]) > 0) {
789 if (dispatchNestedPreScroll(dx - consumed[0], dy - consumed[1], parentConsumed, null)) {
790 consumed[0] += parentConsumed[0];
791 consumed[1] += parentConsumed[1];
804 // Finish the spinner for nested scrolling if we ever consumed any
868 public boolean dispatchNestedPreScroll(int dx, int dy, int[] consumed, int[] offsetInWindow) {
869 return mNestedScrollingChildHelper.dispatchNestedPreScroll(dx, dy, consumed, offsetInWindow);
880 boolean consumed) {
881 return dispatchNestedFling(velocityX, velocityY, consumed);
885 public boolean dispatchNestedFling(float velocityX, float velocityY, boolean consumed) {
886 return mNestedScrollingChildHelper.dispatchNestedFling(velocityX, velocityY, consumed);