OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:touchtimes
(Results
1 - 1
of
1
) sorted by null
/external/walt/android/WALT/app/src/test/java/org/chromium/latency/walt/
UtilsTest.java
142
double[]
touchTimes
= new double[4000];
143
for (int i = 0; i <
touchTimes
.length; i++) {
145
touchTimes
[i] = i + rand.nextDouble()*0.2 - 0.1;
147
double[] touchY = new double[
touchTimes
.length];
150
touchY[i] = 1000*Math.cos((
touchTimes
[i] - latency) * Math.PI/500) + rand.nextDouble()*0.02 - 0.01;
160
assertEquals(latency, Utils.findBestShift(laserTimes,
touchTimes
, touchY), 1e-6);
Completed in 2228 milliseconds