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

12

/frameworks/native/services/vr/virtual_touchpad/
H A DDvrVirtualTouchpadClient.cpp34 float y, float pressure) {
35 return FromC(client)->Touch(touchpad, x, y, pressure);
33 dvrVirtualTouchpadTouch(DvrVirtualTouchpad* client, int touchpad, float x, float y, float pressure) argument
H A DVirtualTouchpadClient.cpp49 status_t Touch(int touchpad, float x, float y, float pressure) override {
53 return service_->touch(touchpad, x, y, pressure).transactionError();
H A DVirtualTouchpadService.h24 binder::Status touch(int touchpad, float x, float y, float pressure) override;
H A DVirtualTouchpadEvdev.h22 status_t Touch(int touchpad, float x, float y, float pressure) override;
H A DVirtualTouchpadService.cpp70 float pressure) {
74 if (const status_t error = touchpad_->Touch(touchpad, x, y, pressure)) {
69 touch(int touchpad, float x, float y, float pressure) argument
H A DVirtualTouchpadEvdev.cpp93 float pressure) {
100 touchpad.touches = ((touchpad.touches & 1) << 1) | (pressure > 0);
101 ALOGV("(%f,%f) %f -> (%" PRId32 ",%" PRId32 ") %d", x, y, pressure, device_x,
92 Touch(int touchpad_id, float x, float y, float pressure) argument
/frameworks/native/services/vr/virtual_touchpad/include/dvr/
H A Dvirtual_touchpad_client.h48 // @param pressure Touch pressure; use 0.0 for no touch (lift or hover).
52 float y, float pressure);
/frameworks/native/services/vr/virtual_touchpad/include/
H A DVirtualTouchpadClient.h18 status_t Touch(int touchpad, float x, float y, float pressure) override;
H A DVirtualTouchpad.h46 // @param pressure Touch pressure.
51 virtual status_t Touch(int touchpad, float x, float y, float pressure) = 0;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A Dtouch_analytics.proto46 optional float pressure = 4;
/frameworks/base/core/java/android/view/
H A DMotionEvent.java45 * information about the pressure, size and orientation of the contact area.
568 * <li>For a touch screen or touch pad, reports the approximate pressure applied to the surface
570 * 0 (no pressure at all) to 1 (normal pressure), although values higher than 1
581 * @see MotionEvent.PointerCoords#pressure
1700 * @param pressure The current pressure of this event. The pressure generally
1701 * ranges from 0 (no pressure at all) to 1 (normal pressure), howeve
1718 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
1778 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
2993 addBatch(long eventTime, float x, float y, float pressure, float size, int metaState) argument
3521 public float pressure; field in class:MotionEvent.PointerCoords
[all...]
/frameworks/base/core/tests/coretests/src/android/view/
H A DPinchZoomAction.java74 pc1.pressure = 1;
79 pc2.pressure = 1;
/frameworks/rs/tests/java_api/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/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiObject.java1030 p1.pressure = 1;
1037 p2.pressure = 1;
1051 p1.pressure = 1;
1058 p2.pressure = 1;
1077 * p.pressure = 1;
/frameworks/native/include/android/
H A Dsensor.h116 * The pressure sensor value is returned in hPa (millibar).
369 float pressure; member in union:ASensorEvent::__anon1423::__anon1424
/frameworks/native/include_sensor/android/
H A Dsensor.h116 * The pressure sensor value is returned in hPa (millibar).
369 float pressure; member in union:ASensorEvent::__anon1533::__anon1534
/frameworks/rs/tests/java_api/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/tests/java_api/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/tests/java_api/RsTest_16/src/com/android/rs/test/
H A DRSTestCore.java186 public void newTouchPosition(float x, float y, float pressure, int id) { argument
/frameworks/native/services/inputflinger/
H A DInputReader.cpp80 // Maximum amount of time to wait on touch data before pushing out new pressure data.
1648 pressure.clear();
2065 dump += StringPrintf(INDENT4 "Pressure: %f\n", state.pressure);
3108 info->addMotionRange(mOrientedRanges.pressure);
3192 dump += StringPrintf(INDENT4 "[%d]: id=%d, x=%d, y=%d, pressure=%d, "
3196 pointer.id, pointer.x, pointer.y, pointer.pressure,
3210 dump += StringPrintf(INDENT4 "[%d]: id=%d, x=%0.3f, y=%0.3f, pressure=%0.3f, "
3457 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.pressure, "Pressure");
3717 pressureMax = mPressureScale * mRawPointerAxes.pressure.maxValue;
3718 } else if (mRawPointerAxes.pressure
4530 float pressure = mExternalStylusState.pressure; local
5027 float pressure; local
7071 int32_t pressure = mSingleTouchMotionAccumulator.getAbsolutePressure(); local
[all...]
H A DInputReader.h345 float pressure; member in struct:android::StylusState
353 pressure = other.pressure;
360 pressure = 0.f;
763 RawAbsoluteAxisInfo pressure; member in struct:android::RawPointerAxes
786 int32_t pressure; member in struct:android::RawPointerData::Pointer
1560 InputDeviceInfo::MotionRange pressure; member in struct:android::TouchInputMapper::OrientedRanges
/frameworks/base/cmds/input/src/com/android/commands/input/
H A DInput.java259 * Sends a simple zero-pressure move event.
296 * @param pressure pressure of event
298 private void injectMotionEvent(int inputSource, int action, long when, float x, float y, float pressure) { argument
304 MotionEvent event = MotionEvent.obtain(when, when, action, x, y, pressure, DEFAULT_SIZE,
/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java279 canvas.drawRect(itemW * 5, 0, (itemW * 5) + (ps.mCoords.pressure * itemW) - 1,
282 .append("Prs: ").append(ps.mCoords.pressure, 2)
366 int pressureLevel = (int)(ps.mCoords.pressure * 255);
501 .append(") Pressure=").append(coords.pressure, 3)
/frameworks/base/core/jni/
H A Dandroid_view_MotionEvent.cpp52 jfieldID pressure; member in struct:android::__anon906
202 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.pressure));
264 env->SetFloatField(outPointerCoordsObj, gPointerCoordsClassInfo.pressure,
892 gPointerCoordsClassInfo.pressure = GetFieldIDOrDie(env, clazz, "pressure", "F");
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DMotionEventInjector.java459 sPointerCoords[i].pressure = 1.0f;

Completed in 448 milliseconds

12