HomeSort by relevance Sort by last modified time
    Searched refs:WIDTH (Results 1 - 25 of 365) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/libvncserver/examples/
camera.c 46 #define WIDTH 640
89 for(i=0;i<WIDTH;++i) {
90 buffer[(j*WIDTH+i)*BPP+0]=(i+j)*128/(WIDTH+HEIGHT); /* red */
91 buffer[(j*WIDTH+i)*BPP+1]=i*128/WIDTH; /* green */
92 buffer[(j*WIDTH+i)*BPP+2]=j*256/HEIGHT; /* blue */
94 buffer[j*WIDTH*BPP+0]=0xff;
95 buffer[j*WIDTH*BPP+1]=0xff;
96 buffer[j*WIDTH*BPP+2]=0xff
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
PorterDuffXfermodeTest.java 36 private static final int WIDTH = 100;
41 Bitmap target = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888);
43 Bitmap b1 = Bitmap.createBitmap(WIDTH / 2, HEIGHT, Config.ARGB_8888);
45 Bitmap b2 = Bitmap.createBitmap(WIDTH, HEIGHT / 2, Config.ARGB_8888);
53 assertEquals(Color.RED, target.getPixel(WIDTH / 4, HEIGHT / 4));
54 assertEquals(Color.BLUE, target.getPixel(WIDTH / 4, HEIGHT * 3 / 4));
55 assertEquals(Color.BLUE, target.getPixel(WIDTH * 3 / 4, HEIGHT * 3 / 4));
62 assertEquals(Color.RED, target.getPixel(WIDTH / 4, HEIGHT / 4));
63 assertEquals(Color.RED, target.getPixel(WIDTH / 4, HEIGHT * 3 / 4));
64 assertEquals(Color.TRANSPARENT, target.getPixel(WIDTH * 3 / 4, HEIGHT * 3 / 4))
    [all...]
