Lines Matching refs:Bitmap
19 import android.graphics.Bitmap;
20 import android.graphics.Bitmap.Config;
29 // UploadedTextures use a Bitmap for the content of the texture.
31 // Subclasses should implement onGetBitmap() to provide the Bitmap and
32 // implement onFreeBitmap(mBitmap) which will be called when the Bitmap
47 private static HashMap<BorderKey, Bitmap> sBorderLines =
48 new HashMap<BorderKey, Bitmap>();
62 protected Bitmap mBitmap;
118 private static Bitmap getBorderLine(
124 Bitmap bitmap = sBorderLines.get(key);
127 ? Bitmap.createBitmap(1, length, config)
128 : Bitmap.createBitmap(length, 1, config);
134 private Bitmap getBitmap() {
164 protected abstract Bitmap onGetBitmap();
166 protected abstract void onFreeBitmap(Bitmap bitmap);
193 Bitmap bitmap = getBitmap();
212 Bitmap bitmap = getBitmap();
240 Bitmap line = getBorderLine(true, config, texHeight);
250 Bitmap line = getBorderLine(true, config, texHeight);
256 Bitmap line = getBorderLine(false, config, texWidth);