Home
last modified time | relevance | path

Searched refs:getDuration (Results 1 – 25 of 62) sorted by relevance

123

/external/cldr/tools/java/org/unicode/cldr/util/
DTimer.java21 public long getDuration() { in getDuration() method in Timer
29 return getDuration(); in getNanoseconds()
33 return getDuration() / NANOS_PER_SECOND; in getSeconds()
41 return getDuration(); in stop()
45 return nf.format(getDuration() / NANOS_PER_SECOND) + "s"; in toString()
49 return toString(1L, other.getDuration()); in toString()
53 return nf.format(getDuration() / (NANOS_PER_SECOND * iterations)) + "s"; in toString()
57 return toString(iterations) + "\t(" + pf.format((double) getDuration() / other - 1D) in toString()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DTimer.java37 public long getDuration() { in getDuration() method in Timer
46 return getDuration(); in stop()
71 return nf.format(getDuration()) + "\tns"; in toString()
74 return toString(1L, other.getDuration()); in toString()
77 return nf.format(getDuration()/iterations) + "\tns"; in toString()
81 …return nf.format(getDuration()/iterations) + "\tns\t" + pf.format((double)getDuration()/other - 1D… in toString()
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DTimer.java34 public long getDuration() { in getDuration() method in Timer
43 return getDuration(); in stop()
68 return nf.format(getDuration()) + "\tns"; in toString()
71 return toString(1L, other.getDuration()); in toString()
74 return nf.format(getDuration()/iterations) + "\tns"; in toString()
78 …return nf.format(getDuration()/iterations) + "\tns\t" + pf.format((double)getDuration()/other - 1D… in toString()
/external/autotest/client/site_tests/video_YouTubePage/files/
Dvideo_YouTubePageCommon.js64 videoElement.currentTime = getDuration() - seconds_before_end;
86 function getDuration() { function
105 var duration = getDuration();
139 window.__getDuration = getDuration;
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/channelz/v1/
DSocketOptionTimeout.java105 public com.google.protobuf.Duration getDuration() { in getDuration() method in SocketOptionTimeout
112 return getDuration(); in getDurationOrBuilder()
128 output.writeMessage(1, getDuration()); in writeTo()
140 .computeMessageSize(1, getDuration()); in getSerializedSize()
160 result = result && getDuration() in equals()
161 .equals(other.getDuration()); in equals()
176 hash = (53 * hash) + getDuration().hashCode(); in hashCode()
387 mergeDuration(other.getDuration()); in mergeFrom()
428 public com.google.protobuf.Duration getDuration() { in getDuration() method in SocketOptionTimeout.Builder
525 getDuration(), in getDurationFieldBuilder()
DSocketOptionLinger.java132 public com.google.protobuf.Duration getDuration() { in getDuration() method in SocketOptionLinger
143 return getDuration(); in getDurationOrBuilder()
162 output.writeMessage(2, getDuration()); in writeTo()
178 .computeMessageSize(2, getDuration()); in getSerializedSize()
200 result = result && getDuration() in equals()
201 .equals(other.getDuration()); in equals()
219 hash = (53 * hash) + getDuration().hashCode(); in hashCode()
436 mergeDuration(other.getDuration()); in mergeFrom()
523 public com.google.protobuf.Duration getDuration() { in getDuration() method in SocketOptionLinger.Builder
648 getDuration(), in getDurationFieldBuilder()
DSocketOptionTimeoutOrBuilder.java17 com.google.protobuf.Duration getDuration(); in getDuration() method
DSocketOptionLingerOrBuilder.java34 com.google.protobuf.Duration getDuration(); in getDuration() method
/external/replicaisland/src/com/replica/replicaisland/
DAnimationPlayerActivity.java123 mAnimationEndTime = gameOverAnim.getDuration() + System.currentTimeMillis(); in onCreate()
144 mAnimationEndTime = gameOverAnim.getDuration() + System.currentTimeMillis(); in onCreate()
175 mKillActivityHandler.sleep(mAnimation.getDuration(0) * mAnimation.getNumberOfFrames()); in onWindowFocusChanged()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowToastTest.java32 assertThat(toast.getDuration()).isEqualTo(Toast.LENGTH_SHORT); in shouldHaveShortDuration()
39 assertThat(toast.getDuration()).isEqualTo(Toast.LENGTH_LONG); in shouldHaveLongDuration()
46 assertThat(toast.getDuration()).isEqualTo(Toast.LENGTH_SHORT); in shouldMakeTextCorrectly()
DShadowVideoViewTest.java68 assertThat(view.getDuration()).isEqualTo(0); in shouldSetVideoDuration()
71 assertThat(view.getDuration()).isEqualTo(10); in shouldSetVideoDuration()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/
DTwoSecondIntersectionFinder.java31 protected long getDuration(Track track) { in getDuration() method in TwoSecondIntersectionFinder
47 … double thisTracksLength = getDuration(thisTrack) / thisTrack.getTrackMetaData().getTimescale(); in sampleNumbers()
DDefaultMp4Builder.java150 …long tracksDuration = getDuration(track) * movieTimeScale / track.getTrackMetaData().getTimescale(… in createMovieBox()
168 mvhd.getDuration() >= 1l << 32) { in createMovieBox()
222 …tkhd.setDuration(getDuration(track) * getTimescale(movie) / track.getTrackMetaData().getTimescale(… in createTrackBox()
232 tkhd.getDuration() >= 1l << 32) { in createTrackBox()
251 mdhd.setDuration(getDuration(track)); in createTrackBox()
532 protected static long getDuration(Track track) { in getDuration() method
/external/honggfuzz/
Ddisplay.c113 static void getDuration(time_t elapsed_second, char* buf, size_t bufSz) { in getDuration() function
136 getDuration(curr_sec - ATOMIC_GET(hfuzz->timing.lastCovUpdate), lastCovStr, sizeof(lastCovStr)); in display_displayLocked()
139 getDuration(ATOMIC_GET(hfuzz->timing.runEndTime) - curr_sec, timeStr, sizeof(timeStr)); in display_displayLocked()
141 getDuration(elapsed_sec, timeStr, sizeof(timeStr)); in display_displayLocked()
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DMediaHeaderBox.java55 public long getDuration() { in getDuration() method in MediaHeaderBox
124 result.append("duration=").append(getDuration()); in toString()
DMovieHeaderBox.java71 public long getDuration() { in getDuration() method in MovieHeaderBox
146 result.append("duration=").append(getDuration()); in toString()
DTrackHeaderBox.java68 public long getDuration() { in getDuration() method in TrackHeaderBox
174 result.append("duration=").append(getDuration()); in toString()
/external/cldr/tools/java/org/unicode/cldr/draft/
DTransformTest.java115 long newDuration = t.getDuration(); in check()
122 final long oldDuration = t.getDuration(); in check()
DGapStringTest.java119 long gapDuration = timer.getDuration(); in checkTime()
141 long builderDuration = timer.getDuration(); in checkTime()
DNormalizedIdentifierParser.java204 final long lowercaseDuration = timer.getDuration();
213 final long nfcDuration = timer.getDuration();
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/
DAbstractManifestWriter.java71 … bitrate /= ((double) getDuration(track)) / track.getTrackMetaData().getTimescale(); // per second in getBitrate()
75 protected static long getDuration(Track track) { in getDuration() method in AbstractManifestWriter
/external/skqp/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/
DSkottieAnimation.java12 long getDuration(); in getDuration() method
/external/skia/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/
DSkottieAnimation.java12 long getDuration(); in getDuration() method
/external/nist-sip/java/javax/sip/header/
DRetryAfterHeader.java14 int getDuration(); in getDuration() method
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/dialog/
DDurationPickerDialog.java48 done.onSet(picker.getDuration()); in getDurationFromDialog()

123