Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/cts/
DBoringLayoutTest.java285 Metrics changedMetrics = new Metrics(); in testIsBoring_resetsFontMetrics() local
286 changedMetrics.top = paintMetrics.top - someInt; in testIsBoring_resetsFontMetrics()
287 changedMetrics.ascent = paintMetrics.ascent - someInt; in testIsBoring_resetsFontMetrics()
288 changedMetrics.bottom = paintMetrics.bottom + someInt; in testIsBoring_resetsFontMetrics()
289 changedMetrics.descent = paintMetrics.descent + someInt; in testIsBoring_resetsFontMetrics()
290 changedMetrics.leading = paintMetrics.leading + someInt; in testIsBoring_resetsFontMetrics()
293 Metrics actualMetrics = BoringLayout.isBoring(text, paint, changedMetrics); in testIsBoring_resetsFontMetrics()