Searched refs:Bitmap (Results 276 - 300 of 448) sorted by relevance

<<1112131415161718

/frameworks/base/tests/OneMedia/src/com/android/onemedia/
H A DPlayerController.java33 import android.graphics.Bitmap;
56 private Bitmap mArt;
94 public void setArt(Bitmap art) {
/frameworks/support/v4/ics/android/support/v4/media/session/
H A DMediaSessionCompatApi14.java21 import android.graphics.Bitmap;
166 Bitmap art = metadata.getParcelable(METADATA_KEY_ART);
170 Bitmap art = metadata.getParcelable(METADATA_KEY_ALBUM_ART);
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DTestDocumentsProvider.java26 import android.graphics.Bitmap;
27 import android.graphics.Bitmap.CompressFormat;
325 final Bitmap bitmap = Bitmap.createBitmap(32, 32, Bitmap.Config.ARGB_8888);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DImageGoodnessFilter.java20 import android.graphics.Bitmap;
171 Bitmap bitmap = inputImage.toBitmap();
196 private class AsyncOperation extends AsyncTask<Bitmap, Void, String> {
197 private Bitmap b;
204 protected String doInBackground(Bitmap... params) {
/frameworks/support/recommendation/src/android/support/app/recommendation/
H A DContentRecommendation.java23 import android.graphics.Bitmap;
309 private final Bitmap mContentImage;
393 * Returns the Bitmap containing the recommendation image.
395 * @return A Bitmap containing the recommendation image.
397 public Bitmap getContentImage() {
710 private Bitmap mBuilderContentImage;
786 * @param image A Bitmap containing the recommendation image.
789 public Builder setContentImage(Bitmap image) {
/frameworks/base/core/java/android/app/
H A DActivityOptions.java26 import android.graphics.Bitmap;
104 * Bitmap for thumbnail animation.
225 private Bitmap mThumbnail;
448 Bitmap thumbnail, int startX, int startY) {
471 Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener) {
493 Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener) {
498 Bitmap thumbnail, int startX, int startY, OnAnimationStartedListener listener,
532 Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight,
558 Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight,
564 private static ActivityOptions makeAspectScaledThumbnailAnimation(View source, Bitmap thumbnai
[all...]
H A DActivityManager.java49 import android.graphics.Bitmap;
960 private Bitmap mIcon;
973 public TaskDescription(String label, Bitmap icon, int colorPrimary) {
986 public TaskDescription(String label, Bitmap icon) {
1007 public TaskDescription(String label, Bitmap icon, String iconFilename, int colorPrimary,
1075 public void setIcon(Bitmap icon) {
1080 * Moves the icon bitmap reference from an actual Bitmap to a file containing the
1099 public Bitmap getIcon() {
1112 public Bitmap getInMemoryIcon() {
1117 public static Bitmap loadTaskDescriptionIco
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java22 import android.graphics.Bitmap;
90 private static Bitmap sVideoImage;
92 private static Bitmap sVideoNotReadyImage;
517 public void bindPhoto(Bitmap photoBitmap) {
521 final Bitmap drawableBitmap = ((BitmapDrawable) mDrawable).getBitmap();
547 public Bitmap getPhoto() {
620 public Bitmap getCroppedPhoto() {
625 final Bitmap croppedBitmap = Bitmap.createBitmap(
626 (int) CROPPED_SIZE, (int) CROPPED_SIZE, Bitmap
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawable.java34 import android.graphics.Bitmap;
108 * <li> <b>Bitmap</b>: the simplest Drawable, a PNG or JPEG image.
1152 Bitmap bm = BitmapFactory.decodeResourceStream(res, value, is, pad, opts);
1237 Bitmap bm = BitmapFactory.decodeFile(pathName);
1364 public int addAtlasableBitmaps(@NonNull Collection<Bitmap> atlasList) {
1369 protected final boolean isAtlasable(@Nullable Bitmap bitmap) {
1370 return bitmap != null && bitmap.getConfig() == Bitmap.Config.ARGB_8888;
1392 private static Drawable drawableFromBitmap(Resources res, Bitmap bm, byte[] np,
H A DNinePatchDrawable.java26 import android.graphics.Bitmap;
96 * @deprecated Use {@link #NinePatchDrawable(Resources, Bitmap, byte[], Rect, String)}
100 public NinePatchDrawable(Bitmap bitmap, byte[] chunk, Rect padding, String srcName) {
108 public NinePatchDrawable(Resources res, Bitmap bitmap, byte[] chunk,
119 public NinePatchDrawable(Resources res, Bitmap bitmap, byte[] chunk,
152 * @see android.graphics.Bitmap#setDensity(int)
153 * @see android.graphics.Bitmap#getDensity()
164 * @see android.graphics.Bitmap#setDensity(int)
165 * @see android.graphics.Bitmap#getDensity()
176 * @see android.graphics.Bitmap#setDensit
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DDessertCaseView.java25 import android.graphics.Bitmap;
178 Bitmap loaded = null;
193 private static Bitmap convertToAlphaMask(Bitmap b) {
194 Bitmap a = Bitmap.createBitmap(b.getWidth(), b.getHeight(), Bitmap.Config.ALPHA_8);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DSystemServicesProxy.java44 import android.graphics.Bitmap;
104 sBitmapOptions.inPreferredConfig = Bitmap.Config.RGB_565;
131 Bitmap mDummyIcon;
237 mDummyIcon = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888);
295 Bitmap.createBitmap(mDummyIcon), null,
563 thumbnailData.thumbnail = Bitmap.createBitmap(mDummyThumbnailWidth,
564 mDummyThumbnailHeight, Bitmap.Config.ARGB_8888);
599 Bitmap thumbnail = taskThumbnail.mainThumbnail;
778 Bitmap tdIco
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DUserSwitcherController.java32 import android.graphics.Bitmap;
173 SparseArray<Bitmap> bitmaps = new SparseArray<>(mUsers.size());
186 new AsyncTask<SparseArray<Bitmap>, Void, ArrayList<UserRecord>>() {
189 protected ArrayList<UserRecord> doInBackground(SparseArray<Bitmap>... params) {
190 final SparseArray<Bitmap> bitmaps = params[0];
215 Bitmap picture = bitmaps.get(info.id);
222 picture = Bitmap.createScaledBitmap(
698 public final Bitmap picture;
708 public UserRecord(UserInfo info, Bitmap picture, boolean isGuest, boolean isCurrent,
866 Bitmap ico
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageRenderer.java20 import android.graphics.Bitmap;
70 private static Pool<Bitmap> sTilePool = new SynchronizedPool<Bitmap>(64);
158 public Bitmap getTile(int level, int x, int y, Bitmap reuse);
668 public Bitmap mDecodedTile;
678 protected void onFreeBitmap(Bitmap bitmap) {
686 Bitmap reuse = sTilePool.acquire();
698 protected Bitmap onGetBitmap() {
707 Bitmap bitma
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DWallpaperCropActivity.java26 import android.graphics.Bitmap;
27 import android.graphics.Bitmap.CompressFormat;
65 * Intents have a maximum of 1MB in total size. However, the Bitmap seems to
68 * array instead of a Bitmap instance to avoid overhead.
463 Bitmap mCroppedBitmap;
570 public Bitmap getCroppedBitmap() {
656 Bitmap crop = null;
670 Bitmap fullSize = null;
712 crop = Bitmap.createBitmap(fullSize, roundedTrueCrop.left,
757 Bitmap tm
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DTaskPersister.java20 import android.graphics.Bitmap;
114 Bitmap mImage;
116 ImageWriteQueueItem(String filePath, Bitmap image) {
300 void saveImage(Bitmap image, String filePath) {
308 // replace the Bitmap with the new one.
331 Bitmap getTaskDescriptionIcon(String filePath) {
333 final Bitmap icon = getImageFromWriteQueue(filePath);
340 Bitmap getImageFromWriteQueue(String filePath) {
572 static Bitmap restoreImage(String filename) {
695 final Bitmap bitma
[all...]
/frameworks/base/core/java/android/content/pm/
H A DPackageInstaller.java29 import android.graphics.Bitmap;
334 public void updateSessionAppIcon(int sessionId, @Nullable Bitmap appIcon) {
888 public Bitmap appIcon;
974 public void setAppIcon(@Nullable Bitmap appIcon) {
1148 public Bitmap appIcon;
1234 public @Nullable Bitmap getAppIcon() {
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DPageContentRepository.java24 import android.graphics.Bitmap;
379 Bitmap bitmap = page.content.getBitmap();
814 Bitmap bitmap = Bitmap.createBitmap(mRenderSpec.bitmapWidth,
815 mRenderSpec.bitmapHeight, Bitmap.Config.ARGB_8888);
833 Bitmap bitmap = mRenderedPage.content.getBitmap();
/frameworks/base/media/java/android/media/
H A DRemoteControlClient.java22 import android.graphics.Bitmap;
508 * @see android.graphics.Bitmap
511 public synchronized MetadataEditor putBitmap(int key, Bitmap bitmap)
867 private Bitmap mOriginalArtwork;
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
H A DNekoLand.java26 import android.graphics.Bitmap;
230 Bitmap bitmap = cat.createBitmap(512, 512);
234 bitmap.compress(Bitmap.CompressFormat.PNG, 0, os);
/frameworks/base/core/java/android/view/
H A DSurfaceControl.java20 import android.graphics.Bitmap;
41 private static native Bitmap nativeScreenshot(IBinder displayToken,
752 * CAVEAT: Versions of screenshot that return a {@link Bitmap} can
757 * @param sourceCrop The portion of the screen to capture into the Bitmap;
775 * @return Returns a Bitmap containing the screen contents, or null
776 * if an error occurs. Make sure to call Bitmap.recycle() as soon as
779 public static Bitmap screenshot(Rect sourceCrop, int width, int height,
797 * @return Returns a Bitmap containing the screen contents, or null
798 * if an error occurs. Make sure to call Bitmap.recycle() as soon as
801 public static Bitmap screensho
[all...]
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationRecord.java29 import android.graphics.Bitmap;
246 } else if (val instanceof Bitmap) {
248 ((Bitmap) val).getWidth(),
249 ((Bitmap) val).getHeight()));
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGLTextureViewActivity.java23 import android.graphics.Bitmap;
67 Bitmap b = mTextureView.getBitmap(800, 800);
72 b.compress(Bitmap.CompressFormat.PNG, 100, out);
270 Bitmap bitmap = BitmapFactory.decodeResource(mResources, resource);
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
H A DBallsView.java29 import android.graphics.Bitmap;
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
H A DMainActivity.java22 import android.graphics.Bitmap;
51 Bitmap mDisplayedImage;
52 Bitmap mImage2;
319 mImage2 = mDisplayedImage.copy(Bitmap.Config.ARGB_8888, true);

Completed in 850 milliseconds

<<1112131415161718