Searched refs:touchY (Results 1 – 4 of 4) sorted by relevance
/external/walt/android/WALT/app/src/test/java/org/chromium/latency/walt/ |
D | UtilsTest.java | 150 double[] touchY = new double[touchTimes.length]; in testFindBestShift() local 151 for (int i = 0; i < touchY.length; i++) { in testFindBestShift() 153 …touchY[i] = 1000*Math.cos((touchTimes[i] - latency) * Math.PI/500) + rand.nextDouble()*0.02 - 0.01; in testFindBestShift() 163 assertEquals(latency, Utils.findBestShift(laserTimes, touchTimes, touchY), 1e-6); in testFindBestShift()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/main/java/com/google/android/exoplayer2/video/spherical/ |
D | TouchTracker.java | 101 float touchY = (e2.getY() - previousTouchPointPx.y) / pxPerDegrees; in onScroll() local 111 accumulatedTouchOffsetDegrees.x -= cr * touchX - sr * touchY; in onScroll() 113 accumulatedTouchOffsetDegrees.y += sr * touchX + cr * touchY; in onScroll()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/main/java/com/google/android/exoplayer2/video/spherical/ |
D | TouchTracker.java | 101 float touchY = (e2.getY() - previousTouchPointPx.y) / pxPerDegrees; in onScroll() local 111 accumulatedTouchOffsetDegrees.x -= cr * touchX - sr * touchY; in onScroll() 113 accumulatedTouchOffsetDegrees.y += sr * touchX + cr * touchY; in onScroll()
|
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
D | Utils.java | 139 …private static double getShiftError(double[] laserT, double[] touchT, double[] touchY, double shif… in getShiftError() argument 144 double [] laserY = Utils.interp(T, touchT, touchY); in getShiftError() 156 public static double findBestShift(double[] laserT, double[] touchT, double[] touchY) { in findBestShift() argument 163 …stddevs[i] = getShiftError(laserT, touchT, touchY, bestShift + shiftStep * i - shiftStep * steps /… in findBestShift()
|