/frameworks/native/libs/input/tests/ |
D | TouchResampling_test.cpp | 36 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 …]
|
D | InputEvent_test.cpp | 81 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 …]
|
D | VelocityTracker_test.cpp | 82 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()
|
D | InputPublisherAndConsumer_test.cpp | 38 bool isResampled = false; member 107 pointerCoords[i].isResampled = pointers[i].isResampled; in PublishMotionArgs()
|
D | InputPublisherAndConsumerNoResampling_test.cpp | 44 bool isResampled = false; member 114 pointerCoords[i].isResampled = pointers[i].isResampled; in PublishMotionArgs()
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 63 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/ |
D | input_framework.aconfig | 32 description: "Makes MotionEvent.PointerCoords#isResampled() a public API"
|
/frameworks/native/include/input/ |
D | Input.h | 469 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/ |
D | MotionEvent.java | 4413 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/ |
D | Input.cpp | 514 isResampled = parcel->readBool(); in readFromParcel() 526 parcel->writeBool(isResampled); in writeToParcel() 545 if (isResampled != other.isResampled) { in operator ==()
|
D | MotionPredictor.cpp | 201 if (event.isResampled(0, i)) { in record()
|
D | InputTransport.cpp | 285 msg->body.motion.pointers[i].coords.isResampled = in getSanitizedCopy() 286 body.motion.pointers[i].coords.isResampled; in getSanitizedCopy()
|
D | InputConsumer.cpp | 560 msgCoords.isResampled = true; in rewriteMessage() 686 resampledCoords.isResampled = true; in resampleTouchState()
|
D | VelocityTracker.cpp | 348 if (event.isResampled(i, h)) { in addMovement()
|
/frameworks/base/core/api/ |
D | test-lint-baseline.txt | 2186 UnflaggedApi: android.view.MotionEvent.PointerCoords#isResampled(): 2187 …w API must be flagged with @FlaggedApi: method android.view.MotionEvent.PointerCoords.isResampled()
|
D | current.txt | 51971 …ggedApi("com.android.hardware.input.pointer_coords_is_resampled_api") public boolean isResampled();
|