Searched defs:bitmap (Results 1 - 25 of 146) sorted by relevance

123456

/frameworks/opt/bitmap/src/com/android/bitmap/
H A DDecodeAggregator.java17 package com.android.bitmap;
H A DBitmapCache.java17 package com.android.bitmap;
H A DNamedThreadFactory.java17 package com.android.bitmap;
H A DPoolable.java17 package com.android.bitmap;
H A DPooledCache.java17 package com.android.bitmap;
H A DRequestKey.java17 package com.android.bitmap;
H A DReusableBitmap.java17 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;
H A DResourceRequestKey.java17 package com.android.bitmap;
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DParallaxable.java17 package com.android.bitmap.drawable;
H A DCircularBitmapDrawable.java17 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 DBitmapCompatHoneycombMr1.java25 static int getAllocationByteCount(Bitmap bitmap) { argument
26 return bitmap.getByteCount();
/frameworks/support/v4/kitkat/android/support/v4/graphics/
H A DBitmapCompatKitKat.java25 static int getAllocationByteCount(Bitmap bitmap) { argument
26 return bitmap.getAllocationByteCount();
/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DTrace.java17 package com.android.bitmap.util;
H A DRectUtils.java17 package com.android.bitmap.util;
H A DBitmapUtils.java17 package com.android.bitmap.util;
H A DExif.java17 package com.android.bitmap.util;
/frameworks/support/v4/jellybean-mr2/android/support/v4/graphics/
H A DBitmapCompatJellybeanMR2.java21 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/jni/
H A Dandroid_view_PointerIcon.h48 SkBitmap bitmap; member in struct:android::PointerIcon
58 bitmap.reset();
68 /* Loads the bitmap associated with a pointer icon.
73 /* Loads the bitmap associated with a pointer icon by style.
/frameworks/base/graphics/java/android/graphics/
H A DBitmapShader.java22 * 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 DBitmapSerializeUtils.java24 * 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 DBitmapTexture.java31 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/support/v4/java/android/support/v4/graphics/
H A DBitmapCompat.java29 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/support/v7/palette/src/androidTest/java/android/support/v7/graphics/
H A DConsistencyTest.java37 private void testConsistencyForBitmap(Bitmap bitmap) { argument
41 Palette newPalette = Palette.from(bitmap).generate();
/frameworks/ex/framesequence/samples/FrameSequenceSamples/src/com/android/framesequence/samples/
H A DFrameSequenceTest.java39 Bitmap bitmap =
41 mBitmaps.add(bitmap);
42 return bitmap;
46 public void releaseBitmap(Bitmap bitmap) { argument
47 if (!mBitmaps.contains(bitmap)) throw new IllegalStateException();
48 mBitmaps.remove(bitmap);
49 bitmap.recycle();
/frameworks/opt/chips/src/com/android/ex/chips/
H A DCircularImageView.java74 Bitmap bitmap = bitmapDrawable.getBitmap();
75 if (bitmap == null) {
79 source.set(0, 0, bitmap.getWidth(), bitmap.getHeight());
83 drawBitmapWithCircleOnCanvas(bitmap, canvas, source, destination);
87 * Given the source bitmap and a canvas, draws the bitmap through a circular
90 * @param bitmap The source bitmap to draw.
92 * @param source The source bound of the bitmap
95 drawBitmapWithCircleOnCanvas(Bitmap bitmap, Canvas canvas, RectF source, RectF dest) argument
[all...]

Completed in 4166 milliseconds

123456