Searched refs:timeDelta (Results 1 – 3 of 3) sorted by relevance
73 long timeDelta = System.currentTimeMillis() - time; in testConditionVariable() local74 assertTrue(timeDelta >= BLOCK_TIME && timeDelta <= BLOCK_TIME + BLOCK_TIME_DELTA); in testConditionVariable()
241 final float timeDelta = 0.015f; in testGetInterpolation() local242 assertEquals(cycleInterpolator.getInterpolation(0.0f + timeDelta), in testGetInterpolation()243 cycleInterpolator.getInterpolation(0.5f + timeDelta), ALPHA_DELTA); in testGetInterpolation()244 assertEquals(cycleInterpolator.getInterpolation(0.25f + timeDelta), in testGetInterpolation()245 cycleInterpolator.getInterpolation(0.75f + timeDelta), ALPHA_DELTA); in testGetInterpolation()
338 long timeDelta = framesPending * NANOS_PER_SECOND / track.getSampleRate(); in checkOutputLowLatency() local339 long timePresented = timestamp.nanoTime + timeDelta; in checkOutputLowLatency()