Searched refs:HEIGHT (Results 1 - 25 of 74) sorted by relevance

123

/external/skia/gm/
H A Dimagealphathreshold.cpp14 #define HEIGHT 500 macro
21 canvas->drawRect(SkRect::MakeXYWH(0, 0, WIDTH / 2, HEIGHT / 2), rectPaint);
23 canvas->drawRect(SkRect::MakeXYWH(WIDTH / 2, 0, WIDTH / 2, HEIGHT / 2), rectPaint);
25 canvas->drawRect(SkRect::MakeXYWH(0, HEIGHT / 2, WIDTH / 2, HEIGHT / 2), rectPaint);
27 canvas->drawRect(SkRect::MakeXYWH(WIDTH / 2, HEIGHT / 2, WIDTH / 2, HEIGHT / 2), rectPaint);
32 rects[0] = SkIRect::MakeXYWH(0, 150, WIDTH, HEIGHT - 300);
33 rects[1] = SkIRect::MakeXYWH(150, 0, WIDTH - 300, HEIGHT);
59 return SkISize::Make(WIDTH, HEIGHT);
[all...]
H A Dimagemagnifier.cpp13 #define HEIGHT 500 macro
15 DEF_SIMPLE_GM_BG(imagemagnifier, canvas, WIDTH, HEIGHT, SK_ColorBLACK) {
21 SkIntToScalar(HEIGHT / 2)),
28 int y = rand.nextULessThan(HEIGHT);
H A Dimageblur.cpp13 #define HEIGHT 500 macro
28 int y = rand.nextULessThan(HEIGHT);
36 DEF_SIMPLE_GM_BG(imageblur, canvas, WIDTH, HEIGHT, SK_ColorBLACK) {
39 DEF_SIMPLE_GM_BG(imageblur_large, canvas, WIDTH, HEIGHT, SK_ColorBLACK) {
H A Dimageresizetiled.cpp13 #define HEIGHT 480 macro
17 DEF_SIMPLE_GM(imageresizetiled, canvas, WIDTH, HEIGHT) {
27 for (SkScalar y = 0; y < HEIGHT; y += tile_size) {
H A Dcomplexclip_blur_tiled.cpp14 #define HEIGHT 512 macro
29 return SkISize::Make(WIDTH, HEIGHT);
53 SkRect rect = SkRect::MakeWH(WIDTH, HEIGHT);
H A Dimageblur2.cpp15 #define HEIGHT 500 macro
45 return SkISize::Make(WIDTH, HEIGHT);
52 SkScalar dy = HEIGHT / sigmaCount;
H A Dimageblurtiled.cpp13 #define HEIGHT 480 macro
29 return SkISize::Make(WIDTH, HEIGHT);
H A Dgammatext.cpp38 #define HEIGHT 480 macro
49 return SkISize::Make(1024, HEIGHT);
53 SkPoint pts[] = { { 0, 0 }, { 0, SkIntToScalar(HEIGHT) } };
59 SkRect r = { 0, 0, SkIntToScalar(1024), SkIntToScalar(HEIGHT) };
87 SkScalar stopy = SkIntToScalar(HEIGHT);
H A Dmorphology.cpp12 #define HEIGHT 560 macro
44 return SkISize::Make(WIDTH, HEIGHT);
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
H A DIntents.java47 public static final String HEIGHT = "SCAN_HEIGHT"; field in class:Intents.Scan
/external/libvncserver/examples/
H A Dcamera.c47 #define HEIGHT 480 macro
88 for(j=0;j<HEIGHT;++j) {
90 buffer[(j*WIDTH+i)*BPP+0]=(i+j)*128/(WIDTH+HEIGHT); /* red */
92 buffer[(j*WIDTH+i)*BPP+2]=j*256/HEIGHT; /* blue */
106 line = now.tv_usec / (1000000/HEIGHT);
107 if (line>HEIGHT) line=HEIGHT-1;
117 fprintf(stderr,"%03d/%03d Picture (%03d fps)\r", line, HEIGHT, fps);
135 rfbScreenInfoPtr server=rfbGetScreen(&argc,argv,WIDTH,HEIGHT,8,3,BPP);
139 server->frameBuffer=(char*)malloc(WIDTH*HEIGHT*BP
[all...]
/external/skia/bench/
H A DTileImageFilterBench.cpp15 #define HEIGHT 512 macro
42 SkRect::MakeWH(WIDTH, HEIGHT),
48 for (int y = 0; y < HEIGHT; y += fTileSize) {
53 canvas->drawRect(SkRect::MakeWH(WIDTH, HEIGHT), paint);
58 canvas->drawRect(SkRect::MakeWH(WIDTH, HEIGHT), paint);
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
H A DGlRectDrawerTest.java41 private static final int HEIGHT = 16; field in class:GlRectDrawerTest
100 eglBase.createPbufferSurface(WIDTH, HEIGHT);
104 final ByteBuffer rgbPlane = ByteBuffer.allocateDirect(WIDTH * HEIGHT * 3);
113 HEIGHT, 0, GLES20.GL_RGB, GLES20.GL_UNSIGNED_BYTE, rgbPlane);
118 drawer.drawRgb(rgbTexture, RendererCommon.identityMatrix(), 0, 0, WIDTH, HEIGHT);
121 final ByteBuffer rgbaData = ByteBuffer.allocateDirect(WIDTH * HEIGHT * 4);
122 GLES20.glReadPixels(0, 0, WIDTH, HEIGHT, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, rgbaData);
126 assertEquals(WIDTH, HEIGHT, stripAlphaChannel(rgbaData), rgbPlane);
137 eglBase.createPbufferSurface(WIDTH, HEIGHT);
144 yuvPlanes[i] = ByteBuffer.allocateDirect(WIDTH * HEIGHT);
[all...]
/external/opencv3/samples/cpp/tutorial_code/ml/non_linear_svms/
H A Dnon_linear_svms.cpp30 const int WIDTH = 512, HEIGHT = 512; local
31 Mat I = Mat::zeros(HEIGHT, WIDTH, CV_8UC3);
50 rng.fill(c, RNG::UNIFORM, Scalar(1), Scalar(HEIGHT));
59 rng.fill(c, RNG::UNIFORM, Scalar(1), Scalar(HEIGHT));
71 rng.fill(c, RNG::UNIFORM, Scalar(1), Scalar(HEIGHT));
/external/skia/tests/
H A DCanvasStateTest.cpp63 const int HEIGHT = 400; local
68 SkIntToScalar((HEIGHT-(2*SPACER)) / 7));
101 bitmaps[j].allocPixels(SkImageInfo::Make(WIDTH, HEIGHT,
157 const int HEIGHT = 400; local
160 SkIRect layerRect = SkIRect::MakeWH(WIDTH, HEIGHT / 4);
208 bitmaps[i].allocN32Pixels(WIDTH, HEIGHT);
322 const int HEIGHT = 100; local
327 bitmap.allocN32Pixels(WIDTH, HEIGHT);
331 canvas.clipRect(SkRect::MakeWH(SkIntToScalar(WIDTH), SkIntToScalar(HEIGHT)));
342 // Either result is consistent with this test, since the canvas' size is WIDTH/HEIGHT
[all...]
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
H A DvktDynamicStateGeneralTests.cpp75 vk::VkViewport viewport = { 0, 0, (float)WIDTH, (float)HEIGHT, 0.0f, 0.0f };
76 vk::VkRect2D scissor_1 = { { 0, 0 }, { WIDTH / 2, HEIGHT / 2 } };
77 vk::VkRect2D scissor_2 = { { WIDTH / 2, HEIGHT / 2 }, { WIDTH / 2, HEIGHT / 2 } };
117 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(0.5 + HEIGHT));
141 vk::VK_IMAGE_LAYOUT_GENERAL, zeroOffset, WIDTH, HEIGHT,
180 vk::VkViewport viewport = { 0.0f, 0.0f, (float)WIDTH, (float)HEIGHT, 0.0f, 0.0f };
181 vk::VkRect2D scissor_1 = { { 0, 0 }, { WIDTH / 2, HEIGHT / 2 } };
182 vk::VkRect2D scissor_2 = { { WIDTH / 2, HEIGHT / 2 }, { WIDTH / 2, HEIGHT /
[all...]
H A DvktDynamicStateVPTests.cpp116 vk::VK_IMAGE_LAYOUT_GENERAL, zeroOffset, WIDTH, HEIGHT, vk::VK_IMAGE_ASPECT_COLOR_BIT);
141 const vk::VkViewport viewport = { 0.0f, 0.0f, (float)WIDTH * 2, (float)HEIGHT * 2, 0.0f, 0.0f };
142 const vk::VkRect2D scissor = { { 0, 0 }, { WIDTH, HEIGHT } };
152 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(0.5 + HEIGHT));
188 const vk::VkViewport viewport = { 0.0f, 0.0f, (float)WIDTH, (float)HEIGHT, 0.0f, 0.0f };
189 const vk::VkRect2D scissor = { { 0, 0 }, { WIDTH / 2, HEIGHT / 2 } };
199 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(0.5 + HEIGHT));
290 const float halfHeight = (float)HEIGHT / 2;
292 const deInt32 quarterHeight = HEIGHT / 4;
344 tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(0.5 + HEIGHT));
[all...]
/external/skia/samplecode/
H A DSampleHairline.cpp75 #define HEIGHT 460 macro
83 generate_pts(pts, N, WIDTH, HEIGHT);
99 generate_pts(pts, N, WIDTH, HEIGHT);
122 generate_pts(pts, N, WIDTH, HEIGHT);
146 generate_pts(pts, N, WIDTH, HEIGHT);
208 bm.allocN32Pixels(WIDTH + MARGIN*2, HEIGHT + MARGIN*2);
212 bm2.installPixels(SkImageInfo::MakeN32Premul(WIDTH, HEIGHT),
/external/mesa3d/src/gallium/tests/graw/
H A Dclear.c19 static const int HEIGHT = 300; variable
71 templat.height0 = HEIGHT;
96 fb.height = HEIGHT;
H A Dquad-tex.c8 static const int HEIGHT = 300; variable
180 if (!graw_util_create_window(&info, WIDTH, HEIGHT, 1, FALSE))
196 graw_util_viewport(&info, 0, 0, WIDTH, HEIGHT, 30, 1000);
H A Dtex-srgb.c8 static const int HEIGHT = 300; variable
204 if (!graw_util_create_window(&info, WIDTH, HEIGHT, 1, FALSE))
209 graw_util_viewport(&info, 0, 0, WIDTH, HEIGHT, 30, 10000);
H A Dtex-swizzle.c15 static const int HEIGHT = 300; variable
162 if (!graw_util_create_window(&info, WIDTH, HEIGHT, 1, FALSE))
167 graw_util_viewport(&info, 0, 0, WIDTH, HEIGHT, 30, 10000);
/external/deqp/external/vulkancts/modules/vulkan/draw/
H A DvktDrawBaseClass.cpp50 const vk::VkExtent3D targetImageExtent = { WIDTH, HEIGHT, 1 };
92 const FramebufferCreateInfo framebufferCreateInfo(*m_renderPass, colorAttachments, WIDTH, HEIGHT, 1);
164 viewport.height = static_cast<float>(HEIGHT);
172 scissor.extent.height = HEIGHT;
213 const vk::VkRect2D renderArea = { { 0, 0 }, { WIDTH, HEIGHT } };
/external/mesa3d/src/gallium/tests/trivial/
H A Dtri.c29 #define HEIGHT 300 macro
136 tmplt.height0 = HEIGHT;
166 p->framebuffer.height = HEIGHT;
176 float half_height = (float)HEIGHT / 2.0f;
182 bias = (float)HEIGHT;
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/dialogs/
H A DResizableDialog.java42 private static final String HEIGHT = "height"; field in class:ResizableDialog
145 settings.getInt(HEIGHT));
159 settings.put(HEIGHT, bounds.height);

Completed in 2326 milliseconds

123