Home
last modified time | relevance | path

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

/cts/tests/tests/util/src/android/util/cts/
DHalfTest.java195 public void isNormalized() { in isNormalized() method in HalfTest
196 assertFalse(Half.isNormalized(POSITIVE_INFINITY)); in isNormalized()
197 assertFalse(Half.isNormalized(NEGATIVE_INFINITY)); in isNormalized()
198 assertFalse(Half.isNormalized(POSITIVE_ZERO)); in isNormalized()
199 assertFalse(Half.isNormalized(NEGATIVE_ZERO)); in isNormalized()
200 assertFalse(Half.isNormalized(NaN)); in isNormalized()
201 assertTrue(Half.isNormalized(MAX_VALUE)); in isNormalized()
202 assertTrue(Half.isNormalized(MIN_NORMAL)); in isNormalized()
203 assertTrue(Half.isNormalized(LOWEST_VALUE)); in isNormalized()
204 assertTrue(Half.isNormalized(toHalf(-128.3f))); in isNormalized()
[all …]
/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutTest.java633 if (Normalizer.isNormalized(seq, Normalizer.Form.NFC)) { in buildTestMessage()
635 } else if (Normalizer.isNormalized(seq, Normalizer.Form.NFD)) { in buildTestMessage()
637 } else if (Normalizer.isNormalized(seq, Normalizer.Form.NFKC)) { in buildTestMessage()
639 } else if (Normalizer.isNormalized(seq, Normalizer.Form.NFKD)) { in buildTestMessage()