/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 | 85 float pressure) { in Touch() argument 95 touchpad.touches = ((touchpad.touches & 1) << 1) | (pressure > 0); in Touch() 96 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 | 1715 float x, float y, float pressure, float size, int metaState, in obtain() argument 1728 pc[0].pressure = pressure; in obtain() 1775 int pointerCount, float x, float y, float pressure, float size, int metaState, in obtain() argument 1777 return obtain(downTime, eventTime, action, x, y, pressure, size, in obtain() 2990 float pressure, float size, int metaState) { in addBatch() argument 2997 pc[0].pressure = pressure; in addBatch() 3506 public float pressure; field in MotionEvent.PointerCoords 3587 pressure = 0; in clear() 3617 pressure = other.pressure; in copyFrom() 3642 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 | 55 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/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/base/core/tests/coretests/src/android/view/ |
D | PinchZoomAction.java | 74 pc1.pressure = 1; in sendPinchZoomAction() 79 pc2.pressure = 1; in sendPinchZoomAction()
|
/frameworks/native/services/inputflinger/ |
D | InputReader.cpp | 1580 pressure.clear(); in clear() 1994 dump.appendFormat(INDENT4 "Pressure: %f\n", state.pressure); in dumpStylusState() 2979 info->addMotionRange(mOrientedRanges.pressure); in populateDeviceInfo() 3067 pointer.id, pointer.x, pointer.y, pointer.pressure, in dump() 3328 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.pressure, "Pressure"); in dumpRawPointerAxes() 3587 } else if (mRawPointerAxes.pressure.valid in configureSurface() 3588 && mRawPointerAxes.pressure.maxValue != 0) { in configureSurface() 3589 mPressureScale = 1.0f / mRawPointerAxes.pressure.maxValue; in configureSurface() 3593 mOrientedRanges.pressure.axis = AMOTION_EVENT_AXIS_PRESSURE; in configureSurface() 3594 mOrientedRanges.pressure.source = mSource; in configureSurface() [all …]
|
D | InputReader.h | 334 float pressure; member 342 pressure = other.pressure; in copyFrom() 349 pressure = 0.f; in clear() 747 RawAbsoluteAxisInfo pressure; member 770 int32_t pressure; member 1534 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() 890 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 | 277 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/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
D | RSTestCore.java | 186 public void newTouchPosition(float x, float y, float pressure, int id) { in newTouchPosition() argument
|
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/ |
D | RSTestCore.java | 186 public void newTouchPosition(float x, float y, float pressure, int id) { in newTouchPosition() argument
|