/frameworks/base/core/java/android/view/ |
H A D | View.java | 5640 * @return {@code true} if one of the above receivers consumed the event, 5656 * @return {@code true} if one of the above receivers consumed the event, 5677 * @return {@code true} if one of the above receivers consumed the event, 5703 * @return True if there was an assigned OnContextClickListener that consumed the event, false 5713 * @return True if there was an assigned OnContextClickListener that consumed the event, false 5734 * @return True if the down was consumed. 7684 // Null insets by definition have already been consumed. 7737 * or a new {@link WindowInsets} cloned from the supplied insets with any insets consumed 7740 * consumed.</p> 7747 * @return The supplied insets with any applied insets consumed 21169 dispatchNestedPreScroll(int dx, int dy, @Nullable @Size(2) int[] consumed, @Nullable @Size(2) int[] offsetInWindow) argument 21223 dispatchNestedFling(float velocityX, float velocityY, boolean consumed) argument [all...] |
H A D | ViewGroup.java | 6838 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { argument 6840 dispatchNestedPreScroll(dx, dy, consumed, null); 6847 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { argument 6849 return dispatchNestedFling(velocityX, velocityY, consumed);
|
H A D | ViewParent.java | 522 * <p>Both the consumed and unconsumed portions of the scroll distance are reported to the 523 * ViewParent. An implementation may choose to use the consumed portion to match or chase scroll 530 * @param dxConsumed Horizontal scroll distance in pixels already consumed by target 531 * @param dyConsumed Vertical scroll distance in pixels already consumed by target 532 * @param dxUnconsumed Horizontal scroll distance in pixels not consumed by target 533 * @param dyUnconsumed Vertical scroll distance in pixels not consumed by target 548 * report how any pixels of the scroll reported by dx, dy were consumed in the 549 * <code>consumed</code> array. Index 0 corresponds to dx and index 1 corresponds to dy. 550 * This parameter will never be null. Initial values for consumed[0] and consumed[ 558 onNestedPreScroll(View target, int dx, int dy, int[] consumed) argument 579 onNestedFling(View target, float velocityX, float velocityY, boolean consumed) argument [all...] |
H A D | ViewRootImpl.java | 4696 // If we reach this, we consumed a trackball event. 5458 * @return Whether this key event should be consumed (meaning the act of 6286 // If we consumed a batch here, we want to go ahead and schedule the 6908 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { argument 6912 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { argument
|
/frameworks/base/core/java/android/widget/ |
H A D | AbsListView.java | 4286 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { argument 4288 if (!consumed && childCount > 0 && canScrollList((int) velocityY) && 4299 return dispatchNestedFling(velocityX, velocityY, consumed);
|
H A D | ScrollView.java | 1001 * @return true if the key event is consumed by this method, false otherwise 1037 * @return true if the key event is consumed by this method, false otherwise 1068 * @return true if the key event is consumed by this method, false otherwise 1100 * @return True if we consumed the event, false otherwise 1712 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { argument 1713 if (!consumed) {
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarOverlayLayout.java | 556 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { argument 557 if (!mHideOnContentScroll || !consumed) {
|
H A D | ResolverDrawerLayout.java | 641 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { argument 643 consumed[1] = (int) -performDrag(-dy); 657 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { argument 658 if (!consumed && Math.abs(velocityY) > mMinFlingVelocity) {
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | Session.java | 380 public void reportDropResult(IWindow window, boolean consumed) { argument 383 Slog.d(TAG_WM, "Drop result=" + consumed + " reported by " + token); 412 mService.mDragState.mDragResult = consumed;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeWindowSession.java | 166 public void reportDropResult(IWindow window, boolean consumed) throws RemoteException { argument
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |
/frameworks/native/opengl/libagl/ |
H A D | array.cpp | 887 vertex_t* & consumed = ((winding^=1) ? v1 : v0); local 888 consumed->locked = 0; 889 consumed = v2;
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | AppBarLayout.java | 800 View target, int dx, int dy, int[] consumed) { 812 consumed[1] = scroll(coordinatorLayout, child, dy, min, max); 851 boolean consumed) { 854 if (!consumed) { 855 // It has been consumed so let's fling ourselves 859 // If we're scrolling up and the child also consumed the fling. We'll fake scroll 1105 int consumed = 0; 1119 // Update how much dy we have consumed 1120 consumed = curOffset - newOffset; 1144 return consumed; 799 onNestedPreScroll(CoordinatorLayout coordinatorLayout, AppBarLayout child, View target, int dx, int dy, int[] consumed) argument 849 onNestedFling(final CoordinatorLayout coordinatorLayout, final AppBarLayout child, View target, float velocityX, float velocityY, boolean consumed) argument [all...] |
H A D | BottomSheetBehavior.java | 310 int dy, int[] consumed) { 319 consumed[1] = currentTop - mMinOffset; 320 ViewCompat.offsetTopAndBottom(child, -consumed[1]); 323 consumed[1] = dy; 330 consumed[1] = dy; 334 consumed[1] = currentTop - mMaxOffset; 335 ViewCompat.offsetTopAndBottom(child, -consumed[1]); 309 onNestedPreScroll(CoordinatorLayout coordinatorLayout, V child, View target, int dx, int dy, int[] consumed) argument
|
H A D | CoordinatorLayout.java | 775 // If it consumed the insets, break 1556 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { argument 1583 consumed[0] = xConsumed; 1584 consumed[1] = yConsumed; 1591 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { argument 1605 consumed); 2050 * nested scrolling child, with both consumed and unconsumed components of the scroll 2059 * @param dxConsumed horizontal pixels consumed by the target's own scrolling operation 2060 * @param dyConsumed vertical pixels consumed by the target's own scrolling operation 2061 * @param dxUnconsumed horizontal pixels not consumed b 2101 onNestedPreScroll(CoordinatorLayout coordinatorLayout, V child, View target, int dx, int dy, int[] consumed) argument 2133 onNestedFling(CoordinatorLayout coordinatorLayout, V child, View target, float velocityX, float velocityY, boolean consumed) argument [all...] |
/frameworks/support/v4/api21/android/support/v4/view/ |
H A D | ViewCompatLollipop.java | 183 public static boolean dispatchNestedPreScroll(View view, int dx, int dy, int[] consumed, argument 185 return view.dispatchNestedPreScroll(dx, dy, consumed, offsetInWindow); 189 boolean consumed) { 190 return view.dispatchNestedFling(velocityX, velocityY, consumed); 188 dispatchNestedFling(View view, float velocityX, float velocityY, boolean consumed) argument
|
H A D | ViewParentCompatLollipop.java | 68 int[] consumed) { 70 parent.onNestedPreScroll(target, dx, dy, consumed); 78 float velocityY, boolean consumed) { 80 return parent.onNestedFling(target, velocityX, velocityY, consumed); 67 onNestedPreScroll(ViewParent parent, View target, int dx, int dy, int[] consumed) argument 77 onNestedFling(ViewParent parent, View target, float velocityX, float velocityY, boolean consumed) argument
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | NestedScrollingChild.java | 89 * parent at least partially consumed the scroll and the caller should adjust the amount it 94 * both the delta consumed and the delta unconsumed. A nested scrolling parent may treat 141 * @param dxConsumed Horizontal distance in pixels consumed by this view during this scroll step 142 * @param dyConsumed Vertical distance in pixels consumed by this view during this scroll step 143 * @param dxUnconsumed Horizontal scroll distance in pixels not consumed by this view 144 * @param dyUnconsumed Horizontal scroll distance in pixels not consumed by this view 165 * @param consumed Output. If not null, consumed[0] will contain the consumed component of dx 166 * and consumed[ 174 dispatchNestedPreScroll(int dx, int dy, int[] consumed, int[] offsetInWindow) argument 194 dispatchNestedFling(float velocityX, float velocityY, boolean consumed) argument [all...] |
H A D | NestedScrollingChildHelper.java | 148 * @return true if the parent consumed any of the nested scroll 187 * @return true if the parent consumed any of the nested scroll 189 public boolean dispatchNestedPreScroll(int dx, int dy, int[] consumed, int[] offsetInWindow) { argument 200 if (consumed == null) { 204 consumed = mTempNestedScrollConsumed; 206 consumed[0] = 0; 207 consumed[1] = 0; 208 ViewParentCompat.onNestedPreScroll(mNestedScrollingParent, mView, dx, dy, consumed); 215 return consumed[0] != 0 || consumed[ 233 dispatchNestedFling(float velocityX, float velocityY, boolean consumed) argument [all...] |
H A D | NestedScrollingParent.java | 102 * <p>Both the consumed and unconsumed portions of the scroll distance are reported to the 103 * ViewParent. An implementation may choose to use the consumed portion to match or chase scroll 110 * @param dxConsumed Horizontal scroll distance in pixels already consumed by target 111 * @param dyConsumed Vertical scroll distance in pixels already consumed by target 112 * @param dxUnconsumed Horizontal scroll distance in pixels not consumed by target 113 * @param dyUnconsumed Vertical scroll distance in pixels not consumed by target 128 * report how any pixels of the scroll reported by dx, dy were consumed in the 129 * <code>consumed</code> array. Index 0 corresponds to dx and index 1 corresponds to dy. 130 * This parameter will never be null. Initial values for consumed[0] and consumed[ 138 onNestedPreScroll(View target, int dx, int dy, int[] consumed) argument 159 onNestedFling(View target, float velocityX, float velocityY, boolean consumed) argument [all...] |
H A D | ViewCompat.java | 464 boolean dispatchNestedPreScroll(View view, int dx, int dy, int[] consumed, argument 466 boolean dispatchNestedFling(View view, float velocityX, float velocityY, boolean consumed); argument 1021 int[] consumed, int[] offsetInWindow) { 1023 return ((NestedScrollingChild) view).dispatchNestedPreScroll(dx, dy, consumed, 1031 boolean consumed) { 1034 consumed); 1656 int[] consumed, int[] offsetInWindow) { 1657 return ViewCompatLollipop.dispatchNestedPreScroll(view, dx, dy, consumed, 1663 boolean consumed) { 1664 return ViewCompatLollipop.dispatchNestedFling(view, velocityX, velocityY, consumed); 1020 dispatchNestedPreScroll(View view, int dx, int dy, int[] consumed, int[] offsetInWindow) argument 1030 dispatchNestedFling(View view, float velocityX, float velocityY, boolean consumed) argument 1655 dispatchNestedPreScroll(View view, int dx, int dy, int[] consumed, int[] offsetInWindow) argument 1662 dispatchNestedFling(View view, float velocityX, float velocityY, boolean consumed) argument 3204 dispatchNestedPreScroll(View view, int dx, int dy, int[] consumed, int[] offsetInWindow) argument 3227 dispatchNestedFling(View view, float velocityX, float velocityY, boolean consumed) argument [all...] |
H A D | ViewParentCompat.java | 45 void onNestedPreScroll(ViewParent parent, View target, int dx, int dy, int[] consumed); argument 47 boolean consumed); 104 int[] consumed) { 106 ((NestedScrollingParent) parent).onNestedPreScroll(target, dx, dy, consumed); 112 float velocityY, boolean consumed) { 115 consumed); 183 int[] consumed) { 184 ViewParentCompatLollipop.onNestedPreScroll(parent, target, dx, dy, consumed); 189 float velocityY, boolean consumed) { 191 consumed); 46 onNestedFling(ViewParent parent, View target, float velocityX, float velocityY, boolean consumed) argument 103 onNestedPreScroll(ViewParent parent, View target, int dx, int dy, int[] consumed) argument 111 onNestedFling(ViewParent parent, View target, float velocityX, float velocityY, boolean consumed) argument 182 onNestedPreScroll(ViewParent parent, View target, int dx, int dy, int[] consumed) argument 188 onNestedFling(ViewParent parent, View target, float velocityX, float velocityY, boolean consumed) argument 351 onNestedPreScroll(ViewParent parent, View target, int dx, int dy, int[] consumed) argument 375 onNestedFling(ViewParent parent, View target, float velocityX, float velocityY, boolean consumed) argument [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | NestedScrollView.java | 243 public boolean dispatchNestedPreScroll(int dx, int dy, int[] consumed, int[] offsetInWindow) { argument 244 return mChildHelper.dispatchNestedPreScroll(dx, dy, consumed, offsetInWindow); 248 public boolean dispatchNestedFling(float velocityX, float velocityY, boolean consumed) { argument 249 return mChildHelper.dispatchNestedFling(velocityX, velocityY, consumed); 287 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { argument 288 dispatchNestedPreScroll(dx, dy, consumed, null); 292 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { argument 293 if (!consumed) { 1107 * @return true if the key event is consumed by this method, false otherwise 1143 * @return true if the key event is consumed b [all...] |
H A D | SwipeRefreshLayout.java | 110 // consumed by this as the nested scrolling parent is used in place of the 755 // Reset the counter of how much leftover scroll needs to be consumed. 764 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { argument 769 consumed[1] = dy - (int) mTotalUnconsumed; 773 consumed[1] = dy; 783 && Math.abs(dy - consumed[1]) > 0) { 789 if (dispatchNestedPreScroll(dx - consumed[0], dy - consumed[1], parentConsumed, null)) { 790 consumed[0] += parentConsumed[0]; 791 consumed[ 868 dispatchNestedPreScroll(int dx, int dy, int[] consumed, int[] offsetInWindow) argument 879 onNestedFling(View target, float velocityX, float velocityY, boolean consumed) argument 885 dispatchNestedFling(float velocityX, float velocityY, boolean consumed) argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionBarOverlayLayout.java | 498 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { argument 499 if (!mHideOnContentScroll || !consumed) { 512 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { argument
|