Lines Matching refs:consumed
88 * parent at least partially consumed the scroll and the caller should adjust the amount it
93 * both the delta consumed and the delta unconsumed. A nested scrolling parent may treat
140 * @param dxConsumed Horizontal distance in pixels consumed by this view during this scroll step
141 * @param dyConsumed Vertical distance in pixels consumed by this view during this scroll step
142 * @param dxUnconsumed Horizontal scroll distance in pixels not consumed by this view
143 * @param dyUnconsumed Horizontal scroll distance in pixels not consumed by this view
164 * @param consumed Output. If not null, consumed[0] will contain the consumed component of dx
165 * and consumed[1] the consumed dy.
170 * @return true if the parent consumed some or all of the scroll delta
173 boolean dispatchNestedPreScroll(int dx, int dy, int[] consumed, int[] offsetInWindow);
190 * @param consumed true if the child consumed the fling, false otherwise
191 * @return true if the nested scrolling parent consumed or otherwise reacted to the fling
193 boolean dispatchNestedFling(float velocityX, float velocityY, boolean consumed);
202 * parent view consumed the fling and this view should not scroll as a result.</p>
205 * the fling at a time. If a parent view consumed the fling this method will return false.
223 * @return true if a nested scrolling parent consumed the fling