Searched refs:Bitmap (Results 1 - 25 of 448) sorted by relevance

1234567891011>>

/frameworks/base/graphics/java/android/graphics/
H A DBitmap.aidl19 parcelable Bitmap;
H A DBitmapShader.java31 public final Bitmap mBitmap;
43 public BitmapShader(@NonNull Bitmap bitmap, TileMode tileX, TileMode tileY) {
60 private static native long nativeCreate(Bitmap bitmap, int shaderTileModeX,
H A DBitmapFactory.java32 * Creates Bitmap objects from various sources, including files, streams,
59 * <p>You should still always use the returned Bitmap of the decode
64 * but in all cases you should use the Bitmap returned by the decoding
72 * other bitmaps as long as the resulting {@link Bitmap#getByteCount()
74 * Bitmap#getAllocationByteCount() allocated byte count} of the reused
82 * Additionally, the {@link android.graphics.Bitmap.Config
88 * <p>BitmapRegionDecoder will draw its requested content into the Bitmap
90 * than the provided Bitmap. The provided Bitmap's width, height, and
91 * {@link Bitmap
[all...]
/frameworks/support/v4/jellybean-mr2/android/support/v4/graphics/
H A DBitmapCompatJellybeanMR2.java18 import android.graphics.Bitmap;
21 public static boolean hasMipMap(Bitmap bitmap) {
25 public static void setHasMipMap(Bitmap bitmap, boolean hasMipMap) {
/frameworks/support/v4/honeycomb_mr1/android/support/v4/graphics/
H A DBitmapCompatHoneycombMr1.java18 import android.graphics.Bitmap;
25 static int getAllocationByteCount(Bitmap bitmap) {
/frameworks/support/v4/kitkat/android/support/v4/graphics/
H A DBitmapCompatKitKat.java18 import android.graphics.Bitmap;
25 static int getAllocationByteCount(Bitmap bitmap) {
/frameworks/base/core/java/com/android/internal/app/
H A DIAssistScreenshotReceiver.aidl19 import android.graphics.Bitmap;
23 void send(in Bitmap screenshot);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DBitmapTexture.java19 import android.graphics.Bitmap;
23 // BitmapTexture is a texture whose content is specified by a fixed Bitmap.
25 // The texture does not own the Bitmap. The user should make sure the Bitmap
27 // does not free the Bitmap.
29 protected Bitmap mContentBitmap;
31 public BitmapTexture(Bitmap bitmap) {
35 public BitmapTexture(Bitmap bitmap, boolean hasBorder) {
42 protected void onFreeBitmap(Bitmap bitmap) {
47 protected Bitmap onGetBitma
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
H A DBitmapSerializeUtils.java19 import android.graphics.Bitmap;
43 public static void readBitmapPixels(Bitmap bitmap, ParcelFileDescriptor source) {
53 public static void writeBitmapPixels(Bitmap bitmap, ParcelFileDescriptor destination) {
57 private static native void nativeReadBitmapPixels(Bitmap bitmap, int fd);
59 private static native void nativeWriteBitmapPixels(Bitmap bitmap, int fd);
/frameworks/support/v4/java/android/support/v4/graphics/
H A DBitmapCompat.java18 import android.graphics.Bitmap;
21 * Helper for accessing features in {@link android.graphics.Bitmap}
29 public boolean hasMipMap(Bitmap bitmap);
30 public void setHasMipMap(Bitmap bitmap, boolean hasMipMap);
31 public int getAllocationByteCount(Bitmap bitmap);
36 public boolean hasMipMap(Bitmap bitmap) {
41 public void setHasMipMap(Bitmap bitmap, boolean hasMipMap) {
45 public int getAllocationByteCount(Bitmap bitmap) {
52 public int getAllocationByteCount(Bitmap bitmap) {
59 public boolean hasMipMap(Bitmap bitma
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DThumbnailData.java20 import android.graphics.Bitmap;
26 public Bitmap thumbnail;
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
H A DThreadBitmapTest.java20 import android.graphics.Bitmap;
38 public Bitmap b;
41 b = Bitmap.createBitmap(300, 300, Bitmap.Config.RGB_565);
H A DGraphicsPerformanceTests.java22 import android.graphics.Bitmap;
79 /** Bitmap we allocate and draw to */
80 protected Bitmap mDestBitmap;
92 mDestBitmap = Bitmap.createBitmap(SCREEN_WIDTH, SCREEN_HEIGHT,
93 Bitmap.Config.RGB_565);
163 /** Bitmap to draw. Allocated by subclass's createBitmap() function. */
164 private Bitmap mBitmap;
179 public abstract Bitmap createBitmap();
204 public Bitmap createBitmap() {
205 return Bitmap
[all...]
H A DBitmapTest.java27 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888);
28 Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565);
29 Bitmap bm3 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_4444);
55 assertTrue("getConfig", bm1.getConfig() == Bitmap
[all...]
H A DBitmapFactoryTest.java33 Bitmap bitmap1 = Bitmap.createBitmap(
34 new int[] { Color.BLUE }, 1, 1, Bitmap.Config.RGB_565);
36 bitmap1.compress(Bitmap.CompressFormat.PNG, 100, out);
41 Bitmap bitmap = BitmapFactory.decodeFileDescriptor(fd);
43 assertEquals("Bitmap width", 1, bitmap.getWidth());
44 assertEquals("Bitmap height", 1, bitmap.getHeight());
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DThumbnailCache.java19 import android.graphics.Bitmap;
23 public class ThumbnailCache extends LruCache<Uri, Bitmap> {
29 protected int sizeOf(Uri key, Bitmap value) {
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/
H A DImageBuffersForRenderScript.java3 import android.graphics.Bitmap;
19 public Bitmap inputImage;
20 public Bitmap outputImage;
32 public ImageBuffersForRenderScript(Bitmap inImage, int margin,
37 outputImage = Bitmap.createBitmap(inputImage.getWidth(),
38 inputImage.getHeight(), Bitmap.Config.ARGB_8888);
H A DRGBZ.java5 import android.graphics.Bitmap;
27 private Bitmap bitmap;
28 private Bitmap preview;
29 private Bitmap depthBitmap;
58 * @return The color+depth {@code Bitmap}
60 public Bitmap getBitmap() {
114 * Sets the depthmap as the alpha channel of the {@code Bitmap}.
116 public Bitmap setAlphaChannel(Bitmap bitmap, Bitmap depthBitma
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebHistoryItem.java20 import android.graphics.Bitmap;
69 * @return A Bitmap containing the favicon for this history item or null.
73 public abstract Bitmap getFavicon();
/frameworks/rs/java/tests/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/
H A DHelloComputeNDK.java22 import android.graphics.Bitmap;
26 private Bitmap mBitmapIn;
27 private Bitmap mBitmapOut;
33 native void nativeMono(String cacheDir, int X, int Y, Bitmap in, Bitmap out);
41 mBitmapOut = Bitmap.createBitmap(mBitmapIn.getWidth(), mBitmapIn.getHeight(),
56 private Bitmap loadBitmap(int resource) {
58 options.inPreferredConfig = Bitmap.Config.ARGB_8888;
/frameworks/base/opengl/java/android/opengl/
H A DGLUtils.java19 import android.graphics.Bitmap;
40 public static int getInternalFormat(Bitmap bitmap) {
42 throw new NullPointerException("getInternalFormat can't be used with a null Bitmap");
62 public static int getType(Bitmap bitmap) {
64 throw new NullPointerException("getType can't be used with a null Bitmap");
99 Bitmap bitmap, int border) {
101 throw new NullPointerException("texImage2D can't be used with a null Bitmap");
107 throw new IllegalArgumentException("invalid Bitmap format");
125 Bitmap bitmap, int type, int border) {
127 throw new NullPointerException("texImage2D can't be used with a null Bitmap");
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
H A DBitmapUtils.java19 import android.graphics.Bitmap;
20 import android.graphics.Bitmap.CompressFormat;
115 public static Bitmap resizeBitmapByScale(
116 Bitmap bitmap, float scale, boolean recycle) {
121 Bitmap target = Bitmap.createBitmap(width, height, getConfig(bitmap));
130 private static Bitmap.Config getConfig(Bitmap bitmap) {
131 Bitmap.Config config = bitmap.getConfig();
133 config = Bitmap
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameImage2D.java19 import android.graphics.Bitmap;
60 public void setBitmap(Bitmap bitmap) {
69 * Returns the RGBA image contents as a Bitmap instance.
71 * @return a Bitmap instance holding the RGBA Frame image content.
73 public Bitmap toBitmap() {
74 Bitmap result = (Bitmap)mBackingStore.lockData(MODE_READ, BackingStore.ACCESS_BITMAP);
116 private static Bitmap convertToFrameType(Bitmap bitmap, FrameType type) {
117 Bitmap
[all...]
/frameworks/support/v7/palette/src/androidTest/java/android/support/v7/graphics/
H A DBucketTests.java25 import android.graphics.Bitmap;
42 final Bitmap sample = loadSampleBitmap();
71 final Bitmap sample = loadSampleBitmap();
81 final Bitmap sample = loadSampleBitmap();
91 final Bitmap sample = loadSampleBitmap();
102 final Bitmap bitmap = Bitmap.createBitmap(1000, 1, Bitmap.Config.ARGB_8888);
111 final Bitmap bitmap = Bitmap
[all...]
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/
H A DIconTest.java19 import android.graphics.Bitmap;
45 final Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888);
46 final Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565);
47 final Bitmap bm3 = ((BitmapDrawable) getContext().getDrawable(R.drawable.landscape))
63 final Bitmap test1 = Bitmap
[all...]

Completed in 623 milliseconds

1234567891011>>