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);
223 * Called by a child to request from its parent to send an {@link AccessibilityEvent}.
225 * to its parent to send the event. The parent can optionally add a record for itself.
228 * event with a record for its state and requests from its parent to perform
229 * the sending. The parent can optionally add a record for itself before
230 * dispatching the request to its parent. A parent can also choose not to
234 * @param parent The parent whose method to invoke.
240 ViewParent parent, View child, AccessibilityEvent event) {
241 return IMPL.requestSendAccessibilityEvent(parent, child, event);
249 * {@link ViewCompat#startNestedScroll(View, int)}. Each parent up the view hierarchy will be
255 * true, this ViewParent will become the target view's nested scrolling parent for the duration
266 public static boolean onStartNestedScroll(ViewParent parent, View child, View target,
268 return IMPL.onStartNestedScroll(parent, child, target, nestedScrollAxes);
287 public static void onNestedScrollAccepted(ViewParent parent, View child, View target,
289 IMPL.onNestedScrollAccepted(parent, child, target, nestedScrollAxes);
303 public static void onStopNestedScroll(ViewParent parent, View target) {
304 IMPL.onStopNestedScroll(parent, target);
328 public static void onNestedScroll(ViewParent parent, View target, int dxConsumed,
330 IMPL.onNestedScroll(parent, target, dxConsumed, dyConsumed, dxUnconsumed, dyUnconsumed);
336 * <p>When working with nested scrolling often the parent view may want an opportunity
351 * @param consumed Output. The horizontal and vertical scroll distance consumed by this parent
353 public static void onNestedPreScroll(ViewParent parent, View target, int dx, int dy,
355 IMPL.onNestedPreScroll(parent, target, dx, dy, consumed);
369 * parent instead. The parent may optionally consume the fling or observe a child fling.</p>
375 * @return true if this parent consumed or otherwise reacted to the fling
377 public static boolean onNestedFling(ViewParent parent, View target, float velocityX,
379 return IMPL.onNestedFling(parent, target, velocityX, velocityY, consumed);
391 * <p>If a nested scrolling parent is consuming motion as part of a
394 * <code>true</code> from this method, the parent indicates that the child should not
400 * @return true if this parent consumed the fling ahead of the target view
402 public static boolean onNestedPreFling(ViewParent parent, View target, float velocityX,
404 return IMPL.onNestedPreFling(parent, target, velocityX, velocityY);
408 * Notifies a view parent that the accessibility state of one of its
422 public static void notifySubtreeAccessibilityStateChanged(ViewParent parent, View child,
424 IMPL.notifySubtreeAccessibilityStateChanged(parent, child, source, changeType);