HomeSort by relevance Sort by last modified time
    Searched refs:event_time (Results 1 - 25 of 54) sorted by null

1 2 3

  /external/chromium_org/content/browser/renderer_host/media/
video_capture_oracle.cc 37 base::Time event_time) {
44 should_sample = sampler_.AddEventAndConsiderSampling(event_time);
46 should_sample = sampler_.IsOverdueForSamplingAt(event_time);
91 bool SmoothEventSampler::AddEventAndConsiderSampling(base::Time event_time) {
92 DCHECK(!event_time.is_null());
101 if (current_event_ < event_time) {
102 token_bucket_ += event_time - current_event_;
107 // greater than |event_time|, everything here will simply gracefully adjust.
113 current_event_ = event_time;
140 bool SmoothEventSampler::IsOverdueForSamplingAt(base::Time event_time) const
    [all...]
video_capture_oracle.h 25 bool AddEventAndConsiderSampling(base::Time event_time);
32 // Returns true if, at time |event_time|, sampling should occur because too
34 bool IsOverdueForSamplingAt(base::Time event_time) const;
75 base::Time event_time);
  /external/chromium/chrome/browser/extensions/
extensions_quota_service.cc 33 const base::TimeTicks& event_time) {
52 global_decision = (*heuristic)->ApplyToArgs(args, event_time) &&
94 const base::TimeTicks& event_time) {
99 (*i)->Reset(config_, event_time);
100 if (!Apply(*i, event_time))
115 const base::TimeTicks& event_time) {
116 if (event_time > bucket->expiration())
117 bucket->Reset(config(), event_time); local
123 const base::TimeTicks& event_time) {
124 if (event_time > bucket->expiration())
135 bucket->Reset(config(), event_time); local
    [all...]
extensions_quota_service.h 47 const ListValue* args, const base::TimeTicks& event_time);
152 bool ApplyToArgs(const ListValue* args, const base::TimeTicks& event_time);
157 // Determine if the new event occurring at |event_time| involving |bucket|
159 virtual bool Apply(Bucket* bucket, const base::TimeTicks& event_time) = 0;
178 virtual bool Apply(Bucket* bucket, const base::TimeTicks& event_time);
189 virtual bool Apply(Bucket* bucket, const base::TimeTicks& event_time);
  /external/chromium_org/extensions/browser/
quota_service.cc 43 const base::TimeTicks& event_time) {
70 if (!(*heuristic)->ApplyToArgs(args, event_time)) {
124 const base::TimeTicks& event_time) {
129 (*i)->Reset(config_, event_time);
130 if (!Apply(*i, event_time))
150 const base::TimeTicks& event_time) {
151 if (event_time > bucket->expiration())
152 bucket->Reset(config(), event_time); local
158 const base::TimeTicks& event_time) {
159 if (event_time > bucket->expiration())
170 bucket->Reset(config(), event_time); local
    [all...]
quota_service.h 60 const base::TimeTicks& event_time);
185 const base::TimeTicks& event_time);
193 // Determine if the new event occurring at |event_time| involving |bucket|
195 virtual bool Apply(Bucket* bucket, const base::TimeTicks& event_time) = 0;
218 const base::TimeTicks& event_time) OVERRIDE;
231 const base::TimeTicks& event_time) OVERRIDE;
  /external/chromium_org/chrome_frame/
event_hooker.h 30 DWORD event_time);
event_hooker.cc 51 DWORD event_time) {
  /external/chromium_org/content/browser/renderer_host/input/
tap_suppression_controller.cc 34 base::TimeTicks event_time = Now(); local
40 fling_cancel_time_ = event_time;
58 base::TimeTicks event_time = Now(); local
72 if ((event_time - fling_cancel_time_).InMilliseconds()
  /external/chromium_org/content/common/
content_param_traits_macros.h 26 IPC_STRUCT_TRAITS_MEMBER(event_time)
  /external/chromium_org/ppapi/shared_impl/
time_conversion.h 23 PPAPI_SHARED_EXPORT PP_TimeTicks EventTimeToPPTimeTicks(double event_time);
time_conversion.cc 47 PP_TimeTicks EventTimeToPPTimeTicks(double event_time) {
48 return event_time + GetTimeToTimeTicksDeltaInSeconds();
  /external/chromium_org/ui/events/
latency_info_unittest.cc 36 EXPECT_EQ(component.event_time.ToInternalValue(), 100);
41 EXPECT_EQ(component.event_time.ToInternalValue(), 1000);
69 EXPECT_EQ(component.event_time.ToInternalValue(), (100 * 2 + 200 * 3) / 5);
99 EXPECT_EQ(component.event_time.ToInternalValue(), 100);
104 EXPECT_EQ(component.event_time.ToInternalValue(), 1000);
134 EXPECT_EQ(component.event_time.ToInternalValue(), (100 * 2 + 200 * 3) / 5);
latency_info.cc 104 component_info->SetDouble("time", it->second.event_time.ToInternalValue());
129 it->second.event_time,
143 it->second.event_time,
182 // Do a weighted average, so that the new event_time is the average of
185 it->second.event_time += (time - it->second.event_time) * event_count /
latency_info.h 76 base::TimeTicks event_time; member in struct:ui::LatencyInfo::LatencyComponent
  /external/chromium_org/chrome/browser/ui/gtk/tabs/
tab_strip_menu_controller.cc 23 guint32 event_time) {
24 menu_->PopupAsContext(point, event_time);
tab_strip_menu_controller.h 33 void RunMenu(const gfx::Point& point, guint32 event_time);
  /external/chromium/chrome/browser/ui/gtk/
menu_gtk.h 81 // |event_time| is the time from the GdkEvent.
82 void PopupForWidget(GtkWidget* widget, int button, guint32 event_time);
87 // |event_time| is the time of the event that triggered the menu's display.
88 void PopupAsContext(const gfx::Point& point, guint32 event_time);
91 void PopupAsContextForStatusIcon(guint32 event_time, guint32 button,
back_forward_button_gtk.h 48 void ShowBackForwardMenu(int button, guint32 event_time);
back_forward_button_gtk.cc 81 void BackForwardButtonGtk::ShowBackForwardMenu(int button, guint32 event_time) {
84 menu_->PopupForWidget(widget(), button, event_time); local
  /external/chromium_org/chrome/browser/ui/gtk/
back_forward_button_gtk.h 48 void ShowBackForwardMenu(int button, guint32 event_time);
menu_gtk.h 91 // |event_time| is the time from the GdkEvent.
92 void PopupForWidget(GtkWidget* widget, int button, guint32 event_time);
97 // |event_time| is the time of the event that triggered the menu's display.
98 void PopupAsContext(const gfx::Point& point, guint32 event_time);
101 void PopupAsContextForStatusIcon(guint32 event_time, guint32 button,
back_forward_button_gtk.cc 84 void BackForwardButtonGtk::ShowBackForwardMenu(int button, guint32 event_time) {
87 menu_->PopupForWidget(widget(), button, event_time); local
  /external/chromium_org/chrome/test/logging/win/
log_file_printer.cc 141 FILETIME event_time = {}; local
143 event_time.dwLowDateTime = time_stamp.LowPart;
144 event_time.dwHighDateTime = time_stamp.HighPart;
145 base::Time::FromFileTime(event_time).LocalExplode(&time_exploded);
  /external/chromium_org/content/browser/renderer_host/
ime_adapter_android.h 34 long event_time, int key_code,

Completed in 1485 milliseconds

1 2 3