/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | DecodeAggregator.java | 17 package com.android.bitmap;
|
H A D | BitmapCache.java | 17 package com.android.bitmap;
|
H A D | NamedThreadFactory.java | 17 package com.android.bitmap;
|
H A D | Poolable.java | 17 package com.android.bitmap;
|
H A D | PooledCache.java | 17 package com.android.bitmap;
|
H A D | RequestKey.java | 17 package com.android.bitmap;
|
H A D | ReusableBitmap.java | 17 package com.android.bitmap; 22 * A simple bitmap wrapper. Currently supports reference counting and logical width/height 23 * (which may differ from a bitmap's reported width/height due to bitmap reuse). 35 public ReusableBitmap(final Bitmap bitmap) { argument 36 this(bitmap, true /* reusable */); 39 public ReusableBitmap(final Bitmap bitmap, final boolean reusable) { argument 40 bmp = bitmap;
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | SkiaBehaviorTests.cpp | 37 SkBitmap bitmap; local 39 ASSERT_TRUE(s->isABitmap(&bitmap, nullptr, xy)) 40 << "1x1 bitmap shader must query as bitmap shader"; 43 EXPECT_EQ(origBitmap.pixelRef(), bitmap.pixelRef()); 47 SkBitmap bitmap = TestUtils::createSkBitmap(100, 100); local 48 uint32_t genId = bitmap.getGenerationID(); 49 bitmap.notifyPixelsChanged(); 50 EXPECT_NE(genId, bitmap.getGenerationID());
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | Parallaxable.java | 17 package com.android.bitmap.drawable;
|
H A D | CircularBitmapDrawable.java | 17 package com.android.bitmap.drawable; 32 import com.android.bitmap.BitmapCache; 105 Bitmap bitmap = placeholder.getBitmap(); 107 mRect.set(0, 0, bitmap.getWidth(), bitmap.getHeight()); 108 onDrawCircularBitmap(bitmap, canvas, mRect, bounds, alpha); 119 * Call this method with a given bitmap to draw it onto the given canvas, masked by a circular 122 protected void onDrawCircularBitmap(final Bitmap bitmap, final Canvas canvas, argument 124 onDrawCircularBitmap(bitmap, canvas, src, dst, 1f); 128 * Call this method with a given bitmap t 131 onDrawCircularBitmap(final Bitmap bitmap, final Canvas canvas, final Rect src, final Rect dst, final float alpha) argument [all...] |
/frameworks/support/v4/honeycomb_mr1/android/support/v4/graphics/ |
H A D | BitmapCompatHoneycombMr1.java | 25 static int getAllocationByteCount(Bitmap bitmap) { argument 26 return bitmap.getByteCount();
|
/frameworks/support/v4/kitkat/android/support/v4/graphics/ |
H A D | BitmapCompatKitKat.java | 25 static int getAllocationByteCount(Bitmap bitmap) { argument 26 return bitmap.getAllocationByteCount();
|
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
H A D | Trace.java | 17 package com.android.bitmap.util;
|
H A D | RectUtils.java | 17 package com.android.bitmap.util;
|
/frameworks/support/v4/jellybean-mr2/android/support/v4/graphics/ |
H A D | BitmapCompatJellybeanMR2.java | 21 public static boolean hasMipMap(Bitmap bitmap) { argument 22 return bitmap.hasMipMap(); 25 public static void setHasMipMap(Bitmap bitmap, boolean hasMipMap) { argument 26 bitmap.setHasMipMap(hasMipMap);
|
/frameworks/base/core/java/android/view/ |
H A D | AppTransitionAnimationSpec.java | 18 public final Bitmap bitmap; field in class:AppTransitionAnimationSpec 21 public AppTransitionAnimationSpec(int taskId, Bitmap bitmap, Rect rect) { argument 23 this.bitmap = bitmap; 29 bitmap = in.readParcelable(null); 41 dest.writeParcelable(bitmap, 0 /* flags */); 59 return "{taskId: " + taskId + ", bitmap: " + bitmap + ", rect: " + rect + "}";
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | BitmapShader.java | 22 * Shader used to draw a bitmap as a texture. The bitmap can be repeated or 37 * Call this to create a new shader that will draw with a bitmap. 39 * @param bitmap The bitmap to use inside the shader 40 * @param tileX The tiling mode for x to draw the bitmap in. 41 * @param tileY The tiling mode for y to draw the bitmap in. 43 public BitmapShader(@NonNull Bitmap bitmap, TileMode tileX, TileMode tileY) { argument 44 mBitmap = bitmap; 47 init(nativeCreate(bitmap, tile 60 nativeCreate(Bitmap bitmap, int shaderTileModeX, int shaderTileModeY) argument [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
H A D | BitmapSerializeUtils.java | 24 * use case of having the same bitmap on both ends and just 38 * Reads a bitmap pixels from a file descriptor. 40 * @param bitmap A bitmap whose pixels to populate. 43 public static void readBitmapPixels(Bitmap bitmap, ParcelFileDescriptor source) { argument 44 nativeReadBitmapPixels(bitmap, source.getFd()); 48 * Writes a bitmap pixels to a file descriptor. 50 * @param bitmap The bitmap. 53 public static void writeBitmapPixels(Bitmap bitmap, ParcelFileDescripto argument 57 nativeReadBitmapPixels(Bitmap bitmap, int fd) argument 59 nativeWriteBitmapPixels(Bitmap bitmap, int fd) argument [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | BitmapTexture.java | 31 public BitmapTexture(Bitmap bitmap) { argument 32 this(bitmap, false); 35 public BitmapTexture(Bitmap bitmap, boolean hasBorder) { argument 37 Assert.assertTrue(bitmap != null && !bitmap.isRecycled()); 38 mContentBitmap = bitmap; 42 protected void onFreeBitmap(Bitmap bitmap) { argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | NinePatch_Delegate.java | 174 /*package*/ static long nativeGetTransparentRegion(Bitmap bitmap, long chunk, Rect location) { argument
|
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/ |
H A D | MediaStoreSaver.java | 35 public static final String savePNG(Bitmap bitmap, argument 52 bitmap.compress(Bitmap.CompressFormat.PNG, 0, fOut);
|
/frameworks/support/v4/api24/android/support/v4/view/ |
H A D | PointerIconCompatApi24.java | 29 public static Object create(Bitmap bitmap, float hotSpotX, float hotSpotY) { argument 30 return PointerIcon.create(bitmap, hotSpotX, hotSpotY);
|
/frameworks/support/v4/java/android/support/v4/graphics/ |
H A D | BitmapCompat.java | 29 public boolean hasMipMap(Bitmap bitmap); argument 30 public void setHasMipMap(Bitmap bitmap, boolean hasMipMap); argument 31 public int getAllocationByteCount(Bitmap bitmap); argument 36 public boolean hasMipMap(Bitmap bitmap) { argument 41 public void setHasMipMap(Bitmap bitmap, boolean hasMipMap) { argument 45 public int getAllocationByteCount(Bitmap bitmap) { argument 46 return bitmap.getRowBytes() * bitmap.getHeight(); 52 public int getAllocationByteCount(Bitmap bitmap) { argument 53 return BitmapCompatHoneycombMr1.getAllocationByteCount(bitmap); 59 hasMipMap(Bitmap bitmap) argument 64 setHasMipMap(Bitmap bitmap, boolean hasMipMap) argument 71 getAllocationByteCount(Bitmap bitmap) argument 93 hasMipMap(Bitmap bitmap) argument 97 setHasMipMap(Bitmap bitmap, boolean hasMipMap) argument 108 getAllocationByteCount(Bitmap bitmap) argument [all...] |
/frameworks/base/graphics/java/android/view/ |
H A D | PixelCopy.java | 65 * The destination isn't a valid copy target. If the destination is a bitmap 66 * this can occur if the bitmap is too large for the hardware to copy to. 90 * The contents of the source will be scaled to fit exactly inside the bitmap. 92 * to fit the the bitmap's {@link Bitmap.Config}. The most recently queued buffer 97 * match the width, height, and format of this bitmap. 111 * The contents of the source will be scaled to fit exactly inside the bitmap. 113 * to fit the the bitmap's {@link Bitmap.Config}. The most recently queued buffer 118 * match the width, height, and format of this bitmap. 139 private static void validateBitmapDest(Bitmap bitmap) { argument 141 if (bitmap [all...] |
/frameworks/base/libs/hwui/tests/common/scenes/ |
H A D | ListViewAnimation.cpp | 84 SkBitmap bitmap = TestUtils::createSkBitmap(size, size); local 85 SkCanvas canvas(bitmap); 101 return bitmap; 107 SkBitmap bitmap = TestUtils::createSkBitmap(size, size); 108 SkCanvas canvas(bitmap); 117 return bitmap;
|