Searched refs:pressure (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/tests/RenderScriptTests/Fountain/src/com/example/android/rs/fountain/
H A DFountainRS.java56 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 DFountainRS.java56 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 DFountainFboRS.java82 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 DBallsRS.java143 public void newTouchPosition(float x, float y, float pressure, int id) { argument
144 mPhysicsScript.invoke_touch(x, y, pressure * mRS.getWidth() / 1280, id);
/frameworks/base/core/java/android/view/
H A DMotionEvent.java39 * information about the pressure, size and orientation of the contact area.
477 * <li>For a touch screen or touch pad, reports the approximate pressure applied to the surface
479 * 0 (no pressure at all) to 1 (normal pressure), although values higher than 1
490 * @see MotionEvent.PointerCoords#pressure
1502 * @param pressure The current pressure of this event. The pressure generally
1503 * ranges from 0 (no pressure at all) to 1 (normal pressure), howeve
1520 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
1580 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
2731 addBatch(long eventTime, float x, float y, float pressure, float size, int metaState) argument
3221 public float pressure; field in class:MotionEvent.PointerCoords
[all...]
/frameworks/native/include/android/
H A Dsensor.h149 float pressure; member in union:ASensorEvent::__anon1364::__anon1365
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
H A DRSTestCore.java182 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 DRSTestCore.java186 public void newTouchPosition(float x, float y, float pressure, int id) { argument
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiObject.java1023 p1.pressure = 1;
1030 p2.pressure = 1;
1044 p1.pressure = 1;
1051 p2.pressure = 1;
1070 * p.pressure = 1;
/frameworks/uiautomator/core/com/android/uiautomator/core/
H A DUiObject.java1023 p1.pressure = 1;
1030 p2.pressure = 1;
1044 p1.pressure = 1;
1051 p2.pressure = 1;
1070 * p.pressure = 1;
/frameworks/base/cmds/input/src/com/android/commands/input/
H A DInput.java220 * 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/core/java/com/android/internal/widget/
H A DPointerLocationView.java276 canvas.drawRect(itemW * 5, 0, (itemW * 5) + (ps.mCoords.pressure * itemW) - 1,
279 .append("Prs: ").append(ps.mCoords.pressure, 2)
363 int pressureLevel = (int)(ps.mCoords.pressure * 255);
498 .append(") Pressure=").append(coords.pressure, 3)
/frameworks/base/core/jni/
H A Dandroid_view_MotionEvent.cpp49 jfieldID pressure; member in struct:android::__anon1039
199 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.pressure));
262 env->SetFloatField(outPointerCoordsObj, gPointerCoordsClassInfo.pressure,
887 GET_FIELD_ID(gPointerCoordsClassInfo.pressure, clazz,
888 "pressure", "F");
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DRSTestCore.java214 public void newTouchPosition(float x, float y, float pressure, int id) { argument
/frameworks/base/services/input/
H A DInputReader.cpp1401 pressure.clear();
2588 info->addMotionRange(mOrientedRanges.pressure);
2672 dump.appendFormat(INDENT4 "[%d]: id=%d, x=%d, y=%d, pressure=%d, "
2676 pointer.id, pointer.x, pointer.y, pointer.pressure,
2688 dump.appendFormat(INDENT4 "[%d]: id=%d, x=%0.3f, y=%0.3f, pressure=%0.3f, "
2883 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.pressure, "Pressure");
3121 } else if (mRawPointerAxes.pressure.valid
3122 && mRawPointerAxes.pressure.maxValue != 0) {
3123 mPressureScale = 1.0f / mRawPointerAxes.pressure.maxValue;
3127 mOrientedRanges.pressure
4178 float pressure; local
[all...]
H A DInputReader.h715 RawAbsoluteAxisInfo pressure; member in struct:android::RawPointerAxes
738 int32_t pressure; member in struct:android::RawPointerData::Pointer
1395 InputDeviceInfo::MotionRange pressure; member in struct:android::TouchInputMapper::OrientedRanges
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp1447 float x, float y, float pressure, float size,
1452 ASSERT_NEAR(pressure, coords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), EPSILON);
2561 void processPressure(SingleTouchInputMapper* mapper, int32_t pressure);
2616 SingleTouchInputMapper* mapper, int32_t pressure) {
2617 process(mapper, ARBITRARY_TIME, DEVICE_ID, EV_ABS, ABS_PRESSURE, pressure);
3203 float pressure = float(rawPressure) / RAW_PRESSURE_MAX; local
3225 x, y, pressure, size, tool, tool, tool, tool, orientation, distance));
3537 // initially hovering because BTN_TOUCH not sent yet, pressure defaults to 0
3559 // down when BTN_TOUCH is pressed, pressure defaults to 1
3609 // initially hovering because pressure i
1446 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
2615 processPressure( SingleTouchInputMapper* mapper, int32_t pressure) argument
3775 processPressure( MultiTouchInputMapper* mapper, int32_t pressure) argument
4459 float pressure = float(rawPressure) / RAW_PRESSURE_MAX; local
4629 float pressure = float(rawPressure) * 0.01f; local
[all...]

Completed in 414 milliseconds