Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/nestedscroll/
DPriorityNestedScrollConnectionTest.kt71 consumed = Offset.Zero, in <lambda>()
80 scrollConnection.onPostFling(consumed = Velocity.Zero, available = Velocity.Zero) in <lambda>()
90 consumed = Offset.Zero, in <lambda>()
106 scrollConnection.onPostFling(consumed = Velocity.Zero, available = Velocity.Zero) in <lambda>()
116 consumed = Offset.Zero, in <lambda>()
131 consumed = offset1, in <lambda>()
188 consumed = velocity1, in <lambda>()
203 consumed = Offset.Zero, in <lambda>()
212 scrollConnection.onPostFling(consumed = Velocity.Zero, available = Velocity.Zero) in <lambda>()
DLargeTopAppBarNestedScrollConnectionTest.kt46 val consumed = consumedByPreScroll + consumedByScroll in NestedScrollConnection() constant
47 onPostScroll(consumed = consumed, available = available - consumed, source = scrollSource) in NestedScrollConnection()
118 consumed = Offset.Zero, in onScrollUp_ignorePostScroll()
148 consumed = Offset.Zero, in onScrollDown_consumeHeightPostScroll()
163 consumed = Offset.Zero, in onScrollDownAfterPostScroll_consumeHeightPreScroll()
186 consumed = Offset.Zero, in onScrollDown_consumeUpToMax()
/frameworks/native/services/inputflinger/tests/
DInputTracingTest.cpp144 auto consumed = window->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in tapAndExpect() local
145 s.expectDispatchTraced(dispatchTraceLevel, {*consumed, window}); in tapAndExpect()
154 auto consumed = window->consumeMotionEvent(WithMotionAction(ACTION_UP)); in tapAndExpect() local
155 s.expectDispatchTraced(dispatchTraceLevel, {*consumed, window}); in tapAndExpect()
166 auto consumed = window->consumeKeyEvent(WithKeyAction(ACTION_DOWN)); in keypressAndExpect() local
167 s.expectDispatchTraced(dispatchTraceLevel, {*consumed, window}); in keypressAndExpect()
174 auto consumed = window->consumeKeyEvent(WithKeyAction(ACTION_UP)); in keypressAndExpect() local
175 s.expectDispatchTraced(dispatchTraceLevel, {*consumed, window}); in keypressAndExpect()
601 auto consumed = window->consumeMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F() local
602 s.expectDispatchTraced(Level::NONE, {*consumed, window}); in TEST_F()
[all …]
/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.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/av/media/module/id3/
DID3.cpp966 size_t consumed = 1; in getAlbumArt() local
969 size_t mimeLen = StringSize(&data[consumed], size - consumed, 0x00); in getAlbumArt()
970 if (mimeLen > size - consumed) { in getAlbumArt()
974 *mime = (const char *)&data[consumed]; in getAlbumArt()
975 consumed += mimeLen; in getAlbumArt()
978 uint8_t picType = data[consumed]; in getAlbumArt()
986 consumed++; in getAlbumArt()
987 if (consumed >= size) { in getAlbumArt()
992 size_t descLen = StringSize(&data[consumed], size - consumed, encoding); in getAlbumArt()
993 consumed += descLen; in getAlbumArt()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DNestedScrollingChild.java174 boolean dispatchNestedPreScroll(int dx, int dy, @Nullable int[] consumed, in dispatchNestedPreScroll() argument
195 boolean dispatchNestedFling(float velocityX, float velocityY, boolean consumed); in dispatchNestedFling() argument
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/
DNotificationScrimNestedScrollConnectionTest.kt117 consumed = Offset.Zero, in <lambda>()
145 consumed = Offset.Zero, in <lambda>()
162 consumed = Offset.Zero, in <lambda>()
177 consumed = Offset.Zero, in <lambda>()
193 consumed = Offset.Zero, in <lambda>()
/frameworks/av/media/codec2/sfplugin/
DCCodecBuffers.cpp203 int32_t consumed = infos->m.values[i].size; in submitMultiAccessUnits() local
204 frontPadding -= consumed; in submitMultiAccessUnits()
205 mFrontPaddingDelay += byteInUs * (consumed); in submitMultiAccessUnits()
206 availableSize -= consumed; in submitMultiAccessUnits()
234 int32_t consumed = it->size; in submitMultiAccessUnits() local
236 toMediaCodecFlags(it->flags), consumed, it->timestamp); in submitMultiAccessUnits()
237 availableSize -= consumed; in submitMultiAccessUnits()
238 mSize -= consumed; in submitMultiAccessUnits()
241 int32_t consumed = availableSize - mBackPadding; in submitMultiAccessUnits() local
244 consumed, in submitMultiAccessUnits()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DDragDropController.java302 void reportDropResult(IWindow window, boolean consumed) { in reportDropResult() argument
305 Slog.d(TAG_WM, "Drop result=" + consumed + " reported by " + token); in reportDropResult()
308 mCallback.get().preReportDropResult(window, consumed); in reportDropResult()
337 if (!consumed && notifyUnhandledDrop(mDragState.mUnhandledDropEvent, in reportDropResult()
345 consumed && mDragState.targetInterceptsGlobalDrag(callingWin); in reportDropResult()
347 mDragState.endDragLocked(consumed, relinquishDragSurfaceToDropTarget); in reportDropResult()
351 && mGlobalDragListener != null && droppedWindowTask != null && consumed in reportDropResult()
/frameworks/proto_logging/stats/atoms/input/
Dinput_atoms.proto107 // End: the app consumed the input event
109 // Start: the app consumed the event
113 // Start: the app consumed the input event
192 // End: the app consumed the input event
194 // Start: the app consumed the event
198 // Start: the app consumed the input event
218 // End: the app consumed the input event
220 // Start: the app consumed the event
224 // Start: the app consumed the input event
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DDraggableHandlerTest.kt226 val consumed = consumedByPreScroll + consumedByScroll in NestedScrollConnection() constant
229 consumed = consumed, in NestedScrollConnection()
230 available = available - consumed, in NestedScrollConnection()
551 val consumed = in <lambda>() constant
553 consumed = Offset.Zero, in <lambda>()
559 assertThat(consumed).isEqualTo(Offset.Zero) in <lambda>()
565 val consumed = in <lambda>() constant
567 consumed = Offset.Zero, in <lambda>()
574 assertThat(consumed).isEqualTo(downOffset(fractionOfScreen = 0.1f)) in <lambda>()
586 val consumed = in <lambda>() constant
[all …]
/frameworks/base/core/java/android/widget/
DScrollView.java861 int consumed = 0; in onTouchEvent() local
863 consumed = Math.round(getHeight() in onTouchEvent()
867 consumed = Math.round(-getHeight() in onTouchEvent()
871 deltaY -= consumed; in onTouchEvent()
1612 int consumed = Math.round(-size / FLING_DESTRETCH_FACTOR in consumeFlingInStretch() local
1615 if (consumed != unconsumed) { in consumeFlingInStretch()
1618 return unconsumed - consumed; in consumeFlingInStretch()
1623 int consumed = Math.round(size / FLING_DESTRETCH_FACTOR in consumeFlingInStretch() local
1626 if (consumed != unconsumed) { in consumeFlingInStretch()
1629 return unconsumed - consumed; in consumeFlingInStretch()
[all …]
DListPopupWindow.java964 boolean consumed;
996 consumed = mDropDownList.onKeyDown(keyCode, event);
997 if (DEBUG) Log.v(TAG, "Key down: code=" + keyCode + " list consumed=" + consumed);
999 if (consumed) {
1051 boolean consumed = mDropDownList.onKeyUp(keyCode, event);
1052 if (consumed && KeyEvent.isConfirmKey(keyCode)) {
1057 return consumed;
DHorizontalScrollView.java756 int consumed = 0; in onTouchEvent() local
758 consumed = Math.round(getWidth() in onTouchEvent()
762 consumed = Math.round(-getWidth() in onTouchEvent()
766 deltaX -= consumed; in onTouchEvent()
1516 int consumed = Math.round(-size / FLING_DESTRETCH_FACTOR in consumeFlingInStretch() local
1518 if (consumed != unconsumed) { in consumeFlingInStretch()
1521 return unconsumed - consumed; in consumeFlingInStretch()
1526 int consumed = Math.round(size / FLING_DESTRETCH_FACTOR in consumeFlingInStretch() local
1528 if (consumed != unconsumed) { in consumeFlingInStretch()
1531 return unconsumed - consumed; in consumeFlingInStretch()
/frameworks/base/core/java/android/view/
DViewParent.java610 public void onNestedPreScroll(@NonNull View target, int dx, int dy, @NonNull int[] consumed); in onNestedPreScroll() argument
632 boolean consumed); in onNestedFling() argument
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/nestedscroll/
DPriorityNestedScrollConnection.kt54 consumed: Offset, in <lambda>()
112 override suspend fun onPostFling(consumed: Velocity, available: Velocity): Velocity { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/
DTouchMonitor.java440 .anyMatch(consumed -> consumed);
446 }).anyMatch(consumed -> consumed);
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DRecentsMixedTransition.java98 boolean consumed = mRecentsHandler.startAnimation( in animateRecentsDuringDesktop()
100 if (!consumed) { in animateRecentsDuringDesktop()
/frameworks/base/services/core/jni/
Dcom_android_server_pm_PackageManagerShellCommandDataLoader.cpp513 int consumed = 0; in flashToIncFs() local
522 .data = buffer->data() + consumed, in flashToIncFs()
525 consumed += INCFS_DATA_FILE_BLOCK_SIZE; in flashToIncFs()
535 .data = buffer->data() + consumed, in flashToIncFs()
538 consumed += remain; in flashToIncFs()
544 buffer->erase(buffer->begin(), buffer->begin() + consumed); in flashToIncFs()
/frameworks/base/core/proto/android/os/
Dappbatterystats.proto39 // Estimated power consumed in this state in the past 24 hours
Dbatteryusagestats.proto47 // Total power consumed by this BatteryConsumer (including all of its PowerComponents).
59 // Power consumed by this component. Multiply by 1/36 to obtain mAh.
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/aidl/
DEffectReverb.h55 IEffect::Status status(binder_status_t status, size_t consumed, size_t produced);
/frameworks/av/media/libnbaio/
DREADME.txt18 overwrite data if not consumed quickly enough
/frameworks/av/media/libeffects/lvm/wrapper/Aidl/
DEffectBundleAidl.h62 IEffect::Status status(binder_status_t status, size_t consumed, size_t produced);

123