HomeSort by relevance Sort by last modified time
    Searched full:currenttime (Results 1 - 25 of 362) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/WebKit/Source/core/animation/
PlayerTest.cpp 67 EXPECT_TRUE(isNull(timeline->currentTime()));
68 EXPECT_EQ(0, player->currentTime());
78 EXPECT_EQ(1234, timeline->currentTime());
81 EXPECT_EQ(0, player->currentTime());
89 EXPECT_EQ(200, player->currentTime());
95 EXPECT_EQ(200, player->currentTime());
99 EXPECT_EQ(400, player->currentTime());
107 EXPECT_EQ(0, player->currentTime());
112 EXPECT_EQ(0, player->currentTime());
118 EXPECT_EQ(0, player->currentTime());
    [all...]
Player.cpp 50 , m_startTime(effectiveTime(timeline->currentTime()))
68 return (effectiveTime(m_timeline->currentTime()) - m_startTime) * m_playbackRate;
82 double Player::currentTime() const
92 double newTime = isNull(m_timeline->currentTime()) ? nullValue() : currentTime();
122 m_pauseStartTime = currentTime();
131 double previousTime = currentTime();
DocumentTimelineTest.cpp 67 EXPECT_TRUE(isNull(timeline->currentTime()));
70 EXPECT_TRUE(isNull(timeline->currentTime()));
73 EXPECT_FLOAT_EQ(0, timeline->currentTime());
77 EXPECT_FLOAT_EQ(100, timeline->currentTime());
89 EXPECT_FLOAT_EQ(seekTime, player1->currentTime());
90 EXPECT_FLOAT_EQ(seekTime, player2->currentTime());
  /frameworks/base/core/tests/coretests/src/com/android/internal/util/
