Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsImplTest.java153 final long[][] delta2 = { in testUpdateProcStateCpuTimes() local
160 when(mKernelSingleUidTimeReader.readDeltaMs(testUids[i])).thenReturn(delta2[i]); in testUpdateProcStateCpuTimes()
173 expectedCpuTimes[j] += delta1[i][j] + delta2[i][j]; in testUpdateProcStateCpuTimes()
177 assertArrayEquals("Uid=" + testUids[i], delta2[i], in testUpdateProcStateCpuTimes()
212 expectedCpuTimes[j] += delta1[i][j] + delta2[i][j] + delta3[i][j] in testUpdateProcStateCpuTimes()
217 long[] expectedScreenOffTimes = delta2[i].clone(); in testUpdateProcStateCpuTimes()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityGestureDetectorTest.java117 private void testPath(Point delta1, Point delta2, int gestureId) { in testPath() argument
124 PointF startPlusDelta2 = new PointF(PATH_START.x + delta2.x, PATH_START.y + delta2.y); in testPath()
/frameworks/native/services/inputflinger/
DInputReader.cpp6026 PointerGesture::Delta& delta2 = mPointerGesture.referenceDeltas[id2]; in preparePointerGestures() local
6029 float dx2 = delta2.dx * mPointerXZoomScale; in preparePointerGestures()
6030 float dy2 = delta2.dy * mPointerYZoomScale; in preparePointerGestures()