/external/chromium_org/content/browser/renderer_host/input/ |
D | gesture_text_selector_unittest.cc | 61 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 …]
|
D | touch_handle_unittest.cc | 275 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 …]
|
D | touch_selection_controller_unittest.cc | 310 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 …]
|
D | motion_event_android_unittest.cc | 36 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()
|
D | tap_suppression_controller.cc | 45 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/ |
D | video_capture_oracle.cc | 82 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 …]
|
D | video_capture_oracle.h | 30 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/ |
D | motion_event_buffer_unittest.cc | 164 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 …]
|
D | gesture_provider_unittest.cc | 63 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 …]
|
D | velocity_tracker.cc | 24 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 …]
|
D | motion_event_generic_unittest.cc | 12 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()
|
D | motion_event_generic.h | 35 base::TimeTicks event_time, 65 void set_event_time(base::TimeTicks event_time) { event_time_ = event_time; } in set_event_time() argument
|
D | motion_event_generic.cc | 46 base::TimeTicks event_time, in MotionEventGeneric() argument 49 event_time_(event_time), in MotionEventGeneric()
|
D | velocity_tracker.h | 131 void AddMovement(const base::TimeTicks& event_time,
|
/external/chromium_org/extensions/browser/ |
D | quota_service.cc | 43 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 …]
|
D | quota_service.h | 60 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/ |
D | latency_info_unittest.cc | 34 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()
|
D | latency_info.cc | 115 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/ |
D | time_conversion.cc | 45 PP_TimeTicks EventTimeToPPTimeTicks(double event_time) { in EventTimeToPPTimeTicks() argument 46 return event_time + GetTimeToTimeTicksDeltaInSeconds(); in EventTimeToPPTimeTicks()
|
D | time_conversion.h | 23 PPAPI_SHARED_EXPORT PP_TimeTicks EventTimeToPPTimeTicks(double event_time);
|
/external/chromium_org/chrome/test/logging/win/ |
D | log_file_printer.cc | 138 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/ |
D | desktop_drag_drop_client_aurax11.cc | 533 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()
|
D | desktop_drag_drop_client_aurax11.h | 138 unsigned long event_time); 186 unsigned long event_time);
|
/external/chromium_org/ui/events/ipc/ |
D | latency_info_param_traits.h | 20 IPC_STRUCT_TRAITS_MEMBER(event_time)
|
/external/chromium_org/win8/metro_driver/ime/ |
D | ime_popup_monitor.cc | 25 DWORD event_time) { in ImeEventCallback() argument
|