/external/proguard/src/proguard/gui/splash/ |
ConstantTiming.java | 24 * This Timing is constant over time. 28 public class ConstantTiming implements Timing 30 private final double timing; field in class:ConstantTiming 43 * @param timing the constant value of the timing. 45 public ConstantTiming(double timing) 47 this.timing = timing; 51 // Implementation for Timing. 55 return timing; [all...] |
LinearDouble.java | 24 * This VariableDouble varies linearly with respect to its Timing. 32 private final Timing timing; field in class:LinearDouble 37 * @param fromValue the value that corresponds to a timing of 0. 38 * @param toValue the value that corresponds to a timing of 1. 39 * @param timing the applied timing. 41 public LinearDouble(double fromValue, double toValue, Timing timing) 45 this.timing = timing [all...] |
LinearInt.java | 24 * This VariableColor varies linearly with respect to its Timing. 32 private final Timing timing; field in class:LinearInt 37 * @param fromValue the value that corresponds to a timing of 0. 38 * @param toValue the value that corresponds to a timing of 1. 39 * @param timing the applied timing. 41 public LinearInt(int fromValue, int toValue, Timing timing) 45 this.timing = timing [all...] |
SmoothTiming.java | 24 * This Timing ramps up smoothly from 0 to 1 in a given time interval. 28 public class SmoothTiming implements Timing 36 * @param fromTime the time at which the timing starts ramping up from 0. 37 * @param toTime the time at which the timing stops ramping up at 1. 46 // Implementation for Timing. 61 double timing = (double) (time - fromTime) / (double) (toTime - fromTime); local 64 return timing * timing * (3.0 - 2.0 * timing);
|
LinearColor.java | 26 * This VariableColor varies linearly with respect to its Timing. 34 private final Timing timing; field in class:LinearColor 42 * @param fromValue the value that corresponds to a timing of 0. 43 * @param toValue the value that corresponds to a timing of 1. 44 * @param timing the applied timing. 46 public LinearColor(Color fromValue, Color toValue, Timing timing) 50 this.timing = timing [all...] |
TypeWriterString.java | 25 * Timing, as if it is being written on a typewriter. A cursor at the end 33 private final Timing timing; field in class:TypeWriterString 42 * @param timing the applied timing. 44 public TypeWriterString(String string, Timing timing) 47 this.timing = timing; 55 double t = timing.getTiming(time) [all...] |
/art/test/028-array-write/src/ |
Main.java | 22 static boolean timing = false; field in class:Main 28 if (! timing) { 80 if ((args.length >= 1) && args[0].equals("--timing")) { 81 timing = true;
|
/external/linux-kselftest/tools/testing/selftests/seccomp/ |
seccomp_benchmark.c | 19 unsigned long long timing(clockid_t clk_id, unsigned long long samples) function 55 if (timing(CLOCK_REALTIME, samples) / 1000000000ULL > 5) 80 native = timing(CLOCK_PROCESS_CPUTIME_ID, samples) / samples; 89 filtered = timing(CLOCK_PROCESS_CPUTIME_ID, samples) / samples;
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowSystemVibrator.java | 76 long timing; local 79 timing = oneShot.getDuration(); 82 timing = ReflectionHelpers.callInstanceMethod(oneShot, "getTiming"); 87 recordVibrate(timing);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/ |
Timer.java | 23 private boolean timing = false; field in class:Timer 32 timing = true; 38 if (timing) { 40 timing = false; 98 // Timing on Java is very tricky, especially when you count in garbage collection. This is a simple strategy for now, we might improve later.
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
Timer.java | 20 private boolean timing = false; field in class:Timer 29 timing = true; 35 if (timing) { 37 timing = false; 95 // Timing on Java is very tricky, especially when you count in garbage collection. This is a simple strategy for now, we might improve later.
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
HdmiLogger.java | 111 Pair<Long, Integer> timing = cache.get(logMessage); local 112 if (shouldLogNow(timing, curTime)) { 113 String log = buildMessage(logMessage, timing); 122 private static String buildMessage(String message, @Nullable Pair<Long, Integer> timing) { 124 .append("[").append(timing == null ? 1 : timing.second).append("]:") 130 Pair<Long, Integer> timing = cache.get(message); local 131 if (timing != null) { 132 cache.put(message, new Pair<>(timing.first, timing.second + 1)) [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
PerformanceCollectorTest.java | 93 Bundle timing = mPerfCollector.stopTiming("timing4"); local 99 verifyTimingBundle(timing, labels); 160 Bundle timing = mPerfCollector.stopTiming("timing8"); local 166 verifyTimingBundle(timing, labels); 247 Bundle timing = mPerfCollector.stopTiming("iteration5"); local 261 verifyTimingBundle(timing, labels); 347 * Verify that snapshotting and timing do not interfere w/ each other, 348 * by staggering calls to snapshot and timing functions. 464 private void verifyTimingBundle(Bundle timing, ArrayList<String> labels) { 465 assertEquals(1, timing.size()) [all...] |
/external/gemmlowp/test/ |
benchmark.cc | 116 const float timing = static_cast<float>(endtime - starttime); local 118 if (timing >= min_accurate_duration) { 119 time_per_iter = timing / iters_at_a_time;
|
/external/libpng/contrib/gregbook/ |
rpng2-win.c | 163 #define INBUFSIZE 4096 /* with pseudo-timing on (1 sec delay/block), this 283 int timing = FALSE; local 424 } else if (!strncmp(*argv, "-timing", 2)) { 425 timing = TRUE; 450 "Usage: %s [-gamma exp] [-bgcolor bg | -bgpat pat] [-timing]\n" 461 " -timing\tenables delay for every block read, to simulate modem\n" 599 if (timing) [all...] |
rpng2-x.c | 176 #define INBUFSIZE 4096 /* with pseudo-timing on (1 sec delay/block), this 318 int timing = FALSE; local 440 } else if (!strncmp(*argv, "-timing", 2)) { 441 timing = TRUE; 479 " %*s [-usleep dur | -timing] [-pause]\n", 509 " -timing\tenables delay for every block read, to simulate modem\n" 623 if (timing) [all...] |
/external/libxml2/ |
testSAX.c | 64 static int timing = 0; variable 67 * Timing routines. 70 * Internal timing routines to remove the necessity to have unix-specific 103 * startTimer: call where you want to start timing 112 * endTimer: call where you want to stop timing and to print out a 113 * message about the timing performed; format is a printf 172 * We don't have a gettimeofday or time.h, so we just don't do timing 185 * We cannot do anything because we don't have a timing function 1153 else if ((!strcmp(argv[i], "-timing")) || 1154 (!strcmp(argv[i], "--timing"))) { [all...] |
xmllint.c | 168 static int timing = 0; variable 389 * Internal timing routines to remove the necessity to have * 423 * startTimer: call where you want to start timing 432 * endTimer: call where you want to stop timing and to print out a 433 * message about the timing performed; format is a printf 492 * We don't have a gettimeofday or time.h, so we just don't do timing 505 * We cannot do anything because we don't have a timing function [all...] |
/art/test/023-many-interfaces/src/ |
ManyInterfaces.java | 167 /** whether to report timing information */ 168 private static boolean timing = false; field in class:ManyInterfaces 175 if (timing) { 186 * @param timing whether to print out timing info 188 public static void run(boolean timing) { 189 ManyInterfaces.timing = timing;
|
/external/speex/libspeex/ |
jitter.c | 84 int filled; /**< Number of entries occupied in "timing" and "counts"*/ 86 spx_int32_t timing[MAX_TIMINGS]; /**< Sorted list of all timings ("latest" packets first) */ member in struct:TimingBuffer 96 /* Add the timing of a new packet to the TimingBuffer */ 97 static void tb_add(struct TimingBuffer *tb, spx_int16_t timing) 101 if (tb->filled >= MAX_TIMINGS && timing >= tb->timing[tb->filled-1]) 107 /* Find where the timing info goes in the sorted list */ 110 while (pos<tb->filled && timing >= tb->timing[pos]) 123 SPEEX_MOVE(&tb->timing[pos+1], &tb->timing[pos], move_size) [all...] |
/external/iputils/ |
ping_common.c | 45 /* timing */ 46 int timing; /* flag to do timing */ variable 285 fprintf(stderr, "ping: bad timing interval\n"); 883 if (timing && cc >= 8+sizeof(struct timeval)) { 953 if (timing) { 1036 if (nreceived && timing) { 1077 if (nreceived && timing) {
|
/frameworks/native/vulkan/libvulkan/ |
swapchain.cpp | 240 android::Vector<TimingInfo> timing; member in struct:vulkan::driver::__anon46633::Swapchain 308 swapchain->timing.clear(); 312 if (swapchain.timing.size() < MIN_NUM_FRAMES_AGO) { 317 const size_t num_timings = swapchain.timing.size() - MIN_NUM_FRAMES_AGO + 1; 319 TimingInfo& ti = swapchain.timing.editItemAt(i); 374 if (swapchain.timing.empty()) { 379 size_t last_ready = swapchain.timing.size() - 1; 380 while (!swapchain.timing[last_ready].ready()) { 391 const TimingInfo& ti = swapchain.timing[i]; 400 // We don't expect to get the timing info for those old frames [all...] |
/external/honggfuzz/ |
honggfuzz.h | 209 } timing; member in struct:__anon21192
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
UT_reduce.java | 50 private static class timing { class in class:UT_reduce 51 timing(long myJavaStart, long myJavaEnd, long myRsStart, method in class:UT_reduce.timing 68 timing(long myInputCells) { method in class:UT_reduce.timing 108 return (new timing(myJavaStart, myJavaEnd, myRsStart, 113 return (new timing(myInputCells)).string(); 195 private <T extends Number> boolean result(String testName, final timing t, 205 private boolean result(String testName, final timing t, 226 private boolean result(String testName, final timing t, 247 private boolean result(String testName, final timing t, 252 private boolean result(String testName, final timing t, Int2 javaResult, Int2 rsResult) [all...] |
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
UT_reduce.java | 52 private static class timing { class in class:UT_reduce 53 timing(long myJavaStart, long myJavaEnd, long myRsStart, method in class:UT_reduce.timing 70 timing(long myInputCells) { method in class:UT_reduce.timing 110 return (new timing(myJavaStart, myJavaEnd, myRsStart, 115 return (new timing(myInputCells)).string(); 197 private <T extends Number> boolean result(String testName, final timing t, 207 private boolean result(String testName, final timing t, 228 private boolean result(String testName, final timing t, 249 private boolean result(String testName, final timing t, 254 private boolean result(String testName, final timing t, Int2 javaResult, Int2 rsResult) [all...] |