/frameworks/rs/java/tests/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/core/java/android/view/ |
D | MotionEvent.java | 1650 float x, float y, float pressure, float size, int metaState, in obtain() argument 1663 pc[0].pressure = pressure; in obtain() 1710 int pointerCount, float x, float y, float pressure, float size, int metaState, in obtain() argument 1712 return obtain(downTime, eventTime, action, x, y, pressure, size, in obtain() 2909 float pressure, float size, int metaState) { in addBatch() argument 2916 pc[0].pressure = pressure; in addBatch() 3425 public float pressure; field in MotionEvent.PointerCoords 3506 pressure = 0; in clear() 3536 pressure = other.pressure; in copyFrom() 3561 return pressure; in getAxisValue() [all …]
|
/frameworks/base/docs/html/guide/topics/sensors/ |
D | sensors_environment.jd | 37 You can use these sensors to monitor relative ambient humidity, illuminance, ambient pressure, and 47 value for each data event. For example, the temperature in °C or the pressure in hPa. 77 <td>Ambient air pressure.</td> 98 <p>The raw data you acquire from the light, pressure, and temperature sensors usually requires no 159 the light, pressure, and temperature sensors. However, if a device has both a humidity sensor 167 barometric pressure, for water vapor to condense into water. The following equation shows how you
|
D | sensors_overview.jd | 73 and pressure, illumination, and humidity. This category includes barometers, photometers, and 185 <td>Measures the ambient air pressure in hPa or mbar.</td> 186 <td>Monitoring air pressure changes.</td> 629 of sensors in a wide range of configurations. For example, the Motorola Xoom has a pressure sensor, 646 pressure sensor, GPS sensor, and geomagnetic field sensor to display the temperature, barometric 647 pressure, location, and compass bearing. If a device doesn't have a pressure sensor, you can use the 648 sensor framework to detect the absence of the pressure sensor at runtime and then disable the 649 portion of your application's UI that displays pressure. For example, the following code checks 650 whether there's a pressure sensor on a device:</p> 656 // Success! There's a pressure sensor. [all …]
|
/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 | 1529 pressure.clear(); in clear() 1943 dump.appendFormat(INDENT4 "Pressure: %f\n", state.pressure); in dumpStylusState() 2899 info->addMotionRange(mOrientedRanges.pressure); in populateDeviceInfo() 2987 pointer.id, pointer.x, pointer.y, pointer.pressure, in dump() 3228 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.pressure, "Pressure"); in dumpRawPointerAxes() 3473 } else if (mRawPointerAxes.pressure.valid in configureSurface() 3474 && mRawPointerAxes.pressure.maxValue != 0) { in configureSurface() 3475 mPressureScale = 1.0f / mRawPointerAxes.pressure.maxValue; in configureSurface() 3479 mOrientedRanges.pressure.axis = AMOTION_EVENT_AXIS_PRESSURE; in configureSurface() 3480 mOrientedRanges.pressure.source = mSource; in configureSurface() [all …]
|
D | InputReader.h | 384 float pressure; member 392 pressure = other.pressure; in copyFrom() 399 pressure = 0.f; in clear() 797 RawAbsoluteAxisInfo pressure; member 820 int32_t pressure; member 1582 InputDeviceInfo::MotionRange pressure; member
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
D | Input.java | 259 … void injectMotionEvent(int inputSource, int action, long when, float x, float y, float pressure) { in injectMotionEvent() argument 265 MotionEvent event = MotionEvent.obtain(when, when, action, x, y, pressure, DEFAULT_SIZE, in injectMotionEvent()
|
/frameworks/native/include/android/ |
D | sensor.h | 240 float pressure; member
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | touch_analytics.proto | 46 optional float pressure = 4; field
|
/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() 905 gPointerCoordsClassInfo.pressure = GetFieldIDOrDie(env, clazz, "pressure", "F"); in register_android_view_MotionEvent()
|
/frameworks/rs/java/tests/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/java/com/android/internal/widget/ |
D | PointerLocationView.java | 278 canvas.drawRect(itemW * 5, 0, (itemW * 5) + (ps.mCoords.pressure * itemW) - 1, in onDraw() 281 .append("Prs: ").append(ps.mCoords.pressure, 2) in onDraw() 365 int pressureLevel = (int)(ps.mCoords.pressure * 255); in onDraw() 500 .append(") Pressure=").append(coords.pressure, 3) in logCoords()
|
/frameworks/rs/java/tests/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
|
/frameworks/rs/java/tests/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/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 1465 float x, float y, float pressure, float size, in assertPointerCoords() argument 1470 ASSERT_NEAR(pressure, coords.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE), EPSILON); in assertPointerCoords() 2599 void processPressure(SingleTouchInputMapper* mapper, int32_t pressure); 2654 SingleTouchInputMapper* mapper, int32_t pressure) { in processPressure() argument 2655 process(mapper, ARBITRARY_TIME, DEVICE_ID, EV_ABS, ABS_PRESSURE, pressure); in processPressure() 3241 float pressure = float(rawPressure) / RAW_PRESSURE_MAX; in TEST_F() local 3263 x, y, pressure, size, tool, tool, tool, tool, orientation, distance)); in TEST_F() 3746 void processPressure(MultiTouchInputMapper* mapper, int32_t pressure); 3838 MultiTouchInputMapper* mapper, int32_t pressure) { in processPressure() argument 3839 process(mapper, ARBITRARY_TIME, DEVICE_ID, EV_ABS, ABS_MT_PRESSURE, pressure); in processPressure() [all …]
|
/frameworks/base/docs/html/training/gestures/ |
D | movement.jd | 48 position, pressure, or size changes. As described in <a
|
D | detector.jd | 73 For each sequence of touch events (position, pressure, size, addition of another finger, etc.)
|
/frameworks/base/docs/html/guide/topics/renderscript/ |
D | advanced.jd | 134 void touch(float x, float y, float pressure, int id) { 141 touchPressure[id] = pressure; 148 public void invoke_touch(float x, float y, float pressure, int id) { 152 touch_fp.addF32(pressure);
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | GestureDescription.java | 619 pointerCoords[i].pressure = 1.0f; in obtainMotionEvent()
|
/frameworks/base/docs/html/topic/arc/ |
D | manifest.jd | 112 pressure)
|
/frameworks/base/docs/html/about/versions/ |
D | android-3.1-highlights.jd | 327 Hat Y, rotation, throttle, pressure, size, touch, tool, orientation, and others.
|
/frameworks/base/docs/html/topic/performance/ |
D | threads.jd | 170 This delay, in turn, puts more pressure on memory.
|