Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapShaderTest.java39 private static final int BORDER_WIDTH = 5; field in BitmapShaderTest
51 c.drawRect(BORDER_WIDTH, BORDER_WIDTH, in testBitmapShader()
52 TILE_WIDTH - BORDER_WIDTH, TILE_HEIGHT - BORDER_WIDTH, p); in testBitmapShader()
78 if (x < BORDER_WIDTH || x >= TILE_WIDTH - BORDER_WIDTH || in verifyTile()
79 y < BORDER_WIDTH || y >= TILE_HEIGHT - BORDER_WIDTH) { in verifyTile()
/cts/tests/tests/media/src/android/media/cts/
DHeifWriterTest.java88 private static int BORDER_WIDTH = 16; field in HeifWriterTest
526 int barWidth = (width - BORDER_WIDTH * 2) / COLOR_BARS.length; in getColorBarRect()
527 return new Rect(BORDER_WIDTH + barWidth * index, BORDER_WIDTH, in getColorBarRect()
528 BORDER_WIDTH + barWidth * (index + 1), height - BORDER_WIDTH); in getColorBarRect()
557 r.inset(BORDER_WIDTH, BORDER_WIDTH); in generateSurfaceFrame()
DMediaMetadataRetrieverTest.java63 private static int BORDER_WIDTH = 16; field in MediaMetadataRetrieverTest
623 int barWidth = (width - BORDER_WIDTH * 2) / COLOR_BARS.length; in getColorBarRect()
624 return new Rect(BORDER_WIDTH + barWidth * index, BORDER_WIDTH, in getColorBarRect()
625 BORDER_WIDTH + barWidth * (index + 1), height - BORDER_WIDTH); in getColorBarRect()