Searched refs:strength (Results 1 – 6 of 6) sorted by relevance
86 short strength = mBassBoost.getRoundedStrength(); in test1_0Strength() local87 strength = (strength == TEST_STRENGTH) ? TEST_STRENGTH2 : TEST_STRENGTH; in test1_0Strength()88 mBassBoost.setStrength((short)strength); in test1_0Strength()92 ((float)strength2 > (float)strength / STRENGTH_TOLERANCE) && in test1_0Strength()93 ((float)strength2 < (float)strength * STRENGTH_TOLERANCE)); in test1_0Strength()95 short strength = mBassBoost.getRoundedStrength(); in test1_0Strength() local96 assertTrue("got incorrect strength", strength >= 0 && strength <= 1000); in test1_0Strength()121 short strength = settings.strength; in test1_1Properties() local123 strength = (strength == TEST_STRENGTH) ? TEST_STRENGTH2 : TEST_STRENGTH; in test1_1Properties()125 settings.strength = strength; in test1_1Properties()[all …]
93 short strength = mVirtualizer.getRoundedStrength(); in test1_0Strength() local94 strength = (strength == TEST_STRENGTH) ? TEST_STRENGTH2 : TEST_STRENGTH; in test1_0Strength()95 mVirtualizer.setStrength((short)strength); in test1_0Strength()99 ((float)strength2 > (float)strength / STRENGTH_TOLERANCE) && in test1_0Strength()100 ((float)strength2 < (float)strength * STRENGTH_TOLERANCE)); in test1_0Strength()102 short strength = mVirtualizer.getRoundedStrength(); in test1_0Strength() local103 assertTrue("got incorrect strength", strength >= 0 && strength <= 1000); in test1_0Strength()128 short strength = settings.strength; in test1_1Properties() local130 strength = (strength == TEST_STRENGTH) ? TEST_STRENGTH2 : TEST_STRENGTH; in test1_1Properties()132 settings.strength = strength; in test1_1Properties()[all …]
56 int day, float dec, float inc, float strength) { in assertMagneticField() argument66 assertEquals(strength, field.getFieldStrength(), FIELD_STRENGTH_THRESHOLD); in assertMagneticField()68 Math.cos(Math.toRadians(inc)) * strength); in assertMagneticField()71 float verticalFieldStrengthNanoTesla = (float) (Math.sin(Math.toRadians(inc)) * strength); in assertMagneticField()
60 public Light(float[] position, float strength) { in Light() argument61 mStrength = strength; in Light()
368 for (int strength : strengths) { in testSetStrength()369 effect.setEffectStrength(strength); in testSetStrength()370 assertEquals(strength, effect.getEffectStrength()); in testSetStrength()
370 val callbacks = thresholds.map { strength -> in testSignalStrengthThresholds() method374 .setSignalStrength(strength) in testSignalStrengthThresholds()