PathDashPathEffectTest.java 41 private static final int WIDTH = 100;
46 Bitmap b = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888);
56 Bitmap expected = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888);
62 for (int i = 0; i <= WIDTH + SQUARE; i += ADVANCE) {
70 for (int x = 0; x < WIDTH; x++) {
82 p.lineTo(WIDTH, HEIGHT / 2);
  /external/zxing/qr_scanner/src/com/google/zxing/client/android/
Intents.java 42 * Optional parameters to specify the width and height of the scanning rectangle in pixels.
46 public static final String WIDTH = "SCAN_WIDTH";
  /external/linux-kselftest/tools/testing/selftests/x86/
syscall_nt.c 27 # define WIDTH "q"
29 # define WIDTH "l"
37 asm volatile ("pushf" WIDTH "\n\tpop" WIDTH " %0" : "=rm" (eflags));
43 asm volatile ("push" WIDTH " %0\n\tpopf" WIDTH
single_step_syscall.c 58 # define WIDTH "q"
62 # define WIDTH "l"
69 asm volatile ("pushf" WIDTH "\n\tpop" WIDTH " %0" : "=rm" (eflags));
75 asm volatile ("push" WIDTH " %0\n\tpopf" WIDTH
135 asm volatile ("pushf" WIDTH "\n\t"
136 "pop" WIDTH " %%r11\n\t"
  /external/skia/gm/
imagealphathreshold.cpp 17 #define WIDTH 500
23 canvas->drawRect(SkRect::MakeXYWH(0, 0, WIDTH / 2, HEIGHT / 2), rectPaint);
25 canvas->drawRect(SkRect::MakeXYWH(WIDTH / 2, 0, WIDTH / 2, HEIGHT / 2), rectPaint);
27 canvas->drawRect(SkRect::MakeXYWH(0, HEIGHT / 2, WIDTH / 2, HEIGHT / 2), rectPaint);
29 canvas->drawRect(SkRect::MakeXYWH(WIDTH / 2, HEIGHT / 2, WIDTH / 2, HEIGHT / 2), rectPaint);
34 rects[0] = SkIRect::MakeXYWH(0, 150, WIDTH, HEIGHT - 300);
35 rects[1] = SkIRect::MakeXYWH(150, 0, WIDTH - 300, HEIGHT);
62 return SkISize::Make(WIDTH, HEIGHT)
    [all...]
imageblur.cpp 13 #define WIDTH 500
27 int x = rand.nextULessThan(WIDTH);
36 DEF_SIMPLE_GM_BG(imageblur, canvas, WIDTH, HEIGHT, SK_ColorBLACK) {
39 DEF_SIMPLE_GM_BG(imageblur_large, canvas, WIDTH, HEIGHT, SK_ColorBLACK) {
clip_error.cpp 15 #define WIDTH 800
39 SkISize onISize() override { return SkISize::Make(WIDTH, HEIGHT); }
69 canvas->clipRect(SkRect::MakeLTRB(0, 0, WIDTH, 256));
75 canvas->clipRect(SkRect::MakeLTRB(0, 256, WIDTH, 510));
complexclip_blur_tiled.cpp 15 #define WIDTH 512
31 return SkISize::Make(WIDTH, HEIGHT);
48 SkRect rect = SkRect::MakeWH(WIDTH, HEIGHT);
imageblur2.cpp 15 #define WIDTH 500
46 return SkISize::Make(WIDTH, HEIGHT);
52 SkScalar dx = WIDTH / sigmaCount;
imageresizetiled.cpp 13 #define WIDTH 640
18 DEF_SIMPLE_GM(imageresizetiled, canvas, WIDTH, HEIGHT) {
27 for (SkScalar x = 0; x < WIDTH; x += tile_size) {
  /external/skqp/gm/
imagealphathreshold.cpp 17 #define WIDTH 500
23 canvas->drawRect(SkRect::MakeXYWH(0, 0, WIDTH / 2, HEIGHT / 2), rectPaint);
25 canvas->drawRect(SkRect::MakeXYWH(WIDTH / 2, 0, WIDTH / 2, HEIGHT / 2), rectPaint);
27 canvas->drawRect(SkRect::MakeXYWH(0, HEIGHT / 2, WIDTH / 2, HEIGHT / 2), rectPaint);
29 canvas->drawRect(SkRect::MakeXYWH(WIDTH / 2, HEIGHT / 2, WIDTH / 2, HEIGHT / 2), rectPaint);
34 rects[0] = SkIRect::MakeXYWH(0, 150, WIDTH, HEIGHT - 300);
35 rects[1] = SkIRect::MakeXYWH(150, 0, WIDTH - 300, HEIGHT);
62 return SkISize::Make(WIDTH, HEIGHT)
    [all...]
imageblur.cpp 13 #define WIDTH 500
27 int x = rand.nextULessThan(WIDTH);
36 DEF_SIMPLE_GM_BG(imageblur, canvas, WIDTH, HEIGHT, SK_ColorBLACK) {
39 DEF_SIMPLE_GM_BG(imageblur_large, canvas, WIDTH, HEIGHT, SK_ColorBLACK) {
clip_error.cpp 15 #define WIDTH 800
39 SkISize onISize() override { return SkISize::Make(WIDTH, HEIGHT); }
69 canvas->clipRect(SkRect::MakeLTRB(0, 0, WIDTH, 256));
75 canvas->clipRect(SkRect::MakeLTRB(0, 256, WIDTH, 510));
complexclip_blur_tiled.cpp 15 #define WIDTH 512
31 return SkISize::Make(WIDTH, HEIGHT);
48 SkRect rect = SkRect::MakeWH(WIDTH, HEIGHT);
imageblur2.cpp 15 #define WIDTH 500
46 return SkISize::Make(WIDTH, HEIGHT);
52 SkScalar dx = WIDTH / sigmaCount;
  /cts/tests/tests/permission/src/android/permission/cts/
NoCaptureVideoPermissionTest.java 33 private static final int WIDTH = 720;
48 ImageReader reader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBX_8888, 1);
50 displayManager.createVirtualDisplay(NAME, WIDTH, HEIGHT, DENSITY,
71 ImageReader reader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBX_8888, 1);
73 displayManager.createVirtualDisplay(NAME, WIDTH, HEIGHT, DENSITY,
92 ImageReader reader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBX_8888, 1);
95 NAME, WIDTH, HEIGHT, DENSITY,
  /external/skia/bench/
TileImageFilterBench.cpp 14 #define WIDTH 512
41 SkRect::MakeWH(WIDTH, HEIGHT),
47 for (int x = 0; x < WIDTH; x += fTileSize) {
51 canvas->drawRect(SkRect::MakeWH(WIDTH, HEIGHT), paint);
56 canvas->drawRect(SkRect::MakeWH(WIDTH, HEIGHT), paint);
  /external/skqp/bench/
TileImageFilterBench.cpp 14 #define WIDTH 512
41 SkRect::MakeWH(WIDTH, HEIGHT),
47 for (int x = 0; x < WIDTH; x += fTileSize) {
51 canvas->drawRect(SkRect::MakeWH(WIDTH, HEIGHT), paint);
56 canvas->drawRect(SkRect::MakeWH(WIDTH, HEIGHT), paint);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
CreateBitmap.java 34 private static final int WIDTH = 50;
36 private static final int STRIDE = 64; // must be >= WIDTH
41 for (int x = 0; x < WIDTH; x++) {
42 int r = x * 255 / (WIDTH - 1);
77 mBitmaps[0] = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT,
79 mBitmaps[1] = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT,
81 mBitmaps[2] = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT,
85 mBitmaps[3] = Bitmap.createBitmap(WIDTH, HEIGHT,
87 mBitmaps[4] = Bitmap.createBitmap(WIDTH, HEIGHT,
89 mBitmaps[5] = Bitmap.createBitmap(WIDTH, HEIGHT
    [all...]
  /external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
GlRectDrawerTest.java 40 private static final int WIDTH = 16;
56 private static void assertEquals(int width, int height, ByteBuffer actual, ByteBuffer expected) {
59 assertEquals(actual.remaining(), width * height * 3);
60 assertEquals(expected.remaining(), width * height * 3);
62 for (int x = 0; x < width; ++x) {
70 fail("ByteBuffers of size " + width + "x" + height + " not equal at position "
100 eglBase.createPbufferSurface(WIDTH, HEIGHT);
104 final ByteBuffer rgbPlane = ByteBuffer.allocateDirect(WIDTH * HEIGHT * 3);
112 GLES20.glTexImage2D(GLES20.GL_TEXTURE_2D, 0, GLES20.GL_RGB, WIDTH,
118 drawer.drawRgb(rgbTexture, RendererCommon.identityMatrix(), 0, 0, WIDTH, HEIGHT)
    [all...]
  /external/webrtc/webrtc/modules/audio_processing/ns/
defines.h 25 #define WIDTH (float)0.01
39 #define WIDTH_PR_MAP (float)4.0 // width parameter in sigmoid map for prior model
  /external/python/cpython2/Demo/tkinter/guido/
brownian.py 9 WIDTH = 400
21 x = random.gauss(WIDTH/2.0, SIGMA)
37 canvas = Canvas(root, width=WIDTH, height=HEIGHT)
brownian2.py 8 WIDTH = 400
21 x = random.gauss(WIDTH/2.0, SIGMA)
42 canvas = Canvas(root, width=WIDTH, height=HEIGHT)

Completed in 514 milliseconds

1 2 3 4 5 6 7 8 91011>>