Searched refs:STRIDE (Results 1 – 4 of 4) sorted by relevance
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | CreateBitmap.java | 36 private static final int STRIDE = 64; // must be >= WIDTH field in CreateBitmap 39 int[] colors = new int[STRIDE * HEIGHT]; in createColors() 46 colors[y * STRIDE + x] = (a << 24) | (r << 16) | (g << 8) | b; 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() 92 mBitmaps[i].setPixels(colors, 0, STRIDE, 0, 0, WIDTH, HEIGHT); in SampleView() 118 canvas.drawBitmap(mColors, 0, STRIDE, 0, 0, WIDTH, HEIGHT, in onDraw() 121 canvas.drawBitmap(mColors, 0, STRIDE, 0, 0, WIDTH, HEIGHT, in onDraw()
|
D | PurgeableBitmapView.java | 47 private static final int STRIDE = 320; // must be >= WIDTH field in PurgeableBitmapView 59 Bitmap src = Bitmap.createBitmap(colors, 0, STRIDE, WIDTH, HEIGHT, in PurgeableBitmapView() 68 int[] colors = new int[STRIDE * HEIGHT]; in createColors() 75 colors[y * STRIDE + x] = (a << 24) | (r << 16) | (g << 8) | b; in createColors()
|
D | MeasureText.java | 34 private static final int STRIDE = 64; // must be >= WIDTH field in MeasureText 37 int[] colors = new int[STRIDE * HEIGHT]; in createColors() 44 colors[y * STRIDE + x] = (a << 24) | (r << 16) | (g << 8) | b; in createColors()
|
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/ |
D | commit.csv | 48385 …sZhSSuKs1_gta1h7Q@fakeemail.com,glsl: calculate TOP_LEVEL_ARRAY_SIZE and STRIDE when adding resour…
|