Searched refs:deltaT (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | GestureDescriptionTest.java | 141 int deltaT = 12; // Force samples to happen on extra boundaries in testPathsWithOverlappingTiming_produceCorrectSteps() local 148 .getGestureStepsFromGestureDescription(builder.build(), deltaT); in testPathsWithOverlappingTiming_produceCorrectSteps() 154 isAtTime(start + deltaT))); in testPathsWithOverlappingTiming_produceCorrectSteps() 155 assertThat(steps.get(2), allOf(numTouchPointsIs(1), isAtTime(start + deltaT * 2))); in testPathsWithOverlappingTiming_produceCorrectSteps() 156 assertThat(steps.get(3), allOf(numTouchPointsIs(1), isAtTime(start + deltaT * 3))); in testPathsWithOverlappingTiming_produceCorrectSteps() 157 assertThat(steps.get(4), allOf(numTouchPointsIs(1), isAtTime(start + deltaT * 4))); in testPathsWithOverlappingTiming_produceCorrectSteps() 164 assertThat(steps.get(6), allOf(numTouchPointsIs(3), isAtTime(start + deltaT * 1))); in testPathsWithOverlappingTiming_produceCorrectSteps() 165 assertThat(steps.get(7), allOf(noStartsOrEnds(), isAtTime(start + deltaT * 2))); in testPathsWithOverlappingTiming_produceCorrectSteps() 166 assertThat(steps.get(8), allOf(numTouchPointsIs(3), isAtTime(start + deltaT * 3))); in testPathsWithOverlappingTiming_produceCorrectSteps() 167 assertThat(steps.get(9), allOf(noStartsOrEnds(), isAtTime(start + deltaT * 4))); in testPathsWithOverlappingTiming_produceCorrectSteps() [all …]
|
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/ |
D | GL2CameraEye.java | 347 float deltaT = (timestamp - mLastTime)/1000000000.f; // To seconds in doPhysics() local 354 if (deltaT > 0.030f) { in doPhysics() 368 mVel[0] = mVel[0] + accel[0]*deltaT; in doPhysics() 369 mVel[1] = mVel[1] + accel[1]*deltaT; in doPhysics() 370 mVel[2] = mVel[2] + accel[2]*deltaT; in doPhysics() 372 mPos[0] = mPos[0] + mVel[0]*deltaT; in doPhysics() 373 mPos[1] = mPos[1] + mVel[1]*deltaT; in doPhysics() 374 mPos[2] = mPos[2] + mVel[2]*deltaT; in doPhysics()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/ |
D | Interaction.java | 127 long deltaT = Math.round(j * stepT); in createInterpolatedEventList() local 130 MotionEvent moveEvent = MotionEvent.obtain(startTime, startTime + deltaT, in createInterpolatedEventList()
|