Home
last modified time | relevance | path

Searched refs:isPredictionAvailable (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tests/MotionPrediction/src/test/motionprediction/
DDrawingView.kt50 var isPredictionAvailable = false variable
75 isPredictionAvailable = predictor.isPredictionAvailable(event.getDeviceId(), in onTouchEvent()
83 if (!isPredictionAvailable) { in onDraw()
/frameworks/native/libs/input/tests/
DMotionPredictor_test.cpp177 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/
DMotionPredictor.h117 bool isPredictionAvailable(int32_t deviceId, int32_t source);
/frameworks/base/core/java/android/view/
DMotionPredictor.java127 public boolean isPredictionAvailable(int deviceId, int source) { in isPredictionAvailable() method in MotionPredictor
/frameworks/base/core/jni/
Dandroid_view_MotionPredictor.cpp72 return predictor->isPredictionAvailable(static_cast<int32_t>(deviceId), in android_view_MotionPredictor_nativeIsPredictionAvailable()
/frameworks/native/libs/input/
DMotionPredictor.cpp152 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/
Dcurrent.txt51995 method public boolean isPredictionAvailable(int, int);