Home
last modified time | relevance | path

Searched refs:currentTime (Results 1 – 25 of 80) sorted by relevance

1234

/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/js/
Dplayer.js10 assert.equal(p.currentTime, 0);
17 assert.equal(p.currentTime, 0);
20 assert.equal(p.currentTime, 200);
27 assert.equal(p.currentTime, 0);
30 assert.equal(p.currentTime, 0);
32 assert.equal(p.currentTime, 0);
38 assert.equal(p.currentTime, null);
42 assert.equal(p.currentTime, 1000);
44 assert.equal(p.currentTime, 1099);
53 assert.equal(p.currentTime, 1300);
[all …]
Dgroup-player.js177 assert.equal(player.currentTime, timingList[1], trace + ' currentTime');
205 p.currentTime = 200;
207 p.currentTime = 1100;
209 p.currentTime = 2100;
211 p.currentTime = 3100;
250 p.currentTime = 100;
252 p.currentTime = 2100;
254 p.currentTime = 3100;
256 p.currentTime = 6100;
307 player.currentTime = 0;
[all …]
Dtiming.js10 player.currentTime = 500;
11 assert.equal(player.currentTime, 500);
25 player.currentTime = 200;
28 assert.equal(player.currentTime, 200);
33 assert.equal(player.currentTime, 300);
45 player.currentTime = NaN;
Dgroup-player-finish-event.js3 document.timeline.currentTime = undefined;
28 assert.equal(event.currentTime, 1000);
43 assert.equal(event.currentTime, 0);
56 assert.equal(event.currentTime, 0);
Dplayer-finish-event.js20 assert.equal(event.currentTime, 1000);
35 assert.equal(event.currentTime, 0);
48 assert.equal(event.currentTime, 0);
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/
Dplayer.js19 var AnimationPlayerEvent = function(target, currentTime, timelineTime) { argument
21 this.currentTime = currentTime;
51 this._inEffect = this._source._update(this.currentTime);
65 get currentTime() { getter in scope.Player
70 set currentTime(newTime) { setter in scope.Player
76 this._startTime = this._timeline.currentTime - newTime / this._playbackRate;
94 this._tickCurrentTime((this._timeline.currentTime - this._startTime) * this.playbackRate);
101 var oldCurrentTime = this.currentTime;
104 this.currentTime = oldCurrentTime;
145 this.currentTime = this._playbackRate > 0 ? this._totalDuration : 0;
[all …]
Dweb-animations-next-player.js71 get currentTime() { getter in scope.Player
72 return this._player.currentTime;
74 set currentTime(v) { setter in scope.Player
75 this._player.currentTime = v;
78 child.currentTime = v - offset;
108 var time = child.currentTime;
110 child.currentTime = time;
137 child.currentTime = this.currentTime + offset * this.playbackRate;
Danimation-constructor.js122 childPlayer.currentTime = this.source.player.currentTime - offset;
130 if (this.playbackRate == -1 && this.currentTime < offset && childPlayer.currentTime !== -1) {
131 childPlayer.currentTime = -1;
Dtick.js54 this.currentTime = window.performance && performance.now ? performance.now() : 0;
98 if (needsRetick) tick(timeline.currentTime);
107 timeline.currentTime = t;
/external/replicaisland/src/com/replica/replicaisland/
DInputButton.java26 public void press(float currentTime, float magnitude) { in press() argument
29 mDownTime = currentTime; in press()
32 mLastPressedTime = currentTime; in press()
43 public final boolean getTriggered(float currentTime) { in getTriggered() argument
44 …return mDown && currentTime - mDownTime <= BaseObject.sSystemRegistry.timeSystem.getFrameDelta() *… in getTriggered()
47 public final float getPressedDuration(float currentTime) { in getPressedDuration() argument
48 return currentTime - mDownTime; in getPressedDuration()
DFadeDrawableComponent.java65 final float currentTime = time.getGameTime(); in update() local
71 mActivateTime = currentTime; in update()
73 } else if (mPhaseDuration > 0.0f && currentTime - mActivateTime > mPhaseDuration) { in update()
74 mActivateTime = currentTime; in update()
83 mStartTime = currentTime; in update()
85 float elapsed = currentTime - mStartTime; in update()
89 elapsed = endTime - currentTime; in update()
DPopOutComponent.java72 final float currentTime = time.getGameTime(); in update() local
79 mLastAttackCompletedTime = currentTime; in update()
87 && currentTime > mLastAttackCompletedTime + mAttackDelay) { in update()
88 mAttackStartTime = currentTime; in update()
94 if (currentTime > mAttackStartTime + mAttackLength) { in update()
96 mLastAttackCompletedTime = currentTime; in update()
DAttackAtDistanceComponent.java56 final float currentTime = time.getGameTime(); in update() local
63 if (currentTime > mAttackStartTime + mAttackLength) { in update()
67 && currentTime > mAttackStartTime + mAttackLength + mAttackDelay in update()
69 mAttackStartTime = currentTime; in update()
DInputXY.java35 public final void press(float currentTime, float x, float y) { in press() argument
36 mXAxis.press(currentTime, x); in press()
37 mYAxis.press(currentTime, y); in press()
DSpriteAnimation.java51 float currentTime = 0.0f; in getFrame() local
70 currentTime += frame.holdTime; in getFrame()
71 if (currentTime > cycleTime) { in getFrame()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/util/
DScheduler.java10 private long currentTime = 0; field in Scheduler
14 return currentTime; in getCurrentTime()
32 postedRunnables.add(new PostedRunnable(runnable, currentTime + delayMillis)); in postDelayed()
45 postedRunnables.add(0, new PostedRunnable(runnable, currentTime)); in postAtFrontOfQueue()
78 long endingTime = currentTime + intervalMs; in advanceBy()
83 if (endingTime - currentTime < 0 || enqueuedTaskCount() < 1) { in advanceTo()
92 currentTime = endingTime; in advanceTo()
103 currentTime = postedRunnable.scheduledTime; in runOneTask()
115 currentTime = postedRunnable.scheduledTime; in runTasks()
127 return nextTaskIsScheduledBefore(currentTime); in areAnyRunnable()
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DMovieHeaderBox.java50 private int currentTime; field in MovieHeaderBox
131 currentTime = content.getInt(); in _parseDetails()
193 byteBuffer.putInt(currentTime); in getContent()
272 return currentTime; in getCurrentTime()
275 public void setCurrentTime(int currentTime) { in setCurrentTime() argument
276 this.currentTime = currentTime; in setCurrentTime()
/external/webrtc/webrtc/modules/audio_device/dummy/
Dfile_audio_device.cc482 uint64_t currentTime = _clock->CurrentNtpInMilliseconds(); in PlayThreadProcess() local
486 currentTime - _lastCallPlayoutMillis >= 10) { in PlayThreadProcess()
497 _lastCallPlayoutMillis = currentTime; in PlayThreadProcess()
502 uint64_t deltaTimeMillis = _clock->CurrentNtpInMilliseconds() - currentTime; in PlayThreadProcess()
516 uint64_t currentTime = _clock->CurrentNtpInMilliseconds(); in RecThreadProcess() local
520 currentTime - _lastCallRecordMillis >= 10) { in RecThreadProcess()
528 _lastCallRecordMillis = currentTime; in RecThreadProcess()
537 uint64_t deltaTimeMillis = _clock->CurrentNtpInMilliseconds() - currentTime; in RecThreadProcess()
/external/skia/experimental/GLFWTest/
Dglfw_main.cpp84 int currentTime; in main() local
115 currentTime = 0; in main()
168 times[currentTime] = (float)(timer.fWall); in main()
169 currentTime = (currentTime + 1) & 0x1f; in main()
/external/webrtc/webrtc/examples/objc/AppRTCDemo/
DARDBitrateTracker.m37 CFTimeInterval currentTime = CACurrentMediaTime();
39 _bitrate = (byteCount - _prevByteCount) * 8 / (currentTime - _prevTime);
42 _prevTime = currentTime;
/external/autotest/client/site_tests/video_YouTubePage/files/
Dvideo_YouTubePageCommon.js45 videoElement.currentTime = time;
49 videoElement.currentTime = getDuration() - seconds_before_end;
76 return videoElement.currentTime;
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/
Dweb-animations-next-lite.min.js15currentTime=b,this.timelineTime=c,this.type="finish",this.bubbles=!1,this.cancelable=!1,this.curre… getter in b.Player
16 …g=a.normalizeTimingInput(g);var i=function(){var c=i._player?i._player.currentTime:null;null!==c&&…
/external/tpm2/
DReadClock.c16 out->currentTime.time = g_time; in TPM2_ReadClock()
17 TimeFillInfo(&out->currentTime.clockInfo); in TPM2_ReadClock()
/external/autotest/client/site_tests/video_VideoReload/
Dreload.js9 if (testvideo.currentTime > 3) {
19 if (testvideo.currentTime == 0) videoAtStart = true; });
/external/webrtc/webrtc/modules/audio_coding/test/
DiSACTest.cc244 char currentTime[500]; in EncodeDecode() local
250 _myTimer.CurrentTimeHMS(currentTime); in EncodeDecode()
300 char currentTime[50]; in SwitchingSamplingRate() local
304 _myTimer.CurrentTimeHMS(currentTime); in SwitchingSamplingRate()
306 printf("\r%s", currentTime); in SwitchingSamplingRate()

1234