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

12

/frameworks/native/services/vr/virtual_touchpad/include/dvr/
H A Dvirtual_touchpad_client.h51 // @param pressure Touch pressure; use 0.0 for no touch (lift or hover).
55 float y, float pressure);
/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 DVirtualTouchpadEvdev.h22 status_t Touch(int touchpad, float x, float y, float pressure) override;
H A DVirtualTouchpadService.h24 binder::Status 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.cpp85 float pressure) {
95 touchpad.touches = ((touchpad.touches & 1) << 1) | (pressure > 0);
96 ALOGV("(%f,%f) %f -> (%" PRId32 ",%" PRId32 ") %d", x, y, pressure, device_x,
84 Touch(int touchpad_id, float x, float y, float pressure) argument
/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.java43 * information about the pressure, size and orientation of the contact area.
564 * <li>For a touch screen or touch pad, reports the approximate pressure applied to the surface
566 * 0 (no pressure at all) to 1 (normal pressure), although values higher than 1
577 * @see MotionEvent.PointerCoords#pressure
1696 * @param pressure The current pressure of this event. The pressure generally
1697 * ranges from 0 (no pressure at all) to 1 (normal pressure), howeve
1714 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
1774 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
2989 addBatch(long eventTime, float x, float y, float pressure, float size, int metaState) argument
3506 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.h277 float pressure; member in union:ASensorEvent::__anon1531::__anon1532
/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.cpp77 // Maximum amount of time to wait on touch data before pushing out new pressure data.
1580 pressure.clear();
1994 dump.appendFormat(INDENT4 "Pressure: %f\n", state.pressure);
2979 info->addMotionRange(mOrientedRanges.pressure);
3063 dump.appendFormat(INDENT4 "[%d]: id=%d, x=%d, y=%d, pressure=%d, "
3067 pointer.id, pointer.x, pointer.y, pointer.pressure,
3081 dump.appendFormat(INDENT4 "[%d]: id=%d, x=%0.3f, y=%0.3f, pressure=%0.3f, "
3328 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.pressure, "Pressure");
3587 } else if (mRawPointerAxes.pressure.valid
3588 && mRawPointerAxes.pressure
4399 float pressure = mExternalStylusState.pressure; local
4884 float pressure; local
6929 int32_t pressure = mSingleTouchMotionAccumulator.getAbsolutePressure(); local
[all...]
H A DInputReader.h334 float pressure; member in struct:android::StylusState
342 pressure = other.pressure;
349 pressure = 0.f;
747 RawAbsoluteAxisInfo pressure; member in struct:android::RawPointerAxes
770 int32_t pressure; member in struct:android::RawPointerData::Pointer
1534 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.java278 canvas.drawRect(itemW * 5, 0, (itemW * 5) + (ps.mCoords.pressure * itemW) - 1,
281 .append("Prs: ").append(ps.mCoords.pressure, 2)
365 int pressureLevel = (int)(ps.mCoords.pressure * 255);
500 .append(") Pressure=").append(coords.pressure, 3)
/frameworks/base/core/jni/
H A Dandroid_view_MotionEvent.cpp52 jfieldID pressure; member in struct:android::__anon1132
202 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.pressure));
264 env->SetFloatField(outPointerCoordsObj, gPointerCoordsClassInfo.pressure,
890 gPointerCoordsClassInfo.pressure = GetFieldIDOrDie(env, clazz, "pressure", "F");
/frameworks/native/libs/vr/libdvr/include/dvr/
H A Ddvr_api.h193 float pressure);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DMotionEventInjector.java472 sPointerCoords[i].pressure = 1.0f;

Completed in 6346 milliseconds

12