Searched refs:eventTime (Results 26 - 41 of 41) sorted by relevance

12

/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java816 private void detectAndSendKey(int index, int x, int y, long eventTime) { argument
841 mLastTapTime = eventTime;
1242 final long eventTime = me.getEventTime();
1283 checkMultiTap(eventTime, keyIndex);
1309 mCurrentKeyTime = eventTime - mDownTime;
1312 mCurrentKeyTime += eventTime - mLastMoveTime;
1320 mCurrentKeyTime + eventTime - mLastMoveTime;
1336 mLastMoveTime = eventTime;
1342 mCurrentKeyTime += eventTime - mLastMoveTime;
1346 mLastKeyTime = mCurrentKeyTime + eventTime
1449 checkMultiTap(long eventTime, int keyIndex) argument
[all...]
H A DInputMethodService.java2191 long eventTime = SystemClock.uptimeMillis();
2192 ic.sendKeyEvent(new KeyEvent(eventTime, eventTime,
2195 ic.sendKeyEvent(new KeyEvent(eventTime, SystemClock.uptimeMillis(),
/frameworks/base/core/java/com/android/internal/widget/
H A DAutoScrollHelper.java676 final long eventTime = SystemClock.uptimeMillis();
678 eventTime, eventTime, MotionEvent.ACTION_CANCEL, 0, 0, 0);
/frameworks/native/include/input/
H A DInput.h353 nsecs_t eventTime);
570 nsecs_t eventTime,
578 nsecs_t eventTime,
/frameworks/base/core/java/android/view/inputmethod/
H A DBaseInputConnection.java571 long eventTime = SystemClock.uptimeMillis();
572 sendKeyEvent(new KeyEvent(eventTime, eventTime,
577 sendKeyEvent(new KeyEvent(SystemClock.uptimeMillis(), eventTime,
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp1175 ASSERT_EQ(ARBITRARY_TIME, args.eventTime);
1260 ASSERT_EQ(ARBITRARY_TIME, resetArgs.eventTime);
1330 ASSERT_EQ(ARBITRARY_TIME, resetArgs.eventTime);
1530 ASSERT_EQ(ARBITRARY_TIME, args.eventTime);
1589 ASSERT_EQ(ARBITRARY_TIME, args.eventTime);
1604 ASSERT_EQ(ARBITRARY_TIME + 1, args.eventTime);
1621 ASSERT_EQ(ARBITRARY_TIME, args.eventTime);
1638 ASSERT_EQ(ARBITRARY_TIME + 1, args.eventTime);
1655 ASSERT_EQ(ARBITRARY_TIME, args.eventTime);
1672 ASSERT_EQ(ARBITRARY_TIME + 1, args.eventTime);
[all...]
/frameworks/base/core/java/android/app/
H A DInstrumentation.java891 long eventTime = event.getEventTime();
903 if (eventTime == 0) {
904 eventTime = SystemClock.uptimeMillis();
907 downTime = eventTime;
909 KeyEvent newEvent = new KeyEvent(downTime, eventTime, action, code, repeatCount, metaState,
/frameworks/base/core/java/android/accessibilityservice/
H A DGestureDescription.java611 private static MotionEvent obtainMotionEvent(long downTime, long eventTime, int action, argument
624 return MotionEvent.obtain(downTime, eventTime, action, touchPointsSize,
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityEvent.java903 * @param eventTime The event time.
907 public void setEventTime(long eventTime) { argument
909 mEventTime = eventTime;
/frameworks/base/services/core/java/com/android/server/policy/
H A DPhoneWindowManager.java1075 final long eventTime = event.getDownTime();
1080 mBackKeyPressCounter, 0, eventTime);
1216 final long eventTime = event.getDownTime();
1221 interactive ? 1 : 0, mPowerKeyPressCounter, eventTime);
1228 powerPress(eventTime, interactive, mPowerKeyPressCounter);
1261 private void backMultiPressAction(long eventTime, int count) { argument
1273 private void powerPress(long eventTime, boolean interactive, int count) { argument
1281 powerMultiPressAction(eventTime, interactive, mDoublePressOnPowerBehavior);
1283 powerMultiPressAction(eventTime, interactive, mTriplePressOnPowerBehavior);
1289 mPowerManager.goToSleep(eventTime,
1310 powerMultiPressAction(long eventTime, boolean interactive, int behavior) argument
1404 sleepPress(long eventTime) argument
1410 sleepRelease(long eventTime) argument
6461 wakeUpFromPowerKey(long eventTime) argument
[all...]
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncManager.java2116 final long eventTime = item.eventTime;
2117 time.set(eventTime);
2125 final long diff = (lastEventTime - eventTime) / 1000;
2136 lastTimeMap.put(key, eventTime);
2140 formatTime(eventTime),
2182 final long eventTime = item.eventTime;
2183 time.set(eventTime);
2187 formatTime(eventTime),
[all...]
H A DSyncStorageEngine.java315 long eventTime; field in class:SyncStorageEngine.SyncHistoryItem
1079 item.eventTime = now;
1158 final long lastSyncTime = (item.eventTime + elapsedTime);
/frameworks/base/services/core/jni/
H A Dcom_android_server_input_InputManagerService.cpp241 virtual void pokeUserActivity(nsecs_t eventTime, int32_t eventType);
1026 void NativeInputManager::pokeUserActivity(nsecs_t eventTime, int32_t eventType) { argument
1027 android_server_PowerManagerService_userActivity(eventTime, eventType);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DRecyclerViewLayoutTest.java2123 long eventTime = SystemClock.uptimeMillis();
2131 MotionEvent event = MotionEvent.obtain(downTime, eventTime,
2137 eventTime = SystemClock.uptimeMillis();
2138 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, x, y, 0);
2142 eventTime = SystemClock.uptimeMillis();
2143 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, x, y, 0);
/frameworks/base/core/java/android/widget/
H A DTextView.java4945 long eventTime = SystemClock.uptimeMillis();
4947 new KeyEvent(eventTime, eventTime,
4953 new KeyEvent(SystemClock.uptimeMillis(), eventTime,
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java6211 long eventTime = q.mEvent.getEventTimeNano();
6212 long oldestEventTime = eventTime;
6219 mChoreographer.mFrameInfo.updateInputEventTime(eventTime, oldestEventTime);

Completed in 411 milliseconds

12