/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)
|
/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 | 15 #define WIDTH 512 31 return SkISize::Make(WIDTH, HEIGHT); 48 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())));
|
/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);
|
/external/skqp/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 | 15 #define WIDTH 512 31 return SkISize::Make(WIDTH, HEIGHT); 48 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())));
|
/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/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...] |
/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...] |