Home | History | Annotate | Download | only in phone

Lines Matching refs:Bitmap

20 import android.graphics.Bitmap;
112 public void setImageBitmap(Bitmap bm) {
138 Bitmap inputBitmap = ((BitmapDrawable) inputDrawable).getBitmap();
151 Log.w(TAG, "setImageDrawable: null bitmap from inputDrawable.getBitmap()!");
155 if (DBG) log("- not a lo-res bitmap; no special effect.");
159 // Ok, we have a valid bitmap *and* it's lo-res.
161 if (DBG) log("- got a lo-res bitmap; blurring...");
162 Bitmap blurredBitmap = BitmapUtils.createBlurredBitmap(inputBitmap);
200 * @return true if the specified bitmap is a lo-res contact photo
204 private boolean isLoRes(Bitmap bitmap) {
214 if (DBG) log("- isLoRes: checking bitmap with width " + bitmap.getWidth() + "...");
215 return (bitmap.getWidth() <= LO_RES_THRESHOLD_WIDTH);