Lines Matching refs:Bitmap
25 import android.graphics.Bitmap;
168 public void setBitmap(Bitmap bitmap) {
171 throw new RuntimeException("Attempting to set Bitmap for non 2-dimensional native frame!");
174 throw new RuntimeException("Bitmap dimensions do not match native frame dimensions!");
176 Bitmap rgbaBitmap = convertBitmapToRGBA(bitmap);
186 public Bitmap getBitmap() {
188 throw new RuntimeException("Attempting to get Bitmap for non 2-dimensional native frame!");
190 Bitmap result = Bitmap.createBitmap(getFormat().getWidth(),
192 Bitmap.Config.ARGB_8888);
256 private native boolean setNativeBitmap(Bitmap bitmap, int size, int bytesPerSample);
258 private native boolean getNativeBitmap(Bitmap bitmap, int size, int bytesPerSample);