Lines Matching refs:parent

37                 ViewParent parent, View child, AccessibilityEvent event);
38 boolean onStartNestedScroll(ViewParent parent, View child, View target,
40 void onNestedScrollAccepted(ViewParent parent, View child, View target,
42 void onStopNestedScroll(ViewParent parent, View target);
43 void onNestedScroll(ViewParent parent, View target, int dxConsumed, int dyConsumed,
45 void onNestedPreScroll(ViewParent parent, View target, int dx, int dy, int[] consumed);
46 boolean onNestedFling(ViewParent parent, View target, float velocityX, float velocityY,
48 boolean onNestedPreFling(ViewParent parent, View target, float velocityX, float velocityY);
49 void notifySubtreeAccessibilityStateChanged(ViewParent parent, View child,
56 ViewParent parent, View child, AccessibilityEvent event) {
68 public boolean onStartNestedScroll(ViewParent parent, View child, View target,
70 if (parent instanceof NestedScrollingParent) {
71 return ((NestedScrollingParent) parent).onStartNestedScroll(child, target,
78 public void onNestedScrollAccepted(ViewParent parent, View child, View target,
80 if (parent instanceof NestedScrollingParent) {
81 ((NestedScrollingParent) parent).onNestedScrollAccepted(child, target,
87 public void onStopNestedScroll(ViewParent parent, View target) {
88 if (parent instanceof NestedScrollingParent) {
89 ((NestedScrollingParent) parent).onStopNestedScroll(target);
94 public void onNestedScroll(ViewParent parent, View target, int dxConsumed, int dyConsumed,
96 if (parent instanceof NestedScrollingParent) {
97 ((NestedScrollingParent) parent).onNestedScroll(target, dxConsumed, dyConsumed,
103 public void onNestedPreScroll(ViewParent parent, View target, int dx, int dy,
105 if (parent instanceof NestedScrollingParent) {
106 ((NestedScrollingParent) parent).onNestedPreScroll(target, dx, dy, consumed);
111 public boolean onNestedFling(ViewParent parent, View target, float velocityX,
113 if (parent instanceof NestedScrollingParent) {
114 return ((NestedScrollingParent) parent).onNestedFling(target, velocityX, velocityY,
121 public boolean onNestedPreFling(ViewParent parent, View target, float velocityX,
123 if (parent instanceof NestedScrollingParent) {
124 return ((NestedScrollingParent) parent).onNestedPreFling(target, velocityX,
131 public void notifySubtreeAccessibilityStateChanged(ViewParent parent, View child,
139 ViewParent parent, View child, AccessibilityEvent event) {
140 return ViewParentCompatICS.requestSendAccessibilityEvent(parent, child, event);
147 public void notifySubtreeAccessibilityStateChanged(ViewParent parent, View child,
149 ViewParentCompatKitKat.notifySubtreeAccessibilityStateChanged(parent, child,
156 public boolean onStartNestedScroll(ViewParent parent, View child, View target,
158 return ViewParentCompatLollipop.onStartNestedScroll(parent, child, target,
163 public void onNestedScrollAccepted(ViewParent parent, View child, View target,
165 ViewParentCompatLollipop.onNestedScrollAccepted(parent, child, target,
170 public void onStopNestedScroll(ViewParent parent, View target) {
171 ViewParentCompatLollipop.onStopNestedScroll(parent, target);
175 public void onNestedScroll(ViewParent parent, View target, int dxConsumed, int dyConsumed,
177 ViewParentCompatLollipop.onNestedScroll(parent, target, dxConsumed, dyConsumed,
182 public void onNestedPreScroll(ViewParent parent, View target, int dx, int dy,
184 ViewParentCompatLollipop.onNestedPreScroll(parent, target, dx, dy, consumed);
188 public boolean onNestedFling(ViewParent parent, View target, float velocityX,
190 return ViewParentCompatLollipop.onNestedFling(parent, target, velocityX, velocityY,
195 public boolean onNestedPreFling(ViewParent parent, View target, float velocityX,
197 return ViewParentCompatLollipop.onNestedPreFling(parent, target, velocityX, velocityY);
221 * Called by a child to request from its parent to send an {@link AccessibilityEvent}.
223 * to its parent to send the event. The parent can optionally add a record for itself.
226 * event with a record for its state and requests from its parent to perform
227 * the sending. The parent can optionally add a record for itself before
228 * dispatching the request to its parent. A parent can also choose not to
232 * @param parent The parent whose method to invoke.
238 ViewParent parent, View child, AccessibilityEvent event) {
239 return IMPL.requestSendAccessibilityEvent(parent, child, event);
247 * {@link ViewCompat#startNestedScroll(View, int)}. Each parent up the view hierarchy will be
253 * true, this ViewParent will become the target view's nested scrolling parent for the duration
264 public static boolean onStartNestedScroll(ViewParent parent, View child, View target,
266 return IMPL.onStartNestedScroll(parent, child, target, nestedScrollAxes);
285 public static void onNestedScrollAccepted(ViewParent parent, View child, View target,
287 IMPL.onNestedScrollAccepted(parent, child, target, nestedScrollAxes);
301 public static void onStopNestedScroll(ViewParent parent, View target) {
302 IMPL.onStopNestedScroll(parent, target);
326 public static void onNestedScroll(ViewParent parent, View target, int dxConsumed,
328 IMPL.onNestedScroll(parent, target, dxConsumed, dyConsumed, dxUnconsumed, dyUnconsumed);
334 * <p>When working with nested scrolling often the parent view may want an opportunity
349 * @param consumed Output. The horizontal and vertical scroll distance consumed by this parent
351 public static void onNestedPreScroll(ViewParent parent, View target, int dx, int dy,
353 IMPL.onNestedPreScroll(parent, target, dx, dy, consumed);
367 * parent instead. The parent may optionally consume the fling or observe a child fling.</p>
373 * @return true if this parent consumed or otherwise reacted to the fling
375 public static boolean onNestedFling(ViewParent parent, View target, float velocityX,
377 return IMPL.onNestedFling(parent, target, velocityX, velocityY, consumed);
389 * <p>If a nested scrolling parent is consuming motion as part of a
392 * <code>true</code> from this method, the parent indicates that the child should not
398 * @return true if this parent consumed the fling ahead of the target view
400 public static boolean onNestedPreFling(ViewParent parent, View target, float velocityX,
402 return IMPL.onNestedPreFling(parent, target, velocityX, velocityY);
406 * Notifies a view parent that the accessibility state of one of its
420 public static void notifySubtreeAccessibilityStateChanged(ViewParent parent, View child,
422 IMPL.notifySubtreeAccessibilityStateChanged(parent, child, source, changeType);