/external/chromium_org/ppapi/c/ |
pp_touch_point.h | 28 * single touch point, such as position, id, rotation angle, and pressure. 56 * This value represents the pressure applied to this TouchPoint. This value 57 * is typically between 0 and 1, with 0 indicating no pressure and 1 58 * indicating some maximum pressure. Scaling differs depending on the 61 float pressure; member in struct:PP_TouchPoint
|
/external/chromium_org/ppapi/cpp/ |
touch_point.h | 42 /// @return The pressure applied to this TouchPoint. This is typically a 43 /// value between 0 and 1, with 0 indicating no pressure and 1 indicating 44 /// some maximum pressure, but scaling differs depending on the hardware and 46 float pressure() const { return touch_point_.pressure; } function in class:pp::TouchPoint
|
/hardware/invensense/60xx/mlsdk/mllite/ |
pressure.c | 20 * $Id: pressure.c 4120 2010-11-21 19:56:16Z mcaramello $ 26 * @brief Motion Library - Pressure Driver Layer. 27 * Provides the interface to setup and handle a pressure sensor 32 * @file pressure.c 33 * @brief Pressure setup and handling methods. 42 #include "pressure.h" 56 #define MPL_LOG_TAG "MPL-pressure" 81 * @brief Is a pressure configured and used by MPL? 82 * @return INV_SUCCESS if the pressure is present. 88 if (NULL != mldl_cfg->pressure & [all...] |
mldl_cfg_mpu.c | 63 struct ext_slave_platform_data *pressure = &mldl_cfg->pdata->pressure; local 118 if (mldl_cfg->pressure) { 119 MPL_LOGD("slave_pressure->suspend = %02x\n", (int)mldl_cfg->pressure->suspend); 120 MPL_LOGD("slave_pressure->resume = %02x\n", (int)mldl_cfg->pressure->resume); 121 MPL_LOGD("slave_pressure->read = %02x\n", (int)mldl_cfg->pressure->read); 122 MPL_LOGD("slave_pressure->type = %02x\n", mldl_cfg->pressure->type); 124 mldl_cfg->pressure->read_reg); 126 mldl_cfg->pressure->read_len); 127 MPL_LOGD("slave_pressure->endian = %02x\n", mldl_cfg->pressure->endian) [all...] |
mldl_cfg.h | 127 struct ext_slave_descr *pressure; member in struct:mldl_cfg 205 mldl_cfg->pressure, 206 &mldl_cfg->pdata->pressure, data); 256 data, mldl_cfg->pressure, 257 &mldl_cfg->pdata->pressure); 310 mldl_cfg->pressure, 311 &mldl_cfg->pdata->pressure);
|
mldmp.c | 142 if (mldl_cfg->pressure && mldl_cfg->pressure->resume)
|
/external/jmonkeyengine/engine/src/core/com/jme3/input/event/ |
TouchEvent.java | 43 * Touch down event, fields: posX, posY, pressure 47 * Move/Drag event, fields: posX, posY, deltaX, deltaY, pressure 51 * Touch up event, fields: posX, posY, pressure 98 private float pressure; field in class:TouchEvent 126 pressure = 0; 161 return pressure; 164 public void setPressure(float pressure) 166 this.pressure = pressure;
|
/external/chromium_org/ppapi/api/ |
pp_touch_point.idl | 14 * single touch point, such as position, id, rotation angle, and pressure. 47 * This value represents the pressure applied to this TouchPoint. This value 48 * is typically between 0 and 1, with 0 indicating no pressure and 1 49 * indicating some maximum pressure. Scaling differs depending on the 52 float_t pressure;
|
/device/samsung/manta/libsensors/ |
PressureSensor.cpp | 39 mPendingEvent.pressure = value * PRESSURE_HECTO_PA;
|
sensors.cpp | 68 { "BMP182 Pressure sensor", 128 pressure, enumerator in enum:sensors_poll_context_t::__anon2405 157 return pressure; 200 mSensors[pressure] = new PressureSensor(); 201 mPollFds[pressure].fd = mSensors[pressure]->getFd(); 202 mPollFds[pressure].events = POLLIN; 203 mPollFds[pressure].revents = 0;
|
/external/qemu/android/ |
multitouch-screen.h | 54 * pressure - Pressure value for the pointer. 60 int pressure);
|
multitouch-screen.c | 56 /* Current pressure value. */ 57 int pressure; member in struct:MTSPointerState 133 * pressure - Pressure value for the pointer. 136 _mts_pointer_down(MTSState* mts_state, int tracking_id, int x, int y, int pressure) 148 mts_state->tracked_pointers[slot_index].pressure = pressure; 157 _push_event(EV_ABS, ABS_MT_PRESSURE, pressure); 189 mts_state->tracked_pointers[slot_index].pressure = 0; 203 * pressure - Pressure value for the pointer [all...] |
multitouch-port.c | 95 /* Pointer pressure. */ 96 int pressure; member in struct:AndroidMTEvent 135 _on_action_down(int tracking_id, int x, int y, int pressure) 137 multitouch_update_pointer(MTES_DEVICE, tracking_id, x, y, pressure); 149 _on_action_pointer_down(int tracking_id, int x, int y, int pressure) 151 multitouch_update_pointer(MTES_DEVICE, tracking_id, x, y, pressure); 163 _on_action_move(int tracking_id, int x, int y, int pressure) 165 multitouch_update_pointer(MTES_DEVICE, tracking_id, x, y, pressure); 183 n, param->pid, param->x, param->y, param->pressure); 184 _on_action_move(param->pid, param->x, param->y, param->pressure); [all...] |
/frameworks/base/tests/RenderScriptTests/Fountain/src/com/example/android/rs/fountain/ |
FountainRS.java | 56 public void newTouchPosition(float x, float y, float pressure, int id) { 60 int rate = (int)(pressure * pressure * 500.f);
|
/frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/fountain/ |
FountainRS.java | 56 public void newTouchPosition(float x, float y, float pressure, int id) { 60 int rate = (int)(pressure * pressure * 500.f);
|
/developers/build/prebuilts/gradle/BasicMultitouch/BasicMultitouchSample/src/main/java/com/example/android/basicmultitouch/ |
TouchDisplayView.java | 46 * pressure and historical positions. Objects are allocated through an 57 public float pressure = 0f; field in class:TouchDisplayView.TouchHistory 71 public static TouchHistory obtain(float x, float y, float pressure) { 77 data.setTouch(x, y, pressure); 90 public void setTouch(float x, float y, float pressure) { 93 this.pressure = pressure; 253 * data (position and pressure) and updates its stored data. A 367 * its pressure, clamped to a maximum of <code>1.0</code>. 379 * Draw the circle, size scaled to its pressure. Pressure is clamped t 383 float pressure = Math.min(data.pressure, 1f); local [all...] |
/developers/samples/android/input/multitouch/BasicMultitouch/BasicMultitouchSample/src/main/java/com/example/android/basicmultitouch/ |
TouchDisplayView.java | 46 * pressure and historical positions. Objects are allocated through an 57 public float pressure = 0f; field in class:TouchDisplayView.TouchHistory 71 public static TouchHistory obtain(float x, float y, float pressure) { 77 data.setTouch(x, y, pressure); 90 public void setTouch(float x, float y, float pressure) { 93 this.pressure = pressure; 253 * data (position and pressure) and updates its stored data. A 367 * its pressure, clamped to a maximum of <code>1.0</code>. 379 * Draw the circle, size scaled to its pressure. Pressure is clamped t 383 float pressure = Math.min(data.pressure, 1f); local [all...] |
/development/samples/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/ |
TouchDisplayView.java | 46 * pressure and historical positions. Objects are allocated through an 57 public float pressure = 0f; field in class:TouchDisplayView.TouchHistory 71 public static TouchHistory obtain(float x, float y, float pressure) { 77 data.setTouch(x, y, pressure); 90 public void setTouch(float x, float y, float pressure) { 93 this.pressure = pressure; 253 * data (position and pressure) and updates its stored data. A 367 * its pressure, clamped to a maximum of <code>1.0</code>. 379 * Draw the circle, size scaled to its pressure. Pressure is clamped t 383 float pressure = Math.min(data.pressure, 1f); local [all...] |
/hardware/invensense/65xx/libsensors_iio/ |
PressureSensor.IIO.secondary.cpp | 35 #pragma message("HAL:build pressure sensor on Invensense MPU secondary bus") 70 LOGE("Error Instantiating Pressure Sensor\n"); 170 const char *pressure = "BMP280"; local 172 if (pressure) { 173 if(!strcmp(pressure, "BMP280")) { 181 LOGE("HAL:unknown pressure id %s -- " 183 pressure);
|
/frameworks/base/tests/RenderScriptTests/FountainFbo/src/com/example/android/rs/fountainfbo/ |
FountainFboRS.java | 82 public void newTouchPosition(float x, float y, float pressure, int id) { 86 int rate = (int)(pressure * pressure * 500.f);
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/views/ |
MultiTouchView.java | 205 // 0 - 100 for the pressure. 206 int pressure = (int) (event.getPressure(ptr_index) * 100); local 208 if (pressure > 100) { 209 pressure = 100; 211 bb.putInt(pressure);
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyMotionEvent.java | 62 float pressure, float size) { 66 c.pressure = pressure;
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
TouchPoint.java | 43 TouchPoint(int state, int id, float x, float y, float pressure, 49 mPressure = pressure;
|
/cts/tests/tests/view/src/android/view/cts/ |
MotionEventTest.java | 244 float pressure = 0.5f; local 245 mMotionEvent2.addBatch(mEventTime, 5.0f, 5.0f, pressure, 0.0f, 0); 249 assertEquals(pressure, mMotionEvent2.getHistoricalPressure(1), DELTA); 265 float pressure = 1.0f; local 276 mMotionEvent2.addBatch(eventTime, x, y, pressure, size, 0); 289 assertEquals(pressure, mMotionEvent2.getHistoricalPressure(1), DELTA); 297 float pressure = 1.0f; local 304 mMotionEvent2.addBatch(eventTime, x, y, pressure, size, 0); 419 assertEquals(0f, coords.pressure); 432 coords.pressure = 3 [all...] |
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
BallsRS.java | 143 public void newTouchPosition(float x, float y, float pressure, int id) { 144 mPhysicsScript.invoke_touch(x, y, pressure * mRS.getWidth() / 1280, id);
|