/frameworks/base/core/java/android/view/ |
D | KeyEvent.java | 1247 private long mDownTime; field in KeyEvent 1344 mDownTime = downTime; in KeyEvent() 1368 mDownTime = downTime; in KeyEvent() 1396 mDownTime = downTime; in KeyEvent() 1426 mDownTime = downTime; in KeyEvent() 1458 mDownTime = downTime; in KeyEvent() 1483 mDownTime = time; in KeyEvent() 1498 mDownTime = origEvent.mDownTime; in KeyEvent() 1524 mDownTime = origEvent.mDownTime; in KeyEvent() 1561 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/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyButtonView.java | 58 private long mDownTime; field in KeyButtonView 203 mDownTime = SystemClock.uptimeMillis(); in onTouchEvent() 207 sendEvent(KeyEvent.ACTION_DOWN, 0, mDownTime); in onTouchEvent() 236 if ((SystemClock.uptimeMillis() - mDownTime) > 150 && !mLongClicked) { in onTouchEvent() 276 final KeyEvent ev = new KeyEvent(mDownTime, when, action, mCode, repeatCount, in sendEvent()
|
/frameworks/native/libs/input/ |
D | Input.cpp | 72 mDownTime = downTime; in initialize() 84 mDownTime = from.mDownTime; in initialize() 244 mDownTime = downTime; in initialize() 264 mDownTime = other->mDownTime; in copyFrom() 444 mDownTime = parcel->readInt64(); in readFromParcel() 493 parcel->writeInt64(mDownTime); in writeToParcel()
|
/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/base/core/jni/ |
D | android_view_KeyEvent.cpp | 48 jfieldID mDownTime; member 88 jlong downTime = env->GetLongField(eventObj, gKeyEventClassInfo.mDownTime); in android_view_KeyEvent_toNative() 148 gKeyEventClassInfo.mDownTime = GetFieldIDOrDie(env, gKeyEventClassInfo.clazz, "mDownTime", "J"); in register_android_view_KeyEvent()
|
/frameworks/native/include/input/ |
D | Input.h | 336 inline nsecs_t getDownTime() const { return mDownTime; } in getDownTime() 363 nsecs_t mDownTime; variable 415 inline nsecs_t getDownTime() const { return mDownTime; } in getDownTime() 417 inline void setDownTime(nsecs_t downTime) { mDownTime = downTime; } in setDownTime() 622 nsecs_t mDownTime; variable
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | MotionEventInjector.java | 77 private long mDownTime; field in MotionEventInjector 396 motionEvents.add(obtainMotionEvent(mDownTime, currentTime, MotionEvent.ACTION_MOVE, in appendMoveEventIfNeeded() 415 motionEvents.add(obtainMotionEvent(mDownTime, currentTime, action, in appendUpEvents() 440 mDownTime = currentTime; in appendDownEvents() 443 motionEvents.add(obtainMotionEvent(mDownTime, currentTime, action, in appendDownEvents()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | SystemGesturesPointerEventListener.java | 55 private final long[] mDownTime = new long[MAX_TRACKED_POINTERS]; field in SystemGesturesPointerEventListener 171 mDownTime[i] = event.getEventTime(); in captureDown() 218 final long elapsed = time - mDownTime[i]; in detectSwipe()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PanelView.java | 64 private long mDownTime; field in PanelView 310 mDownTime = SystemClock.uptimeMillis(); in onTouchEvent() 480 long timePassed = SystemClock.uptimeMillis() - mDownTime; in endMotionEvent() 560 mDownTime = SystemClock.uptimeMillis(); in onInterceptTouchEvent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | MotionEventInjectorTest.java | 742 long mDownTime; field in MotionEventInjectorTest.MotionEventMatcher 749 mDownTime = downTime; in MotionEventMatcher() 762 mDownTime += timeOffset; in offsetTimesBy() 768 if ((event.getDownTime() == mDownTime) && (event.getEventTime() == mEventTime) in matchesSafely() 775 + ", expected " + mDownTime); in matchesSafely()
|
/frameworks/native/services/inputflinger/ |
D | InputReader.cpp | 2262 dump.appendFormat(INDENT3 "DownTime: %lld\n", (long long)mDownTime); in dump() 2334 mDownTime = 0; in reset() 2446 mDownTime = when; in processKey() 2471 nsecs_t downTime = mDownTime; in processKey() 2623 dump.appendFormat(INDENT3 "DownTime: %lld\n", (long long)mDownTime); in dump() 2756 mDownTime = 0; in reset() 2788 mDownTime = when; in sync() 2795 nsecs_t downTime = mDownTime; in sync() 4258 mDownTime = 0; in reset() 4731 mOrientedXPrecision, mOrientedYPrecision, mDownTime); in abortTouches() [all …]
|
D | InputReader.h | 1108 nsecs_t mDownTime; // time of most recent key down variable 1204 nsecs_t mDownTime; variable 1477 nsecs_t mDownTime; variable
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | KeyboardView.java | 194 private long mDownTime; field in KeyboardView 1263 mDownTime = me.getEventTime(); 1264 mLastMoveTime = mDownTime; 1291 mCurrentKeyTime = eventTime - mDownTime;
|