Home | History | Annotate | Download | only in touch

Lines Matching refs:details

105       if (gesture.details().touch_points() >= 4)
107 else if (gesture.details().touch_points() == 3)
109 else if (gesture.details().touch_points() == 2)
116 int tap_count = gesture.details().tap_count();
141 if (gesture.details().touch_points() >= 4)
143 else if (gesture.details().touch_points() == 3)
154 if (gesture.details().touch_points() >= 4)
156 else if (gesture.details().touch_points() == 3)
190 event.details().touch_points() == 2) {
191 WindowTouchDetails* details = target->GetProperty(kWindowTouchDetails);
192 if (!details) {
197 details->last_mt_time_ = event.time_stamp();
216 WindowTouchDetails* details = target->GetProperty(kWindowTouchDetails);
217 if (!details) {
218 details = new WindowTouchDetails;
219 target->SetProperty(kWindowTouchDetails, details);
269 details->last_start_time_[event.touch_id()] = event.time_stamp();
270 details->start_touch_position_[event.touch_id()] = event.root_location();
271 details->last_touch_position_[event.touch_id()] = event.location();
273 if (details->last_release_time_.ToInternalValue()) {
278 base::TimeDelta diff = event.time_stamp() - details->last_mt_time_;
280 base::TimeDelta gap = event.time_stamp() - details->last_release_time_;
289 details->last_start_time_.size(),
292 if (details->last_start_time_.count(event.touch_id())) {
294 details->last_start_time_[event.touch_id()];
302 details->start_touch_position_[event.touch_id()];
312 details->last_start_time_.erase(event.touch_id());
313 details->last_move_time_.erase(event.touch_id());
314 details->start_touch_position_.erase(event.touch_id());
315 details->last_touch_position_.erase(event.touch_id());
316 details->last_release_time_ = event.time_stamp();
319 if (details->last_touch_position_.count(event.touch_id())) {
320 gfx::Point lastpos = details->last_touch_position_[event.touch_id()];
324 if (details->last_move_time_.count(event.touch_id())) {
326 details->last_move_time_[event.touch_id()];
334 details->last_move_time_[event.touch_id()] = event.time_stamp();
335 details->last_touch_position_[event.touch_id()] = event.location();