Home
last modified time | relevance | path

Searched refs:predicted (Results 1 – 2 of 2) sorted by relevance

/cts/tests/input/src/android/input/cts/
DMotionPredictorTest.kt161 val predicted = predictor.predict(Duration.ofMillis(24).toNanos()) in testNoMotion() constant
164 if (predicted != null) { in testNoMotion()
167 assertEquals(10f, predicted.getX(), xDelta) in testNoMotion()
168 assertEquals(20f, predicted.getY(), yDelta) in testNoMotion()
169 assertEquals(STYLUS_DEVICE_ID, predicted.deviceId) in testNoMotion()
193 val predicted = predictor.predict(Duration.ofMillis(24).toNanos()) in testLinearMotion() constant
194 assertNotNull(predicted) in testLinearMotion()
199 val expectedY = 30 + ((predicted!!.getEventTime() - 16) * yMovement) in testLinearMotion()
203 assertEquals(10f, predicted.getX(), xDelta) in testLinearMotion()
204 assertEquals(expectedY, predicted.getY(), yDelta) in testLinearMotion()
[all …]
/cts/apps/CtsVerifier/jni/audio_loopback/analyzer/
DGlitchAnalyzer.h220 double predicted = sinf(mInputPhase) * mMagnitude; in processInputFrame() local
221 double diff = predicted - sample; in processInputFrame()
229 mSumSquareSignal += predicted * predicted; in processInputFrame()
265 double predicted = sinf(mInputPhase) * mMagnitude; in processInputFrame() local
266 double diff = predicted - sample; in processInputFrame()