Home
last modified time | relevance | path

Searched refs:delta2 (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/
DGestureManifoldTest.java116 private void testPath(Point delta1, Point delta2, int gestureId) { in testPath() argument
123 PointF startPlusDelta2 = new PointF(PATH_START.x + delta2.x, PATH_START.y + delta2.y); in testPath()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryStatsImplTest.java269 final long[][] delta2 = { in testUpdateProcStateCpuTimes() local
282 newCpuTimes[j] = cpuTimes[i][j] + delta1[i][j] + delta2[i][j]; in testUpdateProcStateCpuTimes()
295 expectedCpuTimes[j] += delta1[i][j] + delta2[i][j]; in testUpdateProcStateCpuTimes()
300 assertArrayEquals("Uid=" + testUids[i], delta2[i], timeInFreqs); in testUpdateProcStateCpuTimes()
331 newCpuTimes[j] = cpuTimes[i][j] + delta1[i][j] + delta2[i][j] + delta3[i][j]; in testUpdateProcStateCpuTimes()
344 expectedCpuTimes[j] += delta1[i][j] + delta2[i][j] + delta3[i][j] in testUpdateProcStateCpuTimes()
349 long[] expectedScreenOffTimes = delta2[i].clone(); in testUpdateProcStateCpuTimes()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp3197 PointerGesture::Delta& delta2 = mPointerGesture.referenceDeltas[id2]; in prepareMultiFingerPointerGestures() local
3200 float dx2 = delta2.dx * mPointerXZoomScale; in prepareMultiFingerPointerGestures()
3201 float dy2 = delta2.dy * mPointerYZoomScale; in prepareMultiFingerPointerGestures()