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.java160 final int BORDER_WIDTH = 2; in onDraw() local
164 mRect.set(BORDER_WIDTH, BORDER_WIDTH, cx, cy); in onDraw()
168 mRect.set(cx, BORDER_WIDTH, getWidth() - BORDER_WIDTH, cy); in onDraw()
172 mRect.set(BORDER_WIDTH, cy, cx, getHeight() - BORDER_WIDTH); in onDraw()
176 mRect.set(cx, cy, getWidth() - BORDER_WIDTH, getHeight() - BORDER_WIDTH); in onDraw()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapShaderTest.java40 private static final int BORDER_WIDTH = 5; field in BitmapShaderTest
52 c.drawRect(BORDER_WIDTH, BORDER_WIDTH, in testBitmapShader()
53 TILE_WIDTH - BORDER_WIDTH, TILE_HEIGHT - BORDER_WIDTH, p); in testBitmapShader()
79 if (x < BORDER_WIDTH || x >= TILE_WIDTH - BORDER_WIDTH || in verifyTile()
80 y < BORDER_WIDTH || y >= TILE_HEIGHT - BORDER_WIDTH) { in verifyTile()
/cts/tests/tests/media/src/android/media/cts/
DSurfaceEncodeTimestampTest.java65 private static final int BORDER_WIDTH = 16; field in SurfaceEncodeTimestampTest
426 int barWidth = (width - BORDER_WIDTH * 2) / COLOR_BARS.length; in getColorBarRect()
427 return new Rect(BORDER_WIDTH + barWidth * index, BORDER_WIDTH, in getColorBarRect()
428 BORDER_WIDTH + barWidth * (index + 1), height - BORDER_WIDTH); in getColorBarRect()
457 r.inset(BORDER_WIDTH, BORDER_WIDTH); in generateSurfaceFrame()
DHeifWriterTest.java86 private static int BORDER_WIDTH = 16; field in HeifWriterTest
563 int barWidth = (width - BORDER_WIDTH * 2) / COLOR_BARS.length; in getColorBarRect()
564 return new Rect(BORDER_WIDTH + barWidth * index, BORDER_WIDTH, in getColorBarRect()
565 BORDER_WIDTH + barWidth * (index + 1), height - BORDER_WIDTH); in getColorBarRect()
594 r.inset(BORDER_WIDTH, BORDER_WIDTH); in generateSurfaceFrame()
DMediaMetadataRetrieverTest.java61 private static int BORDER_WIDTH = 16; field in MediaMetadataRetrieverTest
689 int barWidth = (width - BORDER_WIDTH * 2) / COLOR_BARS.length; in getColorBarRect()
690 return new Rect(BORDER_WIDTH + barWidth * index, BORDER_WIDTH, in getColorBarRect()
691 BORDER_WIDTH + barWidth * (index + 1), height - BORDER_WIDTH); in getColorBarRect()