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

/frameworks/base/native/include/android/
H A Dsensor.h124 float pressure; member in union:ASensorEvent::__anon990
/frameworks/base/core/java/android/view/
H A DMotionEvent.java39 * information about the pressure, size and orientation of the contact area.
478 * <li>For a touch screen or touch pad, reports the approximate pressure applied to the surface
480 * 0 (no pressure at all) to 1 (normal pressure), although values higher than 1
491 * @see MotionEvent.PointerCoords#pressure
1506 * @param pressure The current pressure of this event. The pressure generally
1507 * ranges from 0 (no pressure at all) to 1 (normal pressure), howeve
1524 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
1584 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
2692 addBatch(long eventTime, float x, float y, float pressure, float size, int metaState) argument
3121 public float pressure; field in class:MotionEvent.PointerCoords
[all...]
/frameworks/base/cmds/input/src/com/android/commands/input/
H A DInput.java136 float pressure, float size) {
135 sendMotionEvent(long downTime, int action, float x, float y, float pressure, float size) argument
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
H A DRSTestCore.java186 public void newTouchPosition(float x, float y, float pressure, int id) { argument
/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java247 canvas.drawRect(itemW * 5, 0, (itemW * 5) + (ps.mCoords.pressure * itemW) - 1,
250 .append("Prs: ").append(ps.mCoords.pressure, 2)
314 int pressureLevel = (int)(ps.mCoords.pressure * 255);
444 .append(") Pressure=").append(coords.pressure, 3)
/frameworks/base/core/jni/
H A Dandroid_view_MotionEvent.cpp49 jfieldID pressure; member in struct:android::__anon49
199 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.pressure));
262 env->SetFloatField(outPointerCoordsObj, gPointerCoordsClassInfo.pressure,
876 GET_FIELD_ID(gPointerCoordsClassInfo.pressure, clazz,
877 "pressure", "F");
/frameworks/base/services/input/
H A DInputReader.cpp1343 pressure.clear();
2347 info->addMotionRange(mOrientedRanges.pressure);
2415 dump.appendFormat(INDENT4 "[%d]: id=%d, x=%d, y=%d, pressure=%d, "
2419 pointer.id, pointer.x, pointer.y, pointer.pressure,
2431 dump.appendFormat(INDENT4 "[%d]: id=%d, x=%0.3f, y=%0.3f, pressure=%0.3f, "
2617 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.pressure, "Pressure");
2787 } else if (mRawPointerAxes.pressure.valid
2788 && mRawPointerAxes.pressure.maxValue != 0) {
2789 mPressureScale = 1.0f / mRawPointerAxes.pressure.maxValue;
2793 mOrientedRanges.pressure
3800 float pressure; local
[all...]
H A DInputReader.h620 RawAbsoluteAxisInfo pressure; member in struct:android::RawPointerAxes
643 int32_t pressure; member in struct:android::RawPointerData::Pointer
1230 InputDeviceInfo::MotionRange pressure; member in struct:android::TouchInputMapper::OrientedRanges
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp1470 float x, float y, float pressure, float size,
1475 ASSERT_NEAR(pressure, coords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), EPSILON);
2489 void processPressure(SingleTouchInputMapper* mapper, int32_t pressure);
2544 SingleTouchInputMapper* mapper, int32_t pressure) {
2545 process(mapper, ARBITRARY_TIME, DEVICE_ID, EV_ABS, ABS_PRESSURE, 0, pressure, 0);
3131 float pressure = float(rawPressure) / RAW_PRESSURE_MAX; local
3153 x, y, pressure, size, tool, tool, tool, tool, orientation, distance));
3465 // initially hovering because BTN_TOUCH not sent yet, pressure defaults to 0
3487 // down when BTN_TOUCH is pressed, pressure defaults to 1
3537 // initially hovering because pressure i
1469 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
2543 processPressure( SingleTouchInputMapper* mapper, int32_t pressure) argument
3703 processPressure( MultiTouchInputMapper* mapper, int32_t pressure) argument
4387 float pressure = float(rawPressure) / RAW_PRESSURE_MAX; local
4557 float pressure = float(rawPressure) * 0.01f; local
[all...]

Completed in 172 milliseconds