Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DVibrationEffect.java100 public static VibrationEffect createWaveform(long[] timings, int repeat) { in createWaveform() argument
101 int[] amplitudes = new int[timings.length]; in createWaveform()
102 for (int i = 0; i < (timings.length / 2); i++) { in createWaveform()
105 return createWaveform(timings, amplitudes, repeat); in createWaveform()
130 public static VibrationEffect createWaveform(long[] timings, int[] amplitudes, int repeat) { in createWaveform() argument
131 VibrationEffect effect = new Waveform(timings, amplitudes, repeat); in createWaveform()
254 public Waveform(long[] timings, int[] amplitudes, int repeat) { in Waveform() argument
255 mTimings = new long[timings.length]; in Waveform()
256 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.java812 final long[] timings = mWaveform.getTimings(); in playWaveform() local
814 final int len = timings.length; in playWaveform()
822 final long duration = timings[index++]; in playWaveform()
835 getTotalOnDuration(timings, amplitudes, index - 1, repeat); in playWaveform()
868 long[] timings, int[] amplitudes, int startIndex, int repeatIndex) { in getTotalOnDuration() argument
872 timing += timings[i++]; in getTotalOnDuration()
873 if (i >= timings.length) { in getTotalOnDuration()
/frameworks/native/vulkan/libvulkan/
Dswapchain.cpp368 VkPastPresentationTimingGOOGLE* timings) { in copy_ready_timings() argument
388 ti.get_values(&timings[num_copied]); in copy_ready_timings()
1520 VkPastPresentationTimingGOOGLE* timings) { in GetPastPresentationTimingGOOGLE() argument
1531 if (timings) { in GetPastPresentationTimingGOOGLE()
1533 copy_ready_timings(swapchain, count, timings); in GetPastPresentationTimingGOOGLE()