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

1 2 3

  /external/skia/gm/
imageblur.cpp 12 #define HEIGHT 500
28 return make_isize(WIDTH, HEIGHT);
40 int y = rand() % HEIGHT;
colormatrix.cpp 12 #define HEIGHT 500
29 return make_isize(WIDTH, HEIGHT);
32 SkBitmap createBitmap(int width, int height) {
34 bm.setConfig(SkBitmap::kARGB_8888_Config, width, height);
38 for (int y = 0; y < height; ++y) {
41 paint.setColor(SkColorSetARGB(255, x * 255 / width, y * 255 / height, 0));
morphology.cpp 12 #define HEIGHT 480
45 return make_isize(WIDTH, HEIGHT);
gammatext.cpp 45 CGContextRef cg = CGBitmapContextCreate(bm.getPixels(), bm.width(), bm.height(),
109 #define HEIGHT 480
123 return make_isize(1024, HEIGHT);
127 SkPoint pts[] = { { 0, 0 }, { 0, HEIGHT } };
138 SkRect r = { 0, 0, 1024, HEIGHT };
170 SkScalar stopy = HEIGHT;
175 cgDrawText(cg, text, len, x, HEIGHT - y, paint);
  /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.
47 public static final String HEIGHT = "SCAN_HEIGHT";
  /cts/tests/tests/graphics/src/android/graphics/cts/
PorterDuffXfermodeTest.java 32 private static final int HEIGHT = 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);
46 canvas.drawBitmap(b2, 0, HEIGHT / 2, p);
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));
55 canvas.drawBitmap(b2, 0, HEIGHT / 2, p);
56 assertEquals(Color.RED, target.getPixel(WIDTH / 4, HEIGHT / 4))
    [all...]
