/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/ |
D | TextInterpolatorTest.kt | 98 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/ |
D | android_bitmap.cpp | 44 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()
|
D | TypeCast.h | 36 static inline Bitmap* toBitmap(ABitmap* bitmap) { in toBitmap() function
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/common/ui/compose/ |
D | Icon.kt | 26 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/ |
D | SignInHeader.kt | 30 import androidx.core.graphics.drawable.toBitmap 45 bitmap = icon.toBitmap().asImageBitmap(), in SignInHeader()
|
D | CredentialsScreenChip.kt | 31 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/ |
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
|
D | ScrollCaptureController.java | 91 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/ |
D | Bitmap.h | 40 Bitmap& toBitmap(jlong bitmapHandle);
|
D | android_graphics_Canvas.cpp | 76 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()
|
D | NinePatch.cpp | 91 bitmap::toBitmap(bitmapPtr).getSkBitmap(&bitmap); in getTransparentRegion()
|
D | RenderEffect.cpp | 65 sk_sp<SkImage> image = android::bitmap::toBitmap(bitmapHandle).makeImage(); in createBitmapEffect()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | FrameImage2D.java | 73 public Bitmap toBitmap() { in toBitmap() method in FrameImage2D 177 Bitmap srcBitmap = srcImage.toBitmap(); in cpuImageCopy()
|
D | SurfaceHolderTarget.java | 165 Bitmap bitmap = image.toBitmap(); in renderCanvas()
|
D | CropFilter.java | 139 Bitmap sourceBitmap = inputImage.toBitmap(); in onProcess()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/model/ |
D | BiometricPromptRequestTest.kt | 10 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/ |
D | SingleLineViewInflaterTest.kt | 31 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/ |
D | BiometricHandler.kt | 29 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/ |
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
|
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/createflow/ |
D | CreateCredentialComponents.kt | 48 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/ |
D | GetCredentialComponents.kt | 55 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/ |
D | Utils.kt | 132 fun Drawable?.toBitmap(): Bitmap? { in toBitmap() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/ |
D | BouncerViewModel.kt | 25 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/ |
D | FaceSquareFilterTest.java | 157 Bitmap outputBitmap = outputImage.toBitmap(); in testFaceSquareFilter()
|
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/autofill/ |
D | CredentialAutofillService.kt | 39 import androidx.core.graphics.drawable.toBitmap in <lambda>() 273 val icon: Icon? = Icon.createWithBitmap(actionEntry.icon.toBitmap()) in <lambda>()
|