am a96d8a11: Use SystemClock.uptimeMillis() for event time

Merge commit 'a96d8a11e84ef9219eb40a815e82ad8a3d852ca5' into gingerbread-plus-aosp

* commit 'a96d8a11e84ef9219eb40a815e82ad8a3d852ca5':
  Use SystemClock.uptimeMillis() for event time
main
Tadashi G. Takaoka 2010-09-22 21:57:28 -07:00 committed by Android Git Automerger
commit 1241be7e84
1 changed files with 2 additions and 1 deletions

View File

@ -33,6 +33,7 @@ import android.inputmethodservice.Keyboard;
import android.inputmethodservice.Keyboard.Key;
import android.os.Handler;
import android.os.Message;
import android.os.SystemClock;
import android.util.AttributeSet;
import android.util.Log;
import android.util.TypedValue;
@ -1157,7 +1158,7 @@ public class LatinKeyboardBaseView extends View implements PointerTracker.UIProx
mMiniKeyboardPopup.showAtLocation(this, Gravity.NO_GRAVITY, x, y);
// Inject down event on the key to mini keyboard.
long eventTime = System.currentTimeMillis();
long eventTime = SystemClock.uptimeMillis();
mMiniKeyboardPopupTime = eventTime;
MotionEvent downEvent = generateMiniKeyboardMotionEvent(MotionEvent.ACTION_DOWN, popupKey.x
+ popupKey.width / 2, popupKey.y + popupKey.height / 2, eventTime);