/external/skqp/gm/ |
colormatrix.cpp | 14 #define WIDTH 500 37 return SkISize::Make(WIDTH, HEIGHT); 45 static sk_sp<SkImage> CreateSolidBitmap(int width, int height) { 47 bm.allocN32Pixels(width, height); 51 for (int x = 0; x < width; ++x) { 53 paint.setColor(SkColorSetARGB(255, x * 255 / width, y * 255 / height, 0)); 62 static sk_sp<SkImage> CreateTransparentBitmap(int width, int height) { 64 bm.allocN32Pixels(width, height); 68 SkPoint pts[] = {{0, 0}, {SkIntToScalar(width), SkIntToScalar(height)}}; 73 canvas.drawRect(SkRect::MakeWH(SkIntToScalar(width), SkIntToScalar(height)), paint) [all...] |
modecolorfilters.cpp | 13 #define WIDTH 512 67 return SkISize::Make(WIDTH, HEIGHT);
|
drawlooper.cpp | 17 #define WIDTH 200
|
lighting.cpp | 15 #define WIDTH 330 34 return SkISize::Make(WIDTH, HEIGHT); 41 SkIntToScalar(fBitmap.width()), SkIntToScalar(fBitmap.height()))); 55 for (int x = 0; x < WIDTH; x += 16) {
|
/frameworks/base/services/core/java/com/android/server/wm/ |
AppWindowThumbnail.java | 25 import static com.android.server.wm.AppWindowThumbnailProto.WIDTH; 130 proto.write(WIDTH, mWidth);
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
vktDrawBaseClass.hpp | 118 WIDTH = 256,
|
vktDrawIndexedTest.cpp | 189 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(0.5 + HEIGHT)); 217 vk::VK_IMAGE_LAYOUT_GENERAL, zeroOffset, WIDTH, HEIGHT, vk::VK_IMAGE_ASPECT_COLOR_BIT); 312 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(0.5 + HEIGHT)); 340 vk::VK_IMAGE_LAYOUT_GENERAL, zeroOffset, WIDTH, HEIGHT, vk::VK_IMAGE_ASPECT_COLOR_BIT);
|
vktDrawSimpleTest.cpp | 167 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(0.5 + HEIGHT)); 196 vk::VK_IMAGE_LAYOUT_GENERAL, zeroOffset, WIDTH, HEIGHT, vk::VK_IMAGE_ASPECT_COLOR_BIT); 275 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(0.5 + HEIGHT)); 304 vk::VK_IMAGE_LAYOUT_GENERAL, zeroOffset, WIDTH, HEIGHT, vk::VK_IMAGE_ASPECT_COLOR_BIT);
|
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
vktDynamicStateBaseClass.hpp | 56 void setDynamicViewportState (const deUint32 width, 81 WIDTH = 128,
|
vktDynamicStateCBTests.cpp | 98 setDynamicViewportState(WIDTH, HEIGHT); 129 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(0.5 + HEIGHT)); 152 vk::VK_IMAGE_LAYOUT_GENERAL, zeroOffset, WIDTH, HEIGHT, vk::VK_IMAGE_ASPECT_COLOR_BIT);
|
vktDynamicStateDSTests.cpp | 72 WIDTH = 128, 139 const vk::VkExtent3D imageExtent = { WIDTH, HEIGHT, 1 }; 268 const FramebufferCreateInfo framebufferCreateInfo(*m_renderPass, attachments, WIDTH, HEIGHT, 1); 331 const vk::VkRect2D renderArea = { { 0, 0 }, { WIDTH, HEIGHT } }; 339 void setDynamicViewportState (const deUint32 width, const deUint32 height) 344 viewport.width = static_cast<float>(width); 354 scissor.extent.width = width; 447 setDynamicViewportState(WIDTH, HEIGHT) [all...] |
vktDynamicStateBaseClass.cpp | 54 const vk::VkExtent3D targetImageExtent = { WIDTH, HEIGHT, 1 }; 98 const FramebufferCreateInfo framebufferCreateInfo(*m_renderPass, colorAttachments, WIDTH, HEIGHT, 1); 216 const vk::VkRect2D renderArea = { { 0, 0 }, { WIDTH, HEIGHT } }; 222 void DynamicStateBaseClass::setDynamicViewportState (const deUint32 width, const deUint32 height) 227 viewport.width = static_cast<float>(width); 237 scissor.extent.width = width;
|
/external/emma/core/java12/com/vladium/emma/report/html/doc/ |
HTMLTable.java | 32 public HTMLTable (final String width, final String border, final String cellpadding, final String cellspacing) 38 if (width != null) attrs.set (Attribute.WIDTH, width);
|
/external/mesa3d/src/gallium/tests/graw/ |
quad-sample.c | 26 static const int WIDTH = 300; 62 float width, float height, 66 float half_width = (float)width / 2.0f; 248 0, 0, SIZE, SIZE, &t); /* x, y, width, height */ 324 templat.width0 = WIDTH; 348 fb.width = WIDTH; 383 set_viewport(0, 0, WIDTH, HEIGHT, 30, 1000);
|
fs-test.c | 39 static const int WIDTH = 250; 134 float width, float height, 138 float half_width = (float)width / 2.0f; 333 0, 0, SIZE, SIZE, &t); /* x, y, width, height */ 409 templat.width0 = WIDTH; 433 fb.width = WIDTH; 468 set_viewport(0, 0, WIDTH, HEIGHT, 30, 1000);
|
gs-test.c | 41 static const int WIDTH = 250; 193 float width, float height, 197 float half_width = (float)width / 2.0f; 424 0, 0, SIZE, SIZE, &t); /* x, y, width, height */ 500 templat.width0 = WIDTH; 524 fb.width = WIDTH; 559 set_viewport(0, 0, WIDTH, HEIGHT, 30, 1000);
|
vs-test.c | 40 static const int WIDTH = 250; 115 float width, float height, 119 float half_width = (float)width / 2.0f; 322 0, 0, SIZE, SIZE, &t); /* x, y, width, height */ 398 templat.width0 = WIDTH; 422 fb.width = WIDTH; 458 set_viewport(0, 0, WIDTH, HEIGHT, 30, 1000);
|
/external/mesa3d/src/gallium/tests/trivial/ |
quad-tex.c | 28 #define WIDTH 300 144 tmplt.width0 = WIDTH; 175 box.width = 2; 220 p->framebuffer.width = WIDTH; 230 float half_width = (float)WIDTH / 2.0f;
|
/external/skia/gm/ |
drawlooper.cpp | 17 #define WIDTH 200
|
lighting.cpp | 15 #define WIDTH 330 34 return SkISize::Make(WIDTH, HEIGHT); 41 SkIntToScalar(fBitmap.width()), SkIntToScalar(fBitmap.height()))); 55 for (int x = 0; x < WIDTH; x += 16) {
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
EdgeEffectTests.java | 52 private static final int WIDTH = 90; 99 Bitmap bitmap = Bitmap.createBitmap(WIDTH, HEIGHT, Bitmap.Config.ARGB_8888); 103 edgeEffect.setSize(WIDTH, HEIGHT);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Images_ThumbnailsTest.java | 141 String[] sizeProjection = new String[] { Thumbnails.WIDTH, Thumbnails.HEIGHT }; 146 assertTrue(c.getLong(c.getColumnIndex(Thumbnails.WIDTH)) >= Math.min(src.getWidth(), 240)); 153 assertEquals(50, c.getLong(c.getColumnIndex(Thumbnails.WIDTH))); 244 values.put(Thumbnails.WIDTH, 320); 260 assertEquals(320, c.getInt(c.getColumnIndex(Thumbnails.WIDTH))); 269 values.put(Thumbnails.WIDTH, 50);
|
/external/deqp/external/openglcts/modules/common/ |
glcShaderMultisampleInterpolationTests.cpp | 239 WIDTH = 8, 336 gl.texStorage2DMultisample(GL_TEXTURE_2D_MULTISAMPLE, m_samples, m_internalFormat, WIDTH, HEIGHT, GL_FALSE); 343 gl.viewport(0, 0, WIDTH, HEIGHT); 413 GLsizei width = WIDTH * m_samples; local 418 gl.renderbufferStorage(GL_RENDERBUFFER, m_internalFormat, width, HEIGHT); 424 gl.viewport(0, 0, width, HEIGHT); 428 // the width can hold all samples of a pixel. 476 tcu::TextureLevel results(m_texFormat, width, HEIGHT); 509 int expectedUnique = WIDTH * HEIGHT * ((m_unique) ? m_samples : 1) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/ |
ProjectionOffscreenActivity.java | 56 private static final int WIDTH = 800; 131 mService.startRendering(mReader.getSurface(), WIDTH, HEIGHT, DENSITY, 172 mReader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBA_8888, 2); 246 final int width = image.getWidth(); local 250 final int rowPadding = rowStride - pixelStride * width; 252 Log.d(TAG, "- Scanning image: width=" + width + ", height=" + height 260 for (int x = 0; x < width; x++) { 285 if (blackPixels == width * height) { 287 } else if (bluePixels == width * height) [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
StaticLayoutLineBreakingTest.java | 49 private static final int WIDTH = 100; 60 // The test font has following coverage and width. 77 private static StaticLayout getStaticLayout(CharSequence source, int width, 79 return StaticLayout.Builder.obtain(source, 0, source.length(), sTextPaint, width) 88 return getBreaks(source, WIDTH, Layout.BREAK_STRATEGY_SIMPLE); 91 private static int[] getBreaks(CharSequence source, int width, int breakStrategy) { 92 final StaticLayout staticLayout = getStaticLayout(source, width, breakStrategy); 116 layout(source, breaks, WIDTH); 119 private static void layout(CharSequence source, int[] breaks, int width) { 123 final StaticLayout staticLayout = getStaticLayout(source, width, breakStrategy) [all...] |