Searched refs:Bitmap (Results 51 - 75 of 448) sorted by relevance

1234567891011>>

/frameworks/base/media/java/android/media/
H A DThumbnailUtils.java20 import android.graphics.Bitmap;
54 * {@link #extractThumbnail(Bitmap, int, int, int)} unless the output is the input.
80 * @return Bitmap, or null on failures
84 public static Bitmap createImageThumbnail(String filePath, int kind) {
93 Bitmap bitmap = null;
119 options.inPreferredConfig = Bitmap.Config.ARGB_8888;
153 public static Bitmap createVideoThumbnail(String filePath, int kind) {
154 Bitmap bitmap = null;
182 bitmap = Bitmap.createScaledBitmap(bitmap, w, h, true);
200 public static Bitmap extractThumbnai
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DNativeFrame.java25 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
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DCommandParams.java19 import android.graphics.Bitmap;
38 boolean setIcon(Bitmap icon) { return true; }
55 boolean setIcon(Bitmap icon) {
83 boolean setIcon(Bitmap icon) {
117 boolean setIcon(Bitmap icon) {
138 boolean setIcon(Bitmap icon) {
164 boolean setIcon(Bitmap icon) {
192 boolean setIcon(Bitmap icon) {
219 boolean setIcon(Bitmap icon) {
H A DIconLoader.java21 import android.graphics.Bitmap;
39 private Bitmap mCurrentIcon = null;
47 private Bitmap[] mIcons = null;
48 private HashMap<Integer, Bitmap> mIconsCache = null;
74 mIconsCache = new HashMap<Integer, Bitmap>(50);
95 mIcons = new Bitmap[recordNumbers.length];
234 * Convert a TS 131.102 image instance of code scheme '11' into Bitmap
239 public static Bitmap parseToBnW(byte[] data, int length){
262 return Bitmap.createBitmap(pixels, width, height, Bitmap
[all...]
H A DItem.java19 import android.graphics.Bitmap;
34 public Bitmap icon;
40 public Item(int id, String text, Bitmap icon) {
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
H A DTestUtils.java25 import android.graphics.Bitmap;
50 public static Bitmap getCombinedBackgroundBitmap(View view) {
55 final Bitmap bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight,
56 Bitmap.Config.ARGB_8888);
117 Bitmap bitmap = Bitmap.createBitmap(drawableWidth, drawableHeight,
118 Bitmap.Config.ARGB_8888);
144 public static void assertAllPixelsOfColor(String failMessagePrefix, @NonNull Bitmap bitmap,
/frameworks/base/services/core/java/com/android/server/policy/
H A DIconUtilities.java23 import android.graphics.Bitmap;
87 Bitmap scaled = createIconBitmap(src);
105 public Bitmap createIconBitmap(Drawable icon) {
116 Bitmap bitmap = bitmapDrawable.getBitmap();
117 if (bitmap.getDensity() == Bitmap.DENSITY_NONE) {
145 final Bitmap bitmap = Bitmap.createBitmap(textureWidth, textureHeight,
146 Bitmap.Config.ARGB_8888);
170 private Bitmap createSelectedBitmap(Bitmap sr
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DSharedElementCallback.java20 import android.graphics.Bitmap;
174 Bitmap bitmap = createDrawableBitmap(d);
192 Bitmap bitmap = null;
203 bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888);
214 private static Bitmap createDrawableBitmap(Drawable drawable) {
227 Bitmap bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888);
261 Bitmap bitma
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
H A DBitmapRegionTileSource.java22 import android.graphics.Bitmap;
23 import android.graphics.Bitmap.Config;
49 Bitmap decodeRegion(Rect wantRegion, BitmapFactory.Options options);
89 public Bitmap decodeRegion(Rect wantRegion, BitmapFactory.Options options) {
95 Bitmap mBuffer;
98 private DumbBitmapRegionDecoder(Bitmap b) {
102 Bitmap b = BitmapFactory.decodeFile(pathName);
109 Bitmap b = BitmapFactory.decodeStream(is);
121 public Bitmap decodeRegion(Rect wantRegion, BitmapFactory.Options options) {
128 Bitmap newBitma
[all...]
/frameworks/base/core/tests/coretests/src/android/graphics/
H A DPathOffsetTest.java20 import android.graphics.Bitmap.Config;
76 Bitmap actualBitmap = drawAndGetBitmap(actual);
77 Bitmap expectedBitmap = drawAndGetBitmap(expected);
81 private static Bitmap drawAndGetBitmap(Path path) {
82 Bitmap bitmap = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888);
/frameworks/ex/framesequence/src/android/support/rastermill/
H A DFrameSequenceDrawable.java19 import android.graphics.Bitmap;
71 * Called by FrameSequenceDrawable to aquire an 8888 Bitmap with minimum dimensions.
73 public abstract Bitmap acquireBitmap(int minWidth, int minHeight);
76 * Called by FrameSequenceDrawable to release a Bitmap it no longer needs. The Bitmap
81 public abstract void releaseBitmap(Bitmap bitmap);
86 public Bitmap acquireBitmap(int minWidth, int minHeight) {
87 return Bitmap.createBitmap(minWidth, minHeight, Bitmap.Config.ARGB_8888);
91 public void releaseBitmap(Bitmap bitma
[all...]
/frameworks/base/core/jni/android/graphics/
H A DGraphicsJNI.h4 #include "Bitmap.h"
55 static android::Bitmap* getBitmap(JNIEnv*, jobject bitmap);
66 * in Bitmap.Config. Skia no longer supports this config, but has replaced it
78 * Create a java Bitmap object given the native bitmap
81 static jobject createBitmap(JNIEnv* env, android::Bitmap* bitmap,
97 static android::Bitmap* allocateJavaPixelRef(JNIEnv* env, SkBitmap* bitmap,
100 static android::Bitmap* allocateAshmemPixelRef(JNIEnv* env, SkBitmap* bitmap,
103 static android::Bitmap* mapAshmemPixelRef(JNIEnv* env, SkBitmap* bitmap,
138 android::Bitmap* getStorageObjAndReset() {
139 android::Bitmap* resul
[all...]
/frameworks/base/core/java/android/os/
H A DUserManagerInternal.java21 import android.graphics.Bitmap;
94 public abstract void setUserIcon(int userId, Bitmap bitmap);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DBitmapsSkewActivity.java21 import android.graphics.Bitmap;
39 private final Bitmap mBitmap1;
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/
H A DUtils.java19 import android.graphics.Bitmap;
49 public static Bitmap getBitmapFromURL(String source) {
/frameworks/support/v4/api21/android/support/v4/graphics/drawable/
H A DRoundedBitmapDrawable21.java20 import android.graphics.Bitmap;
27 protected RoundedBitmapDrawable21(Resources res, Bitmap bitmap) {
/frameworks/support/v4/jellybean/android/support/v4/app/
H A DActivityOptionsCompatJB.java21 import android.graphics.Bitmap;
40 Bitmap thumbnail, int startX, int startY) {
/frameworks/support/v7/palette/src/androidTest/java/android/support/v7/graphics/
H A DTestUtils.java21 import android.graphics.Bitmap;
29 static Bitmap loadSampleBitmap() {
/frameworks/base/core/java/android/app/
H A DIUiAutomationConnection.aidl20 import android.graphics.Bitmap;
40 Bitmap takeScreenshot(int width, int height);
/frameworks/base/core/tests/coretests/src/android/view/
H A DZeroSizedTest.java25 import android.graphics.Bitmap;
89 private Bitmap createCacheForView(final View view) {
90 final Bitmap[] cache = new Bitmap[1];
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DReusableBitmap.java19 import android.graphics.Bitmap;
27 public final Bitmap bmp;
35 public ReusableBitmap(final Bitmap bitmap) {
39 public ReusableBitmap(final Bitmap bitmap, final boolean reusable) {
119 * Singleton class to represent a null Bitmap. We don't want to just use a regular
/frameworks/base/core/java/android/view/
H A DAppTransitionAnimationSpec.java3 import android.graphics.Bitmap;
18 public final Bitmap bitmap;
21 public AppTransitionAnimationSpec(int taskId, Bitmap bitmap, Rect rect) {
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java36 public final class Bitmap implements Parcelable { class in inherits:Parcelable
37 private static final String TAG = "Bitmap";
42 * @see Bitmap#getDensity()
43 * @see Bitmap#setDensity(int)
47 // Estimated size of the Bitmap native allocation, not including
52 * Backing buffer for the Bitmap.
62 * Represents whether the Bitmap's content is requested to be pre-multiplied.
64 * isPremultiplied() may never return true for a 565 Bitmap or a bitmap
111 Bitmap(long nativeBitmap, byte[] buffer, int width, int height, int density, method in class:Bitmap
136 Bitmap
[all...]
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
H A DRegion.java19 import android.graphics.Bitmap;
52 private Bitmap mUndoBitmap;
58 public Region(float[] xy, Bitmap img) {
110 public Drawable findMatch(ScriptC_find_region findRegion, RenderScript mRs, Bitmap image) {
156 Bitmap createMutableBitmap(Bitmap image, int x, int y, int width, int height) {
157 Bitmap ret = Bitmap.createBitmap(image, x, y, width, height);
158 return ret.copy(Bitmap.Config.ARGB_8888, true);
168 public void heal(ScriptC_healing healing, RenderScript rs, Bitmap imag
[all...]
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/
H A DDepthImage.java4 import android.graphics.Bitmap;
23 private final Bitmap mDepthBitmap;
46 public Bitmap getDepthBitmap() {

Completed in 768 milliseconds

1234567891011>>