Home
last modified time | relevance | path

Searched refs:getBitmap (Results 1 – 25 of 87) sorted by relevance

1234

/frameworks/base/graphics/java/android/graphics/drawable/
DIcon.java162 public Bitmap getBitmap() { in getBitmap() method in Icon
354 return new BitmapDrawable(context.getResources(), getBitmap()); in loadDrawableInner()
357 new BitmapDrawable(context.getResources(), getBitmap())); in loadDrawableInner()
487 getBitmap().isMutable() && in convertToAshmem()
488 getBitmap().getAllocationByteCount() >= MIN_ASHMEM_ICON_SIZE) { in convertToAshmem()
489 setBitmap(getBitmap().asShared()); in convertToAshmem()
508 getBitmap().compress(Bitmap.CompressFormat.PNG, 100, dataStream); in writeToStream()
584 return getBitmap() == otherIcon.getBitmap(); in sameAs()
828 .append(getBitmap().getWidth()) in toString()
830 .append(getBitmap().getHeight()); in toString()
[all …]
/frameworks/base/services/core/java/com/android/server/textclassifier/
DIconsContentProvider.java60 getBitmap(drawable).compress(Bitmap.CompressFormat.PNG, 100, out);
84 private static Bitmap getBitmap(Drawable drawable) { in getBitmap() method in IconsContentProvider
107 getBitmap(one).compress(Bitmap.CompressFormat.PNG, 100, stream1); in sameIcon()
109 getBitmap(two).compress(Bitmap.CompressFormat.PNG, 100, stream2); in sameIcon()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DUploadedTexture.java134 private Bitmap getBitmap() { in getBitmap() method in UploadedTexture
154 if (mWidth == UNSPECIFIED) getBitmap(); in getWidth()
160 if (mWidth == UNSPECIFIED) getBitmap(); in getHeight()
193 Bitmap bitmap = getBitmap(); in updateContent()
212 Bitmap bitmap = getBitmap(); in uploadToCanvas()
DBitmapTexture.java51 public Bitmap getBitmap() { in getBitmap() method in BitmapTexture
/frameworks/base/core/java/android/view/
DTextureView.java551 public @Nullable Bitmap getBitmap() { in getBitmap() method in TextureView
552 return getBitmap(getWidth(), getHeight()); in getBitmap()
578 public @Nullable Bitmap getBitmap(int width, int height) { in getBitmap() method in TextureView
580 return getBitmap(Bitmap.createBitmap(getResources().getDisplayMetrics(), in getBitmap()
609 public @NonNull Bitmap getBitmap(@NonNull Bitmap bitmap) { in getBitmap() method in TextureView
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DIconTest.java51 .getBitmap(); in testWithBitmap()
122 assertThat(ic.getBitmap().getWidth()).isLessThan(41); in testScaleDownIfNecessary()
123 assertThat(ic.getBitmap().getHeight()).isLessThan(21); in testScaleDownIfNecessary()
163 .getBitmap(); in testWithBitmapResource()
186 .getBitmap(); in testWithFile()
210 .getBitmap(); in testAsync()
253 .getBitmap(); in testParcel()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothUtils.java150 resources, ((BitmapDrawable) pair.first).getBitmap()), pair.second); in getBtRainbowDrawableWithDescription()
201 final Bitmap bitmap = MediaStore.Images.Media.getBitmap( in getBtDrawableWithDescription()
256 bitmap = ((BitmapDrawable) drawable).getBitmap(); in createIconWithDrawable()
277 bitmap = ((BitmapDrawable) drawable).getBitmap(); in buildAdvancedDrawable()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DBaseIconFactory.java232 bitmap = ((BitmapDrawable) badged).getBitmap(); in createBadgedIconBitmap()
250 mUserBadgeBitmap = ((BitmapDrawable) badgedDrawable).getBitmap(); in getUserBadgeBitmap()
373 Bitmap b = bitmapDrawable.getBitmap(); in createIconBitmap()
458 return getBitmap().getWidth(); in getIntrinsicHeight()
463 return getBitmap().getWidth(); in getIntrinsicWidth()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/
DIconMixinTest.java122 assertEquals(expected.getBitmap(), actual.getBitmap()); in testSetIconFromXml()
/frameworks/base/tests/notification/src/com/android/frameworks/tests/notification/
DNotificationTests.java70 private static Bitmap getBitmap(Context context, int resId) { in getBitmap() method in NotificationTests
154 .setLargeIcon(getBitmap(context, R.drawable.bucket)) in makeBigTextNotification()
277 .setLargeIcon(getBitmap(mContext, R.drawable.matias_hed)) in testCreate()
342 .setLargeIcon(getBitmap(mContext, R.drawable.romainguy_hed)) in testCreate()
346 .bigPicture(d.getBitmap())) in testCreate()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DCircularBitmapDrawable.java95 onDrawCircularBitmap(getBitmap().bmp, canvas, src, dst, 1f); in onDrawBitmap()
105 Bitmap bitmap = placeholder.getBitmap(); in onDrawPlaceholderOrProgress()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DImageEncoder.java55 Bitmap bitmap = input.getBitmap(); in process()
/frameworks/base/core/java/android/app/
DDisabledWallpaperManager.java120 public Bitmap getBitmap() { in getBitmap() method in DisabledWallpaperManager
125 public Bitmap getBitmap(boolean hardware) { in getBitmap() method in DisabledWallpaperManager
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipNotificationController.java171 art = metadata.getBitmap(MediaMetadata.METADATA_KEY_ALBUM_ART); in updateMediaControllerMetadata()
173 art = metadata.getBitmap(MediaMetadata.METADATA_KEY_ART); in updateMediaControllerMetadata()
/frameworks/base/core/java/android/service/wallpaper/
DEngineWindowPage.java51 public Bitmap getBitmap() { in getBitmap() method in EngineWindowPage
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DAssetsAtlasActivity.java46 mBitmap = ((BitmapDrawable) d).getBitmap(); in BitmapsView()
DGetBitmapActivity.java54 Bitmap b = mTextureView.getBitmap(); in onCreate()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DRenderScriptTask.java125 rgbdImage = options.rgbz.getBitmap(); in prepareRefocusFilter()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DVertexFrame.java109 public Bitmap getBitmap() { in getBitmap() method in VertexFrame
DSimpleFrame.java127 public Bitmap getBitmap() { in getBitmap() method in SimpleFrame
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java158 assertTrue(q.getLargeIcon().getBitmap().sameAs(n.getLargeIcon().getBitmap())); in largeIconMultipleReferences_keptAfterParcelling()
173 assertTrue(((Icon) q.extras.getParcelable(Notification.EXTRA_LARGE_ICON)).getBitmap() in largeIconReferenceInExtrasOnly_keptAfterParcelling()
174 .sameAs(originalIcon.getBitmap())); in largeIconReferenceInExtrasOnly_keptAfterParcelling()
/frameworks/base/core/java/com/android/internal/app/
DSimpleIconFactory.java217 result = ((BitmapDrawable) badged).getBitmap(); in createUserBadgedIconBitmap()
374 Bitmap b = bitmapDrawable.getBitmap(); in createIconBitmap()
745 return getBitmap().getWidth(); in getIntrinsicHeight()
750 return getBitmap().getWidth(); in getIntrinsicWidth()
/frameworks/base/core/java/android/service/quickaccesswallet/
DGetWalletCardsCallbackImpl.java140 && cardImage.getBitmap().getConfig() != Bitmap.Config.HARDWARE) { in isValidResponse()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPageContentRepository.java402 Bitmap bitmap = page.content.getBitmap(); in hasSameSize()
431 return content.getBitmap().getByteCount(); in getSizeInBytes()
435 content.getBitmap().eraseColor(Color.WHITE); in erase()
896 Bitmap bitmap = mRenderedPage.content.getBitmap(); in doInBackground()
/frameworks/base/graphics/java/android/graphics/
DNinePatch.java169 public Bitmap getBitmap() { in getBitmap() method in NinePatch

1234