/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/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/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/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
H A D | BallsRS.java | 143 public void newTouchPosition(float x, float y, float pressure, int id) { argument 144 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. 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/native/include/android/ |
H A D | sensor.h | 165 float pressure; member in union:ASensorEvent::__anon1213::__anon1214
|
/frameworks/base/core/jni/ |
H A D | android_view_MotionEvent.cpp | 50 jfieldID pressure; member in struct:android::__anon865 200 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.pressure)); 262 env->SetFloatField(outPointerCoordsObj, gPointerCoordsClassInfo.pressure, 898 GET_FIELD_ID(gPointerCoordsClassInfo.pressure, clazz, 899 "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. 495 * <li>For a touch screen or touch pad, reports the approximate pressure applied to the surface 497 * 0 (no pressure at all) to 1 (normal pressure), although values higher than 1 508 * @see MotionEvent.PointerCoords#pressure 1523 * @param pressure The current pressure of this event. The pressure generally 1524 * ranges from 0 (no pressure at all) to 1 (normal pressure), howeve 1541 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 1601 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 2766 addBatch(long eventTime, float x, float y, float pressure, float size, int metaState) argument 3276 public float pressure; field in class:MotionEvent.PointerCoords [all...] |
/frameworks/native/services/inputflinger/tests/ |
H A D | InputReader_test.cpp | 1457 float x, float y, float pressure, float size, 1462 ASSERT_NEAR(pressure, coords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), EPSILON); 2591 void processPressure(SingleTouchInputMapper* mapper, int32_t pressure); 2646 SingleTouchInputMapper* mapper, int32_t pressure) { 2647 process(mapper, ARBITRARY_TIME, DEVICE_ID, EV_ABS, ABS_PRESSURE, pressure); 3233 float pressure = float(rawPressure) / RAW_PRESSURE_MAX; local 3255 x, y, pressure, size, tool, tool, tool, tool, orientation, distance)); 3591 // initially hovering because BTN_TOUCH not sent yet, pressure defaults to 0 3613 // down when BTN_TOUCH is pressed, pressure defaults to 1 3663 // initially hovering because pressure i 1456 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 2645 processPressure( SingleTouchInputMapper* mapper, int32_t pressure) argument 3829 processPressure( MultiTouchInputMapper* mapper, int32_t pressure) argument 4513 float pressure = float(rawPressure) / RAW_PRESSURE_MAX; local 4683 float pressure = float(rawPressure) * 0.01f; local [all...] |
/frameworks/native/services/inputflinger/ |
H A D | InputReader.cpp | 1412 pressure.clear(); 2613 info->addMotionRange(mOrientedRanges.pressure); 2698 dump.appendFormat(INDENT4 "[%d]: id=%d, x=%d, y=%d, pressure=%d, " 2702 pointer.id, pointer.x, pointer.y, pointer.pressure, 2714 dump.appendFormat(INDENT4 "[%d]: id=%d, x=%0.3f, y=%0.3f, pressure=%0.3f, " 2921 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.pressure, "Pressure"); 3157 } else if (mRawPointerAxes.pressure.valid 3158 && mRawPointerAxes.pressure.maxValue != 0) { 3159 mPressureScale = 1.0f / mRawPointerAxes.pressure.maxValue; 3163 mOrientedRanges.pressure 4229 float pressure; local [all...] |
H A D | InputReader.h | 748 RawAbsoluteAxisInfo pressure; member in struct:android::RawPointerAxes 771 int32_t pressure; member in struct:android::RawPointerData::Pointer 1437 InputDeviceInfo::MotionRange pressure; member in struct:android::TouchInputMapper::OrientedRanges
|