Home
last modified time | relevance | path

Searched refs:isResampled (Results 1 – 16 of 16) sorted by relevance

/frameworks/native/libs/input/tests/
DTouchResampling_test.cpp36 bool isResampled = false; member
199 ASSERT_EQ(entry.pointers[p].isResampled, in consumeInputEventEntries()
200 motionEvent->isResampled(motionEventPointerIndex, i)); in consumeInputEventEntries()
255 {25ms, {{0, 35, 30, .isResampled = true}}, AMOTION_EVENT_ACTION_MOVE}, in TEST_F()
294 {25ms, {{1, 35, 30, .isResampled = true}}, AMOTION_EVENT_ACTION_MOVE}, in TEST_F()
333 {{0, 35, 30, .toolType = ToolType::STYLUS, .isResampled = true}}, in TEST_F()
373 {{0, 35, 30, .toolType = ToolType::MOUSE, .isResampled = true}}, in TEST_F()
489 {25ms, {{0, 35, 30, .isResampled = true}}, AMOTION_EVENT_ACTION_MOVE}, in TEST_F()
504 {{0, 35, 30, .isResampled = true}}, in TEST_F()
507 {{0, 35, 30, .isResampled = true}}, in TEST_F()
[all …]
DInputEvent_test.cpp81 ASSERT_FALSE(coords.isResampled); in TEST_F()
194 ASSERT_FALSE(outCoords.isResampled); in TEST_F()
200 inCoords.isResampled = true; in TEST_F()
209 ASSERT_TRUE(outCoords.isResampled); in TEST_F()
307 mSamples[0].pointerCoords[0].isResampled = true; in SetUp()
329 mSamples[1].pointerCoords[0].isResampled = true; in SetUp()
340 mSamples[1].pointerCoords[1].isResampled = true; in SetUp()
533 ASSERT_TRUE(event->isResampled(0, 0)); in assertEqualsEventWithHistory()
534 ASSERT_FALSE(event->isResampled(1, 0)); in assertEqualsEventWithHistory()
535 ASSERT_TRUE(event->isResampled(0, 1)); in assertEqualsEventWithHistory()
[all …]
DVelocityTracker_test.cpp82 bool isResampled = false; member
207 coords[pointerIndex].isResampled = position.isResampled; in createTouchMotionEventStream()
371 {35ms, {{30, 60, .isResampled = true}}}, in TEST_F()
388 {35ms, {{30, 0, .isResampled = true}, {30, 0}}}, in TEST_F()
DInputPublisherAndConsumer_test.cpp38 bool isResampled = false; member
107 pointerCoords[i].isResampled = pointers[i].isResampled; in PublishMotionArgs()
DInputPublisherAndConsumerNoResampling_test.cpp44 bool isResampled = false; member
114 pointerCoords[i].isResampled = pointers[i].isResampled; in PublishMotionArgs()
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp63 jfieldID isResampled; member
230 out.isResampled = env->GetBooleanField(pointerCoordsObj, gPointerCoordsClassInfo.isResampled); in pointerCoordsToNative()
465 const bool isResampled = historyPos == HISTORY_CURRENT in android_view_MotionEvent_nativeGetPointerCoords() local
466 ? event->isResampled(pointerIndex, event->getHistorySize()) in android_view_MotionEvent_nativeGetPointerCoords()
467 : event->isResampled(pointerIndex, historyPos); in android_view_MotionEvent_nativeGetPointerCoords()
468 env->SetBooleanField(outPointerCoordsObj, gPointerCoordsClassInfo.isResampled, isResampled); in android_view_MotionEvent_nativeGetPointerCoords()
949 gPointerCoordsClassInfo.isResampled = GetFieldIDOrDie(env, clazz, "isResampled", "Z"); in register_android_view_MotionEvent()
/frameworks/base/core/java/android/hardware/input/
Dinput_framework.aconfig32 description: "Makes MotionEvent.PointerCoords#isResampled() a public API"
/frameworks/native/include/input/
DInput.h469 bool isResampled; member
476 isResampled = false; in clear()
872 inline bool isResampled(size_t pointerIndex, size_t historicalIndex) const { in isResampled() function
873 return getHistoricalRawPointerCoords(pointerIndex, historicalIndex)->isResampled; in isResampled()
/frameworks/base/core/java/android/view/
DMotionEvent.java4413 public boolean isResampled; field in MotionEvent.PointerCoords
4433 public boolean isResampled() { in isResampled() method in MotionEvent.PointerCoords
4434 return isResampled; in isResampled()
4455 isResampled = false; in clear()
4488 isResampled = other.isResampled; in copyFrom()
/frameworks/native/libs/input/
DInput.cpp514 isResampled = parcel->readBool(); in readFromParcel()
526 parcel->writeBool(isResampled); in writeToParcel()
545 if (isResampled != other.isResampled) { in operator ==()
DMotionPredictor.cpp201 if (event.isResampled(0, i)) { in record()
DInputTransport.cpp285 msg->body.motion.pointers[i].coords.isResampled = in getSanitizedCopy()
286 body.motion.pointers[i].coords.isResampled; in getSanitizedCopy()
DInputConsumer.cpp560 msgCoords.isResampled = true; in rewriteMessage()
686 resampledCoords.isResampled = true; in resampleTouchState()
DVelocityTracker.cpp348 if (event.isResampled(i, h)) { in addMovement()
/frameworks/base/core/api/
Dtest-lint-baseline.txt2186 UnflaggedApi: android.view.MotionEvent.PointerCoords#isResampled():
2187 …w API must be flagged with @FlaggedApi: method android.view.MotionEvent.PointerCoords.isResampled()
Dcurrent.txt51971 …ggedApi("com.android.hardware.input.pointer_coords_is_resampled_api") public boolean isResampled();