/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/ |
D | MotionEventMatcher.java | 31 long mDownTime; field in MotionEventMatcher 38 mDownTime = downTime; in MotionEventMatcher() 55 mDownTime += timeOffset; in offsetTimesBy() 61 if ((event.getDownTime() == mDownTime) in matchesSafely() 69 Log.e(LOG_TAG, "event.getDownTime() = " + event.getDownTime() + ", expected " + mDownTime); in matchesSafely()
|
/frameworks/base/core/java/android/view/ |
D | KeyEvent.java | 1288 private long mDownTime; field in KeyEvent 1389 mDownTime = downTime; in KeyEvent() 1414 mDownTime = downTime; in KeyEvent() 1443 mDownTime = downTime; in KeyEvent() 1474 mDownTime = downTime; in KeyEvent() 1507 mDownTime = downTime; in KeyEvent() 1534 mDownTime = time; in KeyEvent() 1551 mDownTime = origEvent.mDownTime; in KeyEvent() 1580 mDownTime = origEvent.mDownTime; in KeyEvent() 1621 ev.mDownTime = downTime; in obtain() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | GestureRecorder.java | 95 long mDownTime = -1; field in GestureRecorder.Gesture 100 if (mDownTime < 0) { in add() 101 mDownTime = ev.getDownTime(); in add() 103 if (mDownTime != ev.getDownTime()) { in add() 105 +ev.getDownTime()+") does not match gesture downTime ("+mDownTime+")"); in add()
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | InteractionController.java | 60 private long mDownTime; field in InteractionController 306 mDownTime = SystemClock.uptimeMillis(); 308 mDownTime, mDownTime, MotionEvent.ACTION_DOWN, x, y, 1); 319 mDownTime, eventTime, MotionEvent.ACTION_UP, x, y, 1); 321 mDownTime = 0; 331 mDownTime, eventTime, MotionEvent.ACTION_MOVE, x, y, 1);
|
/frameworks/native/libs/input/ |
D | Input.cpp | 156 mDownTime = downTime; in initialize() 168 mDownTime = from.mDownTime; in initialize() 345 mDownTime = downTime; in initialize() 371 mDownTime = other->mDownTime; in copyFrom() 588 mDownTime = parcel->readInt64(); in readFromParcel() 646 parcel->writeInt64(mDownTime); in writeToParcel()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | MotionEventInjector.java | 76 private long mDownTime; field in MotionEventInjector 394 motionEvents.add(obtainMotionEvent(mDownTime, currentTime, MotionEvent.ACTION_MOVE, in appendMoveEventIfNeeded() 413 motionEvents.add(obtainMotionEvent(mDownTime, currentTime, action, in appendUpEvents() 438 mDownTime = currentTime; in appendDownEvents() 441 motionEvents.add(obtainMotionEvent(mDownTime, currentTime, action, in appendDownEvents()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyButtonView.java | 72 private long mDownTime; field in KeyButtonView 269 mDownTime = SystemClock.uptimeMillis(); in onTouchEvent() 277 sendEvent(KeyEvent.ACTION_DOWN, 0, mDownTime); in onTouchEvent() 310 final boolean doHapticFeedback = (SystemClock.uptimeMillis() - mDownTime) > 150; in onTouchEvent() 419 final KeyEvent ev = new KeyEvent(mDownTime, when, action, mCode, repeatCount, in sendEvent()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | KeyboardInputMapper.cpp | 128 dump += StringPrintf(INDENT3 "DownTime: %" PRId64 "\n", mDownTime); in dump() 200 mDownTime = 0; in reset() 309 mDownTime = when; in processKey() 334 nsecs_t downTime = mDownTime; in processKey()
|
D | CursorInputMapper.cpp | 109 dump += StringPrintf(INDENT3 "DownTime: %" PRId64 "\n", mDownTime); in dump() 242 mDownTime = 0; in reset() 274 mDownTime = when; in sync() 281 nsecs_t downTime = mDownTime; in sync()
|
D | CursorInputMapper.h | 112 nsecs_t mDownTime; variable
|
D | KeyboardInputMapper.h | 60 nsecs_t mDownTime; // time of most recent key down variable
|
D | TouchInputMapper.cpp | 1377 mDownTime = 0; in reset() 1847 mOrientedXPrecision, mOrientedYPrecision, mDownTime); in abortTouches() 1867 mOrientedXPrecision, mOrientedYPrecision, mDownTime); in dispatchTouches() 1899 mOrientedXPrecision, mOrientedYPrecision, mDownTime); in dispatchTouches() 1912 mOrientedXPrecision, mOrientedYPrecision, mDownTime); in dispatchTouches() 1922 mDownTime = when; in dispatchTouches() 1930 downId, mOrientedXPrecision, mOrientedYPrecision, mDownTime); in dispatchTouches() 1946 mOrientedYPrecision, mDownTime); in dispatchHoverExit() 1962 mOrientedXPrecision, mOrientedYPrecision, mDownTime); in dispatchHoverEnterAndMove() 1972 mOrientedXPrecision, mOrientedYPrecision, mDownTime); in dispatchHoverEnterAndMove() [all …]
|
D | TouchInputMapper.h | 376 nsecs_t mDownTime; variable
|
/frameworks/base/core/jni/ |
D | android_view_KeyEvent.cpp | 89 jfieldID mDownTime; member 134 jlong downTime = env->GetLongField(eventObj, gKeyEventClassInfo.mDownTime); in android_view_KeyEvent_toNative() 203 gKeyEventClassInfo.mDownTime = GetFieldIDOrDie(env, gKeyEventClassInfo.clazz, "mDownTime", "J"); in register_android_view_KeyEvent()
|
/frameworks/native/include/input/ |
D | Input.h | 452 inline nsecs_t getDownTime() const { return mDownTime; } in getDownTime() 474 nsecs_t mDownTime; variable 544 inline nsecs_t getDownTime() const { return mDownTime; } in getDownTime() 546 inline void setDownTime(nsecs_t downTime) { mDownTime = downTime; } in setDownTime() 748 nsecs_t mDownTime; variable
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SystemGesturesPointerEventListener.java | 62 private final long[] mDownTime = new long[MAX_TRACKED_POINTERS]; field in SystemGesturesPointerEventListener 214 mDownTime[i] = event.getEventTime(); in captureDown() 265 final long elapsed = time - mDownTime[i]; in detectSwipe()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PanelViewController.java | 63 protected long mDownTime; field in PanelViewController 409 long timePassed = SystemClock.uptimeMillis() - mDownTime; in endMotionEvent() 1116 mDownTime = SystemClock.uptimeMillis(); in onInterceptTouchEvent() 1232 mDownTime = SystemClock.uptimeMillis(); in onTouch()
|
D | NotificationPanelViewController.java | 1241 long timeSinceDown = SystemClock.uptimeMillis() - mDownTime; in shouldExpandWhenNotFlinging()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | KeyboardView.java | 201 private long mDownTime; field in KeyboardView 1275 mDownTime = me.getEventTime(); 1276 mLastMoveTime = mDownTime; 1303 mCurrentKeyTime = eventTime - mDownTime;
|