Searched defs:consumed (Results 1 - 14 of 14) sorted by relevance

/frameworks/wilhelm/src/android/
H A Dandroid_AudioToCbRenderer.cpp64 size_t consumed = 0; local
67 consumed = mDecodeCbf(
72 offset += consumed;
73 //SL_LOGV("consumed=%u, offset=%u, full=%u", consumed, offset, full);
74 if (consumed == 0) {
75 // decoded data is not being consumed, skip this buffer
H A Dandroid_StreamPlayer.cpp141 // (either because there was a command with no data, or all the data has been consumed)
210 // 2/ keep track of how much has been consumed
218 size_t consumed = oldFront->mDataSize - oldFront->mDataSizeConsumed; local
219 //SL_LOGD("consuming rest of buffer: enqueueing=%u", consumed);
232 if (consumed > 0) {
234 memcpy(bufferLoc, pSrc, consumed);
235 // 2/ keep track of how much has been consumed
238 receivedBuffer_l(bufferId, consumed);
242 // data has been consumed, and the buffer queue state has been updated
257 // here a buffer is only dequeued when fully consumed
[all...]
/frameworks/base/core/java/android/view/
H A DViewParent.java475 * <p>Both the consumed and unconsumed portions of the scroll distance are reported to the
476 * ViewParent. An implementation may choose to use the consumed portion to match or chase scroll
483 * @param dxConsumed Horizontal scroll distance in pixels already consumed by target
484 * @param dyConsumed Vertical scroll distance in pixels already consumed by target
485 * @param dxUnconsumed Horizontal scroll distance in pixels not consumed by target
486 * @param dyUnconsumed Vertical scroll distance in pixels not consumed by target
501 * report how any pixels of the scroll reported by dx, dy were consumed in the
502 * <code>consumed</code> array. Index 0 corresponds to dx and index 1 corresponds to dy.
503 * This parameter will never be null. Initial values for consumed[0] and consumed[
511 onNestedPreScroll(View target, int dx, int dy, int[] consumed) argument
532 onNestedFling(View target, float velocityX, float velocityY, boolean consumed) argument
[all...]
H A DViewGroup.java6254 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { argument
6262 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { argument
H A DViewRootImpl.java4326 // If we reach this, we consumed a trackball event.
5088 * @return Whether this key event should be consumed (meaning the act of
5870 // If we consumed a batch here, we want to go ahead and schedule the
6407 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { argument
6411 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { argument
H A DView.java4811 * @return True if one of the above receivers consumed the event, false otherwise.
4834 * @return True if the down was consumed.
6420 // Null insets by definition have already been consumed.
6473 * or a new {@link WindowInsets} cloned from the supplied insets with any insets consumed
6476 * consumed.</p>
6483 * @return The supplied insets with any applied insets consumed
6536 * @return The provided insets minus the insets that were consumed
6552 * @hide Compute the insets that should be consumed by this view and the ones
6577 * Compute insets that should be consumed by this view and the ones that should propagate
6582 * @param outLocalInsets A Rect that will receive the insets that should be consumed
18861 dispatchNestedPreScroll(int dx, int dy, int[] consumed, int[] offsetInWindow) argument
18914 dispatchNestedFling(float velocityX, float velocityY, boolean consumed) argument
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DSession.java350 public void reportDropResult(IWindow window, boolean consumed) { argument
353 Slog.d(WindowManagerService.TAG, "Drop result=" + consumed + " reported by " + token);
382 mService.mDragState.mDragResult = consumed;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeWindowSession.java151 public void reportDropResult(IWindow window, boolean consumed) throws RemoteException { argument
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarOverlayLayout.java557 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { argument
558 if (!mHideOnContentScroll || !consumed) {
H A DResolverDrawerLayout.java558 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { argument
560 consumed[1] = (int) -performDrag(-dy);
574 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { argument
575 if (!consumed && Math.abs(velocityY) > mMinFlingVelocity) {
/frameworks/native/opengl/libagl/
H A Darray.cpp887 vertex_t* & consumed = ((winding^=1) ? v1 : v0); local
888 consumed->locked = 0;
889 consumed = v2;
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActionBarOverlayLayout.java566 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { argument
567 if (!mHideOnContentScroll || !consumed) {
/frameworks/base/core/java/android/widget/
H A DScrollView.java974 * @return true if the key event is consumed by this method, false otherwise
1010 * @return true if the key event is consumed by this method, false otherwise
1041 * @return true if the key event is consumed by this method, false otherwise
1073 * @return True if we consumed the event, false otherwise
1679 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { argument
1680 if (!consumed) {
H A DAbsListView.java4092 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { argument
4094 if (!consumed && childCount > 0 && canScrollList((int) velocityY) &&
4105 return dispatchNestedFling(velocityX, velocityY, consumed);

Completed in 1701 milliseconds