Home
last modified time | relevance | path

Searched refs:timings (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/database/
Dprocess_newdb_perf_test_logs.py26 timings = {}
43 if not test_name in timings:
44 timings[test_name] = []
45 timings[test_name].append(duration)
52 if not test_name in timings:
53 timings[test_name] = []
54 timings[test_name].append(running_sum)
65 for k in sorted(timings):
66 timings_ar = timings[k]
/frameworks/base/core/java/android/os/
DVibrationEffect.java202 public static VibrationEffect createWaveform(long[] timings, int repeat) { in createWaveform() argument
203 int[] amplitudes = new int[timings.length]; in createWaveform()
204 for (int i = 0; i < (timings.length / 2); i++) { in createWaveform()
207 return createWaveform(timings, amplitudes, repeat); in createWaveform()
232 public static VibrationEffect createWaveform(long[] timings, int[] amplitudes, int repeat) { in createWaveform() argument
233 VibrationEffect effect = new Waveform(timings, amplitudes, repeat); in createWaveform()
521 public Waveform(long[] timings, int[] amplitudes, int repeat) { in Waveform() argument
522 mTimings = new long[timings.length]; in Waveform()
523 System.arraycopy(timings, 0, mTimings, 0, timings.length); in Waveform()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DRenderScriptTask.java66 public ArrayList<Pair<String,Long>> timings; field in RenderScriptTask
108 timings = filter.timings; in applyRefocusFilter()
DRefocusFilter.java29 public ArrayList<Pair<String,Long>> timings = new ArrayList<Pair<String,Long>>(); field in RefocusFilter
36 timings.add(Pair.create(phase + " (" + unit + ")", Long.valueOf(time))); in logTiming()
DMainActivity.java219 return new Result(renderScriptTask.timings, renderScriptTaskNew.timings, psnr); in doInBackground()
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java427 long[] timings = getLongIntArray(mContext.getResources(), resId); in createEffectFromResource() local
428 return createEffectFromTimings(timings); in createEffectFromResource()
431 private static VibrationEffect createEffectFromTimings(long[] timings) { in createEffectFromTimings() argument
432 if (timings == null || timings.length == 0) { in createEffectFromTimings()
434 } else if (timings.length == 1) { in createEffectFromTimings()
435 return VibrationEffect.createOneShot(timings[0], VibrationEffect.DEFAULT_AMPLITUDE); in createEffectFromTimings()
437 return VibrationEffect.createWaveform(timings, -1); in createEffectFromTimings()
1400 final long[] timings = mWaveform.getTimings(); in playWaveform() local
1402 final int len = timings.length; in playWaveform()
1410 final long duration = timings[index++]; in playWaveform()
[all …]
/frameworks/native/vulkan/libvulkan/
Dswapchain.cpp406 VkPastPresentationTimingGOOGLE* timings) { in copy_ready_timings() argument
426 ti.get_values(&timings[num_copied]); in copy_ready_timings()
1806 VkPastPresentationTimingGOOGLE* timings) { in GetPastPresentationTimingGOOGLE() argument
1819 if (timings) { in GetPastPresentationTimingGOOGLE()
1821 copy_ready_timings(swapchain, count, timings); in GetPastPresentationTimingGOOGLE()