/external/libcxx/test/std/utilities/time/time.duration/time.duration.cons/ |
convert_int_to_float.pass.cpp | 12 // duration 15 // duration(const duration<Rep2, Period2>& d); 27 std::chrono::duration<int> i(3); 28 std::chrono::duration<double, std::milli> d = i; 33 constexpr std::chrono::duration<int> i(3); 34 constexpr std::chrono::duration<double, std::milli> d = i;
|
/external/libcxx/test/std/utilities/time/time.duration/time.duration.nonmember/ |
op_divide_rep.fail.cpp | 12 // duration 15 // duration<typename common_type<Rep1, Rep2>::type, Period> 16 // operator/(const duration<Rep1, Period>& d, const Rep2& s); 24 std::chrono::duration<Rep> d(Rep(15));
|
op_mod_rep.fail.cpp | 12 // duration 15 // duration<typename common_type<Rep1, Rep2>::type, Period> 16 // operator%(const duration<Rep1, Period>& d, const Rep2& s) 24 std::chrono::duration<Rep> d(Rep(15));
|
op_times_rep1.fail.cpp | 12 // duration 15 // duration<typename common_type<Rep1, Rep2>::type, Period> 16 // operator*(const duration<Rep1, Period>& d, const Rep2& s); 19 // duration<typename common_type<Rep1, Rep2>::type, Period> 20 // operator*(const Rep1& s, const duration<Rep2, Period>& d); 28 std::chrono::duration<Rep> d;
|
op_times_rep2.fail.cpp | 12 // duration 15 // duration<typename common_type<Rep1, Rep2>::type, Period> 16 // operator*(const duration<Rep1, Period>& d, const Rep2& s); 19 // duration<typename common_type<Rep1, Rep2>::type, Period> 20 // operator*(const Rep1& s, const duration<Rep2, Period>& d); 28 std::chrono::duration<Rep> d;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.duration/ |
positive_num.fail.cpp | 12 // duration 20 typedef std::chrono::duration<int, std::ratio<5, -1> > D;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.duration/time.duration.alg/ |
abs.fail.cpp | 16 // constexpr duration<Rep, Period> abs(duration<Rep, Period> d) 22 typedef std::chrono::duration<unsigned> unsigned_secs;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.duration/time.duration.cons/ |
convert_inexact.pass.cpp | 12 // duration 15 // duration(const duration<Rep2, Period2>& d); 27 std::chrono::duration<double, std::micro> us(1); 28 std::chrono::duration<double, std::milli> ms = us; 33 constexpr std::chrono::duration<double, std::micro> us(1); 34 constexpr std::chrono::duration<double, std::milli> ms = us;
|
convert_int_to_float.pass.cpp | 12 // duration 15 // duration(const duration<Rep2, Period2>& d); 27 std::chrono::duration<int> i(3); 28 std::chrono::duration<double, std::milli> d = i; 33 constexpr std::chrono::duration<int> i(3); 34 constexpr std::chrono::duration<double, std::milli> d = i;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.duration/time.duration.nonmember/ |
op_divide_rep.fail.cpp | 12 // duration 15 // duration<typename common_type<Rep1, Rep2>::type, Period> 16 // operator/(const duration<Rep1, Period>& d, const Rep2& s); 24 std::chrono::duration<Rep> d(Rep(15));
|
op_mod_rep.fail.cpp | 12 // duration 15 // duration<typename common_type<Rep1, Rep2>::type, Period> 16 // operator%(const duration<Rep1, Period>& d, const Rep2& s) 24 std::chrono::duration<Rep> d(Rep(15));
|
op_times_rep1.fail.cpp | 12 // duration 15 // duration<typename common_type<Rep1, Rep2>::type, Period> 16 // operator*(const duration<Rep1, Period>& d, const Rep2& s); 19 // duration<typename common_type<Rep1, Rep2>::type, Period> 20 // operator*(const Rep1& s, const duration<Rep2, Period>& d); 28 std::chrono::duration<Rep> d;
|
op_times_rep2.fail.cpp | 12 // duration 15 // duration<typename common_type<Rep1, Rep2>::type, Period> 16 // operator*(const duration<Rep1, Period>& d, const Rep2& s); 19 // duration<typename common_type<Rep1, Rep2>::type, Period> 20 // operator*(const Rep1& s, const duration<Rep2, Period>& d); 28 std::chrono::duration<Rep> d;
|
/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/icu/android_icu4j/src/main/java/android/icu/impl/duration/ |
DurationFormatter.java | 11 package android.icu.impl.duration; 23 * Formats the duration between now and a target date. 28 * <code>targetDate.getTime()</code> as the duration. 36 * Formats a duration expressed in milliseconds. 41 * @param duration the duration in milliseconds 45 String formatDurationFromNow(long duration); 48 * Formats a duration expressed in milliseconds from a reference date. 53 * The duration is expressed as the number of milliseconds in the 57 * @param duration the duration in millisecond [all...] |
PeriodBuilder.java | 11 package android.icu.impl.duration; 16 * Constructs a Period given a base time and a duration in milliseconds. 26 * Create a period of the given duration using the current system 29 * @param duration the duration in milliseconds from the current time 30 * to the target time. A negative duration indicates a time in the past 31 * @return a Period that represents the duration 33 Period create(long duration); 36 * Create a period of the given duration using the provided reference date. 38 * @param duration the duration in milliseconds from the referenct tim [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/languages/ |
Test_hi.java | 13 package android.icu.dev.test.duration.languages; 17 import android.icu.dev.test.duration.LanguageTestFmwk; 18 import android.icu.impl.duration.TimeUnitConstants;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
DurationFormatter.java | 10 package com.ibm.icu.impl.duration; 21 * Formats the duration between now and a target date. 26 * <code>targetDate.getTime()</code> as the duration. 34 * Formats a duration expressed in milliseconds. 39 * @param duration the duration in milliseconds 43 String formatDurationFromNow(long duration); 46 * Formats a duration expressed in milliseconds from a reference date. 51 * The duration is expressed as the number of milliseconds in the 55 * @param duration the duration in millisecond [all...] |
PeriodBuilder.java | 10 package com.ibm.icu.impl.duration; 15 * Constructs a Period given a base time and a duration in milliseconds. 24 * Create a period of the given duration using the current system 27 * @param duration the duration in milliseconds from the current time 28 * to the target time. A negative duration indicates a time in the past 29 * @return a Period that represents the duration 31 Period create(long duration); 34 * Create a period of the given duration using the provided reference date. 36 * @param duration the duration in milliseconds from the referenct tim [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/languages/ |
Test_hi.java | 12 package com.ibm.icu.dev.test.duration.languages; 16 import com.ibm.icu.dev.test.duration.LanguageTestFmwk; 17 import com.ibm.icu.impl.duration.TimeUnitConstants;
|
/external/libcxx/test/std/utilities/time/time.traits/time.traits.specializations/ |
duration.pass.cpp | 13 // struct common_type<chrono::duration<Rep1, Period1>, chrono::duration<Rep2, Period2>> 15 // typedef chrono::duration<typename common_type<Rep1, Rep2>::type, see below }> type; 30 test<std::chrono::duration<int, std::ratio<1, 100> >, 31 std::chrono::duration<long, std::ratio<1, 1000> >, 32 std::chrono::duration<long, std::ratio<1, 1000> > >(); 33 test<std::chrono::duration<long, std::ratio<1, 100> >, 34 std::chrono::duration<int, std::ratio<1, 1000> >, 35 std::chrono::duration<long, std::ratio<1, 1000> > >(); 36 test<std::chrono::duration<char, std::ratio<1, 30> > [all...] |
time_point.pass.cpp | 34 test<std::chrono::duration<int, std::ratio<1, 100> >, 35 std::chrono::duration<long, std::ratio<1, 1000> >, 36 std::chrono::duration<long, std::ratio<1, 1000> > >(); 37 test<std::chrono::duration<long, std::ratio<1, 100> >, 38 std::chrono::duration<int, std::ratio<1, 1000> >, 39 std::chrono::duration<long, std::ratio<1, 1000> > >(); 40 test<std::chrono::duration<char, std::ratio<1, 30> >, 41 std::chrono::duration<short, std::ratio<1, 1000> >, 42 std::chrono::duration<int, std::ratio<1, 3000> > >(); 43 test<std::chrono::duration<double, std::ratio<21, 1> > [all...] |
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowScroller.java | 14 private long duration; field in class:ShadowScroller 30 return dt >= duration ? finalX : startX + (int) ((deltaX() * dt) / duration); 36 return dt >= duration ? finalY : startY + (int) ((deltaY() * dt) / duration); 51 return (int) duration; 55 public void startScroll(int startX, int startY, int dx, int dy, int duration) { 61 this.duration = duration; 69 }, duration); [all...] |
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/ |
SpeedClassifier.java | 34 float duration = stroke.getDurationSeconds(); local 35 if (duration == 0.0f) { 38 return SpeedEvaluator.evaluate(stroke.getTotalLength() / duration);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.traits/time.traits.specializations/ |
duration.pass.cpp | 13 // struct common_type<chrono::duration<Rep1, Period1>, chrono::duration<Rep2, Period2>> 15 // typedef chrono::duration<typename common_type<Rep1, Rep2>::type, see below }> type; 30 test<std::chrono::duration<int, std::ratio<1, 100> >, 31 std::chrono::duration<long, std::ratio<1, 1000> >, 32 std::chrono::duration<long, std::ratio<1, 1000> > >(); 33 test<std::chrono::duration<long, std::ratio<1, 100> >, 34 std::chrono::duration<int, std::ratio<1, 1000> >, 35 std::chrono::duration<long, std::ratio<1, 1000> > >(); 36 test<std::chrono::duration<char, std::ratio<1, 30> > [all...] |