Home
last modified time | relevance | path

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

1234

/frameworks/base/graphics/java/android/graphics/drawable/
DIcon.java148 public Bitmap getBitmap() { in getBitmap() method in Icon
338 return new BitmapDrawable(context.getResources(), getBitmap()); in loadDrawableInner()
341 new BitmapDrawable(context.getResources(), getBitmap())); in loadDrawableInner()
446 getBitmap().isMutable() && in convertToAshmem()
447 getBitmap().getAllocationByteCount() >= MIN_ASHMEM_ICON_SIZE) { in convertToAshmem()
448 setBitmap(getBitmap().createAshmemBitmap()); in convertToAshmem()
467 getBitmap().compress(Bitmap.CompressFormat.PNG, 100, dataStream); in writeToStream()
539 return getBitmap() == otherIcon.getBitmap(); in sameAs()
744 .append(getBitmap().getWidth()) in toString()
746 .append(getBitmap().getHeight()); in toString()
[all …]
/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.java547 public Bitmap getBitmap() { in getBitmap() method in TextureView
548 return getBitmap(getWidth(), getHeight()); in getBitmap()
574 public Bitmap getBitmap(int width, int height) { in getBitmap() method in TextureView
576 return getBitmap(Bitmap.createBitmap(getResources().getDisplayMetrics(), in getBitmap()
605 public Bitmap getBitmap(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/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/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/
DIconMixinTest.java122 assertEquals(expected.getBitmap(), actual.getBitmap()); in testSetIconFromXml()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java168 assertTrue(q.getLargeIcon().getBitmap().sameAs(n.getLargeIcon().getBitmap())); in largeIconMultipleReferences_keptAfterParcelling()
183 assertTrue(((Icon) q.extras.getParcelable(Notification.EXTRA_LARGE_ICON)).getBitmap() in largeIconReferenceInExtrasOnly_keptAfterParcelling()
184 .sameAs(originalIcon.getBitmap())); in largeIconReferenceInExtrasOnly_keptAfterParcelling()
/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/packages/SystemUI/src/com/android/systemui/pip/tv/
DPipNotification.java214 art = metadata.getBitmap(MediaMetadata.METADATA_KEY_ALBUM_ART); in updateMediaControllerMetadata()
216 art = metadata.getBitmap(MediaMetadata.METADATA_KEY_ART); in updateMediaControllerMetadata()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DImageEncoder.java55 Bitmap bitmap = input.getBitmap(); in process()
/frameworks/base/core/java/android/app/
DDisabledWallpaperManager.java121 public Bitmap getBitmap() { in getBitmap() method in DisabledWallpaperManager
126 public Bitmap getBitmap(boolean hardware) { in getBitmap() method in DisabledWallpaperManager
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DFixedSizeImageView.java68 (((BitmapDrawable) drawable).getBitmap() == null); in setImageDrawable()
/frameworks/base/core/java/com/android/internal/app/
DSimpleIconFactory.java193 result = ((BitmapDrawable) badged).getBitmap(); in createUserBadgedIconBitmap()
309 Bitmap b = bitmapDrawable.getBitmap(); in createIconBitmap()
680 return getBitmap().getWidth(); in getIntrinsicHeight()
685 return getBitmap().getWidth(); in getIntrinsicWidth()
/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/layoutlib/bridge/src/android/view/shadow/
DAmbientShadowBitmapGenerator.java93 public Bitmap getBitmap() { in getBitmap() method in AmbientShadowBitmapGenerator
DSpotShadowBitmapGenerator.java137 public Bitmap getBitmap() { in getBitmap() method in SpotShadowBitmapGenerator
DHighQualityShadowPainter.java124 canvas, generator.getBitmap(), (int) generator.getTranslateX(), in paintAmbientShadow()
174 drawScaled(canvas, generator.getBitmap(), (int) generator.getTranslateX(), in paintSpotShadow()
/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
DFrame.java121 public abstract Bitmap getBitmap(); in getBitmap() method in Frame
/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/opt/chips/src/com/android/ex/chips/
DCircularImageView.java74 Bitmap bitmap = bitmapDrawable.getBitmap(); in onDraw()

1234