Home
last modified time | relevance | path

Searched refs:MOVE (Results 1 – 21 of 21) sorted by relevance

/frameworks/native/libs/input/tests/
DMotionPredictor_test.cpp37 constexpr int32_t MOVE = AMOTION_EVENT_ACTION_MOVE; variable
185 predictor.record(getMotionEvent(MOVE, 0, 1, 35ms)); // No movement. in TEST()
194 predictor.record(getMotionEvent(MOVE, 0, 5, 35ms)); // Move enough to overcome the noise floor. in TEST()
204 predictor.record(getMotionEvent(MOVE, 4.8, 3, 30ms)); in TEST()
205 predictor.record(getMotionEvent(MOVE, 6.2, 3, 40ms)); in TEST()
206 predictor.record(getMotionEvent(MOVE, 8, 3, 50ms)); in TEST()
218 ASSERT_TRUE(predictor.record(getMotionEvent(MOVE, 1, 3, 10ms, /*deviceId=*/0)).ok()); in TEST()
219 ASSERT_TRUE(predictor.record(getMotionEvent(MOVE, 2, 5, 20ms, /*deviceId=*/0)).ok()); in TEST()
220 ASSERT_TRUE(predictor.record(getMotionEvent(MOVE, 3, 7, 30ms, /*deviceId=*/0)).ok()); in TEST()
223 ASSERT_FALSE(predictor.record(getMotionEvent(MOVE, 100, 300, 50ms, /*deviceId=*/1)).ok()); in TEST()
[all …]
/frameworks/native/services/inputflinger/tests/
DUnwantedInteractionBlocker_test.cpp52 constexpr int MOVE = AMOTION_EVENT_ACTION_MOVE; variable
246 NotifyMotionArgs args = generateMotionArgs(/*downTime=*/0, /*eventTime=*/0, MOVE, in TEST()
252 assertArgs(result[0], MOVE, {{0, {1, 2, 3}}, {2, {7, 8, 9}}}); in TEST()
261 NotifyMotionArgs args = generateMotionArgs(/*downTime=*/0, /*eventTime=*/0, MOVE, in TEST()
269 assertArgs(result[1], MOVE, {{0, {1, 2, 3}}, {2, {7, 8, 9}}}); in TEST()
277 NotifyMotionArgs args = generateMotionArgs(/*downTime=*/0, /*eventTime=*/0, MOVE, {{1, 2, 3}}); in TEST()
322 generateMotionArgs(/*downTime=*/0, /*eventTime=*/0, MOVE, {{1, 2, 3}, {4, 5, 6}}); in TEST()
492 mBlocker->notifyMotion(generateMotionArgs(/*downTime=*/0, /*eventTime=*/2, MOVE, {{4, 5, 6}})); in TEST_F()
513 mBlocker->notifyMotion(generateMotionArgs(/*downTime=*/0, /*eventTime=*/2, MOVE, {{4, 5, 6}})); in TEST_F()
520 mBlocker->notifyMotion(generateMotionArgs(/*downTime=*/0, /*eventTime=*/4, MOVE, {{7, 8, 9}})); in TEST_F()
[all …]
DPreferStylusOverTouch_test.cpp28 constexpr int MOVE = AMOTION_EVENT_ACTION_MOVE; variable
115 args = generateMotionArgs(/*downTime=*/0, /*eventTime=*/1, MOVE, {{1, 3}}, TOUCHSCREEN); in TEST_F()
128 args = generateMotionArgs(/*downTime=*/0, /*eventTime=*/1, MOVE, {{1, 3}}, STYLUS); in TEST_F()
145 args = generateMotionArgs(/*downTime=*/0, /*eventTime=*/1, MOVE, {{1, 3}}, TOUCHSCREEN); in TEST_F()
156 args = generateMotionArgs(/*downTime=*/3, /*eventTime=*/4, MOVE, {{10, 31}}, STYLUS); in TEST_F()
159 args = generateMotionArgs(/*downTime=*/0, /*eventTime=*/5, MOVE, {{1, 4}}, TOUCHSCREEN); in TEST_F()
172 args = generateMotionArgs(/*downTime=*/0, /*eventTime=*/1, MOVE, {{1, 3}}, TOUCHSCREEN); in TEST_F()
199 args = generateMotionArgs(stylusDownTime, /*eventTime=*/2, MOVE, {{10, 31}}, STYLUS); in TEST_F()
203 args = generateMotionArgs(touchDownTime, /*eventTime=*/1, MOVE, {{1, 3}}, TOUCHSCREEN); in TEST_F()
206 args = generateMotionArgs(/*downTime=*/0, /*eventTime=*/5, MOVE, {{1, 4}}, TOUCHSCREEN); in TEST_F()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DAdapterHelper.java106 case UpdateOp.MOVE: in preProcess()
230 if (op.cmd == UpdateOp.ADD || op.cmd == UpdateOp.MOVE) { in dispatchAndUpdateViewHolders()
332 if (postponed.cmd == UpdateOp.MOVE) { in updatePositionWithPostponed()
396 if (op.cmd == UpdateOp.MOVE) { in updatePositionWithPostponed()
413 if (op.cmd == UpdateOp.MOVE) { in canFindInPreLayout()
443 case UpdateOp.MOVE: in postponeAndUpdateViewHolders()
474 if (op.cmd == UpdateOp.MOVE) { in findPositionOffset()
545 mPendingUpdates.add(obtainUpdateOp(UpdateOp.MOVE, from, to, null)); in onItemRangeMoved()
546 mExistingUpdateTypes |= UpdateOp.MOVE; in onItemRangeMoved()
573 case UpdateOp.MOVE: in consumeUpdatesInOnePass()
[all …]
DOpReorderer.java20 import static com.android.internal.widget.AdapterHelper.UpdateOp.MOVE;
222 if (op1.cmd == MOVE) { in getLastMoveOutOfOrder()
DRecyclerView.java838 case AdapterHelper.UpdateOp.MOVE: in initAdapterManager()
1602 | AdapterHelper.UpdateOp.MOVE)) { in consumePendingUpdateOperations()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/utilities/
DNanMap.java29 public static final int MOVE = 0x1000; field in NanMap
36 public static final float MOVE_NAN = Utils.asNan(MOVE);
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/
DPathData.java101 public static final int MOVE = 10; field in PathData
108 public static final float MOVE_NAN = Utils.asNan(MOVE);
165 case MOVE: in pathString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/ui/viewmodel/
DEditTileViewModel.kt41 MOVE,
DEditModeViewModel.kt114 add(AvailableEditActions.MOVE) in <lambda>()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/player/platform/
DFloatsToPath.java35 case PathData.MOVE: { in genPath()
/frameworks/proto_logging/stats/atoms/input/
Dinput_atoms.proto98 // Whether or not this is a DOWN event. If false, this is a MOVE event
180 * We distinguish between 'DOWN' event latency (when the pointer first goes down), and 'MOVE'
210 // -------------------------- MOVE event sketches ------ START ---------------------------------
234 // -------------------------- MOVE event sketches ------ END -----------------------------------
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
Dtouch_analytics.proto35 MOVE = 2; enumerator
/frameworks/native/include/input/
DVirtualInputDevice.h26 MOVE = 2, enumerator
/frameworks/base/core/java/android/widget/
DActionMenuPresenter.java323 if (oldInfo.id == id && oldInfo.animType == ItemAnimationInfo.MOVE) { in runItemAnimations()
341 ItemAnimationInfo.MOVE); in runItemAnimations()
1065 static final int MOVE = 0; field in ActionMenuPresenter.ItemAnimationInfo
/frameworks/base/core/jni/
Dandroid_view_InputEventReceiver.md25 If a batched event comes in at this point (typically, any MOVE event that has source = TOUCHSCREEN)…
/frameworks/native/libs/input/
DVirtualInputDevice.cpp284 {AMOTION_EVENT_ACTION_MOVE, UinputAction::MOVE},
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/panels/ui/viewmodel/
DEditModeViewModelTest.kt458 assertThat(it.availableEditActions).contains(AvailableEditActions.MOVE) in <lambda>()
/frameworks/native/services/inputflinger/
DInputCommonConverter.cpp72 static_assert(static_cast<common::Action>(AMOTION_EVENT_ACTION_MOVE) == common::Action::MOVE, in getAction()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java116 import static com.android.server.wm.AnimationSpecProto.MOVE;
5661 final long token = proto.start(MOVE); in dumpDebugInner()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt65333 Landroid/widget/ActionMenuPresenter$ItemAnimationInfo;->MOVE:I