Home
last modified time | relevance | path

Searched refs:GetFingerState (Results 1 – 11 of 11) sorted by relevance

/external/libchrome-gestures/src/
Dimmediate_interpreter.cc129 NoteTouch(*it, *hwstate.GetFingerState(*it)); in Update()
137 const FingerState* fs = hwstate.GetFingerState((*it).first); in Update()
173 const FingerState* fs = hwstate.GetFingerState((*it).first); in Moving()
203 const FingerState* fs = hwstate.GetFingerState((*it).first); in Motionless()
204 const FingerState* prev_fs = prev_hwstate.GetFingerState((*it).first); in Motionless()
394 const FingerState* fs = state.GetFingerState(current.tracking_id); in StationaryFingerPressureChangingSignificantly()
417 prev = state_buffer.Get(1)->GetFingerState(current.tracking_id); in StationaryFingerPressureChangingSignificantly()
457 const FingerState* fs = state_buffer.Get(0)->GetFingerState(*it); in FillResultScroll()
458 const FingerState* prev = state_buffer.Get(1)->GetFingerState(*it); in FillResultScroll()
1249 state_buffer_.Get(1)->GetFingerState(fs.tracking_id)) { in FillOriginInfo()
[all …]
Dsplit_correcting_filter_interpreter.cc47 if (!hwstate.GetFingerState(it->input_id)) { in RemoveMissingUnmergedContacts()
68 const FingerState* existing_contact = hwstate.GetFingerState(it->input_id); in MergeFingers()
233 hwstate.GetFingerState(mc->input_fingers[0].tracking_id); in UnmergeFingers()
235 hwstate.GetFingerState(mc->input_fingers[1].tracking_id); in UnmergeFingers()
270 FingerState* other_fs = hwstate->GetFingerState(other_id); in UpdateHwState()
341 const FingerState* fs = hwstate.GetFingerState(unmerged_[i].input_id); in UpdateUnmergedLocations()
Dgestures_unittest.cc421 EXPECT_EQ(&fs[0], hs.GetFingerState(4)); in TEST()
422 EXPECT_EQ(&fs[1], hs.GetFingerState(2)); in TEST()
423 EXPECT_EQ(&fs[2], hs.GetFingerState(7)); in TEST()
424 EXPECT_EQ(reinterpret_cast<FingerState*>(NULL), hs.GetFingerState(8)); in TEST()
427 EXPECT_EQ(&fs[0], const_hs.GetFingerState(4)); in TEST()
428 EXPECT_EQ(&fs[1], const_hs.GetFingerState(2)); in TEST()
429 EXPECT_EQ(&fs[2], const_hs.GetFingerState(7)); in TEST()
430 EXPECT_EQ(reinterpret_cast<const FingerState*>(NULL), hs.GetFingerState(8)); in TEST()
Dlookahead_filter_interpreter.cc198 prev_hs->GetFingerState(prev_qs->output_ids_[old_id]); in AssignTrackingIds()
214 prev2_fs = prev2_hs->GetFingerState(prev2_qs->output_ids_[old_id]); in AssignTrackingIds()
295 FingerState* fs = tail.state_.GetFingerState(new_bad_output_id); in AssignTrackingIds()
320 const FingerState* prev_fs = prev_hs.GetFingerState(fs->tracking_id); in LiftoffJumpStarting()
327 const FingerState* prev2_fs = prev2_hs.GetFingerState(fs->tracking_id); in LiftoffJumpStarting()
364 if (!prev_hs.GetFingerState(hs.fingers[i].tracking_id)) { in TapDownOccurringGesture()
Dfinger_metrics.cc111 if (!hwstate.GetFingerState(iter->tracking_id())) in Update()
122 const FingerState* fs = hwstate.GetFingerState(finger.tracking_id()); in Update()
Dgestures.cc159 FingerState* HardwareState::GetFingerState(short tracking_id) { in GetFingerState() function in HardwareState
161 const_cast<const HardwareState*>(this)->GetFingerState(tracking_id)); in GetFingerState()
164 const FingerState* HardwareState::GetFingerState(short tracking_id) const { in GetFingerState() function in HardwareState
Diir_filter_interpreter.cc61 if (!hwstate->GetFingerState((*it).first)) in SyncInterpretImpl()
Dlookahead_filter_interpreter_unittest.cc46 EXPECT_TRUE(hwstate->GetFingerState(*it)) << "Can't find ID " << *it in SyncInterpret()
Dimmediate_interpreter_unittest.cc3519 const FingerState* prev_fs = prev_hs->GetFingerState(fs->tracking_id); in TEST()
/external/libchrome-gestures/include/
Dutil.h70 if (!hs.GetFingerState(key)) in RemoveMissingIdsFromMap()
85 if (!hs.GetFingerState(*it)) in RemoveMissingIdsFromSet()
Dgestures.h219 FingerState* GetFingerState(short tracking_id);
220 const FingerState* GetFingerState(short tracking_id) const;