Home | History | Annotate | Download | only in ui

Lines Matching refs:Bitmap

20 import android.graphics.Bitmap;
37 private Bitmap mImageMirror = null;
38 private Bitmap mIcon = null;
60 * Set the image that the button icon will use. The image bitmap will be scaled
61 * and cropped into the largest bitmap with dimensions given by getGoodIconSideSize()
66 public void setIcon(Bitmap image) {
124 * @param image bitmap to use as icon
126 private boolean makeAndSetIcon(Bitmap image) {
137 * @param image bitmap to set the icon to.
139 private boolean setImageIcon(Bitmap image) {
143 if(mIcon != null && mIcon.getConfig() == Bitmap.Config.ARGB_8888) {
154 * Generate an icon bitmap from a given bitmap.
156 * @param image bitmap to use as button icon
159 * @return the scaled/cropped icon bitmap
161 private Bitmap makeImageIcon(Bitmap image, int width, int height) {
166 Bitmap icon = null;