/external/chromium_org/third_party/WebKit/Source/wtf/ |
CurrentTime.h | 42 WTF_EXPORT double currentTime(); 47 return currentTime() * 1000.0; 61 using WTF::currentTime;
|
CurrentTime.cpp | 32 #include "wtf/CurrentTime.h" 49 double currentTime()
|
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
AnimationClock.cpp | 34 #include "wtf/CurrentTime.h" 57 double AnimationClock::currentTime() 60 const double currentTime = m_monotonicallyIncreasingTime(); 61 if (m_time < currentTime) { 63 const double frameShift = fmod(currentTime - m_time, approximateFrameTime); 64 const double newTime = currentTime + (approximateFrameTime - frameShift); 65 ASSERT(newTime >= currentTime); 66 ASSERT(newTime <= currentTime + approximateFrameTime);
|
AnimationClockTest.cpp | 68 // a non-zero currentTime(). 69 EXPECT_GT(clock.currentTime(), 0); 75 EXPECT_EQ(100, animationClock.currentTime()); 76 EXPECT_EQ(100, animationClock.currentTime()); 82 EXPECT_EQ(100, animationClock.currentTime()); 85 EXPECT_EQ(200, animationClock.currentTime()); 91 EXPECT_EQ(100, animationClock.currentTime()); 95 EXPECT_GE(animationClock.currentTime(), mockTime); 101 EXPECT_EQ(100, animationClock.currentTime()); 105 EXPECT_EQ(125, animationClock.currentTime()); [all...] |
AnimationClock.h | 34 #include "wtf/CurrentTime.h" 52 double currentTime();
|
AnimationPlayer.h | 73 double currentTime(bool& isNull); 74 double currentTime(); 112 double calculateStartTime(double currentTime) const; 164 bool limited(double currentTime) const;
|
AnimationPlayer.idl | 40 [RuntimeEnabled=WebAnimationsPlaybackControl] attribute double? currentTime;
|
AnimationPlayer.cpp | 105 bool AnimationPlayer::limited(double currentTime) const 107 return (m_playbackRate < 0 && currentTime <= 0) || (m_playbackRate > 0 && currentTime >= sourceEnd()); 165 double AnimationPlayer::currentTime(bool& isNull) 167 double result = currentTime(); 172 double AnimationPlayer::currentTime() 295 double AnimationPlayer::calculateStartTime(double currentTime) const 297 return m_timeline->effectiveTime() - currentTime / m_playbackRate; 347 double currentTime = calculateCurrentTime(); 348 if (m_playbackRate > 0 && currentTime > sourceEnd()) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/events/ |
AnimationPlayerEvent.cpp | 11 : currentTime(0.0) 22 AnimationPlayerEvent::AnimationPlayerEvent(const AtomicString& type, double currentTime, double timelineTime) 24 , m_currentTime(currentTime) 31 , m_currentTime(initializer.currentTime) 40 double AnimationPlayerEvent::currentTime() const
|
AnimationPlayerEvent.h | 15 double currentTime; 26 static PassRefPtrWillBeRawPtr<AnimationPlayerEvent> create(const AtomicString& type, double currentTime, double timelineTime) 28 return adoptRefWillBeNoop(new AnimationPlayerEvent(type, currentTime, timelineTime)); 37 double currentTime() const; 46 AnimationPlayerEvent(const AtomicString& type, double currentTime, double timelineTime);
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/ |
VSyncMonitor.java | 106 final long currentTime = getCurrentNanoTime(); 107 onVSyncCallback(currentTime, currentTime); 117 final long currentTime = getCurrentNanoTime(); 118 onVSyncCallback(estimateLastVSyncTime(currentTime), currentTime); 196 final long currentTime = getCurrentNanoTime(); 199 if (currentTime - mLastVSyncCpuTimeNano < 2 * mRefreshPeriodNano) return false; 200 if (currentTime - estimateLastVSyncTime(currentTime) > mRefreshPeriodNano / 2) return false [all...] |
/cts/tests/tests/hardware/src/android/hardware/consumerir/cts/ |
ConsumerIrTest.java | 89 long currentTime = SystemClock.elapsedRealtimeNanos(); 93 totalXmitTimeNanos, newTime - currentTime); 94 assertTrue(msg, newTime - currentTime >= totalXmitTimeNanos * (1.0 - margin)); 95 assertTrue(msg, newTime - currentTime <= totalXmitTimeNanos * (1.0 + margin)); 98 currentTime = SystemClock.elapsedRealtimeNanos(); 102 totalXmitTimeNanos, newTime - currentTime); 103 assertTrue(msg, newTime - currentTime >= totalXmitTimeNanos * (1.0 - margin)); 104 assertTrue(msg, newTime - currentTime <= totalXmitTimeNanos * (1.0 + margin));
|
/external/chromium_org/third_party/skia/tools/skpdiff/ |
skpdiff_util.cpp | 89 LARGE_INTEGER currentTime; 91 QueryPerformanceCounter(¤tTime); 93 return (double)currentTime.QuadPart / (double)frequency.QuadPart; 95 struct timespec currentTime; 96 clock_gettime(CLOCK_REALTIME, ¤tTime); 97 return currentTime.tv_sec + (double)currentTime.tv_nsec / 1e9; 99 struct timeval currentTime; 100 gettimeofday(¤tTime, NULL); 101 return currentTime.tv_sec + (double)currentTime.tv_usec / 1e6 [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderMediaControls.h | 45 static String formatMediaControlsCurrentTime(float currentTime, float duration);
|
RenderProgress.cpp | 27 #include "wtf/CurrentTime.h" 70 return m_animating ? (fmod((currentTime() - m_animationStartTime), m_animationDuration) / m_animationDuration) : 0; 97 m_animationStartTime = currentTime();
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
Clock.h | 40 double currentTime() const;
|
Clock.cpp | 29 #include "wtf/CurrentTime.h" 47 double Clock::currentTime() const 80 return WTF::currentTime();
|
ClockTest.cpp | 58 EXPECT_TRUE(clock->currentTime() >= 10.0);
|
UserGestureIndicator.cpp | 30 #include "wtf/CurrentTime.h" 51 if (m_consumableGestures < 1 || (WTF::currentTime() - m_timestamp > (m_outOfProcess ? userGestureOutOfProcessTimeout : userGestureTimeout) && !m_javascriptPrompt)) 59 m_timestamp = WTF::currentTime(); 64 m_timestamp = WTF::currentTime(); 77 if (WTF::currentTime() - m_timestamp > userGestureTimeout) 85 if (WTF::currentTime() - m_timestamp > userGestureTimeout)
|
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
AudioParamTimeline.cpp | 206 if (!tryLocker.locked() || !context || !m_events.size() || context->currentTime() < m_events[0].time()) { 215 double startTime = context->currentTime(); 269 double currentTime = startTime; 282 currentTime = fillToTime; 297 if (nextEvent && nextEvent->time() < currentTime) 318 float x = (currentTime - time1) * k; 321 currentTime += sampleFrameTimeIncr; 335 // AudioUtilities::timeToSampleFrame(currentTime - time1, sampleRate), but is more 338 AudioUtilities::timeToSampleFrame(currentTime - time1, sampleRate) / numSampleFrames); 343 currentTime += sampleFrameTimeIncr [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
MediaController.idl | 38 attribute double currentTime;
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
HTMLParserScheduler.h | 31 #include "wtf/CurrentTime.h" 75 // currentTime() can be expensive. By delaying, we avoided calling 76 // currentTime() when constructing non-yielding PumpSessions. 78 session.startTime = currentTime(); 83 double elapsedTime = currentTime() - session.startTime;
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
MovieHeaderBox.java | 50 private int currentTime; 131 currentTime = content.getInt(); 193 byteBuffer.putInt(currentTime); 272 return currentTime; 275 public void setCurrentTime(int currentTime) { 276 this.currentTime = currentTime;
|
/development/ndk/sources/android/ndk_helper/ |
interpolator.h | 83 bool Update( const double currentTime, float& p );
|
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
DocumentLoadTiming.cpp | 71 m_referenceWallTime = currentTime();
|