/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/ |
H A D | TextInterpolatorTest.kt | 98 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 D | android_bitmap.cpp | 46 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 D | TypeCast.h | 36 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 D | Icon.kt | 26 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 D | ImageTileSet.java | 132 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 D | ScrollCaptureController.java | 89 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 D | LongScreenshotActivity.java | 251 mLongScreenshot.toBitmap(), new File(getCacheDir(), "long_screenshot_cache.png")); in onLongScreenshotReceived()
|
H A D | ScreenshotView.java | 923 mScrollablePreview.setImageBitmap(longScreenshot.toBitmap()); in startLongScreenshotTransition()
|
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | FrameImage2D.java | 73 public Bitmap toBitmap() { in toBitmap() method in FrameImage2D 177 Bitmap srcBitmap = srcImage.toBitmap(); in cpuImageCopy()
|
H A D | SurfaceHolderTarget.java | 165 Bitmap bitmap = image.toBitmap(); in renderCanvas()
|
H A D | CropFilter.java | 139 Bitmap sourceBitmap = inputImage.toBitmap(); in onProcess()
|
/aosp14/frameworks/base/libs/hwui/jni/ |
H A D | Bitmap.h | 40 Bitmap& toBitmap(jlong bitmapHandle);
|
H A D | android_graphics_Canvas.cpp | 76 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 D | NinePatch.cpp | 93 bitmap::toBitmap(bitmapPtr).getSkBitmap(&bitmap); in getTransparentRegion()
|
H A D | RenderEffect.cpp | 65 sk_sp<SkImage> image = android::bitmap::toBitmap(bitmapHandle).makeImage(); in createBitmapEffect()
|
H A D | BitmapRegionDecoder.cpp | 260 recycledBitmap = &bitmap::toBitmap(inBitmapHandle); in nativeDecodeRegion()
|
H A D | android_graphics_HardwareRenderer.cpp | 329 bitmap::toBitmap(bitmapPtr).getSkBitmap(&bitmap); in android_view_ThreadedRenderer_copyLayerInto() 671 bitmap::toBitmap(bitmapPtr).getSkBitmap(&bitmap); in getDestinationBitmap()
|
H A D | Shader.cpp | 79 auto& bitmap = android::bitmap::toBitmap(bitmapHandle); in createBitmapShaderHelper()
|
H A D | BitmapFactory.cpp | 459 reuseBitmap = &bitmap::toBitmap(inBitmapHandle); in doDecode()
|
/aosp14/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/getflow/ |
H A D | GetCredentialComponents.kt | 48 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 D | CreateCredentialComponents.kt | 48 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 D | Gesture.java | 185 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 D | PdfRenderer.cpp | 78 bitmap::toBitmap(bitmapPtr).getSkBitmap(&skBitmap); in nativeRenderPage()
|
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | FaceSquareFilterTest.java | 157 Bitmap outputBitmap = outputImage.toBitmap(); in testFaceSquareFilter()
|
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | ImageGoodnessFilter.java | 171 Bitmap bitmap = inputImage.toBitmap(); in onProcess()
|