/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/skia/gm/ |
imagemagnifier.cpp | 12 #define WIDTH 500 34 return SkISize::Make(WIDTH, HEIGHT); 42 SkIntToScalar(WIDTH / 2), 50 int x = rand.nextULessThan(WIDTH);
|
canvasstate.cpp | 24 WIDTH = 150, 39 fSize.set(SkIntToScalar(WIDTH), SkIntToScalar(HEIGHT)); 53 fOutlineRect = SkRect::MakeXYWH(1, 1, WIDTH-2, HEIGHT-2); 54 fFillRect = SkRect::MakeXYWH(10, 10, WIDTH-20, HEIGHT-20); 63 return SkISize::Make(WIDTH*3, HEIGHT*4); 91 canvas->translate(SkIntToScalar(x*WIDTH), SkIntToScalar(y*HEIGHT)); 118 fRect = SkRect::MakeXYWH(SPACER, SPACER, WIDTH-(2*SPACER), (HEIGHT-(2*SPACER)) / 7); 127 return SkISize::Make(WIDTH, HEIGHT); 164 WIDTH = 400,
|
imageblur.cpp | 12 #define WIDTH 500 35 return SkISize::Make(WIDTH, HEIGHT); 48 int x = rand.nextULessThan(WIDTH);
|
imageresizetiled.cpp | 12 #define WIDTH 640 30 return SkISize::Make(WIDTH, HEIGHT); 44 for (SkScalar x = 0; x < WIDTH; x += tile_size) {
|
imageblurtiled.cpp | 12 #define WIDTH 640 29 return SkISize::Make(WIDTH, HEIGHT);
|
/external/webrtc/src/modules/audio_processing/ns/ |
defines.h | 28 #define WIDTH (float)0.01 43 #define WIDTH_PR_MAP (float)4.0 // width parameter in sigmoid map for prior model
|
/external/pixman/demos/ |
srgb-trap-test.c | 8 #define WIDTH 600 89 d = malloc (WIDTH * HEIGHT * 4); 92 PIXMAN_a8r8g8b8_sRGB, WIDTH, HEIGHT, d, WIDTH * 4); 94 PIXMAN_a8r8g8b8, WIDTH, HEIGHT, d, WIDTH * 4); 99 0, 0, 0, 0, 0, 0, WIDTH, HEIGHT);
|
/external/pixman/pixman/ |
pixman-android-neon.S | 224 WIDTH .req ip 235 ldmia ip, {WB, X, UX, WIDTH} 245 cmp WIDTH, #0 255 cmp WIDTH, #1 262 sub WIDTH, WIDTH, #1 268 cmp WIDTH, #2 273 sub WIDTH, WIDTH, #2 277 cmp WIDTH, # [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
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...] |
/external/pixman/test/ |
gradient-crash-test.c | 8 #define WIDTH 400 11 uint32_t *dest = malloc (WIDTH * HEIGHT * 4); 41 { pixman_double_to_fixed (WIDTH / 8.), pixman_int_to_fixed (0) } }, 42 { { pixman_double_to_fixed (WIDTH / 2.0), pixman_double_to_fixed (HEIGHT / 2.0) }, 43 { pixman_double_to_fixed (WIDTH / 2.0), pixman_double_to_fixed (HEIGHT / 2.0) } } 90 for (i = 0; i < WIDTH * HEIGHT; ++i) 94 WIDTH, HEIGHT, 96 WIDTH * 4); 145 0, 0, 0, 0, 0, 0, 10 * WIDTH, HEIGHT);
|
alphamap.c | 5 #define WIDTH 48 44 bits = (uint32_t *)make_random_bytes (WIDTH * HEIGHT * bpp); 46 image = pixman_image_create_bits (format, WIDTH, HEIGHT, bits, WIDTH * bpp); 62 if (x - orig_x >= 0 && x - orig_x < WIDTH && 80 r = bits[y * WIDTH + x]; 84 r = ((uint32_t *)bits)[y * WIDTH + x] >> 30; 90 r = ((uint32_t *)bits)[y * WIDTH + x] >> 24; 94 r = ((uint16_t *)bits)[y * WIDTH + x] >> 12; 119 r = ((uint32_t *)bits)[y * WIDTH + x] >> 14 [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
Divot.java | 27 static final float WIDTH = 6F;
|
/external/chromium_org/third_party/skia/gm/ |
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);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
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,
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/ |
MoreKeysKeyboardBuilderFixedOrderTests.java | 26 private static final int WIDTH = 10; 29 private static final int KEYBOARD_WIDTH = WIDTH * 10; 30 private static final int XPOS_L0 = WIDTH * 0 + WIDTH / 2; 31 private static final int XPOS_L1 = WIDTH * 1 + WIDTH / 2; 32 private static final int XPOS_L2 = WIDTH * 2 + WIDTH / 2; 33 private static final int XPOS_L3 = WIDTH * 3 + WIDTH / 2 [all...] |
MoreKeysKeyboardBuilderAutoOrderTests.java | 26 private static final int WIDTH = 10; 29 private static final int KEYBOARD_WIDTH = WIDTH * 10; 30 private static final int XPOS_L0 = WIDTH * 0 + WIDTH / 2; 31 private static final int XPOS_L1 = WIDTH * 1 + WIDTH / 2; 32 private static final int XPOS_L2 = WIDTH * 2 + WIDTH / 2; 33 private static final int XPOS_L3 = WIDTH * 3 + WIDTH / 2 [all...] |
MoreKeysKeyboardBuilderMaxOrderTests.java | 26 private static final int WIDTH = 10; 29 private static final int KEYBOARD_WIDTH = WIDTH * 10; 30 private static final int XPOS_L0 = WIDTH * 0 + WIDTH / 2; 31 private static final int XPOS_L1 = WIDTH * 1 + WIDTH / 2; 32 private static final int XPOS_L2 = WIDTH * 2 + WIDTH / 2; 33 private static final int XPOS_L3 = WIDTH * 3 + WIDTH / 2 [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
ResourcePreviewHelper.java | 56 * The width of the preview rendering 60 private static final int WIDTH = 100; 107 .createEmptyImage(parent.getDisplay(), WIDTH, HEIGHT)); 109 gd.widthHint = WIDTH; 133 image = ImageUtils.createColoredImage(WIDTH, HEIGHT, color); 153 int width = image.getWidth(); local 155 if (width > WIDTH || height > HEIGHT) { 156 double xScale = WIDTH / (double) width; [all...] |