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.java211 public void isNormalized() { in isNormalized() method in HalfTest
212 assertFalse(Half.isNormalized(POSITIVE_INFINITY)); in isNormalized()
213 assertFalse(Half.isNormalized(NEGATIVE_INFINITY)); in isNormalized()
214 assertFalse(Half.isNormalized(POSITIVE_ZERO)); in isNormalized()
215 assertFalse(Half.isNormalized(NEGATIVE_ZERO)); in isNormalized()
216 assertFalse(Half.isNormalized(NaN)); in isNormalized()
217 assertTrue(Half.isNormalized(MAX_VALUE)); in isNormalized()
218 assertTrue(Half.isNormalized(MIN_NORMAL)); in isNormalized()
219 assertTrue(Half.isNormalized(LOWEST_VALUE)); in isNormalized()
220 assertTrue(Half.isNormalized(toHalf(-128.3f))); in isNormalized()
[all …]
/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutTest.java634 if (Normalizer.isNormalized(seq, Normalizer.Form.NFC)) { in buildTestMessage()
636 } else if (Normalizer.isNormalized(seq, Normalizer.Form.NFD)) { in buildTestMessage()
638 } else if (Normalizer.isNormalized(seq, Normalizer.Form.NFKC)) { in buildTestMessage()
640 } else if (Normalizer.isNormalized(seq, Normalizer.Form.NFKD)) { in buildTestMessage()