Home
last modified time | relevance | path

Searched refs:HEIGHT (Results 1 – 9 of 9) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DCreateBitmap.java35 private static final int HEIGHT = 50; field in CreateBitmap
39 int[] colors = new int[STRIDE * HEIGHT]; in createColors()
40 for (int y = 0; y < HEIGHT; y++) { in createColors()
43 int g = y * 255 / (HEIGHT - 1); in createColors()
77 mBitmaps[0] = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT, in SampleView()
79 mBitmaps[1] = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT, in SampleView()
81 mBitmaps[2] = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT, in SampleView()
85 mBitmaps[3] = Bitmap.createBitmap(WIDTH, HEIGHT, in SampleView()
87 mBitmaps[4] = Bitmap.createBitmap(WIDTH, HEIGHT, in SampleView()
89 mBitmaps[5] = Bitmap.createBitmap(WIDTH, HEIGHT, in SampleView()
[all …]
DPurgeableBitmapView.java46 private static final int HEIGHT = 450; field in PurgeableBitmapView
59 Bitmap src = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT, in PurgeableBitmapView()
68 int[] colors = new int[STRIDE * HEIGHT]; in createColors()
69 for (int y = 0; y < HEIGHT; y++) { in createColors()
72 int g = y * 255 / (HEIGHT - 1); in createColors()
106 HEIGHT / 2, mPaint); in onDraw() local
DBitmapMesh.java36 private static final int HEIGHT = 20; field in BitmapMesh.SampleView
37 private static final int COUNT = (WIDTH + 1) * (HEIGHT + 1);
62 for (int y = 0; y <= HEIGHT; y++) { in SampleView()
63 float fy = h * y / HEIGHT; in SampleView()
80 canvas.drawBitmapMesh(mBitmap, WIDTH, HEIGHT, mVerts, 0, in onDraw()
DMeasureText.java33 private static final int HEIGHT = 50; field in MeasureText
37 int[] colors = new int[STRIDE * HEIGHT]; in createColors()
38 for (int y = 0; y < HEIGHT; y++) { in createColors()
41 int g = y * 255 / (HEIGHT - 1); in createColors()
DScaleToFit.java60 private static final int HEIGHT = 52; field in ScaleToFit.SampleView
61 private final RectF mDstR = new RectF(0, 0, WIDTH, HEIGHT);
115 canvas.drawText(sFitLabels[j], 0, HEIGHT*2/3, mLabelPaint); in onDraw()
/development/apps/NinePatchLab/src/com/android/ninepatch/
DNinePatchLab.java130 final int HEIGHT = getHeight() - 2*MARGIN_Y; in onDraw() local
133 final int drHeight = (HEIGHT - (N - 1) * gapSize) / N; in onDraw()
/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DVerticalGridFragment.java37 private static final int HEIGHT = 200; field in VerticalGridFragment
DVerticalGridSupportFragment.java39 private static final int HEIGHT = 200; field in VerticalGridSupportFragment
/development/tools/checkstyle/
Dcheckstyle.jarMETA-INF/MANIFEST.MF META-INF/ checkstyle_packages.xml sun_checks.xml com/ ...