Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DPixelCopyViewProducerActivity.java174 final int BORDER_WIDTH = 2; in onDraw() local
178 mRect.set(BORDER_WIDTH, BORDER_WIDTH, cx, cy); in onDraw()
182 mRect.set(cx, BORDER_WIDTH, getWidth() - BORDER_WIDTH, cy); in onDraw()
186 mRect.set(BORDER_WIDTH, cy, cx, getHeight() - BORDER_WIDTH); in onDraw()
190 mRect.set(cx, cy, getWidth() - BORDER_WIDTH, getHeight() - BORDER_WIDTH); in onDraw()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapShaderTest.java47 private static final int BORDER_WIDTH = 5; field in BitmapShaderTest
67 c.drawRect(BORDER_WIDTH, BORDER_WIDTH, in testBitmapShader()
68 TILE_WIDTH - BORDER_WIDTH, TILE_HEIGHT - BORDER_WIDTH, p); in testBitmapShader()
94 if (x < BORDER_WIDTH || x >= TILE_WIDTH - BORDER_WIDTH || in verifyTile()
95 y < BORDER_WIDTH || y >= TILE_HEIGHT - BORDER_WIDTH) { in verifyTile()
/cts/tests/tests/media/encoder/src/android/media/encoder/cts/
DSurfaceEncodeTimestampTest.java80 private static final int BORDER_WIDTH = 16; field in SurfaceEncodeTimestampTest
514 int barWidth = (width - BORDER_WIDTH * 2) / COLOR_BARS.length; in getColorBarRect()
515 return new Rect(BORDER_WIDTH + barWidth * index, BORDER_WIDTH, in getColorBarRect()
516 BORDER_WIDTH + barWidth * (index + 1), height - BORDER_WIDTH); in getColorBarRect()
545 r.inset(BORDER_WIDTH, BORDER_WIDTH); in generateSurfaceFrame()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DHeifWriterTest.java111 private static int BORDER_WIDTH = 16; field in HeifWriterTest
637 int barWidth = (width - BORDER_WIDTH * 2) / COLOR_BARS.length; in getColorBarRect()
638 return new Rect(BORDER_WIDTH + barWidth * index, BORDER_WIDTH, in getColorBarRect()
639 BORDER_WIDTH + barWidth * (index + 1), height - BORDER_WIDTH); in getColorBarRect()
668 r.inset(BORDER_WIDTH, BORDER_WIDTH); in generateSurfaceFrame()
DMediaMetadataRetrieverTest.java96 private static int BORDER_WIDTH = 16; field in MediaMetadataRetrieverTest
1269 int barWidth = (width - BORDER_WIDTH * 2) / COLOR_BARS.length; in getColorBarRect()
1270 return new Rect(BORDER_WIDTH + barWidth * index, BORDER_WIDTH, in getColorBarRect()
1271 BORDER_WIDTH + barWidth * (index + 1), height - BORDER_WIDTH); in getColorBarRect()