Searched refs:TOLERANCE (Results 1 – 8 of 8) sorted by relevance
37 private static final double TOLERANCE = 0.0001; field in TransportStatsTest55 assertThat(stats.average).isWithin(TOLERANCE).of(50); in testRegisterConnectionTime()68 assertThat(stats.average).isWithin(TOLERANCE).of(75); in testRegisterConnectionTime_whenHasAlreadyOneSample()81 assertThat(stats.average).isWithin(TOLERANCE).of(10); in testGetStatsForTransport()96 assertThat(stats.average).isWithin(TOLERANCE).of(15); in testMerge()
33 const float TOLERANCE = 1e-3f; variable37 if (std::fabs(expected[i][j] - arg[i][j]) > TOLERANCE) {
47 private static final int TOLERANCE = 20; field in ImageUtils130 return Math.abs(r - g) < TOLERANCE in isGrayscale()131 && Math.abs(r - b) < TOLERANCE in isGrayscale()132 && Math.abs(g - b) < TOLERANCE; in isGrayscale()
38 private static final float TOLERANCE = 0.001f; field in BluetoothDeviceLayerDrawableTest79 assertThat(batteryDrawable.getAspectRatio()).isWithin(TOLERANCE).of(0.35f); in testBatteryMeterDrawable_configCorrect()80 assertThat(batteryDrawable.getRadiusRatio()).isWithin(TOLERANCE).of(0f); in testBatteryMeterDrawable_configCorrect()
37 private static final double TOLERANCE = 0.01; field in IsChunkBreakpointTest109 .isLessThan(TOLERANCE * expectedTrials); in assertExpectedTrials()
71 private static final float TOLERANCE = 0.001f; field in CarSetupWizardCompatLayoutTest516 assertThat(primaryButton.getTextSize()).isWithin(TOLERANCE).of(EXCEPTED_TEXT_SIZE); in test_bothButtons_areStyled_inDefaultLayout()517 assertThat(secondaryButton.getTextSize()).isWithin(TOLERANCE).of(EXCEPTED_TEXT_SIZE); in test_bothButtons_areStyled_inDefaultLayout()531 assertThat(primaryButton.getTextSize()).isWithin(TOLERANCE).of(EXCEPTED_TEXT_SIZE); in test_bothButtons_areStyled_inAlternativeLayout()532 assertThat(secondaryButton.getTextSize()).isWithin(TOLERANCE).of(EXCEPTED_TEXT_SIZE); in test_bothButtons_areStyled_inAlternativeLayout()
52 private final static long TOLERANCE = 100; // ms field in ValueAnimatorTests171 long delay = Math.max(a1.getTotalDuration(), a2.getTotalDuration()) + TOLERANCE; in testListenerCallbacks()414 assertTrue(Math.abs(entireSpan - frameDelta) < TOLERANCE); in testResume()569 Thread.sleep(a1.getTotalDuration() + TOLERANCE);
99657 Lcom/android/internal/util/ImageUtils;->TOLERANCE:I