Home
last modified time | relevance | path

Searched refs:toBitmap (Results 1 – 25 of 29) sorted by relevance

12

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/
H A DTextInterpolatorTest.kt98 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT)
139 .toBitmap(BMP_WIDTH, BMP_HEIGHT))).isFalse()
141 .toBitmap(BMP_WIDTH, BMP_HEIGHT))).isFalse()
181 .toBitmap(BMP_WIDTH, BMP_HEIGHT)
201 .toBitmap(BMP_WIDTH, BMP_HEIGHT)
223 .toBitmap(BMP_WIDTH, BMP_HEIGHT)
246 .toBitmap(BMP_WIDTH, BMP_HEIGHT)
271 .toBitmap(BMP_WIDTH, BMP_HEIGHT)
296 .toBitmap(BMP_WIDTH, BMP_HEIGHT)
321 .toBitmap(BMP_WIDTH, BMP_HEIGHT)
[all …]
/aosp14/frameworks/base/libs/hwui/apex/
H A Dandroid_bitmap.cpp46 SkSafeRef(TypeCast::toBitmap(bitmap)); in ABitmap_acquireRef()
50 SkSafeUnref(TypeCast::toBitmap(bitmap)); in ABitmap_releaseRef()
117 TypeCast::toBitmap(srcBitmapHandle)->getSkBitmap(&srcBitmap); in ABitmap_copy()
140 Bitmap* bitmap = TypeCast::toBitmap(bitmapHandle); in ABitmap_getInfo()
145 Bitmap* bitmap = TypeCast::toBitmap(bitmapHandle); in ABitmap_getDataSpace()
158 Bitmap* bitmap = TypeCast::toBitmap(bitmapHandle); in ABitmap_getPixels()
174 Bitmap* bitmap = TypeCast::toBitmap(bitmapHandle); in ABitmap_notifyPixelsChanged()
310 Bitmap* bitmap = TypeCast::toBitmap(bitmapHandle); in ABitmap_getHardwareBuffer()
H A DTypeCast.h36 static inline Bitmap* toBitmap(ABitmap* bitmap) { in toBitmap() function
/aosp14/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/common/ui/compose/
H A DIcon.kt26 import androidx.core.graphics.drawable.toBitmap
43 Icon(icon.drawable.toBitmap().asImageBitmap(), contentDescription, modifier, tint)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DImageTileSet.java132 Bitmap toBitmap() { in toBitmap() method in ImageTileSet
133 return toBitmap(new Rect(0, 0, getWidth(), getHeight())); in toBitmap()
141 Bitmap toBitmap(Rect bounds) { in toBitmap() method in ImageTileSet
H A DScrollCaptureController.java89 public Bitmap toBitmap() { in toBitmap() method in ScrollCaptureController.LongScreenshot
90 return mImageTileSet.toBitmap(); in toBitmap()
93 public Bitmap toBitmap(Rect bounds) { in toBitmap() method in ScrollCaptureController.LongScreenshot
94 return mImageTileSet.toBitmap(bounds); in toBitmap()
H A DLongScreenshotActivity.java251 mLongScreenshot.toBitmap(), new File(getCacheDir(), "long_screenshot_cache.png")); in onLongScreenshotReceived()
H A DScreenshotView.java923 mScrollablePreview.setImageBitmap(longScreenshot.toBitmap()); in startLongScreenshotTransition()
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameImage2D.java73 public Bitmap toBitmap() { in toBitmap() method in FrameImage2D
177 Bitmap srcBitmap = srcImage.toBitmap(); in cpuImageCopy()
H A DSurfaceHolderTarget.java165 Bitmap bitmap = image.toBitmap(); in renderCanvas()
H A DCropFilter.java139 Bitmap sourceBitmap = inputImage.toBitmap(); in onProcess()
/aosp14/frameworks/base/libs/hwui/jni/
H A DBitmap.h40 Bitmap& toBitmap(jlong bitmapHandle);
H A Dandroid_graphics_Canvas.cpp76 bitmap::toBitmap(bitmapHandle).getSkBitmap(&bitmap); in initRaster()
86 bitmap::toBitmap(bitmapHandle).getSkBitmap(&bitmap); in setBitmap()
459 Bitmap& bitmap = android::bitmap::toBitmap(bitmapHandle); in drawNinePatch()
489 Bitmap& bitmap = android::bitmap::toBitmap(bitmapHandle); in drawBitmap()
524 Bitmap& bitmap = android::bitmap::toBitmap(bitmapHandle); in drawBitmapMatrix()
535 Bitmap& bitmap = android::bitmap::toBitmap(bitmapHandle); in drawBitmapRect()
589 Bitmap& bitmap = android::bitmap::toBitmap(bitmapHandle); in drawBitmapMesh()
H A DNinePatch.cpp93 bitmap::toBitmap(bitmapPtr).getSkBitmap(&bitmap); in getTransparentRegion()
H A DRenderEffect.cpp65 sk_sp<SkImage> image = android::bitmap::toBitmap(bitmapHandle).makeImage(); in createBitmapEffect()
H A DBitmapRegionDecoder.cpp260 recycledBitmap = &bitmap::toBitmap(inBitmapHandle); in nativeDecodeRegion()
H A Dandroid_graphics_HardwareRenderer.cpp329 bitmap::toBitmap(bitmapPtr).getSkBitmap(&bitmap); in android_view_ThreadedRenderer_copyLayerInto()
671 bitmap::toBitmap(bitmapPtr).getSkBitmap(&bitmap); in getDestinationBitmap()
H A DShader.cpp79 auto& bitmap = android::bitmap::toBitmap(bitmapHandle); in createBitmapShaderHelper()
H A DBitmapFactory.cpp459 reuseBitmap = &bitmap::toBitmap(inBitmapHandle); in doDecode()
/aosp14/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/getflow/
H A DGetCredentialComponents.kt48 import androidx.core.graphics.drawable.toBitmap
428 bitmap = icon.toBitmap().asImageBitmap(),
545 iconImageBitmap = credentialEntryInfo.icon?.toBitmap()?.asImageBitmap(),
584 iconImageBitmap = authenticationEntryInfo.icon.toBitmap().asImageBitmap(),
602 iconImageBitmap = actionEntryInfo.icon.toBitmap().asImageBitmap(),
/aosp14/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/createflow/
H A DCreateCredentialComponents.kt48 import androidx.core.graphics.drawable.toBitmap
393 bitmap = providerInfo.icon.toBitmap().asImageBitmap(),
585 entryInfo.profileIcon.toBitmap().asImageBitmap()
587 requestDisplayInfo.typeIcon.toBitmap().asImageBitmap()
624 iconImageBitmap = providerInfo.icon.toBitmap().asImageBitmap(),
/aosp14/frameworks/base/core/java/android/gesture/
H A DGesture.java185 public Bitmap toBitmap(int width, int height, int edge, int numSample, int color) { in toBitmap() method in Gesture
220 public Bitmap toBitmap(int width, int height, int inset, int color) { in toBitmap() method in Gesture
/aosp14/frameworks/base/libs/hwui/jni/pdf/
H A DPdfRenderer.cpp78 bitmap::toBitmap(bitmapPtr).getSkBitmap(&skBitmap); in nativeRenderPage()
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
H A DFaceSquareFilterTest.java157 Bitmap outputBitmap = outputImage.toBitmap(); in testFaceSquareFilter()
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DImageGoodnessFilter.java171 Bitmap bitmap = inputImage.toBitmap(); in onProcess()

12