Home | History | Annotate | Download | only in view

Lines Matching refs:consumed

92      * parent at least partially consumed the scroll and the caller should adjust the amount it
97 * both the delta consumed and the delta unconsumed. A nested scrolling parent may treat
144 * @param dxConsumed Horizontal distance in pixels consumed by this view during this scroll step
145 * @param dyConsumed Vertical distance in pixels consumed by this view during this scroll step
146 * @param dxUnconsumed Horizontal scroll distance in pixels not consumed by this view
147 * @param dyUnconsumed Horizontal scroll distance in pixels not consumed by this view
168 * @param consumed Output. If not null, consumed[0] will contain the consumed component of dx
169 * and consumed[1] the consumed dy.
174 * @return true if the parent consumed some or all of the scroll delta
177 boolean dispatchNestedPreScroll(int dx, int dy, @Nullable int[] consumed,
195 * @param consumed true if the child consumed the fling, false otherwise
196 * @return true if the nested scrolling parent consumed or otherwise reacted to the fling
198 boolean dispatchNestedFling(float velocityX, float velocityY, boolean consumed);
207 * parent view consumed the fling and this view should not scroll as a result.</p>
210 * the fling at a time. If a parent view consumed the fling this method will return false.
228 * @return true if a nested scrolling parent consumed the fling