Home
last modified time | relevance | path

Searched refs:NEGATIVE_INFINITY (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DRationalTest.java147 Rational negInf = NEGATIVE_INFINITY; in testEquals()
182 assertEquals(NEGATIVE_INFINITY, negInf); in testReduction()
207 assertGreaterThan(NaN, NEGATIVE_INFINITY); in testCompareTo()
213 assertGreaterThan(POSITIVE_INFINITY, NEGATIVE_INFINITY); in testCompareTo()
217 assertCompareEquals(NEGATIVE_INFINITY, new Rational(-1, 0)); in testCompareTo()
218 assertLessThan(NEGATIVE_INFINITY, UNIT); in testCompareTo()
219 assertLessThan(NEGATIVE_INFINITY, POSITIVE_INFINITY); in testCompareTo()
220 assertLessThan(NEGATIVE_INFINITY, ZERO); in testCompareTo()
240 assertFinite(NEGATIVE_INFINITY, false); in testConvenienceMethods()
247 assertInfinite(NEGATIVE_INFINITY, true); in testConvenienceMethods()
[all …]
DRangeTest.java45 Range<Float> floatRange = new Range<Float>(Float.NEGATIVE_INFINITY, in testConstructor()
47 assertLower(floatRange, Float.NEGATIVE_INFINITY); in testConstructor()
85 new Range<Float>(0.0f, Float.NEGATIVE_INFINITY); in testIllegalValues()
123 Range<Float> infinities = Range.create(Float.NEGATIVE_INFINITY, Float.POSITIVE_INFINITY); in testInRange()
125 assertInRange(infinities, Float.NEGATIVE_INFINITY); in testInRange()
/frameworks/base/tests/ProtoInputStreamTests/src/com/android/test/protoinputstream/
DProtoInputStreamDoubleTest.java142 assertEquals(Double.NEGATIVE_INFINITY, results[6]); in testRead()
157 testReadCompat(Double.NEGATIVE_INFINITY); in testReadCompat()
346 assertEquals(Double.NEGATIVE_INFINITY, results[6][0]); in testRepeated()
347 assertEquals(Double.NEGATIVE_INFINITY, results[6][1]); in testRepeated()
360 Double.MIN_NORMAL, Double.MIN_VALUE, Double.NEGATIVE_INFINITY, Double.NaN, in testRepeatedCompat()
546 assertEquals(Double.NEGATIVE_INFINITY, results[6][0]); in testPacked()
547 assertEquals(Double.NEGATIVE_INFINITY, results[6][1]); in testPacked()
560 Double.MIN_NORMAL, Double.MIN_VALUE, Double.NEGATIVE_INFINITY, Double.NaN, in testPackedCompat()
DProtoInputStreamFloatTest.java133 assertEquals(Float.NEGATIVE_INFINITY, results[6]); in testRead()
148 testReadCompat(Float.NEGATIVE_INFINITY); in testReadCompat()
319 assertEquals(Float.NEGATIVE_INFINITY, results[6][0]); in testRepeated()
320 assertEquals(Float.NEGATIVE_INFINITY, results[6][1]); in testRepeated()
333 Float.MIN_NORMAL, Float.MIN_VALUE, Float.NEGATIVE_INFINITY, Float.NaN, in testRepeatedCompat()
499 assertEquals(Float.NEGATIVE_INFINITY, results[6][0]); in testPacked()
500 assertEquals(Float.NEGATIVE_INFINITY, results[6][1]); in testPacked()
513 Float.MIN_NORMAL, Float.MIN_VALUE, Float.NEGATIVE_INFINITY, Float.NaN, in testPackedCompat()
/frameworks/base/core/java/android/hardware/camera2/utils/
DParamsUtils.java126 } else if (value == Float.NEGATIVE_INFINITY) { in createRational()
127 return Rational.NEGATIVE_INFINITY; in createRational()
/frameworks/base/core/java/android/util/
DRational.java58 public static final Rational NEGATIVE_INFINITY = new Rational(-1, 0); field in Rational
589 return NEGATIVE_INFINITY; in parseRational()
DHalf.java139 public static final @HalfFloat short NEGATIVE_INFINITY = (short) 0xfc00; field in Half
/frameworks/base/core/java/android/annotation/
DFloatRange.java45 double from() default Double.NEGATIVE_INFINITY; in from()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_reduce_backward.java141 float maxVal = Float.NEGATIVE_INFINITY; in findMinAndMax()
308 s.set_negInf(Float.NEGATIVE_INFINITY); in run()
DUT_reduce.java166 …rray[rand.nextInt(len)] = (rand.nextBoolean() ? Float.POSITIVE_INFINITY : Float.NEGATIVE_INFINITY); in createInputArrayFloatWithInfs()
530 float maxVal = Float.NEGATIVE_INFINITY; in findMinAndMax()
1480 s.set_negInf(Float.NEGATIVE_INFINITY); in run()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_reduce_backward.java143 float maxVal = Float.NEGATIVE_INFINITY; in findMinAndMax()
310 s.set_negInf(Float.NEGATIVE_INFINITY); in run()
DUT_reduce.java168 …rray[rand.nextInt(len)] = (rand.nextBoolean() ? Float.POSITIVE_INFINITY : Float.NEGATIVE_INFINITY); in createInputArrayFloatWithInfs()
532 float maxVal = Float.NEGATIVE_INFINITY; in findMinAndMax()
1482 s.set_negInf(Float.NEGATIVE_INFINITY); in run()
/frameworks/base/graphics/java/android/graphics/
DOutline.java39 private static final float RADIUS_UNDEFINED = Float.NEGATIVE_INFINITY;
/frameworks/base/core/java/com/android/internal/colorextraction/types/
DTonal.java153 Float.NEGATIVE_INFINITY, Float.POSITIVE_INFINITY); in runTonalExtraction()
417 float maxHue = Float.NEGATIVE_INFINITY; in TonalPalette()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiCandidates.java287 new ScoredCandidate(Double.NEGATIVE_INFINITY, Double.POSITIVE_INFINITY, null);
DWifiScoreCard.java704 public double maxValue = Double.NEGATIVE_INFINITY;
/frameworks/base/media/java/android/media/
DAudioManager.java1068 return Float.NEGATIVE_INFINITY; in getStreamVolumeDb()
/frameworks/base/core/java/android/view/
DView.java17094 if (value < min || value == Float.NEGATIVE_INFINITY) { in sanitizeFloatPropertyValue()
/frameworks/base/non-updatable-api/
Dcurrent.txt49259 field @HalfFloat public static final short NEGATIVE_INFINITY = -1024; // 0xfffffc00
49547 field public static final android.util.Rational NEGATIVE_INFINITY;
61260 field public static final double NEGATIVE_INFINITY = (-1.0/0.0);
61342 field public static final float NEGATIVE_INFINITY = (-1.0f/0.0f);
/frameworks/base/api/
Dcurrent.txt49403 field @HalfFloat public static final short NEGATIVE_INFINITY = -1024; // 0xfffffc00
49691 field public static final android.util.Rational NEGATIVE_INFINITY;
61404 field public static final double NEGATIVE_INFINITY = (-1.0/0.0);
61486 field public static final float NEGATIVE_INFINITY = (-1.0f/0.0f);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt31773 field public static final android.util.Rational NEGATIVE_INFINITY;
41244 field public static final double NEGATIVE_INFINITY = (-1.0/0.0);
41318 field public static final float NEGATIVE_INFINITY = (-1.0f/0.0f);