Searched refs:consumed (Results 1 - 20 of 20) 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.java474 * <p>Both the consumed and unconsumed portions of the scroll distance are reported to the
475 * ViewParent. An implementation may choose to use the consumed portion to match or chase scroll
482 * @param dxConsumed Horizontal scroll distance in pixels already consumed by target
483 * @param dyConsumed Vertical scroll distance in pixels already consumed by target
484 * @param dxUnconsumed Horizontal scroll distance in pixels not consumed by target
485 * @param dyUnconsumed Vertical scroll distance in pixels not consumed by target
500 * report how any pixels of the scroll reported by dx, dy were consumed in the
501 * <code>consumed</code> array. Index 0 corresponds to dx and index 1 corresponds to dy.
502 * This parameter will never be null. Initial values for consumed[0] and consumed[
510 onNestedPreScroll(View target, int dx, int dy, int[] consumed) argument
531 onNestedFling(View target, float velocityX, float velocityY, boolean consumed) argument
[all...]
H A DIWindowSession.aidl155 * consumed is 'true' when the drop was accepted by a valid recipient,
158 void reportDropResult(IWindow window, boolean consumed);
H A DView.java4787 * @return True if one of the above receivers consumed the event, false otherwise.
4810 * @return True if the down was consumed.
6390 // Null insets by definition have already been consumed.
6443 * or a new {@link WindowInsets} cloned from the supplied insets with any insets consumed
6446 * consumed.</p>
6453 * @return The supplied insets with any applied insets consumed
6506 * @return The provided insets minus the insets that were consumed
6522 * @hide Compute the insets that should be consumed by this view and the ones
6547 * Compute insets that should be consumed by this view and the ones that should propagate
6552 * @param outLocalInsets A Rect that will receive the insets that should be consumed
18744 dispatchNestedPreScroll(int dx, int dy, int[] consumed, int[] offsetInWindow) argument
18797 dispatchNestedFling(float velocityX, float velocityY, boolean consumed) argument
[all...]
H A DViewGroup.java6204 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { argument
6212 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { argument
H A DViewRootImpl.java4224 // If we reach this, we consumed a trackball event.
4986 * @return Whether this key event should be consumed (meaning the act of
5764 // If we consumed a batch here, we want to go ahead and schedule the
6297 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { argument
6301 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { argument
/frameworks/base/core/java/android/widget/
H A DListPopupWindow.java862 boolean consumed;
894 consumed = mDropDownList.onKeyDown(keyCode, event);
895 if (DEBUG) Log.v(TAG, "Key down: code=" + keyCode + " list consumed=" + consumed);
897 if (consumed) {
947 boolean consumed = mDropDownList.onKeyUp(keyCode, event);
948 if (consumed && KeyEvent.isConfirmKey(keyCode)) {
953 return consumed;
H A DAutoCompleteTextView.java675 boolean consumed = mPopup.onKeyUp(keyCode, event);
676 if (consumed) {
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.java4065 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { argument
4067 if (!consumed && childCount > 0 && canScrollList((int) velocityY) &&
4078 return dispatchNestedFling(velocityX, velocityY, consumed);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DListPopupWindow.java867 boolean consumed;
899 consumed = mDropDownList.onKeyDown(keyCode, event);
900 if (DEBUG) Log.v(TAG, "Key down: code=" + keyCode + " list consumed=" + consumed);
902 if (consumed) {
952 boolean consumed = mDropDownList.onKeyUp(keyCode, event);
953 if (consumed && isConfirmKey(keyCode)) {
958 return consumed;
/frameworks/base/core/java/com/android/internal/widget/
H A DResolverDrawerLayout.java522 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { argument
524 consumed[1] = (int) -performDrag(-dy);
538 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { argument
539 if (!consumed && Math.abs(velocityY) > mMinFlingVelocity) {
H A DActionBarOverlayLayout.java557 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { argument
558 if (!mHideOnContentScroll || !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/services/core/java/com/android/server/wm/
H A DSession.java349 public void reportDropResult(IWindow window, boolean consumed) { argument
352 Slog.d(WindowManagerService.TAG, "Drop result=" + consumed + " reported by " + token);
381 mService.mDragState.mDragResult = consumed;
/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/support/v7/recyclerview/src/android/support/v7/widget/
H A DLinearLayoutManager.java1093 final int consumed = freeScroll + fill(recycler, mLayoutState, state, false);
1094 if (consumed < 0) {
1100 final int scrolled = absDy > consumed ? layoutDirection * consumed : dy;
H A DStaggeredGridLayoutManager.java1762 int consumed = fill(recycler, mLayoutState, state);
1764 if (absDt < consumed) {
1767 totalScroll = -consumed;
1769 totalScroll = consumed;
/frameworks/native/opengl/libagl/
H A Darray.cpp887 vertex_t* & consumed = ((winding^=1) ? v1 : v0); local
888 consumed->locked = 0;
889 consumed = v2;

Completed in 5076 milliseconds