/external/chromium_org/athena/resource_manager/ |
H A D | 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;
|
H A D | 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::__anon2141::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...] |
H A D | 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.
|
H A D | 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) { 185 SetMemoryPressureAndStopMonitoring( MemoryPressureObserver::MemoryPressure pressure) argument 261 OnMemoryPressure( MemoryPressureObserver::MemoryPressure pressure) argument [all...] |
/external/chromium_org/ppapi/c/ |
H A D | 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/ |
H A D | 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/chromium_org/ppapi/api/ |
H A D | 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/qemu/android/ |
H A D | multitouch-screen.h | 54 * pressure - Pressure value for the pointer. 60 int pressure);
|
H A D | 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) argument 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. 206 _mts_pointer_move(MTSState* mts_state, int slot_index, int x, int y, int pressure) argument 464 multitouch_update_pointer(MTESource source, int tracking_id, int x, int y, int pressure) argument [all...] |
H A D | 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) argument 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) argument 151 multitouch_update_pointer(MTES_DEVICE, tracking_id, x, y, pressure); 163 _on_action_move(int tracking_id, int x, int y, int pressure) argument 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...] |
/external/chromium_org/athena/resource_manager/public/ |
H A D | resource_manager.h | 33 MemoryPressureObserver::MemoryPressure pressure) = 0;
|
/external/chromium_org/ui/events/gestures/ |
H A D | motion_event_aura_unittest.cc | 45 float pressure) { 54 pressure); 252 float pressure; local 257 pressure = 0.123f; 259 ET_TOUCH_PRESSED, ids[0], radius_x, radius_y, rotation_angle, pressure); 266 EXPECT_FLOAT_EQ(pressure, event.GetPressure(0)); 271 pressure = 0.456f; 273 ET_TOUCH_PRESSED, ids[1], radius_x, radius_y, rotation_angle, pressure); 280 EXPECT_FLOAT_EQ(pressure, event.GetPressure(1)); 292 EXPECT_FLOAT_EQ(pressure, raw_clone_aur 40 TouchWithTapParams(ui::EventType type, int id, float radius_x, float radius_y, float rotation_angle, float pressure) argument [all...] |
H A D | motion_event_aura.h | 65 float pressure; member in struct:ui::MotionEventAura::PointData
|
H A D | motion_event_aura.cc | 48 point_data.pressure = touch.force(); 166 return active_touches_[pointer_index].pressure; 218 pressure(0),
|
/external/chromium_org/ui/events/gesture_detection/ |
H A D | motion_event_generic.cc | 18 pressure(0), 31 pressure(0), 128 return pointers_[pointer_index].pressure;
|
H A D | motion_event_generic.h | 25 float pressure; member in struct:ui::PointerProperties
|
H A D | motion_event_buffer.cc | 98 result.pressure = event.GetPressure(pointer_index);
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
H A D | TouchEventSynthesizer.java | 47 coords.pressure = 1.0f;
|
/external/chromium_org/ash/touch/ |
H A D | touch_hud_debug.cc | 107 pressure(touch.force()), 123 value->SetDouble("pressure", pressure); 136 float pressure; member in struct:ash::TouchPointLog
|
/external/chromium_org/ppapi/tests/ |
H A D | test_input_event.cc | 288 expected_point.pressure != received_point.pressure)
|
/external/chromium_org/ui/events/ozone/evdev/libgestures_glue/ |
H A D | gesture_interpreter_libevdev_cros.cc | 143 fingers[current_finger].pressure = slot->pressure;
|
/external/chromium_org/native_client_sdk/src/examples/api/input_event/ |
H A D | input_event.cc | 222 << " pressure[" << point.id() << "]:" << point.pressure();
|
/external/kernel-headers/original/uapi/linux/ |
H A D | soundcard.h | 1146 #define SEQ_KEY_PRESSURE(dev, chn, note, pressure) \ 1147 _CHN_VOICE(dev, MIDI_KEY_PRESSURE, chn, note, pressure) 1191 #define SEQ_CHN_PRESSURE(dev, chn, pressure) \ 1192 _CHN_COMMON(dev, MIDI_CHN_PRESSURE, chn, pressure, 0, 0)
|
/external/sonivox/jet_tools/JetCreator/ |
H A D | midifile.py | 730 self.pressure = [0] * 16
737 output.append(' pressure=%d' % self.pressure[channel])
786 """Monitor pressure change."""
787 self.pressure[event.channel] = event.value
793 self.pressure[channel] = 0
820 # generate pressure changes
821 if self.pressure[channel] != ref_values.pressure[channel]:
822 events.append(ChannelPressureEvent(ticks, -1, channel, self.pressure[channe [all...] |
/external/chromium_org/content/renderer/pepper/ |
H A D | event_conversion.cc | 244 pp_pt.pressure = touch_point.force; 278 pt.force = pp_pt.pressure;
|