Searched refs:expectedMetrics (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/text/src/android/text/cts/ |
D | BoringLayoutTest.java | 292 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/ |
D | WindowContextTests.java | 98 private void assertBoundsEquals(ReportedDisplayMetrics expectedMetrics, in assertBoundsEquals() argument 100 assertEquals(expectedMetrics.getSize().getWidth(), bounds.width()); in assertBoundsEquals() 101 assertEquals(expectedMetrics.getSize().getHeight(), bounds.height()); in assertBoundsEquals()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | MixedDeviceOwnerTest.java | 183 DevicePolicyEventWrapper[] expectedMetrics = new DevicePolicyEventWrapper[] { in getAdditionalDelegationTests() local 202 result.put(".NetworkLoggingDelegateTest", expectedMetrics); in getAdditionalDelegationTests()
|
D | DeviceAndProfileOwnerTest.java | 1801 final DevicePolicyEventWrapper[] expectedMetrics = entry.getValue(); in executeDelegationTests() local 1806 if (expectedMetrics != null && positive) { in executeDelegationTests() 1807 assertMetricsLogged(getDevice(), testRun, expectedMetrics); in executeDelegationTests() local
|