Searched refs:Bitmap (Results 226 - 250 of 448) sorted by relevance

1234567891011>>

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DRecentsTaskLoader.java25 import android.graphics.Bitmap;
101 Bitmap mDefaultThumbnail;
110 Bitmap defaultThumbnail, BitmapDrawable defaultIcon) {
273 Bitmap mDefaultThumbnail;
299 Bitmap icon = Bitmap.createBitmap(1, 1, Bitmap.Config.ALPHA_8);
301 mDefaultThumbnail = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888);
362 Bitmap thumbnai
[all...]
H A DTask.java23 import android.graphics.Bitmap;
144 public Bitmap thumbnail;
199 Bitmap thumbnail, String title, String titleDescription, String dismissDescription,
297 public void notifyTaskDataLoaded(Bitmap thumbnail, Drawable applicationIcon,
308 public void notifyTaskDataUnloaded(Bitmap defaultThumbnail, Drawable defaultApplicationIcon) {
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java38 * 4 basic components: A Bitmap to hold the pixels, a Canvas to host
40 * Path, text, Bitmap), and a paint (to describe the colors and styles for the
69 private Bitmap mBitmap;
77 protected int mDensity = Bitmap.DENSITY_NONE;
84 protected int mScreenDensity = Bitmap.DENSITY_NONE;
105 * draw into. The initial target density is {@link Bitmap#DENSITY_NONE};
129 public Canvas(@NonNull Bitmap bitmap) {
149 mDensity = Bitmap.getDefaultDensity();
187 public void setBitmap(@Nullable Bitmap bitmap) {
194 mDensity = Bitmap
[all...]
/frameworks/base/core/java/android/os/
H A DIUserManager.aidl25 import android.graphics.Bitmap;
44 void setUserIcon(int userHandle, in Bitmap icon);
/frameworks/base/graphics/java/android/graphics/pdf/
H A DPdfRenderer.java22 import android.graphics.Bitmap;
23 import android.graphics.Bitmap.Config;
352 public void render(@NonNull Bitmap destination, @Nullable Rect destClip,
432 private static native void nativeRenderPage(long documentPtr, long pagePtr, Bitmap dest,
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DManualActivity.java21 import android.graphics.Bitmap;
39 private Bitmap mCompareBitmap;
115 mCompareBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DAnimated3dActivity.java22 import android.graphics.Bitmap;
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DImageUtils.java21 import android.graphics.Bitmap;
142 public static Bitmap decodeStream(final InputStreamFactory factory, final Rect outPadding,
155 final Bitmap originalBitmap = BitmapFactory.decodeStream(is, outPadding, opts);
159 + "Image bytes cannot be decoded into a Bitmap");
161 "Image bytes cannot be decoded into a Bitmap.");
164 // Rotate the Bitmap based on the orientation
168 return Bitmap.createBitmap(originalBitmap, 0, 0, originalBitmap.getWidth(),
216 * may load EXIF orientation, and the second pass may do the actual Bitmap decode.
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
H A DGlifPatternDrawable.java22 import android.graphics.Bitmap;
62 private Bitmap mBitmap;
72 mBitmap = Bitmap.createBitmap(canvas.getWidth(), canvas.getHeight(),
73 Bitmap.Config.ARGB_8888);
/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/
H A DComputePerf.java22 import android.graphics.Bitmap;
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DDecodeTask.java19 import android.graphics.Bitmap;
265 Bitmap.createBitmap(mDecodeOpts.destW, mDecodeOpts.destH,
266 Bitmap.Config.ARGB_8888));
302 Bitmap decodeResult = null;
318 final Bitmap bitmap;
488 private Bitmap decode(ParcelFileDescriptor fd, InputStream in) {
489 final Bitmap result;
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
H A DCat.java36 private Bitmap mBitmap;
216 mBitmap = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888);
234 public Bitmap createBitmap(int w, int h) {
238 Bitmap result = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888);
248 Bitmap result = Bitmap.createBitmap(w, h, Bitmap
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DInsetDrawable.java29 import android.graphics.Bitmap;
290 mInsetLeft = Bitmap.scaleFromDensity(mInsetLeft, sourceDensity, targetDensity);
291 mInsetTop = Bitmap.scaleFromDensity(mInsetTop, sourceDensity, targetDensity);
292 mInsetRight = Bitmap.scaleFromDensity(mInsetRight, sourceDensity, targetDensity);
293 mInsetBottom = Bitmap.scaleFromDensity(mInsetBottom, sourceDensity, targetDensity);
H A DIcon.java27 import android.graphics.Bitmap;
82 // TYPE_BITMAP: Bitmap
111 * @return The {@link android.graphics.Bitmap} held by this {@link #TYPE_BITMAP} Icon.
114 public Bitmap getBitmap() {
118 return (Bitmap) mObj1;
121 private void setBitmap(Bitmap b) {
412 getBitmap().compress(Bitmap.CompressFormat.PNG, 100, dataStream);
466 * Note that this is an inexpensive operation and doesn't do deep Bitmap equality comparisons.
542 * @param bits A valid {@link android.graphics.Bitmap} object
544 public static Icon createWithBitmap(Bitmap bit
[all...]
H A DBitmapDrawable.java25 import android.graphics.Bitmap;
57 * a {@link android.graphics.Bitmap} object.
62 * Also see the {@link android.graphics.Bitmap} class, which handles the management and
108 * @deprecated Use {@link #BitmapDrawable(android.content.res.Resources, android.graphics.Bitmap)}
113 mBitmapState = new BitmapState((Bitmap) null);
120 * @deprecated Use {@link #BitmapDrawable(android.content.res.Resources, android.graphics.Bitmap)}
126 mBitmapState = new BitmapState((Bitmap) null);
132 * @deprecated Use {@link #BitmapDrawable(Resources, Bitmap)} to ensure
136 public BitmapDrawable(Bitmap bitmap) {
144 public BitmapDrawable(Resources res, Bitmap bitma
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaMetadataRetrieverTest.java21 import android.graphics.Bitmap;
89 Bitmap bitmap = retriever.getFrameAtTime(-1);
93 bitmap.compress(Bitmap.CompressFormat.JPEG, 75, stream);
147 Bitmap bitmap = retriever.getFrameAtTime(-1);
151 bitmap.compress(Bitmap.CompressFormat.JPEG, 75, stream);
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageView.java22 import android.graphics.Bitmap;
361 public Bitmap getTile(int level, int x, int y, Bitmap bitmap) {
364 bitmap = Bitmap.createBitmap(tileSize, tileSize,
365 Bitmap.Config.ARGB_8888);
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DGlobalScreenshot.java34 import android.graphics.Bitmap;
77 Bitmap image;
151 Bitmap picture = Bitmap.createBitmap(previewWidth, previewHeight, data.image.getConfig());
160 Bitmap icon = Bitmap.createBitmap(iconSize, iconSize, data.image.getConfig());
216 mNotificationStyle.bigLargeIcon((Bitmap) null);
230 Bitmap image = mParams.image;
243 image.compress(Bitmap.CompressFormat.PNG, 100, out);
419 private Bitmap mScreenBitma
[all...]
/frameworks/base/media/java/android/media/session/
H A DMediaSessionLegacyHelper.java24 import android.graphics.Bitmap;
86 Bitmap art = metadata.getBitmap(MediaMetadata.METADATA_KEY_ART);
91 Bitmap art = metadata.getBitmap(MediaMetadata.METADATA_KEY_ALBUM_ART);
338 private static Bitmap scaleBitmapIfTooBig(Bitmap bitmap, int maxWidth, int maxHeight) {
346 Bitmap.Config newConfig = bitmap.getConfig();
348 newConfig = Bitmap.Config.ARGB_8888;
350 Bitmap outBitmap = Bitmap.createBitmap(newWidth, newHeight, newConfig);
/frameworks/base/core/jni/android/graphics/
H A DGraphics.cpp298 // in the java Bitmap.Config enum.
345 android::Bitmap* GraphicsJNI::getBitmap(JNIEnv* env, jobject bitmap) {
350 android::Bitmap* b = reinterpret_cast<android::Bitmap*>(bitmapHandle);
409 jobject GraphicsJNI::createBitmap(JNIEnv* env, android::Bitmap* bitmap,
415 // native SkBitmap stays in sync with the Java Bitmap.
430 // native SkBitmap stays in sync with the Java Bitmap.
486 android::Bitmap* GraphicsJNI::allocateJavaPixelRef(JNIEnv* env, SkBitmap* bitmap,
515 android::Bitmap* wrapper = new android::Bitmap(en
[all...]
/frameworks/base/core/java/android/app/
H A DUiAutomation.java26 import android.graphics.Bitmap;
676 public Bitmap takeScreenshot() {
715 Bitmap screenShot = null;
730 Bitmap unrotatedScreenShot = Bitmap.createBitmap(displayWidth, displayHeight,
731 Bitmap.Config.ARGB_8888);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
H A DUserIconDrawable.java23 import android.graphics.Bitmap;
47 private Bitmap mUserIcon;
48 private Bitmap mBitmap; // baked representation. Required for transparent border around badge
112 public UserIconDrawable setIcon(Bitmap icon) {
359 mBitmap = Bitmap.createBitmap(size, size, Bitmap.Config.ARGB_8888);
/frameworks/support/v4/java/android/support/v4/media/
H A DMediaMetadataCompat.java18 import android.graphics.Bitmap;
117 * The artwork for the media as a {@link Bitmap}.
128 * {@link Bitmap}.
179 * preferred to other fields if present. This must be a {@link Bitmap}.
379 * Return a {@link Bitmap} for the given key or null if no bitmap exists for
383 * @return A {@link Bitmap} or null
385 public Bitmap getBitmap(@BitmapKey String key) {
386 Bitmap bmp = null;
391 Log.w(TAG, "Failed to retrieve a key as Bitmap.", e);
409 Bitmap ico
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DNotificationCompatImplBase.java23 import android.graphics.Bitmap;
48 CharSequence contentInfo, int number, Bitmap largeIcon, CharSequence subText,
62 CharSequence contentInfo, int number, Bitmap largeIcon, CharSequence subText,
102 CharSequence contentInfo, int number, Bitmap largeIcon, CharSequence subText,
115 CharSequence contentInfo, int number, Bitmap largeIcon, CharSequence subText,
166 int number, Bitmap largeIcon, CharSequence subText, boolean useChronometer, long when,
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DTestService.java38 import android.graphics.Bitmap;
809 super("CreateBitmap", "Create a Bitmap");
819 Bitmap bm = Bitmap.createBitmap(16, 16, Bitmap.Config.ARGB_8888);
828 super("CreateRecycleBitmap", "Create and recycle a Bitmap");
838 Bitmap bm = Bitmap.createBitmap(16, 16, Bitmap.Config.ARGB_8888);
858 Bitmap b
[all...]

Completed in 866 milliseconds

1234567891011>>