Searched refs:predicted (Results 1 – 2 of 2) sorted by relevance
161 val predicted = predictor.predict(Duration.ofMillis(24).toNanos()) in testNoMotion() constant164 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() constant194 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 …]
220 double predicted = sinf(mInputPhase) * mMagnitude; in processInputFrame() local221 double diff = predicted - sample; in processInputFrame()229 mSumSquareSignal += predicted * predicted; in processInputFrame()265 double predicted = sinf(mInputPhase) * mMagnitude; in processInputFrame() local266 double diff = predicted - sample; in processInputFrame()