Searched refs:bm (Results 1 – 9 of 9) sorted by relevance
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | Patterns.java | 34 Bitmap bm = Bitmap.createBitmap(40, 40, Bitmap.Config.RGB_565); in makeBitmap1() local 35 Canvas c = new Canvas(bm); in makeBitmap1() 40 return bm; in makeBitmap1() 44 Bitmap bm = Bitmap.createBitmap(64, 64, Bitmap.Config.ARGB_8888); in makeBitmap2() local 45 Canvas c = new Canvas(bm); in makeBitmap2() 50 return bm; in makeBitmap2()
|
D | Xfermodes.java | 38 Bitmap bm = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); in makeDst() local 39 Canvas c = new Canvas(bm); in makeDst() 44 return bm; in makeDst() 49 Bitmap bm = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); in makeSrc() local 50 Canvas c = new Canvas(bm); in makeSrc() 55 return bm; in makeSrc() 106 Bitmap bm = Bitmap.createBitmap(new int[] { 0xFFFFFFFF, 0xFFCCCCCC, in SampleView() local 109 mBG = new BitmapShader(bm, in SampleView()
|
D | AlphaBitmap.java | 42 private static void drawIntoBitmap(Bitmap bm) { in drawIntoBitmap() argument 43 float x = bm.getWidth(); in drawIntoBitmap() 44 float y = bm.getHeight(); in drawIntoBitmap() 45 Canvas c = new Canvas(bm); in drawIntoBitmap()
|
D | Vertices.java | 52 Bitmap bm = BitmapFactory.decodeResource(getResources(), in SampleView() local 54 Shader s = new BitmapShader(bm, Shader.TileMode.CLAMP, in SampleView() 58 float w = bm.getWidth(); in SampleView() 59 float h = bm.getHeight(); in SampleView()
|
D | BitmapDecode.java | 72 Bitmap bm; in SampleView() local 75 bm = BitmapFactory.decodeStream(is, null, opts); in SampleView() 82 bm = BitmapFactory.decodeStream(is, null, opts); in SampleView() 84 mBitmap = bm; in SampleView()
|
D | ShapeDrawable1.java | 52 Bitmap bm = Bitmap.createBitmap(pixels, 2, 2, in makeTiling() local 55 return new BitmapShader(bm, Shader.TileMode.REPEAT, in makeTiling()
|
/development/samples/browseable/SkeletonWearableApp/src/com.example.android.google.wearable.app/ |
D | GridExampleActivity.java | 87 Bitmap bm = Bitmap.createBitmap(200, 200, Bitmap.Config.ARGB_8888); in getBackgroundForPage() local 88 Canvas c = new Canvas(bm); in getBackgroundForPage() 98 drawable = new BitmapDrawable(mContext.getResources(), bm); in getBackgroundForPage()
|
/development/samples/devbytes/animation/WindowAnimations/src/com/example/android/windowanimations/ |
D | WindowAnimations.java | 95 Bitmap bm = drawable.getBitmap(); in onCreate() 98 thumbnail, bm, 0, 0).toBundle(); in onCreate()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | Animation.java | 155 Bitmap bm = v.getDrawingCache(); 156 Canvas c = new Canvas(bm); 159 v, bm, 0, 0);
|