Searched refs:bmp (Results 1 – 5 of 5) sorted by relevance
/development/samples/browseable/RenderScriptIntrinsic/src/com.example.android.renderscriptintrinsic/ |
D | ThumbnailRadioButton.java | 62 BitmapDrawable bmp = new BitmapDrawable(getResources(), bitmap); in setThumbnail() local 63 bmp.setGravity(Gravity.CENTER); in setThumbnail() 73 Drawable drawableArray[] = new Drawable[]{bmp, rectChecked}; in setThumbnail() 83 Drawable drawableArray2[] = new Drawable[]{bmp, rectUnchecked}; in setThumbnail()
|
/development/apps/WidgetPreview/src/com/android/widgetpreview/ |
D | WidgetPreviewActivity.java | 243 Bitmap bmp = Bitmap.createBitmap( in getPreviewBitmap() local 245 Canvas c = new Canvas(bmp); in getPreviewBitmap() 247 return bmp; in getPreviewBitmap() 250 private boolean saveImage(Bitmap bmp, String name) { in saveImage() argument 261 if (!bmp.compress(CompressFormat.PNG, 100, fout)) { in saveImage() 295 Bitmap bmp = getPreviewBitmap(); in onClick() local 296 if (saveImage(bmp, mAppWidgetName)) { in onClick()
|
/development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/ |
D | ShortcutHelper.java | 179 Bitmap bmp = fetchFavicon(uri); in setSiteInformation() local 180 if (bmp != null) { in setSiteInformation() 181 b.setIcon(Icon.createWithBitmap(bmp)); in setSiteInformation()
|
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/ |
D | ShortcutHelper.java | 182 Bitmap bmp = fetchFavicon(uri); in setSiteInformation() local 183 if (bmp != null) { in setSiteInformation() 184 b.setIcon(Icon.createWithBitmap(bmp)); in setSiteInformation()
|
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/ |
D | GameView.java | 449 Bitmap bmp = BitmapFactory.decodeResource(res, bmpResId, opts); 451 if (bmp == null && isInEditMode()) { 458 bmp = Bitmap.createBitmap(w, h, Config.ARGB_8888); 459 Canvas c = new Canvas(bmp); 464 return bmp;
|