/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
H A D | BallsRS.java | 149 public void newTouchPosition(float x, float y, float pressure, int id) { argument 150 mPhysicsScript.invoke_touch(x, y, pressure * mRS.getWidth() / 1280, id);
|
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/ |
H A D | RSTestCore.java | 182 public void newTouchPosition(float x, float y, float pressure, int id) { argument
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
H A D | RSTestCore.java | 186 public void newTouchPosition(float x, float y, float pressure, int id) { argument
|
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/ |
H A D | RSTestCore.java | 186 public void newTouchPosition(float x, float y, float pressure, int id) { argument
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
H A D | Input.java | 220 * Sends a simple zero-pressure move event. 257 * @param pressure pressure of event 259 private void injectMotionEvent(int inputSource, int action, long when, float x, float y, float pressure) { argument 265 MotionEvent event = MotionEvent.obtain(when, when, action, x, y, pressure, DEFAULT_SIZE,
|
/frameworks/native/include/android/ |
H A D | sensor.h | 240 float pressure; member in union:ASensorEvent::__anon1324::__anon1325
|
/frameworks/base/core/jni/ |
H A D | android_view_MotionEvent.cpp | 52 jfieldID pressure; member in struct:android::__anon941 202 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.pressure)); 264 env->SetFloatField(outPointerCoordsObj, gPointerCoordsClassInfo.pressure, 905 gPointerCoordsClassInfo.pressure = GetFieldIDOrDie(env, clazz, "pressure", "F");
|
/frameworks/base/core/java/android/view/ |
H A D | MotionEvent.java | 39 * information about the pressure, size and orientation of the contact area. 536 * <li>For a touch screen or touch pad, reports the approximate pressure applied to the surface 538 * 0 (no pressure at all) to 1 (normal pressure), although values higher than 1 549 * @see MotionEvent.PointerCoords#pressure 1631 * @param pressure The current pressure of this event. The pressure generally 1632 * ranges from 0 (no pressure at all) to 1 (normal pressure), howeve 1649 obtain(long downTime, long eventTime, int action, float x, float y, float pressure, float size, int metaState, float xPrecision, float yPrecision, int deviceId, int edgeFlags) argument 1709 obtain(long downTime, long eventTime, int action, int pointerCount, float x, float y, float pressure, float size, int metaState, float xPrecision, float yPrecision, int deviceId, int edgeFlags) argument 2908 addBatch(long eventTime, float x, float y, float pressure, float size, int metaState) argument 3425 public float pressure; field in class:MotionEvent.PointerCoords [all...] |
/frameworks/native/services/inputflinger/tests/ |
H A D | InputReader_test.cpp | 1465 float x, float y, float pressure, float size, 1470 ASSERT_NEAR(pressure, coords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), EPSILON); 2599 void processPressure(SingleTouchInputMapper* mapper, int32_t pressure); 2654 SingleTouchInputMapper* mapper, int32_t pressure) { 2655 process(mapper, ARBITRARY_TIME, DEVICE_ID, EV_ABS, ABS_PRESSURE, pressure); 3241 float pressure = float(rawPressure) / RAW_PRESSURE_MAX; local 3263 x, y, pressure, size, tool, tool, tool, tool, orientation, distance)); 3599 // initially hovering because BTN_TOUCH not sent yet, pressure defaults to 0 3621 // down when BTN_TOUCH is pressed, pressure defaults to 1 3671 // initially hovering because pressure i 1464 assertPointerCoords(const PointerCoords& coords, float x, float y, float pressure, float size, float touchMajor, float touchMinor, float toolMajor, float toolMinor, float orientation, float distance) argument 2653 processPressure( SingleTouchInputMapper* mapper, int32_t pressure) argument 3837 processPressure( MultiTouchInputMapper* mapper, int32_t pressure) argument 4521 float pressure = float(rawPressure) / RAW_PRESSURE_MAX; local 4691 float pressure = float(rawPressure) * 0.01f; local [all...] |
/frameworks/native/services/inputflinger/ |
H A D | InputReader.cpp | 76 // Maximum amount of time to wait on touch data before pushing out new pressure data. 1521 pressure.clear(); 1935 dump.appendFormat(INDENT4 "Pressure: %f\n", state.pressure); 2891 info->addMotionRange(mOrientedRanges.pressure); 2975 dump.appendFormat(INDENT4 "[%d]: id=%d, x=%d, y=%d, pressure=%d, " 2979 pointer.id, pointer.x, pointer.y, pointer.pressure, 2993 dump.appendFormat(INDENT4 "[%d]: id=%d, x=%0.3f, y=%0.3f, pressure=%0.3f, " 3220 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.pressure, "Pressure"); 3465 } else if (mRawPointerAxes.pressure.valid 3466 && mRawPointerAxes.pressure 4277 float pressure = mExternalStylusState.pressure; local 4762 float pressure; local 6822 int32_t pressure = mSingleTouchMotionAccumulator.getAbsolutePressure(); local [all...] |
H A D | InputReader.h | 384 float pressure; member in struct:android::StylusState 392 pressure = other.pressure; 399 pressure = 0.f; 797 RawAbsoluteAxisInfo pressure; member in struct:android::RawPointerAxes 820 int32_t pressure; member in struct:android::RawPointerData::Pointer 1582 InputDeviceInfo::MotionRange pressure; member in struct:android::TouchInputMapper::OrientedRanges
|