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

1 2 3 4 5 6 7 8 910

  /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/skia/gm/
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));
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) {
imageresizetiled.cpp 13 #define WIDTH 640
18 DEF_SIMPLE_GM(imageresizetiled, canvas, WIDTH, HEIGHT) {
27 for (SkScalar x = 0; x < WIDTH; x += tile_size) {
complexclip_blur_tiled.cpp 14 #define WIDTH 512
30 return SkISize::Make(WIDTH, HEIGHT);
50 SkRect rect = SkRect::MakeWH(WIDTH, HEIGHT);
drawlooper.cpp 17 #define WIDTH 200
imageblurtiled.cpp 13 #define WIDTH 640
30 return SkISize::Make(WIDTH, HEIGHT);
imagemagnifier.cpp 16 #define WIDTH 500
19 DEF_SIMPLE_GM_BG(imagemagnifier, canvas, WIDTH, HEIGHT, SK_ColorBLACK) {
24 SkIntToScalar(WIDTH / 2),
31 int x = rand.nextULessThan(WIDTH);
morphology.cpp 12 #define WIDTH 700
44 return SkISize::Make(WIDTH, HEIGHT);
51 SkIntToScalar(fBitmap.width()), SkIntToScalar(fBitmap.height())));
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...]
imagealphathreshold.cpp 14 #define WIDTH 500
20 canvas->drawRect(SkRect::MakeXYWH(0, 0, WIDTH / 2, HEIGHT / 2), rectPaint);
22 canvas->drawRect(SkRect::MakeXYWH(WIDTH / 2, 0, WIDTH / 2, HEIGHT / 2), rectPaint);
24 canvas->drawRect(SkRect::MakeXYWH(0, HEIGHT / 2, WIDTH / 2, HEIGHT / 2), rectPaint);
26 canvas->drawRect(SkRect::MakeXYWH(WIDTH / 2, HEIGHT / 2, WIDTH / 2, HEIGHT / 2), rectPaint);
31 rects[0] = SkIRect::MakeXYWH(0, 150, WIDTH, HEIGHT - 300);
32 rects[1] = SkIRect::MakeXYWH(150, 0, WIDTH - 300, HEIGHT);
59 return SkISize::Make(WIDTH, HEIGHT)
    [all...]
imageblur2.cpp 15 #define WIDTH 500
46 return SkISize::Make(WIDTH, HEIGHT);
52 SkScalar dx = WIDTH / sigmaCount;
tileimagefilter.cpp 16 #define WIDTH 400
34 return SkISize::Make(WIDTH, HEIGHT);
60 SkRect srcRect = SkRect::MakeXYWH(SkIntToScalar(image->width()/4),
62 SkIntToScalar(image->width()/(i+1)),
66 SkIntToScalar(image->width() - i * 12),
80 x += image->width() + MARGIN;
81 if (x + image->width() > WIDTH) {
92 SkRect srcRect = SkRect::MakeWH(SkIntToScalar(fBitmap->width()),
94 SkRect dstRect = SkRect::MakeWH(SkIntToScalar(fBitmap->width() * 2)
    [all...]
xfermodeimagefilter.cpp 16 #define WIDTH 600
34 return SkISize::Make(WIDTH, HEIGHT);
89 x += fBitmap.width() + MARGIN;
90 if (x + fBitmap.width() > WIDTH) {
98 x += fBitmap.width() + MARGIN;
99 if (x + fBitmap.width() > WIDTH) {
106 x += fBitmap.width() + MARGIN;
107 if (x + fBitmap.width() > WIDTH)
    [all...]
  /external/linux-kselftest/tools/testing/selftests/x86/
single_step_syscall.c 58 # define WIDTH "q"
61 # define WIDTH "l"
67 asm volatile ("pushf" WIDTH "\n\tpop" WIDTH " %0" : "=rm" (eflags));
73 asm volatile ("push" WIDTH " %0\n\tpopf" WIDTH
133 asm volatile ("pushf" WIDTH "\n\t"
134 "pop" WIDTH " %%r11\n\t"
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
  /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";
  /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);
SumPathEffectTest.java 42 private static final int WIDTH = 100;
47 Bitmap bitmap = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888);
49 Bitmap expected = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888);
53 path.addRect(10, 10, WIDTH - 10, HEIGHT - 10, Direction.CW);
73 for (int i = 0; i < WIDTH; i++) {
  /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...]
  /external/mesa3d/src/gallium/tests/graw/
clear.c 18 static const int WIDTH = 300;
70 templat.width0 = WIDTH;
95 fb.width = WIDTH;
  /external/v8/tools/turbolizer/
constants.js 7 var WIDTH = 'width';
  /frameworks/base/core/tests/coretests/src/android/text/
DynamicLayoutTest.java 39 private static final int WIDTH = 10000;
44 final DynamicLayout layout = new DynamicLayout(builder, new TextPaint(), WIDTH,
60 final DynamicLayout layout = new DynamicLayout(builder, new TextPaint(), WIDTH,
95 final DynamicLayout layout = new DynamicLayout(builder, new TextPaint(), WIDTH,
  /frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
AppCompatVectorDrawableIntegrationTest.java 42 private static final int WIDTH = 64;
44 private static final int LEFT_CENTER_X = WIDTH / 4;
45 private static final int RIGHT_CENTER_X = WIDTH * 3 / 4;
54 mBitmap = Bitmap.createBitmap(WIDTH, HEIGHT, Bitmap.Config.ARGB_8888);
65 vectorDrawable.setBounds(0, 0, WIDTH, HEIGHT);

Completed in 752 milliseconds

1 2 3 4 5 6 7 8 910