Lines Matching refs:details
108 if (gesture.details().touch_points() >= 4)
110 else if (gesture.details().touch_points() == 3)
112 else if (gesture.details().touch_points() == 2)
119 int tap_count = gesture.details().tap_count();
144 if (gesture.details().touch_points() >= 4)
146 else if (gesture.details().touch_points() == 3)
157 if (gesture.details().touch_points() >= 4)
159 else if (gesture.details().touch_points() == 3)
198 event.details().touch_points() == 2) {
199 WindowTouchDetails* details = target->GetProperty(kWindowTouchDetails);
200 if (!details) {
205 details->last_mt_time_ = event.time_stamp();
224 WindowTouchDetails* details = target->GetProperty(kWindowTouchDetails);
225 if (!details) {
226 details = new WindowTouchDetails;
227 target->SetProperty(kWindowTouchDetails, details);
277 details->last_start_time_[event.touch_id()] = event.time_stamp();
278 details->start_touch_position_[event.touch_id()] = event.root_location();
279 details->last_touch_position_[event.touch_id()] = event.location();
281 if (details->last_release_time_.ToInternalValue()) {
286 base::TimeDelta diff = event.time_stamp() - details->last_mt_time_;
288 base::TimeDelta gap = event.time_stamp() - details->last_release_time_;
297 details->last_start_time_.size(),
300 if (details->last_start_time_.count(event.touch_id())) {
302 details->last_start_time_[event.touch_id()];
310 details->start_touch_position_[event.touch_id()];
320 details->last_start_time_.erase(event.touch_id());
321 details->last_move_time_.erase(event.touch_id());
322 details->start_touch_position_.erase(event.touch_id());
323 details->last_touch_position_.erase(event.touch_id());
324 details->last_release_time_ = event.time_stamp();
327 if (details->last_touch_position_.count(event.touch_id())) {
328 gfx::Point lastpos = details->last_touch_position_[event.touch_id()];
332 if (details->last_move_time_.count(event.touch_id())) {
334 details->last_move_time_[event.touch_id()];
342 details->last_move_time_[event.touch_id()] = event.time_stamp();
343 details->last_touch_position_[event.touch_id()] = event.location();