Home | History | Annotate | Download | only in camera

Lines Matching defs:bitmap

29 import android.graphics.Bitmap;
77 Bitmap bitmap = helper.getPhoto(appWidgetId);
78 if (bitmap != null) {
81 views.setImageViewBitmap(R.id.photo, bitmap);
120 * Store the given bitmap in this database for the given appWidgetId.
122 public boolean setPhoto(int appWidgetId, Bitmap bitmap) {
128 int size = bitmap.getWidth() * bitmap.getHeight() * 4;
130 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
162 * Inflate and return a bitmap for the given appWidgetId.
164 public Bitmap getPhoto(int appWidgetId) {
166 Bitmap bitmap = null;
181 bitmap = BitmapFactory.decodeByteArray(data, 0,
192 return bitmap;
196 * Remove any bitmap associated with the given appWidgetId.