/external/chromium-trace/catapult/telemetry/telemetry/timeline/ |
event.py | 8 thread_start, thread_duration and thread_end are the start time, duration 15 def __init__(self, category, name, start, duration, thread_start=None, 20 self.duration = duration 27 return self.start + self.duration 49 return ("TimelineEvent(name='%s', start=%f, duration=%s, " + 53 self.duration,
|
/external/libcxx/test/std/utilities/time/time.duration/time.duration.cons/ |
convert_inexact.pass.cpp | 12 // duration 15 // duration(const duration<Rep2, Period2>& d); 25 std::chrono::duration<double, std::micro> us(1); 26 std::chrono::duration<double, std::milli> ms = us; 31 constexpr std::chrono::duration<double, std::micro> us(1); 32 constexpr std::chrono::duration<double, std::milli> ms = us;
|
convert_int_to_float.pass.cpp | 12 // duration 15 // duration(const duration<Rep2, Period2>& d); 25 std::chrono::duration<int> i(3); 26 std::chrono::duration<double, std::milli> d = i; 31 constexpr std::chrono::duration<int> i(3); 32 constexpr std::chrono::duration<double, std::milli> d = i;
|
convert_float_to_int.fail.cpp | 12 // duration 15 // duration(const duration<Rep2, Period2>& d); 23 std::chrono::duration<double> d; 24 std::chrono::duration<int> i = d;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.cons/ |
convert_inexact.pass.cpp | 12 // duration 15 // duration(const duration<Rep2, Period2>& d); 25 std::chrono::duration<double, std::micro> us(1); 26 std::chrono::duration<double, std::milli> ms = us; 31 constexpr std::chrono::duration<double, std::micro> us(1); 32 constexpr std::chrono::duration<double, std::milli> ms = us;
|
convert_int_to_float.pass.cpp | 12 // duration 15 // duration(const duration<Rep2, Period2>& d); 25 std::chrono::duration<int> i(3); 26 std::chrono::duration<double, std::milli> d = i; 31 constexpr std::chrono::duration<int> i(3); 32 constexpr std::chrono::duration<double, std::milli> d = i;
|
convert_float_to_int.fail.cpp | 12 // duration 15 // duration(const duration<Rep2, Period2>& d); 23 std::chrono::duration<double> d; 24 std::chrono::duration<int> i = d;
|
/external/libcxx/test/std/utilities/time/time.duration/time.duration.comparisons/ |
op_less.pass.cpp | 12 // duration 17 // operator< (const duration<Rep1, Period1>& lhs, const duration<Rep2, Period2>& rhs); 22 // operator> (const duration<Rep1, Period1>& lhs, const duration<Rep2, Period2>& rhs); 27 // operator<=(const duration<Rep1, Period1>& lhs, const duration<Rep2, Period2>& rhs); 32 // operator>=(const duration<Rep1, Period1>& lhs, const duration<Rep2, Period2>& rhs); 72 std::chrono::duration<int, std::ratio<2, 3> > s1(9) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
AnimationProps.java | 68 * Creates an animation with a default {@param duration} and {@param interpolator} for all 71 public AnimationProps(int duration, Interpolator interpolator) { 72 this(0, duration, interpolator, null); 76 * Creates an animation with a default {@param duration} and {@param interpolator} for all 79 public AnimationProps(int duration, Interpolator interpolator, 81 this(0, duration, interpolator, listener); 85 * Creates an animation with a default {@param startDelay}, {@param duration} and 88 public AnimationProps(int startDelay, int duration, Interpolator interpolator) { 89 this(startDelay, duration, interpolator, null); 93 * Creates an animation with a default {@param startDelay}, {@param duration} an 184 long duration = mPropDuration.get(propertyType, -1); local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.comparisons/ |
op_less.pass.cpp | 12 // duration 17 // operator< (const duration<Rep1, Period1>& lhs, const duration<Rep2, Period2>& rhs); 22 // operator> (const duration<Rep1, Period1>& lhs, const duration<Rep2, Period2>& rhs); 27 // operator<=(const duration<Rep1, Period1>& lhs, const duration<Rep2, Period2>& rhs); 32 // operator>=(const duration<Rep1, Period1>& lhs, const duration<Rep2, Period2>& rhs); 72 std::chrono::duration<int, std::ratio<2, 3> > s1(9) [all...] |
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
duration.proto | 36 option go_package = "github.com/golang/protobuf/ptypes/duration"; 43 // A Duration represents a signed, fixed-length span of time represented 47 // two Timestamp values is a Duration and it can be added or subtracted 50 // Example 1: Compute Duration from two Timestamps in pseudo code. 54 // Duration duration = ...; 56 // duration.seconds = end.seconds - start.seconds; 57 // duration.nanos = end.nanos - start.nanos; 59 // if (duration.seconds < 0 && duration.nanos > 0) [all...] |
/prebuilts/go/darwin-x86/src/time/ |
sleep.go | 7 // Sleep pauses the current goroutine for at least the duration d. 8 // A negative or zero duration causes Sleep to return immediately. 9 func Sleep(d Duration) 26 // It returns what the time will be, in nanoseconds, Duration d in the future. 29 func when(d Duration) int64 { 65 // the current time on its channel after at least duration d. 66 func NewTimer(d Duration) *Timer { 80 // Reset changes the timer to expire after duration d. 83 func (t *Timer) Reset(d Duration) bool { 106 // After waits for the duration to elapse and then sends the current tim [all...] |
/prebuilts/go/linux-x86/src/time/ |
sleep.go | 7 // Sleep pauses the current goroutine for at least the duration d. 8 // A negative or zero duration causes Sleep to return immediately. 9 func Sleep(d Duration) 26 // It returns what the time will be, in nanoseconds, Duration d in the future. 29 func when(d Duration) int64 { 65 // the current time on its channel after at least duration d. 66 func NewTimer(d Duration) *Timer { 80 // Reset changes the timer to expire after duration d. 83 func (t *Timer) Reset(d Duration) bool { 106 // After waits for the duration to elapse and then sends the current tim [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/ |
startup.py | 13 # 1. A tuple of one event name if the event itself contains reported duration 66 # the duration. 77 duration = None 79 # The single event contains the duration to report. 80 duration = tracked_events[event_names[0]].duration 83 # The duration is defined as the difference between two event starts. 87 duration = (tracked_events[event_names[1]].start - 94 value=duration,
|
/external/glide/library/src/main/java/com/bumptech/glide/ |
DrawableOptions.java | 25 * @param duration The duration of the cross fade and initial fade in. 28 GenericRequestBuilder<?, ?, ?, ?> crossFade(int duration); 46 * @param duration The duration of the cross fade animation. 50 GenericRequestBuilder<?, ?, ?, ?> crossFade(Animation animation, int duration); 61 * @param duration The duration of the cross fade animation. 64 GenericRequestBuilder<?, ?, ?, ?> crossFade(int animationId, int duration);
|
/external/libxml2/test/schemas/ |
dur_0.xsd | 5 Testing duration data types 8 <xsd:element name="duration"> 14 <xsd:restriction base="xsd:duration"> 22 <xsd:restriction base="xsd:duration"> 30 <xsd:restriction base="xsd:duration"> 38 <xsd:restriction base="xsd:duration"> 47 <xsd:restriction base="xsd:duration"> 55 <xsd:restriction base="xsd:duration"> 66 <xsd:restriction base="xsd:duration">
|
/packages/apps/DeskClock/res/animator-v22/ |
ic_alarm_animation_button.xml | 21 android:duration="33" 27 android:duration="67" 33 android:duration="67" 39 android:duration="67" 45 android:duration="67" 51 android:duration="67" 57 android:duration="67" 63 android:duration="67" 69 android:duration="33"
|
ic_clock_minute_hand_animation.xml | 23 android:duration="166" 30 android:duration="41" 37 android:duration="166" 44 android:duration="20" 51 android:duration="41" 58 android:duration="20" 65 android:duration="41" 72 android:duration="83" 79 android:duration="250" 89 android:duration="166 [all...] |
/development/samples/devbytes/animation/PropertyAnimations/res/animator/ |
combo.xml | 8 android:duration="300" 14 android:duration="300" 19 android:duration="300" 28 android:duration="300" 34 android:duration="300"
|
/packages/apps/TV/src/com/android/tv/analytics/ |
DurationTimer.java | 22 * Times a duration. 44 * Returns the current duration in milliseconds or {@link #TIME_NOT_SET} if the timer is not 54 * @return the current duration in milliseconds or {@link #TIME_NOT_SET} if the timer is not 58 long duration = getDuration(); local 60 return duration;
|
/developers/build/prebuilts/gradle/Timer/Wearable/src/main/java/com/example/android/wearable/timer/ |
SetTimerActivity.java | 79 * Sets up an alarm (and an associated notification) to go off after <code>duration</code> 82 private void setupTimer(long duration) { 90 notifyMgr.notify(Constants.NOTIFICATION_TIMER_COUNTDOWN, buildNotification(duration)); 93 registerWithAlarmManager(duration); 100 long duration = mTimeOptions[holder.getPosition()].duration; local 101 setupTimer(duration); 108 private void registerWithAlarmManager(long duration) { 119 long wakeupTime = System.currentTimeMillis() + duration; 128 * @param duration the duration of the timer 174 long duration; field in class:SetTimerActivity.ListViewItem [all...] |
/developers/samples/android/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/ |
SetTimerActivity.java | 79 * Sets up an alarm (and an associated notification) to go off after <code>duration</code> 82 private void setupTimer(long duration) { 90 notifyMgr.notify(Constants.NOTIFICATION_TIMER_COUNTDOWN, buildNotification(duration)); 93 registerWithAlarmManager(duration); 100 long duration = mTimeOptions[holder.getPosition()].duration; local 101 setupTimer(duration); 108 private void registerWithAlarmManager(long duration) { 119 long wakeupTime = System.currentTimeMillis() + duration; 128 * @param duration the duration of the timer 174 long duration; field in class:SetTimerActivity.ListViewItem [all...] |
/development/samples/browseable/Timer/src/com.example.android.wearable.timer/ |
SetTimerActivity.java | 79 * Sets up an alarm (and an associated notification) to go off after <code>duration</code> 82 private void setupTimer(long duration) { 90 notifyMgr.notify(Constants.NOTIFICATION_TIMER_COUNTDOWN, buildNotification(duration)); 93 registerWithAlarmManager(duration); 100 long duration = mTimeOptions[holder.getPosition()].duration; local 101 setupTimer(duration); 108 private void registerWithAlarmManager(long duration) { 119 long wakeupTime = System.currentTimeMillis() + duration; 128 * @param duration the duration of the timer 174 long duration; field in class:SetTimerActivity.ListViewItem [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ |
RetryAfter.java | 53 /** constant DURATION parameter. 55 public static final String DURATION = ParameterNames.DURATION; 57 /** duration field 103 /** remove duration field 106 super.removeParameter(DURATION); 164 * Sets the duration value of the RetryAfterHeader. The retry after value 167 * @param duration - the new duration value of this RetryAfterHeader 172 public void setDuration(int duration) throws InvalidArgumentException [all...] |
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
LocationCluster.java | 48 public LocationCluster(Location location, long duration) { 50 addSample(location, duration); 53 public void addSample(Location location, long duration) { 54 updateTemporalHistogram(location.getTime(), duration); local 58 location.setTime(duration); 73 long duration = location.getTime(); // in seconds local 75 if (duration == 0) { 76 throw new RuntimeException("location duration is zero"); 79 newDuration += duration; 81 newCenter[i] += vector[i] * duration; 101 long duration = entry.getValue(); local [all...] |