/external/chromium_org/athena/resource_manager/ |
memory_pressure_notifier.cc | 38 MemoryPressureObserver::MemoryPressure pressure = local 41 if (current_pressure_ != pressure || 42 (pressure != MemoryPressureObserver::MEMORY_PRESSURE_LOW && 43 pressure != MemoryPressureObserver::MEMORY_PRESSURE_UNKNOWN)) { 46 current_pressure_ = pressure;
|
memory_pressure_notifier_unittest.cc | 46 // Our memory pressure observer class. 56 virtual void OnMemoryPressure(MemoryPressure pressure) OVERRIDE { 58 pressure_ = pressure; 66 MemoryPressureObserver::MemoryPressure pressure() { return pressure_; } function in class:athena::test::__anon6766::TestMemoryPressureObserver 74 // Last posted memory pressure. 143 // Test that we get only a single call while the memory pressure is low. 153 test_memory_pressure_observer()->pressure()); 157 test_memory_pressure_observer()->pressure()); 166 // And the memory pressure should be unknown. 168 test_memory_pressure_observer()->pressure()); [all...] |
memory_pressure_notifier.h | 22 // pressure exceeds, the observer will get polled until |MEMORY_PRESSURE_LOW| is 29 // The reported memory pressure. Note: The value is intentionally abstracted 31 // Note: The bigger the index of the pressure level, the more resources are 34 MEMORY_PRESSURE_UNKNOWN = 0, // The memory pressure cannot be determined. 41 virtual void OnMemoryPressure(MemoryPressure pressure) = 0; 75 // memory pressure. 78 // Converts free percent of memory into a memory pressure value. 84 // The listener which needs to be informed about memory pressure. 87 // Our current memory pressure.
|
resource_manager_impl.cc | 38 MemoryPressureObserver::MemoryPressure pressure) OVERRIDE; 73 MemoryPressureObserver::MemoryPressure pressure) OVERRIDE; 88 // Check if activities can be unloaded to reduce memory pressure. 100 // The memory pressure has increased, previously applied measures did not show 116 // Keeping a reference to the current memory pressure. 119 // The memory pressure notifier. 186 MemoryPressureObserver::MemoryPressure pressure) { 188 OnMemoryPressure(pressure); 226 // Re-apply the memory pressure to make sure enough items are visible. 262 MemoryPressureObserver::MemoryPressure pressure) { [all...] |
/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 = %p\n", mldl_cfg->pressure->suspend); 120 MPL_LOGD("slave_pressure->resume = %p\n", mldl_cfg->pressure->resume); 121 MPL_LOGD("slave_pressure->read = %p\n", 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);
|
/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::__anon4624 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/chromium_org/athena/resource_manager/public/ |
resource_manager.h | 33 MemoryPressureObserver::MemoryPressure pressure) = 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/Application/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/Application/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/6515/libsensors_iio/ |
PressureSensor.IIO.secondary.cpp | 35 #pragma message("HAL:build pressure sensor on Invensense MPU secondary bus") 58 LOGE("Error Instantiating Pressure Sensor\n"); 158 const char *pressure = "BMP280"; local 160 if (pressure) { 161 if(!strcmp(pressure, "BMP280")) { 170 LOGE("HAL:unknown pressure id %s -- " 172 pressure);
|
/hardware/invensense/65xx/libsensors_iio/ |
PressureSensor.IIO.secondary.cpp | 35 #pragma message("HAL:build pressure sensor on Invensense MPU secondary bus") 58 LOGE("Error Instantiating Pressure Sensor\n"); 158 const char *pressure = "BMP280"; local 160 if (pressure) { 161 if(!strcmp(pressure, "BMP280")) { 170 LOGE("HAL:unknown pressure id %s -- " 172 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);
|