Home | History | Annotate | Download | only in graphics

Lines Matching refs:WIDTH

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,
92 mBitmaps[i].setPixels(colors, 0, STRIDE, 0, 0, WIDTH, HEIGHT);
118 canvas.drawBitmap(mColors, 0, STRIDE, 0, 0, WIDTH, HEIGHT,
121 canvas.drawBitmap(mColors, 0, STRIDE, 0, 0, WIDTH, HEIGHT,