/frameworks/native/include/input/ |
D | InputTransport.h | 440 size_t historySize; member 448 historySize = 0; in initialize() 455 if (historySize < 2) { in addHistory() 456 historySize += 1; in addHistory() 467 if (historySize < 2) { in recentCoordinatesAreIdentical()
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 167 static bool validateHistoryPos(JNIEnv* env, jint historyPos, size_t historySize) { in validateHistoryPos() argument 168 if (historyPos < 0 || size_t(historyPos) >= historySize) { in validateHistoryPos() 434 size_t historySize = event->getHistorySize(); in android_view_MotionEvent_nativeGetPointerCoords() local 435 if (!validateHistoryPos(env, historyPos, historySize)) { in android_view_MotionEvent_nativeGetPointerCoords() 527 size_t historySize = event->getHistorySize(); in android_view_MotionEvent_nativeGetEventTimeNanos() local 528 if (!validateHistoryPos(env, historyPos, historySize)) { in android_view_MotionEvent_nativeGetEventTimeNanos() 547 size_t historySize = event->getHistorySize(); in android_view_MotionEvent_nativeGetRawAxisValue() local 548 if (!validateHistoryPos(env, historyPos, historySize)) { in android_view_MotionEvent_nativeGetRawAxisValue() 566 size_t historySize = event->getHistorySize(); in android_view_MotionEvent_nativeGetAxisValue() local 567 if (!validateHistoryPos(env, historyPos, historySize)) { in android_view_MotionEvent_nativeGetAxisValue()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/ |
D | FalsingDataProvider.java | 224 int historySize = motionEvent.getHistorySize(); in unpackMotionEvent() local 225 for (int i = 0; i < historySize; i++) { in unpackMotionEvent()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SystemGesturesPointerEventListener.java | 228 final int historySize = move.getHistorySize(); in detectSwipe() local 234 for (int h = 0; h < historySize; h++) { in detectSwipe()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/ |
D | SpotFilter.kt | 101 for (i in 0 until evt.historySize) { in add()
|
/frameworks/base/core/java/android/view/ |
D | InputEventConsistencyVerifier.java | 643 final int historySize = event.getHistorySize(); in ensureHistorySizeIsZeroForThisAction() local 644 if (historySize != 0) { in ensureHistorySizeIsZeroForThisAction() 645 problem("History size is " + historySize + " but it should always be 0 for " in ensureHistorySizeIsZeroForThisAction()
|
D | MotionEvent.java | 3280 final int historySize = nativeGetHistorySize(event.mNativePtr); in addBatch() local 3281 for (int h = 0; h <= historySize; h++) { in addBatch() 3282 final int historyPos = (h == historySize ? HISTORY_CURRENT : h); in addBatch() 3424 final int historySize = nativeGetHistorySize(mNativePtr); in split() local 3425 for (int h = 0; h <= historySize; h++) { in split() 3426 final int historyPos = h == historySize ? HISTORY_CURRENT : h; in split()
|
D | ViewRootImpl.java | 6197 final int historySize = event.getHistorySize(); 6198 for (int h = 0; h < historySize; h++) {
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
D | SinkActivity.java | 360 final int historySize = event.getHistorySize(); in sendHidTouch() local 364 for (int h = 0; h < historySize; h++) { in sendHidTouch()
|
/frameworks/native/libs/input/ |
D | Input.cpp | 302 size_t historySize = other->getHistorySize(); in copyFrom() local 304 + (historySize * pointerCount), pointerCount); in copyFrom()
|
D | VelocityTracker.cpp | 325 size_t historySize = event->getHistorySize(); in addMovement() local 326 for (size_t h = 0; h < historySize; h++) { in addMovement()
|
D | InputTransport.cpp | 902 if (touchState.historySize < 1) { in resampleTouchState() 939 } else if (touchState.historySize >= 2) { in resampleTouchState()
|
/frameworks/base/core/java/android/widget/ |
D | ActivityChooserView.java | 558 final int historySize = mAdapter.getHistorySize(); in updateAppearance() local 559 if (activityCount==1 || activityCount > 1 && historySize > 0) { in updateAppearance()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternView.java | 963 final int historySize = event.getHistorySize(); in handleActionMove() local 966 for (int i = 0; i < historySize + 1; i++) { in handleActionMove() 967 final float x = i < historySize ? event.getHistoricalX(i) : event.getX(); in handleActionMove() 968 final float y = i < historySize ? event.getHistoricalY(i) : event.getY(); in handleActionMove()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | HistoricalRegistry.java | 498 final int historySize = history.size(); in offsetHistory() local 499 for (int i = 0; i < historySize; i++) { in offsetHistory()
|