/external/strace/tests-mx32/ |
ioctl_sg_io_v3.c | 90 ", duration=%u" 108 sg_io->duration); 133 ", duration=%u" 151 sg_io->duration); 192 ", duration=%u" 216 sg_io->duration); 242 ", duration=%u" 266 sg_io->duration); 294 ", duration=%u" 315 sg_io->duration); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
FlingAnimationUtils.java | 60 * @param maxLengthSeconds the longest duration an animation can become in seconds 70 * @param maxLengthSeconds the longest duration an animation can become in seconds 139 animator.setDuration(properties.duration); 158 animator.setDuration(properties.duration); 191 mAnimatorProperties.duration = (long) (durationSeconds * 1000); 224 animator.setDuration(properties.duration); 244 animator.setDuration(properties.duration); 277 mAnimatorProperties.duration = (long) (durationSeconds * 1000); 350 long duration; field in class:FlingAnimationUtils.AnimatorProperties
|
/frameworks/native/cmds/dumpstate/tests/ |
dumpstate_smoke_test.cpp | 82 static std::chrono::milliseconds duration; member in class:android::os::dumpstate::ZippedBugreportGenerationTest 102 duration = std::chrono::duration_cast<std::chrono::milliseconds>(end - start); 112 std::chrono::milliseconds ZippedBugreportGenerationTest::duration = 0s; member in class:android::os::dumpstate::ZippedBugreportGenerationTest 126 EXPECT_GE(duration, 30s) << "Expected completion in more than 30s. Actual time " 127 << duration.count() << " s."; 128 EXPECT_LE(duration, 150s) << "Expected completion in less than 150s. Actual time " 129 << duration.count() << " s.";
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/utils/ |
FlingAnimationUtils.java | 96 animator.setDuration(properties.duration); 118 animator.setDuration(properties.duration); 145 animatorProperties.duration = (long) (durationSeconds * 1000); 165 animator.setDuration(properties.duration); 189 animator.setDuration(properties.duration); 223 animatorProperties.duration = (long) (durationSeconds * 1000); 291 long duration; field in class:FlingAnimationUtils.AnimatorProperties
|
/external/caliper/caliper/src/main/java/com/google/caliper/util/ |
ShortDuration.java | 40 * Represents a nonnegative duration from 0 to 100 days, with picosecond precision. 41 * Contrast with Joda-Time's duration class, which has only millisecond precision but can 47 public static ShortDuration of(long duration, TimeUnit unit) { 48 if (duration == 0) { 51 checkArgument(duration >= 0, "negative duration: %s", duration); 52 checkArgument(duration <= MAXES.get(unit), 53 "ShortDuration cannot exceed 100 days: %s %s", duration, unit); 54 long nanos = TimeUnit.NANOSECONDS.convert(duration, unit) [all...] |
/system/extras/tests/sdcard/ |
plot_sdcard.py | 52 'duration ([0-9.]+). Samples: ([0-9]+)'), line) 56 self.duration = float(res.group(2)) 94 self.duration = 0.0 114 return '%s-duration:%f\\n-%s\\n%s' % ( 115 self.kernel, self.duration, self.command_line, self.sched) 118 self.duration = max(self.duration, dataset.duration) 184 """Plot the duration of the ops against iteration. 204 gp.ylabel('duration in second' [all...] |
/cts/tests/tests/view/src/android/view/animation/cts/ |
AnimationUtilsTest.java | 62 // android:duration="500" /> 63 int duration = 500; local 65 assertEquals(duration, animation.getDuration()); 82 assertEquals(duration, controller.getAnimation().getDuration());
|
/external/autotest/client/cros/video/ |
native_html5_player.py | 147 def duration(self): member in class:NativeHtml5Player 149 Gets the duration of the video. 151 @returns: An number indicates the duration of the video. 154 cmd = '%s.duration' % self.video_id 164 self.tab.WaitForJavaScriptCondition(cmd, timeout=(self.duration() * 2)) 175 timeout=(self.duration() + 10))
|
/external/autotest/client/site_tests/desktopui_AudioFeedback/ |
desktopui_AudioFeedback.py | 62 cras_utils.capture(noise_file, duration=3) 68 recorded_file, duration=TEST_DURATION)) 70 loopback_file, duration=TEST_DURATION))
|
/external/autotest/client/site_tests/network_DhcpRenew/ |
network_DhcpRenew.py | 102 (successful, state, duration) = self.shill_proxy.wait_for_property_in( 109 (duration, state)) 110 logging.info('In state "%s" after %d seconds', state, duration)
|
/external/guava/guava/src/com/google/common/cache/ |
CacheBuilder.java | 587 * Specifies that each entry should be automatically removed from the cache once a fixed duration 590 * <p>When {@code duration} is zero, this method hands off to 599 * @param duration the length of time after an entry is created that it should be automatically 601 * @param unit the unit that {@code duration} is expressed in 602 * @throws IllegalArgumentException if {@code duration} is negative 605 public CacheBuilder<K, V> expireAfterWrite(long duration, TimeUnit unit) { 608 checkArgument(duration >= 0, "duration cannot be negative: %s %s", duration, unit); 609 this.expireAfterWriteNanos = unit.toNanos(duration); [all...] |
/external/lisa/experiments/ |
run_binder_transaction_tracing.py | 65 def run_page_stats(duration, frequency): 67 for i in range(int(duration/frequency)): 93 :param duration_s: duration to collect systrace 121 parser.add_argument("--duration", "-d", type=int, default=0, 131 experiment(args.duration, args.command, args.pagestats)
|
/external/skia/tools/skpbench/ |
skpbench.py | 50 __argparse.add_argument('-d', '--duration', 53 type=int, help="duration of a sample (minimum)") 111 if FLAGS.duration: 112 ARGV.extend(['--duration', str(FLAGS.duration)]) 131 commandline = cls.ARGV + ['--duration', '0'] 141 commandline = cls.ARGV + ['--duration', str(warmup_time * 1000),
|
/external/skqp/tools/skpbench/ |
skpbench.py | 50 __argparse.add_argument('-d', '--duration', 53 type=int, help="duration of a sample (minimum)") 111 if FLAGS.duration: 112 ARGV.extend(['--duration', str(FLAGS.duration)]) 131 commandline = cls.ARGV + ['--duration', '0'] 141 commandline = cls.ARGV + ['--duration', str(warmup_time * 1000),
|
/external/v8/tools/testrunner/objects/ |
testcase.py | 42 self.duration = None # assigned during execution 77 return [self.id, self.output.Pack(), self.duration] 83 self.duration = result[2]
|
/frameworks/base/core/java/android/view/ |
ViewPropertyAnimatorRT.java | 70 long duration = parent.getDuration(); local 77 interpolator = new FallbackLUTInterpolator(interpolator, duration); 86 animator.setDuration(duration);
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/ |
CollapsedAlarmViewHolder.java | 150 int fromBottom, long duration) { 157 long duration) { 167 ? createCollapsingAnimator((AlarmItemViewHolder) oldHolder, duration) 168 : createExpandingAnimator((AlarmItemViewHolder) newHolder, duration); 183 private Animator createExpandingAnimator(AlarmItemViewHolder newHolder, long duration) { 195 alphaAnimatorSet.setDuration((long) (duration * ANIM_SHORT_DURATION_MULTIPLIER)); 200 .setDuration(duration); 208 private Animator createCollapsingAnimator(AlarmItemViewHolder oldHolder, long duration) { 216 final long standardDelay = (long) (duration * ANIM_STANDARD_DELAY_MULTIPLIER); 218 alphaAnimatorSet.setStartDelay(duration - standardDelay) [all...] |
/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
CallLogDurations.java | 27 /** Utility class for formatting duration and data usage in call log entries. */ 80 * Formats a string containing the call duration and the data usage (if specified). 84 * @return String containing call duration and data usage. 93 * Formats a string containing the call duration and the data usage (if specified) for TalkBack. 97 * @return String containing call duration and data usage. 106 Context context, CharSequence duration, long dataUsage) { 109 durationItems.add(duration); 113 return duration;
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
CallListAdapter.java | 94 TextView duration = (TextView) convertView.findViewById(R.id.duration); local 102 duration.setText((durationMs / 1000) + " secs");
|
/system/bt/stack/include/ |
ble_advertiser.h | 89 int duration, MultiAdvCb timeout_cb) = 0; 106 std::vector<uint8_t> periodic_data, uint16_t duration, 121 uint16_t duration, uint8_t maxExtAdvEvents,
|
/system/core/debuggerd/ |
debuggerd_benchmark.cpp | 46 static std::chrono::duration<double> GetMaximumPause(std::atomic<ThreadState>& state) { 47 std::chrono::duration<double> max_diff(0); 100 std::chrono::duration<double> max_pause;
|
/external/autotest/client/site_tests/video_YouTubeMseEme/files/ |
video_YouTubeMseEme.js | 38 function createAudioDef(src, size, duration) { 44 duration: duration, 45 bps: Math.floor(size / duration) 49 function createVideoDef(src, size, duration) { 55 duration: duration, 56 bps: Math.floor(size / duration) 221 var test_result = isNaN(temp_video.duration); 235 test_result = test_result && isNaN(vm.ms.duration); [all...] |
/frameworks/base/core/java/android/animation/ |
LayoutTransition.java | 56 * animation. The other animations begin after a delay that is set to the default duration 73 * basic animation properties, such as the duration, start delay, and properties being animated. 166 * The default duration used by all animations. 181 * the appearing item is the default duration, since it should wait for the items to move 320 * Sets the duration to be used by all animations of this transition object. If you want to 321 * set the duration of just one of the animations in particular, use the 324 * @param duration The length of time, in milliseconds, that the transition animations 327 public void setDuration(long duration) { 328 mChangingAppearingDuration = duration; 329 mChangingDisappearingDuration = duration; 735 final long duration; local [all...] |
/bionic/libc/kernel/uapi/linux/ |
bsg.h | 55 __u32 duration; member in struct:sg_io_v4
|
/developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/cardstream/ |
DefaultCardStreamAnimator.java | 82 long duration = Math.abs((int) ((1 - fractionCovered) * 200 * mSpeedFactor)); local 91 animator.setDuration(duration).setInterpolator(new BounceInterpolator()); 106 long duration = Math.abs((int) ((1 - fractionCovered) * 200 * mSpeedFactor)); local 118 PropertyValuesHolder.ofFloat("rotationY", endRotationY)).setDuration(duration);
|