HomeSort by relevance Sort by last modified time
    Searched refs:historyPos (Results 1 - 5 of 5) sorted by null

  /frameworks/base/core/jni/
android_view_MotionEvent.cpp 165 static bool validateHistoryPos(JNIEnv* env, jint historyPos, size_t historySize) {
166 if (historyPos < 0 || size_t(historyPos) >= historySize) {
168 "historyPos out of range");
586 jint nativePtr, jint historyPos) {
588 if (historyPos == HISTORY_CURRENT) {
592 if (!validateHistoryPos(env, historyPos, historySize)) {
595 return event->getHistoricalEventTime(historyPos);
600 jint nativePtr, jint axis, jint pointerIndex, jint historyPos) {
607 if (historyPos == HISTORY_CURRENT)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
GameView.java 244 private void processJoystickInput(MotionEvent event, int historyPos) {
249 float x = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_X, historyPos);
251 x = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_HAT_X, historyPos);
254 x = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_Z, historyPos);
257 float y = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_Y, historyPos);
259 y = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_HAT_Y, historyPos);
262 y = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_RZ, historyPos);
267 step(historyPos < 0 ? event.getEventTime() : event.getHistoricalEventTime(historyPos));
271 int axis, int historyPos) {
    [all...]
GameControllerInput.java 302 for (int historyPos = 0; historyPos < historySize; historyPos++) {
303 message.append(event.getHistoricalAxisValue(axis, historyPos));
  /frameworks/base/core/java/com/android/internal/widget/
PointerLocationView.java 399 for (int historyPos = 0; historyPos < N; historyPos++) {
402 event.getHistoricalPointerCoords(i, historyPos, mTempCoords);
545 for (int historyPos = 0; historyPos < N; historyPos++) {
550 event.getHistoricalPointerCoords(i, historyPos, coords);
  /frameworks/base/core/java/android/view/
MotionEvent.java     [all...]

Completed in 129 milliseconds