FileRotatorTest.java 78 long currentTime = TEST_TIME;
81 rotate1.combineActive(reader, writer("foo"), currentTime);
94 long currentTime = TEST_TIME;
97 rotate.combineActive(reader, writer("foo"), currentTime);
103 currentTime += SECOND_IN_MILLIS;
105 rotate.combineActive(reader, writer("bar"), currentTime);
115 long currentTime = TEST_TIME;
118 rotate.combineActive(reader, writer("foo"), currentTime);
124 currentTime += MINUTE_IN_MILLIS;
125 rotate.combineActive(reader, writer("bar"), currentTime);
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
InputButton.java 26 public void press(float currentTime, float magnitude) {
29 mDownTime = currentTime;
32 mLastPressedTime = currentTime;
43 public final boolean getTriggered(float currentTime) {
44 return mDown && currentTime - mDownTime <= BaseObject.sSystemRegistry.timeSystem.getFrameDelta() * 2.0f;
47 public final float getPressedDuration(float currentTime) {
48 return currentTime - mDownTime;
PopOutComponent.java 72 final float currentTime = time.getGameTime();
79 mLastAttackCompletedTime = currentTime;
87 && currentTime > mLastAttackCompletedTime + mAttackDelay) {
88 mAttackStartTime = currentTime;
94 if (currentTime > mAttackStartTime + mAttackLength) {
96 mLastAttackCompletedTime = currentTime;
FadeDrawableComponent.java 65 final float currentTime = time.getGameTime();
71 mActivateTime = currentTime;
73 } else if (mPhaseDuration > 0.0f && currentTime - mActivateTime > mPhaseDuration) {
74 mActivateTime = currentTime;
83 mStartTime = currentTime;
85 float elapsed = currentTime - mStartTime;
89 elapsed = endTime - currentTime;
InputXY.java 35 public final void press(float currentTime, float x, float y) {
36 mXAxis.press(currentTime, x);
37 mYAxis.press(currentTime, y);
AttackAtDistanceComponent.java 56 final float currentTime = time.getGameTime();
63 if (currentTime > mAttackStartTime + mAttackLength) {
67 && currentTime > mAttackStartTime + mAttackLength + mAttackDelay
69 mAttackStartTime = currentTime;
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/util/
Scheduler.java 10 private long currentTime = 0;
14 return currentTime;
32 postedRunnables.add(new PostedRunnable(runnable, currentTime + delayMillis));
45 postedRunnables.add(0, new PostedRunnable(runnable, currentTime));
78 long endingTime = currentTime + intervalMs;
83 if (endingTime - currentTime < 0 || enqueuedTaskCount() < 1) {
92 currentTime = endingTime;
103 currentTime = postedRunnable.scheduledTime;
115 currentTime = postedRunnable.scheduledTime;
127 return nextTaskIsScheduledBefore(currentTime);
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
Alarm.java 44 long currentTime = System.currentTimeMillis();
46 mAlarmTriggerTime = currentTime + millisecondsInFuture;
48 mHandler.postDelayed(this, mAlarmTriggerTime - currentTime);
62 long currentTime = System.currentTimeMillis();
63 if (mAlarmTriggerTime > currentTime) {
66 mHandler.postDelayed(this, Math.max(0, mAlarmTriggerTime - currentTime));
  /packages/apps/Launcher3/src/com/android/launcher3/
Alarm.java 44 long currentTime = System.currentTimeMillis();
46 mAlarmTriggerTime = currentTime + millisecondsInFuture;
48 mHandler.postDelayed(this, mAlarmTriggerTime - currentTime);
62 long currentTime = System.currentTimeMillis();
63 if (mAlarmTriggerTime > currentTime) {
66 mHandler.postDelayed(this, Math.max(0, mAlarmTriggerTime - currentTime));
RampUpScroller.java 64 final long currentTime = AnimationUtils.currentAnimationTimeMillis();
65 final long elapsedSinceStart = currentTime - mStartTime;
73 final long elapsedSinceDelta = currentTime - mDeltaTime;
74 mDeltaTime = currentTime;
  /external/chromium_org/content/test/data/media/
mse_config_change.html 65 if (video.currentTime < APPEND_TIME - DELTA) {
68 video.currentTime = APPEND_TIME - DELTA;
69 } else if (video.currentTime > APPEND_TIME + DELTA) {
84 video.currentTime = APPEND_TIME + MEDIA_2_LENGTH * 0.9;
89 if (video.currentTime <= APPEND_TIME) {
96 } else if (video.currentTime >= APPEND_TIME + DELTA) {
107 console.log('video.currentTime = ' + video.currentTime +
encrypted_frame_size_change.html 27 if (video.currentTime > 1.0) {
42 video.currentTime = 0.5;
  /frameworks/base/core/java/android/animation/
TimeAnimator.java 22 boolean animationFrame(long currentTime) {
24 long totalTime = currentTime - mStartTime;
25 long deltaTime = (mPreviousTime < 0) ? 0 : (currentTime - mPreviousTime);
26 mPreviousTime = currentTime;
  /external/chromium_org/remoting/base/
rate_counter.cc 23 base::Time current_time = CurrentTime();
32 EvictOldDataPoints(CurrentTime());
56 base::Time RateCounter::CurrentTime() const {
  /packages/apps/DeskClock/src/com/android/deskclock/worldclock/
CityGmtOffsetComparator.java 27 long currentTime = System.currentTimeMillis();
28 int offset = TimeZone.getTimeZone(c1.mTimeZone).getOffset(currentTime);
29 int offset2 = TimeZone.getTimeZone(c2.mTimeZone).getOffset(currentTime);
  /external/chromium_org/third_party/WebKit/Source/core/html/parser/
HTMLParserScheduler.h 31 #include "wtf/CurrentTime.h"
73 // currentTime() can be expensive. By delaying, we avoided calling
74 // currentTime() when constructing non-yielding PumpSessions.
76 session.startTime = currentTime();
81 double elapsedTime = currentTime() - session.startTime;
  /external/skia/tools/skpdiff/
skpdiff_util.cpp 89 LARGE_INTEGER currentTime;
91 QueryPerformanceCounter(&currentTime);
93 return (double)currentTime.QuadPart / (double)frequency.QuadPart;
95 struct timespec currentTime;
96 clock_gettime(CLOCK_REALTIME, &currentTime);
97 return currentTime.tv_sec + (double)currentTime.tv_nsec / 1e9;
99 struct timeval currentTime;
100 gettimeofday(&currentTime, NULL);
101 return currentTime.tv_sec + (double)currentTime.tv_usec / 1e6
    [all...]
  /packages/apps/Calendar/tests/src/com/android/calendar/alerts/
AlertServiceTest.java 401 long currentTime = 1000000;
403 at.getAlertCursor(), currentTime, AlertService.MAX_NOTIFICATIONS);
419 long currentTime = 1000000;
422 AlertService.generateAlerts(mContext, ntm, alarmMgr, prefs, at.getAlertCursor(), currentTime,
428 currentTime = 2300000;
431 AlertService.generateAlerts(mContext, ntm, alarmMgr, prefs, at.getAlertCursor(), currentTime,
436 currentTime = 4300000;
439 AlertService.generateAlerts(mContext, ntm, alarmMgr, prefs, at.getAlertCursor(), currentTime,
453 long currentTime = createTimeInMillis(5, 0);
492 currentTime, maxNotifications)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/webaudio/
AudioParamTimeline.cpp 122 if (!tryLocker.locked() || !context || !m_events.size() || context->currentTime() < m_events[0].time()) {
131 double startTime = context->currentTime();
185 double currentTime = startTime;
198 currentTime = fillToTime;
213 if (nextEvent && nextEvent->time() < currentTime)
234 float x = (currentTime - time1) * k;
237 currentTime += sampleFrameTimeIncr;
251 // AudioUtilities::timeToSampleFrame(currentTime - time1, sampleRate), but is more
254 AudioUtilities::timeToSampleFrame(currentTime - time1, sampleRate) / numSampleFrames);
259 currentTime += sampleFrameTimeIncr
    [all...]
  /external/chromium_org/media/test/data/
rapid_video_change_test.html 22 video.currentTime = 1;
32 video.currentTime = 1;
  /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;
  /external/chromium_org/third_party/WebKit/Source/core/platform/
Clock.cpp 29 #include "wtf/CurrentTime.h"
47 double Clock::currentTime() const
82 return WTF::currentTime();

Completed in 7062 milliseconds

1 2 3 4 5 6 7 8 91011>>