HomeSort by relevance Sort by last modified time
    Searched refs:duration (Results 351 - 375 of 2651) sorted by null

<<11121314151617181920>>

  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowVideoView.java 18 private int duration = 0; field in class:ShadowVideoView
109 return duration;
161 public void setDuration(int duration) {
162 this.duration = duration;
  /frameworks/wilhelm/src/itf/
IMIDITime.cpp 30 SLuint32 duration = thiz->mDuration; local
31 *pDuration = duration;
83 SLuint32 duration = thiz->mDuration; local
84 if (!((startTick < duration) && (numTicks <= duration - startTick))) {
  /packages/apps/Launcher2/src/com/android/launcher2/
SmoothPagedView.java 135 int duration = (screenDelta + 1) * 100; local
149 duration += (duration / (velocity / mBaseLineFlingVelocity)) * mFlingVelocityInfluence;
151 duration += 100;
154 snapToPage(whichPage, delta, duration);
  /packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
TunerDebug.java 115 long duration = currentTime - sTunerDebug.mLastCheckTimestampMs; local
116 if (duration != 0) {
120 / duration;
122 (sTunerDebug.mAudioPtsUs - sTunerDebug.mLastAudioPtsUs) * 1000 / duration;
124 (sTunerDebug.mVideoPtsUs - sTunerDebug.mLastVideoPtsUs) * 1000 / duration;
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.point/time.point.cast/
time_point_cast.pass.cpp 14 // template <class ToDuration, class Clock, class Duration>
16 // time_point_cast(const time_point<Clock, Duration>& t);
67 std::chrono::duration<double, std::ratio<3600> >(7265./3600));
68 test(std::chrono::duration<int, std::ratio<2, 3> >(9),
69 std::chrono::duration<int, std::ratio<3, 5> >(10));
78 typedef std::chrono::duration<int, std::ratio<3, 5>> T1;
79 test_constexpr<std::chrono::duration<int, std::ratio<2, 3>>, 9, T1, 10> ();
  /external/libmojo/base/android/java/src/org/chromium/base/metrics/
RecordHistogram.java 180 * @param duration duration to be recorded
181 * @param timeUnit the unit of the duration argument
183 public static void recordTimesHistogram(String name, long duration, TimeUnit timeUnit) {
185 name, timeUnit.toMillis(duration), 1, TimeUnit.SECONDS.toMillis(10), 50);
192 * @param duration duration to be recorded
193 * @param timeUnit the unit of the duration argument
195 public static void recordMediumTimesHistogram(String name, long duration, TimeUnit timeUnit) {
197 name, timeUnit.toMillis(duration), 10, TimeUnit.MINUTES.toMillis(3), 50)
    [all...]
  /frameworks/base/core/java/android/widget/
Chronometer.java 354 int duration = (int) (ms / DateUtils.SECOND_IN_MILLIS); local
355 if (duration < 0) {
356 duration = -duration;
362 if (duration >= HOUR_IN_SEC) {
363 h = duration / HOUR_IN_SEC;
364 duration -= h * HOUR_IN_SEC;
366 if (duration >= MIN_IN_SEC) {
367 m = duration / MIN_IN_SEC;
368 duration -= m * MIN_IN_SEC
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
PeriodBuilderFactoryTest.java 13 package android.icu.dev.test.duration;
20 import android.icu.impl.duration.BasicPeriodFormatterService;
21 import android.icu.impl.duration.Period;
22 import android.icu.impl.duration.PeriodBuilder;
23 import android.icu.impl.duration.PeriodBuilderFactory;
24 import android.icu.impl.duration.TimeUnit;
25 import android.icu.impl.duration.TimeUnitConstants;
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
PeriodBuilderFactoryTest.java 12 package com.ibm.icu.dev.test.duration;
19 import com.ibm.icu.impl.duration.BasicPeriodFormatterService;
20 import com.ibm.icu.impl.duration.Period;
21 import com.ibm.icu.impl.duration.PeriodBuilder;
22 import com.ibm.icu.impl.duration.PeriodBuilderFactory;
23 import com.ibm.icu.impl.duration.TimeUnit;
24 import com.ibm.icu.impl.duration.TimeUnitConstants;
  /frameworks/base/core/java/com/android/internal/util/
StatLogger.java 92 * @return the duration in microseconds.
96 final long duration = getTime() - start; local
99 mDurationStats[eventId] += duration;
102 return duration;
104 if (mMaxDurationStats[eventId] < duration) {
105 mMaxDurationStats[eventId] = duration;
125 mDurationPerSecond[eventId] += duration;
127 return duration;
  /frameworks/wilhelm/tests/sandbox/
urimime.c 122 // get the player duration
123 SLmillisecond duration; local
124 result = (*playerPlay)->GetDuration(playerPlay, &duration);
126 if (SL_TIME_UNKNOWN == duration)
127 printf("Duration: unknown\n");
129 printf("Duration: %.1f\n", duration / 1000.0f);
146 // get the player duration
147 result = (*playerPlay)->GetDuration(playerPlay, &duration);
149 if (SL_TIME_UNKNOWN == duration)
    [all...]
  /cts/tests/tests/mediastress/src/android/mediastress/cts/
CodecTest.java 89 int duration = mp.getDuration(); local
90 Log.v(TAG, "Duration " + duration);
93 return duration;
118 Log.v(TAG, "mp currentPositon = " + currentPosition + " play duration = " + (t2-t1));
152 int duration = 0; local
160 duration = mp.getDuration();
161 Log.v(TAG, "setLooping duration " + duration);
165 mp.seekTo(duration - 5000)
197 int duration = mp.getDuration(); local
320 int duration = 0; local
353 int duration = 0; local
381 int duration = 0; local
408 int duration = 200000; local
439 int duration = 0; local
462 int duration = 0; local
546 int duration = 0; local
769 int duration = 0; local
    [all...]
  /external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/
BaseTween.java 26 protected float duration; field in class:BaseTween
52 delay = duration = repeatDelay = currentTime = deltaTime = 0;
105 * @param delay A duration.
244 * Gets the duration of a single iteration.
247 return duration;
265 * Returns the complete duration, including initial delay and repetitions.
268 * fullDuration = delay + duration + (repeatDelay + duration) * repeatCnt
273 return delay + duration + (repeatDelay + duration) * repeatCnt
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
CodecTest.java 105 int duration = mp.getDuration(); local
106 Log.v(TAG, "Duration " + duration);
109 return duration;
134 Log.v(TAG, "mp currentPositon = " + currentPosition + " play duration = " + (t2-t1));
173 int duration = 0; local
181 duration = mp.getDuration();
182 Log.v(TAG, "setLooping duration " + duration);
186 mp.seekTo(duration - 5000)
218 int duration = mp.getDuration(); local
341 int duration = 0; local
386 int duration = 0; local
414 int duration = 0; local
441 int duration = 200000; local
472 int duration = 0; local
495 int duration = 0; local
579 int duration = 0; local
802 int duration = 0; local
    [all...]
  /packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/cards/
CallCard.java 98 // Call duration is hidden when call is not answered, adjust panel Y pos.
127 final long duration = 500 * DebugUtil.ANIMATION_FACTOR; local
137 .setDuration(duration);
144 .setDuration(duration);
151 .setDuration(duration);
155 .setDuration(duration);
160 .setDuration(duration)
165 .setDuration(duration);
184 final int duration = 500; local
194 .setDuration(duration * DebugUtil.ANIMATION_FACTOR
    [all...]
  /external/protobuf/src/google/protobuf/util/
time_util.cc 37 #include <google/protobuf/duration.pb.h>
45 using google::protobuf::Duration;
82 Duration CreateNormalized(int64 seconds, int64 nanos) {
98 Duration result;
168 string TimeUtil::ToString(const Duration& duration) {
170 int64 seconds = duration.seconds();
171 int32 nanos = duration.nanos();
193 bool TimeUtil::FromString(const string& value, Duration* duration) {
    [all...]
  /external/autotest/client/site_tests/kernel_LTP/
parse_ltp_out.py 131 duration:
137 test_duration_line_re = re.compile('^duration=(\d+)\s+.*')
154 duration = int(duration_matches.group(1))
156 print 'WARNING: duration without a tag: %s.' % duration
158 if duration != 0:
159 duration = int(duration / 60) + 1
160 test_list = filter_accumulator.setdefault(duration, [])
  /external/autotest/client/site_tests/platform_DebugDaemonGetPerfData/
platform_DebugDaemonGetPerfData.py 25 # seconds), plus the number of times to run perf with each duration.
60 def validate_get_perf_method(self, duration, num_reps, load_type):
64 @param duration: The duration to use for perf data collection.
77 duration, perf_command, signature="uas")
97 duration, len(result), result_type)
115 key = 'mean_%s_size_%s_%d' % (result_type, load_type, duration)
145 for duration, num_reps in self._profile_duration_and_repetitions:
147 self.validate_get_perf_method(duration, num_reps, load_type)
  /external/autotest/client/site_tests/video_WebRtcMediaRecorder/
mediarecorder_test_utils.js 8 function waitDuration(duration) {
10 console.log('Waiting for ', duration.toString(), 'msec');
15 }, duration);
  /external/autotest/client/tests/ltp/
parse_ltp_out.py 137 a set of buckets of tests based on the test duration:
143 test_duration_line_re = re.compile('^duration=(\d+)\s+.*')
160 duration = int(duration_matches.group(1))
162 print 'WARNING: duration without a tag: %s.' % duration
164 if duration != 0:
165 duration = int(duration / 60) + 1
166 test_list = filter_accumulator.setdefault(duration, [])
  /external/golang-protobuf/ptypes/
duration_test.go 40 durpb "github.com/golang/protobuf/ptypes/duration"
49 proto *durpb.Duration
52 dur time.Duration
54 // The zero duration.
55 {&durpb.Duration{Seconds: 0, Nanos: 0}, true, true, 0},
57 {&durpb.Duration{Seconds: 100, Nanos: 0}, true, true, 100 * time.Second},
58 {&durpb.Duration{Seconds: -100, Nanos: 0}, true, true, -100 * time.Second},
59 {&durpb.Duration{Seconds: 100, Nanos: 987}, true, true, 100*time.Second + 987},
60 {&durpb.Duration{Seconds: -100, Nanos: -987}, true, true, -(100*time.Second + 987)},
61 // The largest duration representable in Go
    [all...]
  /external/python/cpython2/Mac/Demo/sound/
morselib.py 84 def noise(self, duration):
85 "beep for given duration"
88 def pause(self, duration):
89 "pause for given duration"
157 def pause(self, duration):
158 self.dev.writeframes(self.silence * duration)
160 def noise(self, duration):
161 self.dev.writeframes(self.sinewave * duration)
  /system/vold/
Benchmark.cpp 131 return (timer.duration() < kTimeout);
134 if (res == OK) extras->putLong(String16("create"), timer.duration().count());
147 if (res == OK) extras->putLong(String16("drop"), timer.duration().count());
158 return (timer.duration() < kTimeout);
161 if (res == OK) extras->putLong(String16("run"), timer.duration().count());
170 if (res == OK) extras->putLong(String16("destroy"), timer.duration().count());
  /external/autotest/client/cros/video/
video_player.py 96 def verify_video_can_play(self, duration=0):
100 @param duration: duration to play a video
104 exception_msg = 'Expected current time >%ds.' %duration
110 lambda : self.currentTime() > duration, exception_msg)
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
ElapsedTimer.java 85 String duration = diffTime(myDurationFormat, startTime, endTime); local
87 return duration;
89 return myMsgFormat.format(new Object[] {duration});
98 RuleBasedNumberFormat.DURATION);

Completed in 2358 milliseconds

<<11121314151617181920>>