Home
last modified time | relevance | path

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

12

/frameworks/wilhelm/src/android/
Dandroid_AudioToCbRenderer.cpp65 size_t consumed = 0; in onRender() local
68 consumed = mDecodeCbf( in onRender()
73 offset += consumed; in onRender()
75 if (consumed == 0) { in onRender()
Dandroid_StreamPlayer.cpp219 size_t consumed = oldFront->mDataSize - oldFront->mDataSizeConsumed; in pullFromBuffQueue() local
233 if (consumed > 0) { in pullFromBuffQueue()
235 memcpy(bufferLoc, pSrc, consumed); in pullFromBuffQueue()
239 receivedBuffer_l(bufferId, consumed); in pullFromBuffQueue()
/frameworks/av/media/libstagefright/id3/
DID3.cpp954 size_t consumed = 1; in getAlbumArt() local
957 size_t mimeLen = StringSize(&data[consumed], size - consumed, 0x00); in getAlbumArt()
958 if (mimeLen > size - consumed) { in getAlbumArt()
962 mime->setTo((const char *)&data[consumed]); in getAlbumArt()
963 consumed += mimeLen; in getAlbumArt()
966 uint8_t picType = data[consumed]; in getAlbumArt()
974 consumed++; in getAlbumArt()
975 if (consumed >= size) { in getAlbumArt()
980 size_t descLen = StringSize(&data[consumed], size - consumed, encoding); in getAlbumArt()
981 consumed += descLen; in getAlbumArt()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DNestedScrollingChild.java173 boolean dispatchNestedPreScroll(int dx, int dy, int[] consumed, int[] offsetInWindow); in dispatchNestedPreScroll() argument
193 boolean dispatchNestedFling(float velocityX, float velocityY, boolean consumed); in dispatchNestedFling() argument
DResolverDrawerLayout.java739 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) {
741 consumed[1] = (int) -performDrag(-dy);
755 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) {
756 if (!consumed && Math.abs(velocityY) > mMinFlingVelocity) {
DActionBarOverlayLayout.java573 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) {
574 if (!mHideOnContentScroll || !consumed) {
DLinearLayoutManager.java1302 final int consumed = mLayoutState.mScrollingOffset in scrollBy() local
1304 if (consumed < 0) { in scrollBy()
1310 final int scrolled = absDy > consumed ? layoutDirection * consumed : dy; in scrollBy()
/frameworks/base/services/core/java/com/android/server/wm/
DDragDropController.java198 void reportDropResult(IWindow window, boolean consumed) { in reportDropResult() argument
201 Slog.d(TAG_WM, "Drop result=" + consumed + " reported by " + token); in reportDropResult()
204 mCallback.get().preReportDropResult(window, consumed); in reportDropResult()
230 mDragState.mDragResult = consumed; in reportDropResult()
DWindowManagerInternal.java180 default void preReportDropResult(IWindow window, boolean consumed) {} in preReportDropResult() argument
DSession.java276 public void reportDropResult(IWindow window, boolean consumed) { in reportDropResult() argument
279 mDragDropController.reportDropResult(window, consumed); in reportDropResult()
/frameworks/base/core/java/android/view/
DViewParent.java601 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed); in onNestedPreScroll() argument
622 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed); in onNestedFling() argument
DIWindowSession.aidl186 void reportDropResult(IWindow window, boolean consumed); in reportDropResult() argument
/frameworks/base/core/java/android/widget/
DListPopupWindow.java948 boolean consumed;
980 consumed = mDropDownList.onKeyDown(keyCode, event);
981 if (DEBUG) Log.v(TAG, "Key down: code=" + keyCode + " list consumed=" + consumed);
983 if (consumed) {
1034 boolean consumed = mDropDownList.onKeyUp(keyCode, event);
1035 if (consumed && KeyEvent.isConfirmKey(keyCode)) {
1040 return consumed;
DAutoCompleteTextView.java817 boolean consumed = mPopup.onKeyUp(keyCode, event); in onKeyUp()
818 if (consumed) { in onKeyUp()
DScrollView.java1825 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { in onNestedFling() argument
1826 if (!consumed) { in onNestedFling()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DRecentsViewTouchHandler.java205 boolean consumed = false; in handleTouchEvent()
269 consumed = true; in handleTouchEvent()
284 return consumed; in handleTouchEvent()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java775 int[] consumed = new int[2]; in handleScrolling() local
779 view.dispatchNestedPreScroll(scrollPosX, scrollPosY, consumed, null); in handleScrolling()
780 view.dispatchNestedScroll(consumed[0], consumed[1], scrollPosX, scrollPosY, in handleScrolling()
783 scrollPosX -= consumed[0]; in handleScrolling()
784 scrollPosY -= consumed[1]; in handleScrolling()
/frameworks/av/media/libnbaio/
DREADME.txt18 overwrite data if not consumed quickly enough
/frameworks/av/media/codec2/components/aac/
DC2SoftAacEnc.cpp513 int consumed = (capacity / sizeof(int16_t)) - inargs.numInSamples in process() local
516 consumed, capacity, inargs.numInSamples, outargs.numInSamples); in process()
519 + (consumed * 1000000ll / channelCount / sampleRate); in process()
/frameworks/base/proto/src/
Dgnss.proto80 // Energy consumed (mAh)
/frameworks/av/media/libstagefright/codecs/m4v_h263/fuzzer/
DREADME.md14 * If the decode operation was successful, the input is advanced by the number of bytes consumed
/frameworks/native/libs/gui/tests/
DEndToEndNativeInputTest.cpp112 status_t consumed = mInputConsumer->consume(&mInputEventFactory, true, -1, &seqId, &ev); in consumeEvent() local
113 if (consumed != OK) { in consumeEvent()
/frameworks/base/tools/aapt2/
Dformats.md7 consumed by the AAPT2 link phase. It is a simple container format for storing compiled PNGs,
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarStatusBar.java709 boolean consumed = openGestureDetector.onTouchEvent(event); in connectNotificationsUI()
710 if (consumed) { in connectNotificationsUI()
719 boolean consumed = navBarCloseNotificationGestureDetector.onTouchEvent(event); in connectNotificationsUI()
720 if (consumed) { in connectNotificationsUI()
/frameworks/native/opengl/libagl/
Darray.cpp885 vertex_t* & consumed = ((winding^=1) ? v1 : v0); in drawIndexedPrimitivesTriangleFanOrStrip() local
886 consumed->locked = 0; in drawIndexedPrimitivesTriangleFanOrStrip()
887 consumed = v2; in drawIndexedPrimitivesTriangleFanOrStrip()

12