Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/
DTextInterpolatorTest.kt98 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) in testStartState()
99 val expected = makeLayout(TEXT, START_PAINT).toBitmap(BMP_WIDTH, BMP_HEIGHT) in testStartState()
116 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) in testEndState()
117 val expected = makeLayout(TEXT, END_PAINT).toBitmap(BMP_WIDTH, BMP_HEIGHT) in testEndState()
137 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) in testMiddleState()
139 .toBitmap(BMP_WIDTH, BMP_HEIGHT))).isFalse() in testMiddleState()
141 .toBitmap(BMP_WIDTH, BMP_HEIGHT))).isFalse() in testMiddleState()
156 val expected = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) in testRebase()
161 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) in testRebase()
179 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) in testBidi_LTR()
[all …]
/frameworks/base/libs/hwui/apex/
Dandroid_bitmap.cpp44 SkSafeRef(TypeCast::toBitmap(bitmap)); in ABitmap_acquireRef()
48 SkSafeUnref(TypeCast::toBitmap(bitmap)); in ABitmap_releaseRef()
115 TypeCast::toBitmap(srcBitmapHandle)->getSkBitmap(&srcBitmap); in ABitmap_copy()
138 Bitmap* bitmap = TypeCast::toBitmap(bitmapHandle); in ABitmap_getInfo()
143 Bitmap* bitmap = TypeCast::toBitmap(bitmapHandle); in ABitmap_getDataSpace()
156 Bitmap* bitmap = TypeCast::toBitmap(bitmapHandle); in ABitmap_getPixels()
172 Bitmap* bitmap = TypeCast::toBitmap(bitmapHandle); in ABitmap_notifyPixelsChanged()
308 Bitmap* bitmap = TypeCast::toBitmap(bitmapHandle); in ABitmap_getHardwareBuffer()
DTypeCast.h36 static inline Bitmap* toBitmap(ABitmap* bitmap) { in toBitmap() function
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/common/ui/compose/
DIcon.kt26 import androidx.core.graphics.drawable.toBitmap
43 Icon(icon.drawable.toBitmap().asImageBitmap(), contentDescription, modifier, tint) in Icon()
/frameworks/base/packages/CredentialManager/wear/src/com/android/credentialmanager/ui/components/
DSignInHeader.kt30 import androidx.core.graphics.drawable.toBitmap
45 bitmap = icon.toBitmap().asImageBitmap(), in SignInHeader()
DCredentialsScreenChip.kt31 import androidx.core.graphics.drawable.toBitmap
101 bitmap = checkNotNull(icon?.toBitmap()?.asImageBitmap()), in CredentialsScreenChip()
112 icon?.toBitmap()?.asImageBitmap()?.let { in CredentialsScreenChip()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
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
DScrollCaptureController.java91 public Bitmap toBitmap() { in toBitmap() method in ScrollCaptureController.LongScreenshot
92 return mImageTileSet.toBitmap(); in toBitmap()
95 public Bitmap toBitmap(Rect bounds) { in toBitmap() method in ScrollCaptureController.LongScreenshot
96 return mImageTileSet.toBitmap(bounds); in toBitmap()
/frameworks/base/libs/hwui/jni/
DBitmap.h40 Bitmap& toBitmap(jlong bitmapHandle);
Dandroid_graphics_Canvas.cpp76 bitmap::toBitmap(bitmapHandle).getSkBitmap(&bitmap); in initRaster()
86 bitmap::toBitmap(bitmapHandle).getSkBitmap(&bitmap); in setBitmap()
487 Bitmap& bitmap = android::bitmap::toBitmap(bitmapHandle); in drawNinePatch()
517 Bitmap& bitmap = android::bitmap::toBitmap(bitmapHandle); in drawBitmap()
552 Bitmap& bitmap = android::bitmap::toBitmap(bitmapHandle); in drawBitmapMatrix()
563 Bitmap& bitmap = android::bitmap::toBitmap(bitmapHandle); in drawBitmapRect()
617 Bitmap& bitmap = android::bitmap::toBitmap(bitmapHandle); in drawBitmapMesh()
DNinePatch.cpp91 bitmap::toBitmap(bitmapPtr).getSkBitmap(&bitmap); in getTransparentRegion()
DRenderEffect.cpp65 sk_sp<SkImage> image = android::bitmap::toBitmap(bitmapHandle).makeImage(); in createBitmapEffect()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFrameImage2D.java73 public Bitmap toBitmap() { in toBitmap() method in FrameImage2D
177 Bitmap srcBitmap = srcImage.toBitmap(); in cpuImageCopy()
DSurfaceHolderTarget.java165 Bitmap bitmap = image.toBitmap(); in renderCanvas()
DCropFilter.java139 Bitmap sourceBitmap = inputImage.toBitmap(); in onProcess()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/model/
DBiometricPromptRequestTest.kt10 import com.android.systemui.biometrics.Utils.toBitmap in <lambda>()
32 val logoBitmapFromRes = context.getDrawable(logoRes).toBitmap() in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DSingleLineViewInflaterTest.kt31 import androidx.core.graphics.drawable.toBitmap in <lambda>()
443 toBitmap().pixelsEqualTo(t?.toBitmap(), false) in <lambda>()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/
DBiometricHandler.kt29 import androidx.core.graphics.drawable.toBitmap in <lambda>()
469 icon = primaryAccountsProviderInfo?.icon?.toBitmap() in retrieveBiometricGetDisplayValues()
515 icon = createProviderInfo.icon.toBitmap() in retrieveBiometricCreateDisplayValues()
/frameworks/base/core/java/android/gesture/
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
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/createflow/
DCreateCredentialComponents.kt48 import androidx.core.graphics.drawable.toBitmap in <lambda>()
382 bitmap = providerInfo.icon.toBitmap().asImageBitmap(), in CreationSelectionCard()
523 .toBitmap().asImageBitmap(), in PrimaryCreateOptionRow()
559 iconImageBitmap = providerInfo.icon.toBitmap().asImageBitmap(), in MoreOptionsInfoRow()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/getflow/
DGetCredentialComponents.kt55 import androidx.core.graphics.drawable.toBitmap in <lambda>()
754 bitmap = icon.toBitmap().asImageBitmap(), in HeadlineProviderIconAndName()
897 if (overrideIcon == null) credentialEntryInfo.icon?.toBitmap()?.asImageBitmap() else null,
941 iconImageBitmap = authenticationEntryInfo.icon.toBitmap().asImageBitmap(), in AuthenticationEntryRow()
959 iconImageBitmap = actionEntryInfo.icon.toBitmap().asImageBitmap(), in ActionEntryRow()
/frameworks/base/packages/SystemUI/shared/biometrics/src/com/android/systemui/biometrics/
DUtils.kt132 fun Drawable?.toBitmap(): Bitmap? { in toBitmap() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/
DBouncerViewModel.kt25 import androidx.core.graphics.drawable.toBitmap in <lambda>()
87 .map { it.image.toBitmap() } in <lambda>()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
DFaceSquareFilterTest.java157 Bitmap outputBitmap = outputImage.toBitmap(); in testFaceSquareFilter()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/autofill/
DCredentialAutofillService.kt39 import androidx.core.graphics.drawable.toBitmap in <lambda>()
273 val icon: Icon? = Icon.createWithBitmap(actionEntry.icon.toBitmap()) in <lambda>()

12