Home
last modified time | relevance | path

Searched refs:event_time (Results 1 – 25 of 48) sorted by relevance

12

/external/chromium_org/content/browser/renderer_host/input/
Dgesture_text_selector_unittest.cc61 base::TimeTicks event_time, in CreateGesture() argument
67 event_time, in CreateGesture()
82 base::TimeTicks event_time = base::TimeTicks::Now(); in TEST_F() local
84 MockMotionEvent e(MotionEvent::ACTION_DOWN, event_time, 50.0f, 50.0f); in TEST_F()
91 MockMotionEvent e(MotionEvent::ACTION_DOWN, event_time, 50.0f, 50.0f); in TEST_F()
98 MockMotionEvent e(MotionEvent::ACTION_DOWN, event_time, 50.0f, 50.0f); in TEST_F()
105 MockMotionEvent e(MotionEvent::ACTION_DOWN, event_time, 50.0f, 50.0f); in TEST_F()
114 base::TimeTicks event_time = base::TimeTicks::Now(); in TEST_F() local
118 MockMotionEvent finger(MotionEvent::ACTION_DOWN, event_time, x, y); in TEST_F()
126 base::TimeTicks event_time = base::TimeTicks::Now(); in TEST_F() local
[all …]
Dtouch_handle_unittest.cc275 base::TimeTicks event_time = base::TimeTicks::Now(); in TEST_F() local
278 MockMotionEvent::ACTION_DOWN, event_time, kOffset, kOffset); in TEST_F()
304 base::TimeTicks event_time = base::TimeTicks::Now(); in TEST_F() local
309 MockMotionEvent::ACTION_DOWN, event_time, kOffset, kOffset); in TEST_F()
315 event = MockMotionEvent(MockMotionEvent::ACTION_DOWN, event_time, 50, 50); in TEST_F()
321 MockMotionEvent::ACTION_MOVE, event_time, kOffset, kOffset); in TEST_F()
327 MockMotionEvent::ACTION_DOWN, event_time, kOffset, kOffset); in TEST_F()
332 MockMotionEvent::ACTION_MOVE, event_time, kOffset + 10, kOffset + 15); in TEST_F()
339 MockMotionEvent::ACTION_MOVE, event_time, kOffset - 10, kOffset - 15); in TEST_F()
414 base::TimeTicks event_time = base::TimeTicks::Now(); in TEST_F() local
[all …]
Dtouch_selection_controller_unittest.cc310 base::TimeTicks event_time = base::TimeTicks::Now(); in TEST_F() local
315 MockMotionEvent event(MockMotionEvent::ACTION_DOWN, event_time, 0, 0); in TEST_F()
334 event = MockMotionEvent(MockMotionEvent::ACTION_MOVE, event_time, 0, 5); in TEST_F()
339 event = MockMotionEvent(MockMotionEvent::ACTION_MOVE, event_time, 5, 5); in TEST_F()
344 event = MockMotionEvent(MockMotionEvent::ACTION_MOVE, event_time, 10, 10); in TEST_F()
349 event = MockMotionEvent(MockMotionEvent::ACTION_UP, event_time, 10, 5); in TEST_F()
359 base::TimeTicks event_time = base::TimeTicks::Now(); in TEST_F() local
369 MockMotionEvent event(MockMotionEvent::ACTION_DOWN, event_time, 0, 0); in TEST_F()
374 event = MockMotionEvent(MockMotionEvent::ACTION_UP, event_time, 0, 0); in TEST_F()
385 event = MockMotionEvent(MockMotionEvent::ACTION_DOWN, event_time, 0, 0); in TEST_F()
[all …]
Dmotion_event_android_unittest.cc36 base::TimeTicks event_time = in TEST() local
56 event_time, event_time, MotionEvent::ACTION_DOWN, x0, y0); in TEST()
87 EXPECT_EQ(event_time, event.GetEventTime()); in TEST()
115 base::TimeTicks event_time = in TEST() local
126 event_time, event_time, MotionEvent::ACTION_DOWN, x, y); in TEST()
162 base::TimeTicks event_time = in TEST() local
169 event_time, event_time, MotionEvent::ACTION_DOWN, x, y); in TEST()
201 EXPECT_EQ(event_time, cancel_event->GetEventTime()); in TEST()
Dtap_suppression_controller.cc45 base::TimeTicks event_time = Now(); in GestureFlingCancelAck() local
52 fling_cancel_time_ = event_time; in GestureFlingCancelAck()
70 base::TimeTicks event_time = Now(); in ShouldDeferTapDown() local
84 if ((event_time - fling_cancel_time_) < max_cancel_to_down_time_) { in ShouldDeferTapDown()
/external/chromium_org/content/browser/media/capture/
Dvideo_capture_oracle.cc82 base::TimeTicks event_time) { in ObserveEventAndDecideCapture() argument
85 if (event_time < last_event_time_[event]) { in ObserveEventAndDecideCapture()
90 last_event_time_[event] = event_time; in ObserveEventAndDecideCapture()
96 smoothing_sampler_.ConsiderPresentationEvent(event_time); in ObserveEventAndDecideCapture()
97 content_sampler_.ConsiderPresentationEvent(damage_rect, event_time); in ObserveEventAndDecideCapture()
101 event_time = content_sampler_.frame_timestamp(); in ObserveEventAndDecideCapture()
107 should_sample = smoothing_sampler_.IsOverdueForSamplingAt(event_time); in ObserveEventAndDecideCapture()
111 SetFrameTimestamp(frame_number_, event_time); in ObserveEventAndDecideCapture()
188 void SmoothEventSampler::ConsiderPresentationEvent(base::TimeTicks event_time) { in ConsiderPresentationEvent() argument
189 DCHECK(!event_time.is_null()); in ConsiderPresentationEvent()
[all …]
Dvideo_capture_oracle.h30 void ConsiderPresentationEvent(base::TimeTicks event_time);
42 bool IsOverdueForSamplingAt(base::TimeTicks event_time) const;
81 base::TimeTicks event_time);
109 base::TimeTicks event_time; member
112 : damage_rect(d), event_time(e) {} in Observation()
117 void AddObservation(const gfx::Rect& damage_rect, base::TimeTicks event_time);
129 bool AnalyzeObservations(base::TimeTicks event_time,
135 void UpdateFrameTimestamp(base::TimeTicks event_time);
194 base::TimeTicks event_time);
/external/chromium_org/ui/events/gesture_detection/
Dmotion_event_buffer_unittest.cc164 base::TimeTicks event_time = base::TimeTicks::Now(); in RunResample() local
166 event_time + flush_time_delta - event_time_offset; in RunResample()
168 event_time + base::TimeDelta::FromSecondsD(0.5f); in RunResample()
181 while (event_time < max_event_time) { in RunResample()
184 MotionEvent::ACTION_MOVE, event_time, position.x(), position.y()); in RunResample()
186 event_time += event_time_delta; in RunResample()
188 while (flush_time < event_time) { in RunResample()
253 base::TimeTicks event_time = base::TimeTicks::Now(); in TEST_F() local
256 MockMotionEvent move(MotionEvent::ACTION_MOVE, event_time, 4.f, 4.f); in TEST_F()
261 buffer.Flush(event_time + ResampleDelta()); in TEST_F()
[all …]
Dgesture_provider_unittest.cc63 static MockMotionEvent ObtainMotionEvent(base::TimeTicks event_time, in ObtainMotionEvent() argument
67 return MockMotionEvent(action, event_time, x, y); in ObtainMotionEvent()
70 static MockMotionEvent ObtainMotionEvent(base::TimeTicks event_time, in ObtainMotionEvent() argument
76 return MockMotionEvent(action, event_time, x0, y0, x1, y1); in ObtainMotionEvent()
79 static MockMotionEvent ObtainMotionEvent(base::TimeTicks event_time, in ObtainMotionEvent() argument
87 return MockMotionEvent(action, event_time, x0, y0, x1, y1, x2, y2); in ObtainMotionEvent()
91 base::TimeTicks event_time, in ObtainMotionEvent() argument
97 action, event_time, positions[0].x(), positions[0].y()); in ObtainMotionEvent()
100 event_time, in ObtainMotionEvent()
107 event_time, in ObtainMotionEvent()
[all …]
Dvelocity_tracker.cc24 virtual void AddMovement(const base::TimeTicks& event_time,
126 virtual void AddMovement(const TimeTicks& event_time,
139 TimeTicks event_time; member
165 virtual void AddMovement(const TimeTicks& event_time,
186 const TimeTicks& event_time,
190 const TimeTicks& event_time,
257 void VelocityTracker::AddMovement(const TimeTicks& event_time, in AddMovement() argument
264 (event_time - last_event_time_) >= in AddMovement()
270 last_event_time_ = event_time; in AddMovement()
276 strategy_->AddMovement(event_time, id_bits, positions); in AddMovement()
[all …]
Dmotion_event_generic_unittest.cc12 base::TimeTicks event_time = base::TimeTicks::Now(); in TEST() local
14 MotionEvent::ACTION_DOWN, event_time, PointerProperties()); in TEST()
17 EXPECT_EQ(event_time, event.GetEventTime()); in TEST()
35 event_time += base::TimeDelta::FromMilliseconds(5); in TEST()
36 event.set_event_time(event_time); in TEST()
37 EXPECT_EQ(event_time, event.GetEventTime()); in TEST()
75 base::TimeTicks event_time = base::TimeTicks::Now(); in TEST() local
78 MotionEventGeneric event0(MotionEvent::ACTION_DOWN, event_time, pointer); in TEST()
Dmotion_event_generic.h35 base::TimeTicks event_time,
65 void set_event_time(base::TimeTicks event_time) { event_time_ = event_time; } in set_event_time() argument
Dmotion_event_generic.cc46 base::TimeTicks event_time, in MotionEventGeneric() argument
49 event_time_(event_time), in MotionEventGeneric()
Dvelocity_tracker.h131 void AddMovement(const base::TimeTicks& event_time,
/external/chromium_org/extensions/browser/
Dquota_service.cc43 const base::TimeTicks& event_time) { in Assess() argument
70 if (!(*heuristic)->ApplyToArgs(args, event_time)) { in Assess()
124 const base::TimeTicks& event_time) { in ApplyToArgs() argument
129 (*i)->Reset(config_, event_time); in ApplyToArgs()
130 if (!Apply(*i, event_time)) in ApplyToArgs()
150 const base::TimeTicks& event_time) { in Apply() argument
151 if (event_time > bucket->expiration()) in Apply()
152 bucket->Reset(config(), event_time); in Apply()
158 const base::TimeTicks& event_time) { in Apply() argument
159 if (event_time > bucket->expiration()) { in Apply()
[all …]
Dquota_service.h60 const base::TimeTicks& event_time);
184 const base::TimeTicks& event_time);
194 virtual bool Apply(Bucket* bucket, const base::TimeTicks& event_time) = 0;
217 const base::TimeTicks& event_time) OVERRIDE;
230 const base::TimeTicks& event_time) OVERRIDE;
/external/chromium_org/ui/events/
Dlatency_info_unittest.cc34 EXPECT_EQ(component.event_time.ToInternalValue(), 100); in TEST()
39 EXPECT_EQ(component.event_time.ToInternalValue(), 1000); in TEST()
65 EXPECT_EQ(component.event_time.ToInternalValue(), (100 * 2 + 200 * 3) / 5); in TEST()
Dlatency_info.cc115 component_info->SetDouble("time", it->second.event_time.ToInternalValue()); in AsTraceableData()
177 it->second.event_time, in CopyLatencyFrom()
191 it->second.event_time, in AddNewLatencyFrom()
240 ts = component.event_time.ToInternalValue() - diff; in AddLatencyNumberWithTimestamp()
268 it->second.event_time += (time - it->second.event_time) * event_count / in AddLatencyNumberWithTimestamp()
/external/chromium_org/ppapi/shared_impl/
Dtime_conversion.cc45 PP_TimeTicks EventTimeToPPTimeTicks(double event_time) { in EventTimeToPPTimeTicks() argument
46 return event_time + GetTimeToTimeTicksDeltaInSeconds(); in EventTimeToPPTimeTicks()
Dtime_conversion.h23 PPAPI_SHARED_EXPORT PP_TimeTicks EventTimeToPPTimeTicks(double event_time);
/external/chromium_org/chrome/test/logging/win/
Dlog_file_printer.cc138 FILETIME event_time = {}; in PrintTimeStamp() local
140 event_time.dwLowDateTime = time_stamp.LowPart; in PrintTimeStamp()
141 event_time.dwHighDateTime = time_stamp.HighPart; in PrintTimeStamp()
142 base::Time::FromFileTime(event_time).LocalExplode(&time_exploded); in PrintTimeStamp()
/external/chromium_org/ui/views/widget/desktop_aura/
Ddesktop_drag_drop_client_aurax11.cc533 unsigned long event_time = next_position_message_->second; in OnXdndStatus() local
536 SendXdndPosition(source_window, p, event_time); in OnXdndStatus()
835 unsigned long event_time) { in ProcessMouseMove() argument
859 new std::pair<gfx::Point, unsigned long>(screen_point, event_time)); in ProcessMouseMove()
861 SendXdndPosition(dest_window, screen_point, event_time); in ProcessMouseMove()
1047 unsigned long event_time) { in SendXdndPosition() argument
1058 xev.xclient.data.l[3] = event_time; in SendXdndPosition()
1071 event_time)); in SendXdndPosition()
Ddesktop_drag_drop_client_aurax11.h138 unsigned long event_time);
186 unsigned long event_time);
/external/chromium_org/ui/events/ipc/
Dlatency_info_param_traits.h20 IPC_STRUCT_TRAITS_MEMBER(event_time)
/external/chromium_org/win8/metro_driver/ime/
Dime_popup_monitor.cc25 DWORD event_time) { in ImeEventCallback() argument

12