Searched defs:pressure (Results 1 - 14 of 14) 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.java149 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 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/rs/java/tests/RsTest_16/src/com/android/rs/test/
H A DRSTestCore.java186 public void newTouchPosition(float x, float y, float pressure, int id) { argument
/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/native/include/android/
H A Dsensor.h165 float pressure; member in union:ASensorEvent::__anon1273::__anon1274
/frameworks/base/core/jni/
H A Dandroid_view_MotionEvent.cpp52 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/core/java/android/view/
H A DMotionEvent.java39 * 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/native/services/inputflinger/tests/
H A DInputReader_test.cpp1461 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/native/services/inputflinger/
H A DInputReader.cpp76 // 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 DInputReader.h381 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

Completed in 335 milliseconds