Home
last modified time | relevance | path

Searched refs:consumed (Results 1 – 25 of 58) sorted by relevance

123

/frameworks/support/v4/java/android/support/v4/view/
DNestedScrollingChildHelper.java189 public boolean dispatchNestedPreScroll(int dx, int dy, int[] consumed, int[] offsetInWindow) { in dispatchNestedPreScroll() argument
200 if (consumed == null) { in dispatchNestedPreScroll()
204 consumed = mTempNestedScrollConsumed; in dispatchNestedPreScroll()
206 consumed[0] = 0; in dispatchNestedPreScroll()
207 consumed[1] = 0; in dispatchNestedPreScroll()
208 ViewParentCompat.onNestedPreScroll(mNestedScrollingParent, mView, dx, dy, consumed); in dispatchNestedPreScroll()
215 return consumed[0] != 0 || consumed[1] != 0; in dispatchNestedPreScroll()
233 public boolean dispatchNestedFling(float velocityX, float velocityY, boolean consumed) { in dispatchNestedFling() argument
236 velocityY, consumed); in dispatchNestedFling()
DViewParentCompat.java45 void onNestedPreScroll(ViewParent parent, View target, int dx, int dy, int[] consumed); in onNestedPreScroll() argument
47 boolean consumed); in onNestedFling() argument
104 int[] consumed) { in onNestedPreScroll() argument
106 ((NestedScrollingParent) parent).onNestedPreScroll(target, dx, dy, consumed); in onNestedPreScroll()
112 float velocityY, boolean consumed) { in onNestedFling() argument
115 consumed); in onNestedFling()
183 int[] consumed) { in onNestedPreScroll() argument
184 ViewParentCompatLollipop.onNestedPreScroll(parent, target, dx, dy, consumed); in onNestedPreScroll()
189 float velocityY, boolean consumed) { in onNestedFling() argument
191 consumed); in onNestedFling()
[all …]
DNestedScrollingChild.java174 public boolean dispatchNestedPreScroll(int dx, int dy, int[] consumed, int[] offsetInWindow); in dispatchNestedPreScroll() argument
194 public boolean dispatchNestedFling(float velocityX, float velocityY, boolean consumed); in dispatchNestedFling() argument
DNestedScrollingParent.java138 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed); in onNestedPreScroll() argument
159 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed); in onNestedFling() argument
DViewCompat.java379 boolean dispatchNestedPreScroll(View view, int dx, int dy, int[] consumed, in dispatchNestedPreScroll() argument
381 boolean dispatchNestedFling(View view, float velocityX, float velocityY, boolean consumed); in dispatchNestedFling() argument
921 int[] consumed, int[] offsetInWindow) { in dispatchNestedPreScroll() argument
923 return ((NestedScrollingChild) view).dispatchNestedPreScroll(dx, dy, consumed, in dispatchNestedPreScroll()
931 boolean consumed) { in dispatchNestedFling() argument
934 consumed); in dispatchNestedFling()
1475 int[] consumed, int[] offsetInWindow) { in dispatchNestedPreScroll() argument
1476 return ViewCompatLollipop.dispatchNestedPreScroll(view, dx, dy, consumed, in dispatchNestedPreScroll()
1482 boolean consumed) { in dispatchNestedFling() argument
1483 return ViewCompatLollipop.dispatchNestedFling(view, velocityX, velocityY, consumed); in dispatchNestedFling()
[all …]
/frameworks/wilhelm/src/android/
Dandroid_AudioToCbRenderer.cpp64 size_t consumed = 0; in onRender() local
67 consumed = mDecodeCbf( in onRender()
72 offset += consumed; in onRender()
74 if (consumed == 0) { in onRender()
Dandroid_StreamPlayer.cpp218 size_t consumed = oldFront->mDataSize - oldFront->mDataSizeConsumed; in pullFromBuffQueue() local
232 if (consumed > 0) { in pullFromBuffQueue()
234 memcpy(bufferLoc, pSrc, consumed); in pullFromBuffQueue()
238 receivedBuffer_l(bufferId, consumed); in pullFromBuffQueue()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DTestedFrameLayout.java54 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { in onNestedPreScroll() argument
57 consumed[0] = dx; in onNestedPreScroll()
58 consumed[1] = dy; in onNestedPreScroll()
69 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { in onNestedFling() argument
/frameworks/support/v4/api21/android/support/v4/view/
DViewParentCompatLollipop.java68 int[] consumed) { in onNestedPreScroll() argument
70 parent.onNestedPreScroll(target, dx, dy, consumed); in onNestedPreScroll()
78 float velocityY, boolean consumed) { in onNestedFling() argument
80 return parent.onNestedFling(target, velocityX, velocityY, consumed); in onNestedFling()
DViewCompatLollipop.java145 public static boolean dispatchNestedPreScroll(View view, int dx, int dy, int[] consumed, in dispatchNestedPreScroll() argument
147 return view.dispatchNestedPreScroll(dx, dy, consumed, offsetInWindow); in dispatchNestedPreScroll()
151 boolean consumed) { in dispatchNestedFling() argument
152 return view.dispatchNestedFling(velocityX, velocityY, consumed); in dispatchNestedFling()
/frameworks/support/v4/java/android/support/v4/widget/
DSwipeRefreshLayout.java747 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { in onNestedPreScroll() argument
752 consumed[1] = dy - (int) mTotalUnconsumed; in onNestedPreScroll()
756 consumed[1] = dy; in onNestedPreScroll()
764 if (dispatchNestedPreScroll(dx - consumed[0], dy - consumed[1], parentConsumed, null)) { in onNestedPreScroll()
765 consumed[0] += parentConsumed[0]; in onNestedPreScroll()
766 consumed[1] += parentConsumed[1]; in onNestedPreScroll()
808 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { in onNestedFling() argument
845 public boolean dispatchNestedPreScroll(int dx, int dy, int[] consumed, int[] offsetInWindow) { in dispatchNestedPreScroll() argument
846 … return mNestedScrollingChildHelper.dispatchNestedPreScroll(dx, dy, consumed, offsetInWindow); in dispatchNestedPreScroll()
850 public boolean dispatchNestedFling(float velocityX, float velocityY, boolean consumed) { in dispatchNestedFling() argument
[all …]
DNestedScrollView.java219 public boolean dispatchNestedPreScroll(int dx, int dy, int[] consumed, int[] offsetInWindow) { in dispatchNestedPreScroll() argument
220 return mChildHelper.dispatchNestedPreScroll(dx, dy, consumed, offsetInWindow); in dispatchNestedPreScroll()
224 public boolean dispatchNestedFling(float velocityX, float velocityY, boolean consumed) { in dispatchNestedFling() argument
225 return mChildHelper.dispatchNestedFling(velocityX, velocityY, consumed); in dispatchNestedFling()
262 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { in onNestedPreScroll() argument
267 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { in onNestedFling() argument
268 if (!consumed) { in onNestedFling()
/frameworks/base/core/java/android/view/
DViewParent.java530 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed); in onNestedPreScroll() argument
551 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed); in onNestedFling() argument
DIWindowSession.aidl161 void reportDropResult(IWindow window, boolean consumed); in reportDropResult() argument
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DListPopupWindow.java880 boolean consumed; in onKeyDown()
912 consumed = mDropDownList.onKeyDown(keyCode, event); in onKeyDown()
913 if (DEBUG) Log.v(TAG, "Key down: code=" + keyCode + " list consumed=" + consumed); in onKeyDown()
915 if (consumed) { in onKeyDown()
965 boolean consumed = mDropDownList.onKeyUp(keyCode, event); in onKeyUp()
966 if (consumed && isConfirmKey(keyCode)) { in onKeyUp()
971 return consumed; in onKeyUp()
/frameworks/support/design/src/android/support/design/widget/
DAppBarLayout.java680 View target, int dx, int dy, int[] consumed) { in onNestedPreScroll() argument
692 consumed[1] = scroll(coordinatorLayout, child, dy, min, max); in onNestedPreScroll()
834 boolean consumed) { in onNestedFling() argument
835 if (!consumed) { in onNestedFling()
1003 int consumed = 0; in setAppBarTopBottomOffset() local
1018 consumed = curOffset - newOffset; in setAppBarTopBottomOffset()
1035 return consumed; in setAppBarTopBottomOffset()
DCoordinatorLayout.java1486 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { in onNestedPreScroll() argument
1513 consumed[0] = xConsumed; in onNestedPreScroll()
1514 consumed[1] = yConsumed; in onNestedPreScroll()
1521 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { in onNestedFling() argument
1535 consumed); in onNestedFling()
2032 int dx, int dy, int[] consumed) { in onNestedPreScroll() argument
2064 float velocityX, float velocityY, boolean consumed) { in onNestedFling() argument
/frameworks/base/core/java/android/widget/
DListPopupWindow.java881 boolean consumed;
913 consumed = mDropDownList.onKeyDown(keyCode, event);
914 if (DEBUG) Log.v(TAG, "Key down: code=" + keyCode + " list consumed=" + consumed);
916 if (consumed) {
966 boolean consumed = mDropDownList.onKeyUp(keyCode, event);
967 if (consumed && KeyEvent.isConfirmKey(keyCode)) {
972 return consumed;
/frameworks/av/media/libnbaio/
DREADME.txt18 overwrite data if not consumed quickly enough
/frameworks/base/services/core/java/com/android/server/wm/
DSession.java351 public void reportDropResult(IWindow window, boolean consumed) { in reportDropResult() argument
354 Slog.d(WindowManagerService.TAG, "Drop result=" + consumed + " reported by " + token); in reportDropResult()
383 mService.mDragState.mDragResult = consumed; in reportDropResult()
/frameworks/base/docs/html/google/play/billing/
Dversions.jd49 …of in-app purchases is maintained within the Google Play system till the purchase is consumed.</li>
51 … current purchases of the user immediately. This list will not contain any consumed purchases.</li>
/frameworks/base/core/java/com/android/internal/widget/
DResolverDrawerLayout.java569 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) {
571 consumed[1] = (int) -performDrag(-dy);
585 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) {
586 if (!consumed && Math.abs(velocityY) > mMinFlingVelocity) {
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActionBarOverlayLayout.java500 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { in onNestedFling() argument
501 if (!mHideOnContentScroll || !consumed) { in onNestedFling()
514 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { in onNestedPreScroll() argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java1044 int[] consumed = new int[2]; in handleScrolling() local
1046 view.dispatchNestedPreScroll(0, scrollPos, consumed, null); in handleScrolling()
1047 view.dispatchNestedScroll(consumed[0], consumed[1], 0, scrollPos, null); in handleScrolling()
1049 scrollPos -= consumed[1]; in handleScrolling()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeWindowSession.java151 public void reportDropResult(IWindow window, boolean consumed) throws RemoteException { in reportDropResult() argument

123