PathDashPathEffectTest.java 37 private static final int HEIGHT = 100;
40 Bitmap b = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888);
50 Bitmap expected = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888);
55 RectF rect = new RectF(0, HEIGHT / 2 - SQUARE, 0, HEIGHT / 2 + SQUARE);
63 for (int y = 0; y < HEIGHT; y++) {
75 p.moveTo(0, HEIGHT / 2);
76 p.lineTo(WIDTH, HEIGHT / 2);
SumPathEffectTest.java 37 private static final int HEIGHT = 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);
67 for (int j = 0; j < HEIGHT; j++) {
  /external/skia/samplecode/
SampleDrawLooper.cpp 17 #define HEIGHT 200
SamplePageFlip.cpp 19 #define HEIGHT 200
59 SkRect clipR = SkRect::MakeWH(SkIntToScalar(bm->width()), SkIntToScalar(bm->height()));
80 bounce(&y, &dy, HEIGHT-OVALH);
109 fBitmaps[i].setConfig(gConfigs[i], WIDTH, HEIGHT);
110 SkFlipPixelRef* pr = new SkFlipPixelRef(gConfigs[i], WIDTH, HEIGHT);
SampleHairline.cpp 73 int bottom = bm.height() - i - 1;
78 if (!check_zeros(bm.getAddr32(i, 0), bm.height(), rb >> 2)) {
82 if (!check_zeros(bm.getAddr32(right, 0), bm.height(), rb >> 2)) {
90 #define HEIGHT 460
98 generate_pts(pts, N, WIDTH, HEIGHT);
114 generate_pts(pts, N, WIDTH, HEIGHT);
137 generate_pts(pts, N, WIDTH, HEIGHT);
161 generate_pts(pts, N, WIDTH, HEIGHT);
232 HEIGHT + MARGIN*2);
237 bm2.setConfig(SkBitmap::kARGB_8888_Config, WIDTH, HEIGHT,
    [all...]
  /sdk/rule_api/src/com/android/ide/common/api/
IViewMetadata.java 86 HEIGHT,
119 return (this == BOTH || this == HEIGHT ||
  /cts/tests/tests/text/src/android/text/style/cts/
IconMarginSpanTest.java 33 private static final int HEIGHT = 120;
34 private static final int[] COLOR = new int[WIDTH * HEIGHT];
36 Bitmap.createBitmap(COLOR, WIDTH, HEIGHT, Bitmap.Config.RGB_565);
93 assertEquals(HEIGHT, fm.bottom);
94 assertEquals(HEIGHT, fm.descent);
  /packages/apps/Mms/src/com/android/mms/ui/
Divot.java 28 static final float HEIGHT = 16F;
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
CreateBitmap.java 35 private static final int HEIGHT = 50;
39 int[] colors = new int[STRIDE * HEIGHT];
40 for (int y = 0; y < HEIGHT; y++) {
43 int g = y * 255 / (HEIGHT - 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...]
PurgeableBitmapView.java 46 private static final int HEIGHT = 450;
59 Bitmap src = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT,
68 int[] colors = new int[STRIDE * HEIGHT];
69 for (int y = 0; y < HEIGHT; y++) {
72 int g = y * 255 / (HEIGHT - 1);
106 HEIGHT / 2, mPaint);
BitmapMesh.java 37 private static final int HEIGHT = 20;
38 private static final int COUNT = (WIDTH + 1) * (HEIGHT + 1);
63 for (int y = 0; y <= HEIGHT; y++) {
64 float fy = h * y / HEIGHT;
81 canvas.drawBitmapMesh(mBitmap, WIDTH, HEIGHT, mVerts, 0,
MeasureText.java 33 private static final int HEIGHT = 50;
37 int[] colors = new int[STRIDE * HEIGHT];
38 for (int y = 0; y < HEIGHT; y++) {
41 int g = y * 255 / (HEIGHT - 1);
ScaleToFit.java 60 private static final int HEIGHT = 52;
61 private final RectF mDstR = new RectF(0, 0, WIDTH, HEIGHT);
115 canvas.drawText(sFitLabels[j], 0, HEIGHT*2/3, mLabelPaint);
  /external/skia/src/utils/unix/
SkOSWindow_Unix.cpp 29 const int HEIGHT = 500;
51 0, 0, WIDTH, HEIGHT, 0, fVi->depth,
58 0, 0, WIDTH, HEIGHT, 0, 0, 0);
63 this->resize(WIDTH, HEIGHT);
112 this->resize(evt.xconfigure.width, evt.xconfigure.height);
183 glViewport(0, 0, SkScalarRound(this->width()), SkScalarRound(this->height()));
246 image.height = bitmap.height();
264 int height = bitmap.height(); local
    [all...]
  /cts/tests/tests/content/src/android/content/res/cts/
ConfigTest.java 46 HEIGHT,
120 case HEIGHT:
306 config.setProperty(Properties.HEIGHT, 480);
510 config.setProperty(Properties.HEIGHT, 480);
    [all...]
  /cts/tests/tests/net/src/android/net/cts/
UrlQuerySanitizerTest.java 31 private static final String TEST_URL = "http://example.com/?name=Joe+User&age=20&height=175";
42 private static final String HEIGHT = "height";
80 assertTrue(uqs.hasParameter(HEIGHT));
85 assertEquals(EXPECTED_HEIGHT, uqs.getValue(HEIGHT));
93 assertTrue(urlSet.contains(HEIGHT));
105 assertEquals(HEIGHT, pvp.mParameter);
109 uqs.addSanitizedEntry(HEIGHT, EXPECTED_HEIGHT + 1);
112 assertEquals(EXPECTED_HEIGHT + 1, uqs.getValue(HEIGHT));
116 uqs.addSanitizedEntry(HEIGHT, EXPECTED_HEIGHT)
    [all...]
  /development/apps/NinePatchLab/src/com/android/ninepatch/
NinePatchLab.java 130 final int HEIGHT = getHeight() - 2*MARGIN_Y;
133 final int drHeight = (HEIGHT - (N - 1) * gapSize) / N;
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/dialogs/
ResizableDialog.java 42 private static final String HEIGHT = "height";
77 int height = Math.min(displayBounds.height, Math.max(oldBounds.height, defaultSize.y)); local
78 return new Point(width, height);
110 int maxY = windowBounds.y + windowBounds.height - initialSize.y;
127 int y = windowBounds.y + (windowBounds.height - initialSize.y) / 2;
145 settings.getInt(HEIGHT));
159 settings.put(HEIGHT, bounds.height)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
ResourcePreviewHelper.java 61 /** The height of the preview rendering */
62 private static final int HEIGHT = 100;
107 .createEmptyImage(parent.getDisplay(), WIDTH, HEIGHT));
110 gd.heightHint = HEIGHT;
133 image = ImageUtils.createColoredImage(WIDTH, HEIGHT, color);
154 int height = image.getHeight(); local
155 if (width > WIDTH || height > HEIGHT) {
157 double yScale = HEIGHT / (double) height;
    [all...]

Completed in 356 milliseconds

1 2 3