/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
balls.rsh | 6 float pressure;
|
ball_physics.rs | 21 void touch(float x, float y, float pressure, int id) { 28 touchPressure[id] = pressure; 33 float pressure = 0; 66 pressure += length(pfv); 82 pressure += length(pfv); 139 // low pressure ~500, high ~2500 140 pressure = max(pressure - 400.f, 0.f); 141 ball->pressure = pressure; [all...] |
/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...] |
invensense.h | 24 #include "pressure.h"
|
/external/llvm/include/llvm/CodeGen/ |
RegisterPressure.h | 1 //===-- RegisterPressure.h - Dynamic Register Pressure -*- C++ -*-------===// 11 // MachineInstr level register pressure. 29 /// Base class for register pressure results. 31 /// Map of max reg pressure indexed by pressure set ID, not class ID. 38 /// Increase register pressure for each pressure set impacted by this register 46 /// Decrease register pressure for each pressure set impacted by this register 57 /// TopIdx and BottomIdx. During pressure computation, the maximum pressure pe [all...] |
SchedulerRegistry.h | 76 /// createHybridListDAGScheduler - This creates a bottom up register pressure 78 /// for long latency instructions in low register pressure mode. In high 79 /// register pressure mode it schedules to reduce register pressure. 83 /// createILPListDAGScheduler - This creates a bottom up register pressure 85 /// in low register pressure mode. In high register pressure mode it schedules 86 /// to reduce register pressure. 97 /// register pressure.
|
/device/asus/grouper/ |
raydium_ts.idc | 28 touch.touchSize.calibration = pressure 42 # Pressure 43 # Driver reports signal strength as pressure. 47 touch.pressure.calibration = amplitude 48 touch.pressure.source = default 49 touch.pressure.scale = 0.0125
|
sensor00fn11.idc | 28 touch.touchSize.calibration = pressure 42 # Pressure 43 # Driver reports signal strength as pressure. 47 touch.pressure.calibration = amplitude 48 touch.pressure.source = default 49 touch.pressure.scale = 0.0125
|
elan-touchscreen.idc | 32 # Pressure 33 touch.pressure.calibration = amplitude 34 touch.pressure.scale = 0.0048
|
/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;
|
/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
|
/external/llvm/lib/CodeGen/ |
RegisterPressure.cpp | 1 //===-- RegisterPressure.cpp - Dynamic Register Pressure ------------------===// 11 // MachineInstr level register pressure. 26 /// Increase pressure for each pressure set provided by TargetRegisterInfo. 39 /// Decrease pressure for each pressure set provided by TargetRegisterInfo. 43 assert(CurrSetPressure[*PSet] >= Weight && "register pressure underflow"); 48 /// Directly increase pressure only within this RegisterPressure result. 64 /// Directly decrease pressure only within this RegisterPressure result. 93 dbgs() << "Max Pressure: " [all...] |
/device/asus/flo/ |
elan-touchscreen.idc | 32 # Pressure 33 touch.pressure.calibration = amplitude 34 touch.pressure.scale = 0.0048
|
touch_dev.idc | 29 touch.pressure.calibration = amplitude 30 touch.pressure.scale = 0.0125
|
/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
|
/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);
|
/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/qemu/android/ |
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...] |
/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...] |
/device/lge/hammerhead/ |
touch_dev.idc | 29 touch.pressure.calibration = amplitude 30 touch.pressure.scale = 0.0125
|
/device/lge/mako/ |
touch_dev.idc | 29 touch.pressure.calibration = amplitude 30 touch.pressure.scale = 0.0125
|