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

1 2 3 4

  /external/chromium_org/ui/webui/resources/css/
tree.css.js 6 /** @const */ var WIDTH = 14;
7 /** @const */ var HEIGHT = WIDTH / 2 + 2;
11 WIDTH + MARGIN * 2,
20 ctx.lineTo(WIDTH / 2, HEIGHT);
21 ctx.lineTo(WIDTH, 2);
22 ctx.lineTo(WIDTH, 0);
  /external/chromium_org/third_party/skia/gm/
imagealphathreshold.cpp 12 #define WIDTH 500
37 return SkISize::Make(WIDTH, HEIGHT);
42 rects[0] = SkIRect::MakeXYWH(0, 150, WIDTH, HEIGHT - 300);
43 rects[1] = SkIRect::MakeXYWH(150, 0, WIDTH - 300, HEIGHT);
49 matrix.setTranslate(WIDTH * .1f, HEIGHT * .1f);
62 canvas->drawRect(SkRect::MakeXYWH(0, 0, WIDTH / 2, HEIGHT / 2),
65 canvas->drawRect(SkRect::MakeXYWH(WIDTH / 2, 0, WIDTH / 2, HEIGHT / 2),
68 canvas->drawRect(SkRect::MakeXYWH(0, HEIGHT / 2, WIDTH / 2, HEIGHT / 2),
71 canvas->drawRect(SkRect::MakeXYWH(WIDTH / 2, HEIGHT / 2, WIDTH / 2, HEIGHT / 2)
    [all...]
imagemagnifier.cpp 12 #define WIDTH 500
34 return SkISize::Make(WIDTH, HEIGHT);
42 SkIntToScalar(WIDTH / 2),
51 int x = rand.nextULessThan(WIDTH);
imageblur.cpp 12 #define WIDTH 500
35 return SkISize::Make(WIDTH, HEIGHT);
49 int x = rand.nextULessThan(WIDTH);
imageblur2.cpp 14 #define WIDTH 500
48 return SkISize::Make(WIDTH, HEIGHT);
54 SkScalar dx = WIDTH / sigmaCount;
imageresizetiled.cpp 12 #define WIDTH 640
32 return SkISize::Make(WIDTH, HEIGHT);
46 for (SkScalar x = 0; x < WIDTH; x += tile_size) {
imageblurtiled.cpp 12 #define WIDTH 640
29 return SkISize::Make(WIDTH, HEIGHT);
morphology.cpp 11 #define WIDTH 700
44 return SkISize::Make(WIDTH, HEIGHT);
51 SkIntToScalar(fBitmap.width()), SkIntToScalar(fBitmap.height())));
  /cts/tests/tests/graphics/src/android/graphics/cts/
PorterDuffXfermodeTest.java 31 private static final int WIDTH = 100;
35 Bitmap target = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888);
37 Bitmap b1 = Bitmap.createBitmap(WIDTH / 2, HEIGHT, Config.ARGB_8888);
39 Bitmap b2 = Bitmap.createBitmap(WIDTH, HEIGHT / 2, Config.ARGB_8888);
47 assertEquals(Color.RED, target.getPixel(WIDTH / 4, HEIGHT / 4));
48 assertEquals(Color.BLUE, target.getPixel(WIDTH / 4, HEIGHT * 3 / 4));
49 assertEquals(Color.BLUE, target.getPixel(WIDTH * 3 / 4, HEIGHT * 3 / 4));
56 assertEquals(Color.RED, target.getPixel(WIDTH / 4, HEIGHT / 4));
57 assertEquals(Color.RED, target.getPixel(WIDTH / 4, HEIGHT * 3 / 4));
58 assertEquals(Color.TRANSPARENT, target.getPixel(WIDTH * 3 / 4, HEIGHT * 3 / 4))
    [all...]
SumPathEffectTest.java 36 private static final int WIDTH = 100;
40 Bitmap bitmap = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888);
42 Bitmap expected = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888);
46 path.addRect(10, 10, WIDTH - 10, HEIGHT - 10, Direction.CW);
66 for (int i = 0; i < WIDTH; i++) {
PathDashPathEffectTest.java 36 private static final int WIDTH = 100;
40 Bitmap b = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888);
50 Bitmap expected = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888);
56 for (int i = 0; i <= WIDTH + SQUARE; i += ADVANCE) {
64 for (int x = 0; x < WIDTH; x++) {
76 p.lineTo(WIDTH, HEIGHT / 2);
YuvImageTest.java 57 private static final int WIDTH = 256;
93 int width = 100; local
95 byte[] yuv = new byte[width * height * 2];
101 image = new YuvImage(yuv, mFormats[i], width, height, null);
113 expected = new int[] {width, width};
115 expected = new int[] {width * 2};
119 image = new YuvImage(yuv, mFormats[i], width, height, null);
131 // abnormal case: width is non-positive
134 fail("not catching illegal width");
200 int width = mTestBitmaps[0].getWidth(); local
233 int width = bitmap.getWidth(); local
353 int width = expected.getWidth(); local
    [all...]
  /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,
  /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...]
BitmapMesh.java 36 private static final int WIDTH = 20;
38 private static final int COUNT = (WIDTH + 1) * (HEIGHT + 1);
65 for (int x = 0; x <= WIDTH; x++) {
66 float fx = w * x / WIDTH;
81 canvas.drawBitmapMesh(mBitmap, WIDTH, HEIGHT, mVerts, 0,
PurgeableBitmapView.java 45 private static final int WIDTH = 150;
47 private static final int STRIDE = 320; // must be >= WIDTH
59 Bitmap src = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT,
70 for (int x = 0; x < WIDTH; x++) {
71 int r = x * 255 / (WIDTH - 1);
105 canvas.drawText(String.valueOf(mDecodingCount), WIDTH / 2 - 20,
MeasureText.java 32 private static final int WIDTH = 50;
34 private static final int STRIDE = 64; // must be >= WIDTH
39 for (int x = 0; x < WIDTH; x++) {
40 int r = x * 255 / (WIDTH - 1);
  /external/chromium_org/ui/file_manager/file_manager/foreground/js/
tree.css.js 16 var WIDTH = 14;
22 var HEIGHT = WIDTH / 2 + 2;
38 WIDTH + MARGIN * 2,
48 ctx.lineTo(WIDTH / 2, HEIGHT);
49 ctx.lineTo(WIDTH, 2);
50 ctx.lineTo(WIDTH, 0);
  /external/chromium_org/third_party/webrtc/modules/audio_processing/ns/
defines.h 24 #define WIDTH (float)0.01
38 #define WIDTH_PR_MAP (float)4.0 // width parameter in sigmoid map for prior model
  /external/chromium_org/third_party/skia/tests/
CanvasStateTest.cpp 61 const int WIDTH = 400;
66 SkIntToScalar(WIDTH-(2*SPACER)),
99 bitmaps[j].allocPixels(SkImageInfo::Make(WIDTH, HEIGHT,
149 const int WIDTH = 400;
153 SkIRect layerRect = SkIRect::MakeWH(WIDTH, HEIGHT / 4);
157 clipRect.fRight = clipRect.fLeft + (clipRect.width() / 2) - (2*SPACER);
161 regionBounds.offset(clipRect.width() + (2*SPACER), 0);
200 bitmaps[i].allocN32Pixels(WIDTH, HEIGHT);
306 const int WIDTH = 100;
312 bitmap.allocN32Pixels(WIDTH, HEIGHT)
    [all...]
  /external/chromium_org/third_party/skia/samplecode/
SampleHairline.cpp 67 if (!check_zeros(bm.getAddr32(0, i), bm.width(), 1)) {
71 if (!check_zeros(bm.getAddr32(0, bottom), bm.width(), 1)) {
78 int right = bm.width() - margin + i;
87 #define WIDTH 620
96 generate_pts(pts, N, WIDTH, HEIGHT);
112 generate_pts(pts, N, WIDTH, HEIGHT);
135 generate_pts(pts, N, WIDTH, HEIGHT);
159 generate_pts(pts, N, WIDTH, HEIGHT);
215 canvas->drawBitmap(b1, SkIntToScalar(b0.width()), 0, NULL);
228 bm.allocN32Pixels(WIDTH + MARGIN*2, HEIGHT + MARGIN*2)
    [all...]
  /cts/tests/tests/opengl/src/android/opengl/cts/
FramebufferTest.java 55 final int WIDTH = 640;
77 surface1 = new OffscreenSurface(eglCore, WIDTH, HEIGHT);
78 surface2 = new OffscreenSurface(eglCore, WIDTH, HEIGHT);
87 GLES30.glBlitFramebuffer(0, 0, WIDTH, HEIGHT, 0, 0, WIDTH, HEIGHT,
91 ByteBuffer pixelBuf = ByteBuffer.allocateDirect(WIDTH * HEIGHT * BYTES_PER_PIXEL);
98 GLES30.glReadPixels(0, 0, WIDTH, HEIGHT, GLES30.GL_RGBA, GLES30.GL_UNSIGNED_BYTE,
101 pixelBuf.position((WIDTH * (HEIGHT / 2) + (WIDTH / 2)) * BYTES_PER_PIXEL);
109 GLES30.glReadPixels(0, 0, WIDTH, HEIGHT, GLES30.GL_RGBA, GLES30.GL_UNSIGNED_BYTE
    [all...]
  /cts/tests/tests/text/src/android/text/style/cts/
IconMarginSpanTest.java 32 private static final int WIDTH = 80;
34 private static final int[] COLOR = new int[WIDTH * HEIGHT];
36 Bitmap.createBitmap(COLOR, WIDTH, HEIGHT, Bitmap.Config.RGB_565);
  /external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/
clear.c 18 static const int WIDTH = 300;
70 templat.width0 = WIDTH;
95 fb.width = WIDTH;
  /external/mesa3d/src/gallium/tests/graw/
clear.c 18 static const int WIDTH = 300;
70 templat.width0 = WIDTH;
95 fb.width = WIDTH;

Completed in 1548 milliseconds

1 2 3 4