Home
last modified time | relevance | path

Searched refs:expectedMetrics (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/text/src/android/text/cts/
DBoringLayoutTest.java292 Metrics expectedMetrics = BoringLayout.isBoring(text, paint, (Metrics) null); in testIsBoring_resetsFontMetrics() local
296 assertNotNull(expectedMetrics); in testIsBoring_resetsFontMetrics()
297 assertEquals(expectedMetrics.top, actualMetrics.top); in testIsBoring_resetsFontMetrics()
298 assertEquals(expectedMetrics.ascent, actualMetrics.ascent); in testIsBoring_resetsFontMetrics()
299 assertEquals(expectedMetrics.bottom, actualMetrics.bottom); in testIsBoring_resetsFontMetrics()
300 assertEquals(expectedMetrics.descent, actualMetrics.descent); in testIsBoring_resetsFontMetrics()
301 assertEquals(expectedMetrics.leading, actualMetrics.leading); in testIsBoring_resetsFontMetrics()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowContextTests.java93 private void assertBoundsEquals(ReportedDisplayMetrics expectedMetrics, in assertBoundsEquals() argument
95 assertEquals(expectedMetrics.getSize().getWidth(), bounds.width()); in assertBoundsEquals()
96 assertEquals(expectedMetrics.getSize().getHeight(), bounds.height()); in assertBoundsEquals()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DMixedDeviceOwnerTest.java188 DevicePolicyEventWrapper[] expectedMetrics = new DevicePolicyEventWrapper[] { in getAdditionalDelegationTests() local
207 result.put(".NetworkLoggingDelegateTest", expectedMetrics); in getAdditionalDelegationTests()
DDeviceAndProfileOwnerTest.java1902 final DevicePolicyEventWrapper[] expectedMetrics = entry.getValue(); in executeDelegationTests() local
1907 if (expectedMetrics != null && positive) { in executeDelegationTests()
1908 assertMetricsLogged(getDevice(), testRun, expectedMetrics); in executeDelegationTests() local