Home
last modified time | relevance | path

Searched refs:WIDTH (Results 1 – 7 of 7) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DCreateBitmap.java34 private static final int WIDTH = 50; field in CreateBitmap
41 for (int x = 0; x < WIDTH; x++) { in createColors()
42 int r = x * 255 / (WIDTH - 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()
92 mBitmaps[i].setPixels(colors, 0, STRIDE, 0, 0, WIDTH, HEIGHT); in SampleView()
[all …]
DPurgeableBitmapView.java45 private static final int WIDTH = 150; field in PurgeableBitmapView
59 Bitmap src = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT, in PurgeableBitmapView()
70 for (int x = 0; x < WIDTH; x++) { in createColors()
71 int r = x * 255 / (WIDTH - 1); in createColors()
105 canvas.drawText(String.valueOf(mDecodingCount), WIDTH / 2 - 20, in onDraw()
DBitmapMesh.java35 private static final int WIDTH = 20; field in BitmapMesh.SampleView
37 private static final int COUNT = (WIDTH + 1) * (HEIGHT + 1);
64 for (int x = 0; x <= WIDTH; x++) { in SampleView()
65 float fx = w * x / WIDTH; in SampleView()
80 canvas.drawBitmapMesh(mBitmap, WIDTH, HEIGHT, mVerts, 0, in onDraw()
DMeasureText.java32 private static final int WIDTH = 50; field in MeasureText
39 for (int x = 0; x < WIDTH; x++) { in createColors()
40 int r = x * 255 / (WIDTH - 1); in createColors()
DScaleToFit.java59 private static final int WIDTH = 52; field in ScaleToFit.SampleView
61 private final RectF mDstR = new RectF(0, 0, WIDTH, HEIGHT);
/development/apps/NinePatchLab/src/com/android/ninepatch/
DNinePatchLab.java129 final int WIDTH = getWidth() - 2*MARGIN_X; in onDraw() local
134 final int drWidth = WIDTH; in onDraw()
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv53541 …e_SNnJIALmS7OHp_Wn70yzRA@fakeemail.com,main/formatquery: support for MAX_{WIDTH/HEIGHT/DEPTH/LAYER…