/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/base/packages/EasterEgg/src/com/android/egg/paint/ |
D | SpotFilter.kt | 50 var pressure = 0f in filterInto() variable 56 pressure += pi.pressure * wi_press in filterInto() 73 out.pressure = pressure / w_press in filterInto()
|
/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/cmds/input/src/com/android/commands/input/ |
D | Input.java | 322 final float pressure; in sendMotionEvent() local 327 pressure = DEFAULT_PRESSURE; in sendMotionEvent() 331 pressure = NO_PRESSURE; in sendMotionEvent() 335 pressure = DEFAULT_PRESSURE; in sendMotionEvent() 342 injectMotionEvent(inputSource, action, now, now, x, y, pressure, displayId); in sendMotionEvent() 383 float x, float y, float pressure, int displayId) { in injectMotionEvent() argument 389 MotionEvent event = MotionEvent.obtain(downTime, when, action, x, y, pressure, DEFAULT_SIZE, in injectMotionEvent()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | PlatLogoActivity.java | 197 final float pressure = event.getPressure(); in measureTouchPressure() local 201 mPressureMin = mPressureMax = pressure; in measureTouchPressure() 205 if (pressure < mPressureMin) mPressureMin = pressure; in measureTouchPressure() 206 if (pressure > mPressureMax) mPressureMax = pressure; in measureTouchPressure()
|
/frameworks/base/core/java/android/view/ |
D | MotionEvent.java | 1822 float x, float y, float pressure, float size, int metaState, in obtain() argument 1824 return obtain(downTime, eventTime, action, x, y, pressure, size, metaState, in obtain() 1862 float x, float y, float pressure, float size, int metaState, in obtain() argument 1876 pc[0].pressure = pressure; in obtain() 1924 int pointerCount, float x, float y, float pressure, float size, int metaState, in obtain() argument 1926 return obtain(downTime, eventTime, action, x, y, pressure, size, in obtain() 3200 float pressure, float size, int metaState) { in addBatch() argument 3207 pc[0].pressure = pressure; in addBatch() 3759 public float pressure; field in MotionEvent.PointerCoords 3840 pressure = 0; in clear() [all …]
|
/frameworks/native/services/vr/virtual_touchpad/aidl/android/dvr/ |
D | IVirtualTouchpadService.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 | 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 | 73 pc1.pressure = 1; in sendPinchZoomAction() 78 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 | 1594 pressure.clear(); in clear() 2011 dump += StringPrintf(INDENT4 "Pressure: %f\n", state.pressure); in dumpStylusState() 3079 info->addMotionRange(mOrientedRanges.pressure); in populateDeviceInfo() 3167 pointer.id, pointer.x, pointer.y, pointer.pressure, in dump() 3433 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.pressure, "Pressure"); in dumpRawPointerAxes() 3745 pressureMax = mPressureScale * mRawPointerAxes.pressure.maxValue; in configureSurface() 3746 } else if (mRawPointerAxes.pressure.valid in configureSurface() 3747 && mRawPointerAxes.pressure.maxValue != 0) { in configureSurface() 3748 mPressureScale = 1.0f / mRawPointerAxes.pressure.maxValue; in configureSurface() 3752 mOrientedRanges.pressure.axis = AMOTION_EVENT_AXIS_PRESSURE; in configureSurface() [all …]
|
D | InputReader.h | 51 float pressure; member 59 pressure = other.pressure; in copyFrom() 66 pressure = 0.f; in clear() 468 RawAbsoluteAxisInfo pressure; member 493 int32_t pressure; member 1344 InputDeviceInfo::MotionRange pressure; member
|
/frameworks/base/core/proto/android/service/ |
D | procstats_enum.proto | 32 MEMORY_STATE_MODERATE = 2; // moderate memory pressure.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | touch_analytics.proto | 46 optional float pressure = 4; field
|
/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/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() 917 gPointerCoordsClassInfo.pressure = GetFieldIDOrDie(env, clazz, "pressure", "F"); in register_android_view_MotionEvent()
|
/frameworks/native/include_sensor/android/ |
D | sensor.h | 444 float pressure; member
|