Searched refs:isPredictionAvailable (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/tests/MotionPrediction/src/test/motionprediction/ |
D | DrawingView.kt | 50 var isPredictionAvailable = false variable 75 isPredictionAvailable = predictor.isPredictionAvailable(event.getDeviceId(), in onTouchEvent() 83 if (!isPredictionAvailable) { in onDraw()
|
/frameworks/native/libs/input/tests/ |
D | MotionPredictor_test.cpp | 177 ASSERT_TRUE(predictor.isPredictionAvailable(/*deviceId=*/1, AINPUT_SOURCE_STYLUS)); in TEST() 178 ASSERT_FALSE(predictor.isPredictionAvailable(/*deviceId=*/1, AINPUT_SOURCE_TOUCHSCREEN)); in TEST() 248 ASSERT_FALSE(predictor.isPredictionAvailable(/*deviceId=*/1, AINPUT_SOURCE_STYLUS)); in TEST() 249 ASSERT_FALSE(predictor.isPredictionAvailable(/*deviceId=*/1, AINPUT_SOURCE_TOUCHSCREEN)); in TEST()
|
/frameworks/native/include/input/ |
D | MotionPredictor.h | 117 bool isPredictionAvailable(int32_t deviceId, int32_t source);
|
/frameworks/base/core/java/android/view/ |
D | MotionPredictor.java | 127 public boolean isPredictionAvailable(int deviceId, int source) { in isPredictionAvailable() method in MotionPredictor
|
/frameworks/base/core/jni/ |
D | android_view_MotionPredictor.cpp | 72 return predictor->isPredictionAvailable(static_cast<int32_t>(deviceId), in android_view_MotionPredictor_nativeIsPredictionAvailable()
|
/frameworks/native/libs/input/ |
D | MotionPredictor.cpp | 152 if (!isPredictionAvailable(event.getDeviceId(), event.getSource())) { in record() 344 bool MotionPredictor::isPredictionAvailable(int32_t /*deviceId*/, int32_t source) { in isPredictionAvailable() function in android::MotionPredictor
|
/frameworks/base/core/api/ |
D | current.txt | 51995 method public boolean isPredictionAvailable(int, int);
|