Lines Matching defs:bitmap
519 * <p>The bitmap returned by this method uses the {@link Bitmap.Config#ARGB_8888}
525 * <p>If an error occurs during the copy, an empty bitmap will be returned.</p>
527 * @return A valid {@link Bitmap.Config#ARGB_8888} bitmap, or null if the surface
543 * <p>The bitmap returned by this method uses the {@link Bitmap.Config#ARGB_8888}
549 * <p>If an error occurs during the copy, an empty bitmap will be returned.</p>
551 * @param width The width of the bitmap to create
552 * @param height The height of the bitmap to create
554 * @return A valid {@link Bitmap.Config#ARGB_8888} bitmap, or null if the surface
571 * bitmap. If the surface texture is not available, the copy is not executed.
573 * the specified bitmap.</p>
578 * <p>If an error occurs, the bitmap is left unchanged.</p>
580 * @param bitmap The bitmap to copy the content of the surface texture into,
583 * @return The bitmap specified as a parameter
590 * acquired to capture the bitmap
592 public Bitmap getBitmap(Bitmap bitmap) {
593 if (bitmap != null && isAvailable()) {
606 mLayer.copyInto(bitmap);
609 return bitmap;
623 * to draw into the surface's bitmap. A null is returned if the surface has