/external/mockito/src/main/java/org/mockito/internal/util/ |
D | Timer.java | 11 private final long durationMillis; field in Timer 14 public Timer(long durationMillis) { in Timer() argument 15 validateInput(durationMillis); in Timer() 16 this.durationMillis = durationMillis; in Timer() 24 return System.currentTimeMillis() - startTime <= durationMillis; in isCounting() 34 private void validateInput(long durationMillis) { in validateInput() argument 35 if (durationMillis < 0) { in validateInput() 36 throw cannotCreateTimerWithNegativeDurationTime(durationMillis); in validateInput() 41 return durationMillis; in duration()
|
/external/MPAndroidChart/MPChartLib/src/main/java/com/github/mikephil/charting/animation/ |
D | ChartAnimator.java | 61 public void animateX(int durationMillis) { in animateX() argument 62 animateX(durationMillis, Easing.Linear); in animateX() 72 public void animateX(int durationMillis, EasingFunction easing) { in animateX() argument 74 ObjectAnimator animatorX = xAnimator(durationMillis, easing); in animateX() 144 public void animateY(int durationMillis) { in animateY() argument 145 animateY(durationMillis, Easing.Linear); in animateY() 155 public void animateY(int durationMillis, EasingFunction easing) { in animateY() argument 157 ObjectAnimator animatorY = yAnimator(durationMillis, easing); in animateY()
|
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/time/ |
D | DurationFormatUtils.java | 82 public static String formatDurationHMS(final long durationMillis) { in formatDurationHMS() argument 83 return formatDuration(durationMillis, "HH:mm:ss.SSS"); in formatDurationHMS() 98 public static String formatDurationISO(final long durationMillis) { in formatDurationISO() argument 99 return formatDuration(durationMillis, ISO_EXTENDED_FORMAT_PATTERN, false); in formatDurationISO() 113 public static String formatDuration(final long durationMillis, final String format) { in formatDuration() argument 114 return formatDuration(durationMillis, format, true); in formatDuration() 130 …public static String formatDuration(final long durationMillis, final String format, final boolean … in formatDuration() argument 131 …Validate.inclusiveBetween(0, Long.MAX_VALUE, durationMillis, "durationMillis must not be negative"… in formatDuration() 139 long milliseconds = durationMillis; in formatDuration() 174 final long durationMillis, in formatDurationWords() argument [all …]
|
/external/skia/tools/ |
D | convert-to-nia.cpp | 163 int durationMillis = frameInfos[i].fDuration; in main() local 164 if (durationMillis < 0) { in main() 168 totalDurationMillis += static_cast<uint64_t>(durationMillis); in main()
|
/external/mockito/src/main/java/org/mockito/internal/verification/ |
D | VerificationOverTimeImpl.java | 35 …public VerificationOverTimeImpl(long pollingPeriodMillis, long durationMillis, VerificationMode de… in VerificationOverTimeImpl() argument 36 this(pollingPeriodMillis, delegate, returnOnSuccess, new Timer(durationMillis)); in VerificationOverTimeImpl()
|
/external/MPAndroidChart/MPChartLib/src/main/java/com/github/mikephil/charting/charts/ |
D | Chart.java | 932 public void animateX(int durationMillis, EasingFunction easing) { in animateX() argument 933 mAnimator.animateX(durationMillis, easing); in animateX() 946 public void animateY(int durationMillis, EasingFunction easing) { in animateY() argument 947 mAnimator.animateY(durationMillis, easing); in animateY() 971 public void animateX(int durationMillis) { in animateX() argument 972 mAnimator.animateX(durationMillis); in animateX() 984 public void animateY(int durationMillis) { in animateY() argument 985 mAnimator.animateY(durationMillis); in animateY()
|
/external/mockito/src/main/java/org/mockito/internal/exceptions/ |
D | Reporter.java | 835 public static MockitoException cannotCreateTimerWithNegativeDurationTime(long durationMillis) { in cannotCreateTimerWithNegativeDurationTime() argument 840 "You cannot put negative value of duration: (" + durationMillis + ")", in cannotCreateTimerWithNegativeDurationTime()
|
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowBluetoothAdapter.java | 364 protected boolean setScanMode(int scanMode, long durationMillis) { in setScanMode() argument 365 int durationSeconds = Math.toIntExact(durationMillis / 1000); in setScanMode()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/common/src/main/java/com/google/android/exoplayer2/util/ |
D | Util.java | 1187 long durationMillis = (long) (durationSeconds * 1000); in parseXsDuration() local 1188 return negated ? -durationMillis : durationMillis; in parseXsDuration()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/common/src/main/java/com/google/android/exoplayer2/util/ |
D | Util.java | 1180 long durationMillis = (long) (durationSeconds * 1000); in parseXsDuration() local 1181 return negated ? -durationMillis : durationMillis; in parseXsDuration()
|