Lines Matching refs:eventTime
325 final int y, final long eventTime, final boolean isKeyRepeat) {
341 sTypingTimeRecorder.onCodeInput(code, eventTime);
463 private static boolean needsToSuppressKeyPreviewPopup(final long eventTime) {
465 return sTypingTimeRecorder.needsToSuppressKeyPreviewPopup(eventTime);
468 private void setPressedKeyGraphics(final Key key, final long eventTime) {
480 if (!key.noKeyPreview() && !sInGesture && !needsToSuppressKeyPreviewPopup(eventTime)) {
533 private Key onDownKey(final int x, final int y, final long eventTime) {
534 mDownTime = eventTime;
596 public void onUpdateBatchInput(final InputPointers aggregatedPointers, final long eventTime) {
612 public void onEndBatchInput(final InputPointers aggregatedPointers, final long eventTime) {
613 sTypingTimeRecorder.onEndBatchInput(eventTime);
640 final long eventTime = me.getEventTime();
655 tracker.onMoveEvent(x, y, eventTime, me);
665 onDownEvent(x, y, eventTime, keyDetector);
669 onUpEvent(x, y, eventTime);
672 onCancelEvent(x, y, eventTime);
677 private void onDownEvent(final int x, final int y, final long eventTime,
681 printTouchEvent("onDownEvent:", x, y, eventTime);
684 final long deltaT = eventTime - mUpTime;
702 sPointerTrackerQueue.releaseAllPointers(eventTime);
705 onDownEventInternal(x, y, eventTime);
714 mBatchInputArbiter.addDownEventPoint(x, y, eventTime,
717 x, y, mBatchInputArbiter.getElapsedTimeSinceFirstDown(eventTime));
732 private void onDownEventInternal(final int x, final int y, final long eventTime) {
733 Key key = onDownKey(x, y, eventTime);
749 key = onDownKey(x, y, eventTime);
754 setPressedKeyGraphics(key, eventTime);
771 private void onGestureMoveEvent(final int x, final int y, final long eventTime,
777 x, y, eventTime, isMajorEvent, this);
784 x, y, mBatchInputArbiter.getElapsedTimeSinceFirstDown(eventTime));
796 mBatchInputArbiter.updateBatchInput(eventTime, this);
802 private void onMoveEvent(final int x, final int y, final long eventTime, final MotionEvent me) {
804 printTouchEvent("onMoveEvent:", x, y, eventTime);
826 mMoreKeysPanel.onMoveEvent(translatedX, translatedY, mPointerId, eventTime);
833 onMoveEventInternal(x, y, eventTime);
837 final long eventTime) {
850 setPressedKeyGraphics(key, eventTime);
854 final long eventTime, final Key oldKey, final int lastX, final int lastY) {
863 onUpEventInternal(x, y, eventTime);
864 onDownEventInternal(x, y, eventTime);
868 final long eventTime, final Key oldKey, final int lastX, final int lastY) {
882 onUpEventInternal(x, y, eventTime);
883 onDownEventInternal(x, y, eventTime);
894 final long eventTime, final Key oldKey, final int lastX, final int lastY) {
901 processDraggingFingerInToNewKey(key, x, y, eventTime);
909 processPhantomSuddenMoveHack(key, x, y, eventTime, oldKey, lastX, lastY);
914 else if (sTypingTimeRecorder.isInFastTyping(eventTime)
916 processProximateBogusDownMoveUpEventHack(key, x, y, eventTime, oldKey, lastX, lastY);
928 onUpEvent(x, y, eventTime);
952 private void onMoveEventInternal(final int x, final int y, final long eventTime) {
960 onGestureMoveEvent(x, y, eventTime, true /* isMajorEvent */, newKey);
969 if (oldKey != null && isMajorEnoughMoveToBeOnNewKey(x, y, eventTime, newKey)) {
970 dragFingerFromOldKeyToNewKey(newKey, x, y, eventTime, oldKey, lastX, lastY);
974 processDraggingFingerInToNewKey(newKey, x, y, eventTime);
977 if (oldKey != null && isMajorEnoughMoveToBeOnNewKey(x, y, eventTime, newKey)) {
986 private void onUpEvent(final int x, final int y, final long eventTime) {
988 printTouchEvent("onUpEvent :", x, y, eventTime);
996 sPointerTrackerQueue.releaseAllPointersExcept(this, eventTime);
998 sPointerTrackerQueue.releaseAllPointersOlderThan(this, eventTime);
1001 onUpEventInternal(x, y, eventTime);
1009 public void onPhantomUpEvent(final long eventTime) {
1011 printTouchEvent("onPhntEvent:", mLastX, mLastY, eventTime);
1013 onUpEventInternal(mLastX, mLastY, eventTime);
1017 private void onUpEventInternal(final int x, final int y, final long eventTime) {
1034 mMoreKeysPanel.onUpEvent(translatedX, translatedY, mPointerId, eventTime);
1045 eventTime, getActivePointerTrackerCount(), this)) {
1059 detectAndSendKey(currentKey, mKeyX, mKeyY, eventTime);
1096 private void onCancelEvent(final int x, final int y, final long eventTime) {
1098 printTouchEvent("onCancelEvt:", x, y, eventTime);
1103 sPointerTrackerQueue.releaseAllPointers(eventTime);
1114 private boolean isMajorEnoughMoveToBeOnNewKey(final int x, final int y, final long eventTime,
1136 if (!mIsAllowedDraggingFinger && sTypingTimeRecorder.isInFastTyping(eventTime)
1183 private void detectAndSendKey(final Key key, final int x, final int y, final long eventTime) {
1190 callListenerOnCodeInput(key, code, x, y, eventTime, false /* isKeyRepeat */);
1226 final long eventTime) {
1230 (mIsTrackingForActionDisabled ? "-" : " "), title, x, y, eventTime, code));