/frameworks/base/cmds/input/src/com/android/commands/input/ |
H A D | Input.java | 220 * Sends a simple zero-pressure move event. 245 * @param pressure pressure of event 247 private void injectMotionEvent(int inputSource, int action, long when, float x, float y, float pressure) { argument 254 MotionEvent event = MotionEvent.obtain(when, when, action, x, y, pressure, DEFAULT_SIZE,
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiObject.java | 1027 p1.pressure = 1; 1034 p2.pressure = 1; 1048 p1.pressure = 1; 1055 p2.pressure = 1; 1074 * p.pressure = 1;
|
/frameworks/base/core/java/android/view/ |
H A D | MotionEvent.java | 39 * information about the pressure, size and orientation of the contact area. 521 * <li>For a touch screen or touch pad, reports the approximate pressure applied to the surface 523 * 0 (no pressure at all) to 1 (normal pressure), although values higher than 1 534 * @see MotionEvent.PointerCoords#pressure 1566 * @param pressure The current pressure of this event. The pressure generally 1567 * ranges from 0 (no pressure at all) to 1 (normal pressure), howeve 1584 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 1644 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 2843 addBatch(long eventTime, float x, float y, float pressure, float size, int metaState) argument 3360 public float pressure; field in class:MotionEvent.PointerCoords [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PointerLocationView.java | 278 canvas.drawRect(itemW * 5, 0, (itemW * 5) + (ps.mCoords.pressure * itemW) - 1, 281 .append("Prs: ").append(ps.mCoords.pressure, 2) 365 int pressureLevel = (int)(ps.mCoords.pressure * 255); 500 .append(") Pressure=").append(coords.pressure, 3)
|
/frameworks/base/core/jni/ |
H A D | android_view_MotionEvent.cpp | 52 jfieldID pressure; member in struct:android::__anon908 202 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.pressure)); 264 env->SetFloatField(outPointerCoordsObj, gPointerCoordsClassInfo.pressure, 905 gPointerCoordsClassInfo.pressure = GetFieldIDOrDie(env, clazz, "pressure", "F");
|
/frameworks/base/tests/RenderScriptTests/Fountain/src/com/example/android/rs/fountain/ |
H A D | FountainRS.java | 56 public void newTouchPosition(float x, float y, float pressure, int id) { argument 60 int rate = (int)(pressure * pressure * 500.f);
|
/frameworks/base/tests/RenderScriptTests/FountainFbo/src/com/example/android/rs/fountainfbo/ |
H A D | FountainFboRS.java | 82 public void newTouchPosition(float x, float y, float pressure, int id) { argument 86 int rate = (int)(pressure * pressure * 500.f);
|
/frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/fountain/ |
H A D | FountainRS.java | 56 public void newTouchPosition(float x, float y, float pressure, int id) { argument 60 int rate = (int)(pressure * pressure * 500.f);
|
/frameworks/native/include/android/ |
H A D | sensor.h | 165 float pressure; member in union:ASensorEvent::__anon1273::__anon1274
|
/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. 1494 pressure.clear(); 1905 dump.appendFormat(INDENT4 "Pressure: %f\n", state.pressure); 2744 info->addMotionRange(mOrientedRanges.pressure); 2828 dump.appendFormat(INDENT4 "[%d]: id=%d, x=%d, y=%d, pressure=%d, " 2832 pointer.id, pointer.x, pointer.y, pointer.pressure, 2846 dump.appendFormat(INDENT4 "[%d]: id=%d, x=%0.3f, y=%0.3f, pressure=%0.3f, " 3073 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.pressure, "Pressure"); 3318 } else if (mRawPointerAxes.pressure.valid 3319 && mRawPointerAxes.pressure 4128 float pressure = mExternalStylusState.pressure; local 4613 float pressure; local 6654 int32_t pressure = mSingleTouchMotionAccumulator.getAbsolutePressure(); local [all...] |
H A D | InputReader.h | 381 float pressure; member in struct:android::StylusState 389 pressure = other.pressure; 396 pressure = 0.f; 791 RawAbsoluteAxisInfo pressure; member in struct:android::RawPointerAxes 814 int32_t pressure; member in struct:android::RawPointerData::Pointer 1552 InputDeviceInfo::MotionRange pressure; member in struct:android::TouchInputMapper::OrientedRanges
|
/frameworks/native/services/inputflinger/tests/ |
H A D | InputReader_test.cpp | 1461 float x, float y, float pressure, float size, 1466 ASSERT_NEAR(pressure, coords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), EPSILON); 2595 void processPressure(SingleTouchInputMapper* mapper, int32_t pressure); 2650 SingleTouchInputMapper* mapper, int32_t pressure) { 2651 process(mapper, ARBITRARY_TIME, DEVICE_ID, EV_ABS, ABS_PRESSURE, pressure); 3237 float pressure = float(rawPressure) / RAW_PRESSURE_MAX; local 3259 x, y, pressure, size, tool, tool, tool, tool, orientation, distance)); 3595 // initially hovering because BTN_TOUCH not sent yet, pressure defaults to 0 3617 // down when BTN_TOUCH is pressed, pressure defaults to 1 3667 // initially hovering because pressure i 1460 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 2649 processPressure( SingleTouchInputMapper* mapper, int32_t pressure) argument 3833 processPressure( MultiTouchInputMapper* mapper, int32_t pressure) argument 4517 float pressure = float(rawPressure) / RAW_PRESSURE_MAX; local 4687 float pressure = float(rawPressure) * 0.01f; local [all...] |
/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
|