/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/ |
D | ball_physics.rs | 21 void touch(float x, float y, float pressure, int id) { 28 touchPressure[id] = pressure; 33 float pressure = 0; 67 pressure += f; 82 pressure += length(pfv); 140 pressure *= 12.f; 141 ball->pressure = pressure; 146 color.r = pow(pressure, 0.25f) / 12.f; 148 color.g = sin(pressure / 1500.f * 3.14f);
|
D | balls.rsh | 6 float pressure;
|
D | BallsRS.java | 149 public void newTouchPosition(float x, float y, float pressure, int id) { in newTouchPosition() argument 150 mPhysicsScript.invoke_touch(x, y, pressure * mRS.getWidth() / 1280, id); in newTouchPosition()
|
/frameworks/native/services/vr/virtual_touchpad/ |
D | DvrVirtualTouchpadClient.cpp | 34 float y, float pressure) { in dvrVirtualTouchpadTouch() argument 35 return FromC(client)->Touch(touchpad, x, y, pressure); in dvrVirtualTouchpadTouch()
|
D | VirtualTouchpadClient.cpp | 49 status_t Touch(int touchpad, float x, float y, float pressure) override { in Touch() argument 53 return service_->touch(touchpad, x, y, pressure).transactionError(); in Touch()
|
D | VirtualTouchpadEvdev.cpp | 93 float pressure) { in Touch() argument 100 touchpad.touches = ((touchpad.touches & 1) << 1) | (pressure > 0); in Touch() 101 ALOGV("(%f,%f) %f -> (%" PRId32 ",%" PRId32 ") %d", x, y, pressure, device_x, in Touch()
|
D | VirtualTouchpadService.cpp | 70 float pressure) { in touch() argument 74 if (const status_t error = touchpad_->Touch(touchpad, x, y, pressure)) { in touch()
|
D | VirtualTouchpadService.h | 24 binder::Status touch(int touchpad, float x, float y, float pressure) override;
|
D | VirtualTouchpadEvdev.h | 22 status_t Touch(int touchpad, float x, float y, float pressure) override;
|
/frameworks/base/core/java/android/view/ |
D | MotionEvent.java | 1719 float x, float y, float pressure, float size, int metaState, in obtain() argument 1732 pc[0].pressure = pressure; in obtain() 1779 int pointerCount, float x, float y, float pressure, float size, int metaState, in obtain() argument 1781 return obtain(downTime, eventTime, action, x, y, pressure, size, in obtain() 2994 float pressure, float size, int metaState) { in addBatch() argument 3001 pc[0].pressure = pressure; in addBatch() 3521 public float pressure; field in MotionEvent.PointerCoords 3602 pressure = 0; in clear() 3632 pressure = other.pressure; in copyFrom() 3657 return pressure; in getAxisValue() [all …]
|
/frameworks/native/services/vr/virtual_touchpad/aidl/android/dvr/ |
D | VirtualTouchpadService.aidl | 28 void touch(int touchpad, float x, float y, float pressure) = 2; in touch() argument
|
/frameworks/native/services/vr/virtual_touchpad/include/dvr/ |
D | virtual_touchpad_client.h | 52 float y, float pressure);
|
/frameworks/native/services/vr/virtual_touchpad/include/ |
D | VirtualTouchpadClient.h | 18 status_t Touch(int touchpad, float x, float y, float pressure) override;
|
D | VirtualTouchpad.h | 51 virtual status_t Touch(int touchpad, float x, float y, float pressure) = 0;
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | PinchZoomAction.java | 74 pc1.pressure = 1; in sendPinchZoomAction() 79 pc2.pressure = 1; in sendPinchZoomAction()
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiObject.java | 1030 p1.pressure = 1; in performTwoPointerGesture() 1037 p2.pressure = 1; in performTwoPointerGesture() 1051 p1.pressure = 1; in performTwoPointerGesture() 1058 p2.pressure = 1; in performTwoPointerGesture()
|
/frameworks/native/services/inputflinger/ |
D | InputReader.cpp | 1648 pressure.clear(); in clear() 2065 dump += StringPrintf(INDENT4 "Pressure: %f\n", state.pressure); in dumpStylusState() 3108 info->addMotionRange(mOrientedRanges.pressure); in populateDeviceInfo() 3196 pointer.id, pointer.x, pointer.y, pointer.pressure, in dump() 3457 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.pressure, "Pressure"); in dumpRawPointerAxes() 3717 pressureMax = mPressureScale * mRawPointerAxes.pressure.maxValue; in configureSurface() 3718 } else if (mRawPointerAxes.pressure.valid in configureSurface() 3719 && mRawPointerAxes.pressure.maxValue != 0) { in configureSurface() 3720 mPressureScale = 1.0f / mRawPointerAxes.pressure.maxValue; in configureSurface() 3724 mOrientedRanges.pressure.axis = AMOTION_EVENT_AXIS_PRESSURE; in configureSurface() [all …]
|
D | InputReader.h | 345 float pressure; member 353 pressure = other.pressure; in copyFrom() 360 pressure = 0.f; in clear() 763 RawAbsoluteAxisInfo pressure; member 786 int32_t pressure; member 1560 InputDeviceInfo::MotionRange pressure; member
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
D | Input.java | 298 … void injectMotionEvent(int inputSource, int action, long when, float x, float y, float pressure) { in injectMotionEvent() argument 304 MotionEvent event = MotionEvent.obtain(when, when, action, x, y, pressure, DEFAULT_SIZE, in injectMotionEvent()
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 52 jfieldID pressure; member 202 env->GetFloatField(pointerCoordsObj, gPointerCoordsClassInfo.pressure)); in pointerCoordsToNative() 264 env->SetFloatField(outPointerCoordsObj, gPointerCoordsClassInfo.pressure, in pointerCoordsFromNative() 892 gPointerCoordsClassInfo.pressure = GetFieldIDOrDie(env, clazz, "pressure", "F"); in register_android_view_MotionEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | touch_analytics.proto | 46 optional float pressure = 4; field
|
/frameworks/native/include/android/ |
D | sensor.h | 369 float pressure; member
|
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
D | RSTestCore.java | 182 public void newTouchPosition(float x, float y, float pressure, int id) { in newTouchPosition() argument
|
/frameworks/native/include_sensor/android/ |
D | sensor.h | 369 float pressure; member
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 279 canvas.drawRect(itemW * 5, 0, (itemW * 5) + (ps.mCoords.pressure * itemW) - 1, in onDraw() 282 .append("Prs: ").append(ps.mCoords.pressure, 2) in onDraw() 366 int pressureLevel = (int)(ps.mCoords.pressure * 255); in onDraw() 501 .append(") Pressure=").append(coords.pressure, 3) in logCoords()
|