Home
last modified time | relevance | path

Searched refs:tracking_id (Results 1 – 10 of 10) sorted by relevance

/external/qemu/android/
Dmultitouch-screen.c51 int tracking_id; member
106 _mtsstate_get_pointer_index(const MTSState* mts_state, int tracking_id) in _mtsstate_get_pointer_index() argument
110 if (mts_state->tracked_pointers[index].tracking_id == tracking_id) { in _mtsstate_get_pointer_index()
136 _mts_pointer_down(MTSState* mts_state, int tracking_id, int x, int y, int pressure) in _mts_pointer_down() argument
145 mts_state->tracked_pointers[slot_index].tracking_id = tracking_id; in _mts_pointer_down()
186 mts_state->tracked_pointers[slot_index].tracking_id = MTS_POINTER_UP; in _mts_pointer_up()
433 mts_state->tracked_pointers[index].tracking_id = MTS_POINTER_UP; in multitouch_init()
465 int tracking_id, in multitouch_update_pointer() argument
474 tracking_id = MTS_POINTER_MOUSE; in multitouch_update_pointer()
478 const int slot_index = _mtsstate_get_pointer_index(mts_state, tracking_id); in multitouch_update_pointer()
[all …]
Dmultitouch-port.c135 _on_action_down(int tracking_id, int x, int y, int pressure) in _on_action_down() argument
137 multitouch_update_pointer(MTES_DEVICE, tracking_id, x, y, pressure); in _on_action_down()
142 _on_action_up(int tracking_id) in _on_action_up() argument
144 multitouch_update_pointer(MTES_DEVICE, tracking_id, 0, 0, 0); in _on_action_up()
149 _on_action_pointer_down(int tracking_id, int x, int y, int pressure) in _on_action_pointer_down() argument
151 multitouch_update_pointer(MTES_DEVICE, tracking_id, x, y, pressure); in _on_action_pointer_down()
156 _on_action_pointer_up(int tracking_id) in _on_action_pointer_up() argument
158 multitouch_update_pointer(MTES_DEVICE, tracking_id, 0, 0, 0); in _on_action_pointer_up()
163 _on_action_move(int tracking_id, int x, int y, int pressure) in _on_action_move() argument
165 multitouch_update_pointer(MTES_DEVICE, tracking_id, x, y, pressure); in _on_action_move()
Dmultitouch-screen.h57 int tracking_id,
/external/chromium_org/ui/events/x/
Dtouch_factory_x11.cc225 bool TouchFactory::QuerySlotForTrackingID(uint32 tracking_id, int* slot) { in QuerySlotForTrackingID() argument
226 if (!id_generator_.HasGeneratedIDFor(tracking_id)) in QuerySlotForTrackingID()
228 *slot = static_cast<int>(id_generator_.GetGeneratedID(tracking_id)); in QuerySlotForTrackingID()
232 int TouchFactory::GetSlotForTrackingID(uint32 tracking_id) { in GetSlotForTrackingID() argument
233 return id_generator_.GetGeneratedID(tracking_id); in GetSlotForTrackingID()
236 void TouchFactory::ReleaseSlotForTrackingID(uint32 tracking_id) { in ReleaseSlotForTrackingID() argument
237 id_generator_.ReleaseNumber(tracking_id); in ReleaseSlotForTrackingID()
Dtouch_factory_x11.h63 bool QuerySlotForTrackingID(uint32 tracking_id, int* slot);
67 int GetSlotForTrackingID(uint32 tracking_id);
70 void ReleaseSlotForTrackingID(uint32 tracking_id);
Devents_x.cc549 double tracking_id; in ClearTouchIdIfReleased() local
551 *xev, ui::DeviceDataManager::DT_TOUCH_TRACKING_ID, &tracking_id)) { in ClearTouchIdIfReleased()
552 factory->ReleaseSlotForTrackingID(tracking_id); in ClearTouchIdIfReleased()
560 double tracking_id; in GetTouchId() local
562 *xev, ui::DeviceDataManager::DT_TOUCH_TRACKING_ID, &tracking_id)) { in GetTouchId()
566 slot = factory->GetSlotForTrackingID(tracking_id); in GetTouchId()
/external/chromium_org/ash/touch/
Dtouch_hud_debug.cc78 double tracking_id; in GetTrackingId() local
81 &tracking_id)) { in GetTrackingId()
82 return static_cast<int>(tracking_id); in GetTrackingId()
109 tracking_id(GetTrackingId(touch)), in TouchPointLog()
125 value->SetInteger("tracking_id", tracking_id); in GetAsDictionary()
138 int tracking_id; member
/external/chromium_org/ui/events/test/
Devents_test_utils_x11.cc99 int tracking_id, in CreateXInput2Event() argument
111 xiev->detail = tracking_id; in CreateXInput2Event()
226 int tracking_id, in InitTouchEvent() argument
230 event_.reset(CreateXInput2Event(deviceid, evtype, tracking_id, location)); in InitTouchEvent()
Devents_test_utils_x11.h63 int tracking_id,
/external/chromium_org/ui/aura/
Droot_window_host_x11.cc876 uint32 tracking_id = (1 << touchev.touch_id()); in DispatchXI2Event() local
879 bezel_tracking_ids_ |= tracking_id; in DispatchXI2Event()
880 if (bezel_tracking_ids_ & tracking_id) { in DispatchXI2Event()
883 (bezel_tracking_ids_ | tracking_id) ^ tracking_id; in DispatchXI2Event()