Home
last modified time | relevance | path

Searched refs:m_timer (Results 1 – 25 of 63) sorted by relevance

123

/external/webkit/Source/WebCore/platform/cf/
DRunLoopTimerCF.cpp50 if (m_timer) in start()
51 CFRunLoopTimerInvalidate(m_timer.get()); in start()
53m_timer.adoptCF(CFRunLoopTimerCreate(0, CFAbsoluteTimeGetCurrent() + nextFireInterval, repeatInter… in start()
59 …ASSERT_WITH_MESSAGE(m_timer, "Timer must have one of the start functions called before calling sch… in schedule()
60 CFRunLoopAddTimer(schedulePair->runLoop(), m_timer.get(), schedulePair->mode()); in schedule()
72 if (!m_timer) in stop()
74 CFRunLoopTimerInvalidate(m_timer.get()); in stop()
75 m_timer = 0; in stop()
80 return m_timer && CFRunLoopTimerIsValid(m_timer.get()); in isActive()
/external/webkit/Source/WebCore/storage/wince/
DLocalStorageThreadWinCE.cpp33 : m_timer(this, &LocalStorageThread::timerFired) in LocalStorageThread()
53 m_timer.startOneShot(0); in timerFired()
60 if (!m_timer.isActive()) in scheduleImport()
61 m_timer.startOneShot(0); in scheduleImport()
67 if (!m_timer.isActive()) in scheduleSync()
68 m_timer.startOneShot(0); in scheduleSync()
74 m_timer.stop(); in terminate()
80 m_timer.stop(); in performTerminate()
DDatabaseThreadWinCE.cpp33 : m_timer(this, &DatabaseThread::timerFired) in DatabaseThread()
58 m_timer.startOneShot(0); in timerFired()
65 if (!m_timer.isActive()) in scheduleTask()
66 m_timer.startOneShot(0); in scheduleTask()
/external/webkit/Source/WebKit2/UIProcess/
DResponsivenessTimer.cpp38 , m_timer(RunLoop::main(), this, &ResponsivenessTimer::timerFired) in ResponsivenessTimer()
44 m_timer.stop(); in ~ResponsivenessTimer()
49 m_timer.stop(); in invalidate()
60 m_timer.stop(); in timerFired()
65 if (m_timer.isActive()) in start()
71 m_timer.startOneShot(kResponsivenessTimeout); in start()
82 m_timer.stop(); in stop()
/external/webkit/Source/WebCore/platform/mock/
DSpeechInputClientMock.cpp43 , m_timer(this, &SpeechInputClientMock::timerFired) in SpeechInputClientMock()
56 if (m_timer.isActive()) in startRecognition()
61 m_timer.startOneShot(0); in startRecognition()
68 if (m_timer.isActive() && m_recording) { in stopRecording()
69 m_timer.stop(); in stopRecording()
70 timerFired(&m_timer); in stopRecording()
76 if (m_timer.isActive()) { in cancelRecognition()
78 m_timer.stop(); in cancelRecognition()
107 m_timer.startOneShot(0); in timerFired()
DDeviceOrientationClientMock.cpp35 , m_timer(this, &DeviceOrientationClientMock::timerFired) in DeviceOrientationClientMock()
55 m_timer.stop(); in stopUpdating()
61 if (m_isUpdating && !m_timer.isActive()) in setOrientation()
62 m_timer.startOneShot(0); in setOrientation()
67 ASSERT_UNUSED(timer, timer == &m_timer); in timerFired()
68 m_timer.stop(); in timerFired()
DGeolocationServiceMock.cpp51 , m_timer(this, &GeolocationServiceMock::timerFired) in GeolocationServiceMock()
91 m_timer.startOneShot(0); in startUpdating()
102 ASSERT_UNUSED(timer, timer == &m_timer); in timerFired()
/external/webkit/Source/WebCore/dom/
DScriptRunner.cpp39 , m_timer(this, &ScriptRunner::timerFired) in ScriptRunner()
65 if (!m_timer.isActive()) in queueScriptForExecution()
66 m_timer.startOneShot(0); in queueScriptForExecution()
80 m_timer.stop(); in suspend()
86 m_timer.startOneShot(0); in resume()
92 m_timer.startOneShot(0); in notifyInOrderScriptReady()
97 ASSERT_UNUSED(timer, timer == &m_timer); in timerFired()
DDeviceMotionController.cpp37 , m_timer(this, &DeviceMotionController::timerFired) in DeviceMotionController()
50 ASSERT_UNUSED(timer, timer == &m_timer); in timerFired()
52 m_timer.stop(); in timerFired()
70 if (!m_timer.isActive()) in addListener()
71 m_timer.startOneShot(0); in addListener()
DDeviceOrientationController.cpp38 , m_timer(this, &DeviceOrientationController::timerFired) in DeviceOrientationController()
51 ASSERT_UNUSED(timer, timer == &m_timer); in timerFired()
71 if (!m_timer.isActive()) in addListener()
72 m_timer.startOneShot(0); in addListener()
/external/webkit/Source/WebCore/platform/qt/
DSharedTimerQt.cpp60 QBasicTimer m_timer; member in WebCore::SharedTimerQt
71 if (m_timer.isActive()) { in ~SharedTimerQt()
106 m_timer.start(intervalInMS, this); in start()
111 m_timer.stop(); in stop()
116 if (!m_timerFunction || ev->timerId() != m_timer.timerId()) in timerEvent()
119 m_timer.stop(); in timerEvent()
/external/webkit/Source/WebCore/wml/
DWMLTimerElement.cpp41 , m_timer(this, &WMLTimerElement::timerFired) in WMLTimerElement()
122 if (!m_card || m_timer.isActive()) in start()
134 m_timer.startOneShot(interval / 10.0f); in start()
139 if (m_timer.isActive()) in stop()
140 m_timer.stop(); in stop()
145 if (!m_timer.isActive()) in storeIntervalToPageState()
148 int interval = static_cast<int>(m_timer.nextFireInterval()) * 10; in storeIntervalToPageState()
/external/webkit/Source/WebCore/html/
DValidationMessage.cpp73 m_timer.set(new Timer<ValidationMessage>(this, &ValidationMessage::buildBubbleTree)); in setMessage()
75m_timer.set(new Timer<ValidationMessage>(this, &ValidationMessage::setMessageDOMAndStartTimer)); in setMessage()
76 m_timer->startOneShot(0); in setMessage()
100 m_timer.clear(); in setMessageDOMAndStartTimer()
102 m_timer.set(new Timer<ValidationMessage>(this, &ValidationMessage::deleteBubbleTree)); in setMessageDOMAndStartTimer()
103m_timer->startOneShot(max(5.0, static_cast<double>(m_message.length()) * magnification / 1000)); in setMessageDOMAndStartTimer()
151 m_timer.set(new Timer<ValidationMessage>(this, &ValidationMessage::deleteBubbleTree)); in requestToHideMessage()
152 m_timer->startOneShot(0); in requestToHideMessage()
/external/webkit/Tools/QtTestBrowser/
Dfpstimer.cpp41 , m_timer(0) in FpsTimer()
62 m_timer = startTimer(FPS_MEASURE_INTERVAL); in start()
67 if (!m_timer) in stop()
69 killTimer(m_timer); in stop()
75 if (event->timerId() != m_timer) in timerEvent()
/external/webkit/Source/WebCore/rendering/
DRenderMarquee.cpp63 , m_timer(this, &RenderMarquee::timerFired) in RenderMarquee()
159 if (m_timer.isActive() || m_layer->renderer()->style()->marqueeIncrement().isZero() in start()
183 m_timer.startRepeating(speed() * 0.001); in start()
191 m_timer.stop(); in suspend()
197 m_timer.stop(); in stop()
252 if (m_timer.isActive()) in updateMarqueeStyle()
253 m_timer.startRepeating(speed() * 0.001); in updateMarqueeStyle()
258 if (activate && !m_timer.isActive()) in updateMarqueeStyle()
260 else if (!activate && m_timer.isActive()) in updateMarqueeStyle()
261 m_timer.stop(); in updateMarqueeStyle()
[all …]
DRenderButton.cpp97 if (!m_timer) in styleDidChange()
98 m_timer.set(new Timer<RenderButton>(this, &RenderButton::timerFired)); in styleDidChange()
99 m_timer->startRepeating(0.03); in styleDidChange()
103 m_timer.clear(); in styleDidChange()
/external/webkit/Source/WebKit2/Platform/mac/
DRunLoopMac.mm114 , m_timer(0) function
125 if (m_timer)
130m_timer = CFRunLoopTimerCreate(kCFAllocatorDefault, CFAbsoluteTimeGetCurrent() + nextFireInterval,…
131 CFRunLoopAddTimer(m_runLoop->m_runLoop, m_timer, kCFRunLoopCommonModes);
136 if (!m_timer)
139 CFRunLoopTimerInvalidate(m_timer);
140 CFRelease(m_timer);
141 m_timer = 0;
146 return m_timer && CFRunLoopTimerIsValid(m_timer);
/external/webkit/Source/WebCore/platform/android/
DPackageNotifier.cpp37 … : m_onResultAvailable(0), m_isInitialized(false), m_timer(this, &PackageNotifier::timerFired) { } in PackageNotifier()
71 if (!m_isInitialized || m_timer.isActive()) in requestPackageResult()
74 m_timer.startOneShot(0); in requestPackageResult()
79 m_timer.stop(); in timerFired()
DGeolocationServiceAndroid.cpp64 , m_timer(this, &GeolocationServiceAndroid::timerFired) in GeolocationServiceAndroid()
86 m_timer.startOneShot(0); in startUpdating()
124 if (m_timer.isActive()) in stopUpdating()
125 m_timer.stop(); in stopUpdating()
166 ASSERT(&m_timer == timer); in timerFired()
/external/webkit/Source/WebKit/chromium/src/
DDragScrollTimer.cpp56 : m_timer(this, &DragScrollTimer::fired) in DragScrollTimer()
70 m_timer.stop(); in stop()
102 else if (shouldScroll() && !m_timer.isActive()) in triggerScroll()
103 m_timer.startOneShot(scrollStartDelay); in triggerScroll()
/external/webkit/Source/WebCore/loader/
DImageLoader.cpp78 Timer<ImageEventSender> m_timer; member in WebCore::ImageEventSender
317 , m_timer(this, &ImageEventSender::timerFired) in ImageEventSender()
324 if (!m_timer.isActive()) in dispatchEventSoon()
325 m_timer.startOneShot(0); in dispatchEventSoon()
343 m_timer.stop(); in cancelEvent()
354 m_timer.stop(); in dispatchPendingEvents()
DNavigationScheduler.cpp244 , m_timer(this, &NavigationScheduler::timerFired) in NavigationScheduler()
264 m_timer.stop(); in clear()
424 if (m_timer.isActive()) in startTimer()
429 m_timer.startOneShot(m_redirect->delay()); in startTimer()
430 m_redirect->didStartTimer(m_frame, &m_timer); in startTimer()
435 m_timer.stop(); in cancel()
/external/webkit/Source/WebCore/page/
DPluginHalter.cpp41 , m_timer(this, &PluginHalter::timerFired) in PluginHalter()
108 if (m_timer.isActive()) in startTimerIfNecessary()
115 m_timer.startOneShot(nextFireInterval < 0 ? 0 : nextFireInterval); in startTimerIfNecessary()
/external/webkit/Source/WebCore/platform/
DTimer.cpp63 , m_timer(timerHeap()[m_index]) in TimerHeapElement()
71 TimerBase* timer() const { return m_timer; } in timer()
83 TimerBase* m_timer; member in WebCore::TimerHeapElement
87 : m_index(-1), m_timer(o.timer()) in TimerHeapElement()
94 m_timer = t; in operator =()
/external/webkit/Source/WebKit/android/benchmark/
DIntercept.h69 , m_timer(this, &MyWebFrame::timerFired) {} in MyWebFrame()
79 Timer<MyWebFrame> m_timer; variable

123