Lines Matching defs:consumed
475 * <p>Both the consumed and unconsumed portions of the scroll distance are reported to the
476 * ViewParent. An implementation may choose to use the consumed portion to match or chase scroll
483 * @param dxConsumed Horizontal scroll distance in pixels already consumed by target
484 * @param dyConsumed Vertical scroll distance in pixels already consumed by target
485 * @param dxUnconsumed Horizontal scroll distance in pixels not consumed by target
486 * @param dyUnconsumed Vertical scroll distance in pixels not consumed by target
501 * report how any pixels of the scroll reported by dx, dy were consumed in the
502 * <code>consumed</code> array. Index 0 corresponds to dx and index 1 corresponds to dy.
503 * This parameter will never be null. Initial values for consumed[0] and consumed[1]
509 * @param consumed Output. The horizontal and vertical scroll distance consumed by this parent
511 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed);
529 * @param consumed true if the child consumed the fling, false otherwise
530 * @return true if this parent consumed or otherwise reacted to the fling
532 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed);
552 * @return true if this parent consumed the fling ahead of the target view
571 * @return true if the action was consumed by this ViewParent