Skip to content

Commit

Permalink
Merge pull request #636 from SeannyM/android-filter
Browse files Browse the repository at this point in the history
[Android] Enable filtering onscreen buttons
  • Loading branch information
Sonicadvance1 committed Jul 17, 2014
2 parents 51dff5a + 304d9cc commit 11a0f5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -54,7 +54,7 @@ public static Bitmap resizeBitmap(Context context, Bitmap bitmap, float scale)
Bitmap bitmapResized = Bitmap.createScaledBitmap(bitmap,
(int)(dm.heightPixels * scale),
(int)(dm.heightPixels * scale),
false);
true);
return bitmapResized;
}

Expand Down
Expand Up @@ -54,7 +54,7 @@ private Drawable resizeDrawable(Drawable image, float scale)
Bitmap bitmapResized = Bitmap.createScaledBitmap(b,
(int)(displayMetrics.heightPixels * scale),
(int)(displayMetrics.heightPixels * scale),
false);
true);

return new BitmapDrawable(getResources(), bitmapResized);
}
Expand Down

0 comments on commit 11a0f5d

Please sign in to comment.