/frameworks/base/opengl/java/android/opengl/ |
D | GLUtils.java | 40 public static int getInternalFormat(Bitmap bitmap) { in getInternalFormat() 62 public static int getType(Bitmap bitmap) { in getType() 99 Bitmap bitmap, int border) { in texImage2D() 125 Bitmap bitmap, int type, int border) { in texImage2D() 146 public static void texImage2D(int target, int level, Bitmap bitmap, in texImage2D() 182 Bitmap bitmap) { in texSubImage2D() 207 Bitmap bitmap, int format, int type) { in texSubImage2D() 264 private static native int native_getInternalFormat(Bitmap bitmap); in native_getInternalFormat() 265 private static native int native_getType(Bitmap bitmap); in native_getType() 267 Bitmap bitmap, int type, int border); in native_texImage2D() [all …]
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
D | BitmapSerializeUtils.java | 43 public static void readBitmapPixels(Bitmap bitmap, ParcelFileDescriptor source) { in readBitmapPixels() 53 public static void writeBitmapPixels(Bitmap bitmap, ParcelFileDescriptor destination) { in writeBitmapPixels() 57 private static native void nativeReadBitmapPixels(Bitmap bitmap, int fd); in nativeReadBitmapPixels() 59 private static native void nativeWriteBitmapPixels(Bitmap bitmap, int fd); in nativeWriteBitmapPixels()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/graphics/ |
D | ImageLoaderTest.kt | 44 val bitmap = in setUp() constant 101 val bitmap = in validBitmapResource_loadDrawable_returnsBitmapDrawable() constant 120 val bitmap = in validBitmapResource_loadBitmap_returnsBitmapDrawable() constant 133 val bitmap = in validBitmapUri_returnsBitmapDrawable() constant 148 val bitmap = BitmapFactory.decodeFile(imgFile.absolutePath) in validBitmapFile_returnsBitmapDrawable() constant 156 val bitmap = BitmapFactory.decodeFile(imgFile.absolutePath) in validInputStream_returnsBitmapDrawable() constant 165 val bitmap = in validBitmapIcon_returnsBitmapDrawable() constant 177 val bitmap = in validUriIcon_returnsBitmapDrawable() constant 191 val bitmap = in validDataIcon_returnsBitmapDrawable() constant 210 val bitmap = in validSystemResourceIcon_returnsBitmapDrawable() constant
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
D | BitmapTexture.java | 31 public BitmapTexture(Bitmap bitmap) { in BitmapTexture() 35 public BitmapTexture(Bitmap bitmap, boolean hasBorder) { in BitmapTexture() 42 protected void onFreeBitmap(Bitmap bitmap) { in onFreeBitmap()
|
D | UploadedTexture.java | 124 Bitmap bitmap = sBorderLines.get(key); in getBorderLine() local 129 sBorderLines.put(key.clone(), bitmap); in getBorderLine() local 166 protected abstract void onFreeBitmap(Bitmap bitmap); in onFreeBitmap() 193 Bitmap bitmap = getBitmap(); in updateContent() local 212 Bitmap bitmap = getBitmap(); in uploadToCanvas() local
|
/frameworks/base/services/companion/java/com/android/server/companion/datatransfer/contextsync/ |
D | BitmapUtils.java | 35 final Bitmap bitmap = ((BitmapDrawable) drawable).getBitmap(); in renderDrawableToByteArray() local 47 final Bitmap bitmap = Bitmap.createBitmap(APP_ICON_BITMAP_DIMENSION, in renderDrawableToByteArray() local 60 private static byte[] renderBitmapToByteArray(Bitmap bitmap) { in renderBitmapToByteArray()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
D | BitmapUtils.java | 116 Bitmap bitmap, float scale, boolean recycle) { in resizeBitmapByScale() 130 private static Bitmap.Config getConfig(Bitmap bitmap) { in getConfig() 139 Bitmap bitmap, int maxLength, boolean recycle) { in resizeDownBySideLength() 148 public static Bitmap resizeAndCropCenter(Bitmap bitmap, int size, boolean recycle) { in resizeAndCropCenter() 169 public static void recycleSilently(Bitmap bitmap) { in recycleSilently() 184 Bitmap bitmap = Bitmap.createBitmap(source, 0, 0, w, h, m, true); in rotateBitmap() local 207 Bitmap bitmap = BitmapFactory.decodeByteArray(data, 0, data.length); in createVideoThumbnail() local 237 public static byte[] compressToBytes(Bitmap bitmap) { in compressToBytes() 241 public static byte[] compressToBytes(Bitmap bitmap, int quality) { in compressToBytes()
|
/frameworks/base/libs/hwui/apex/ |
D | android_bitmap.cpp | 37 Bitmap* bitmap = GraphicsJNI::getNativeBitmap(env, bitmapObj); in ABitmap_acquireBitmapFromJava() local 45 void ABitmap_acquireRef(ABitmap* bitmap) { in ABitmap_acquireRef() 49 void ABitmap_releaseRef(ABitmap* bitmap) { in ABitmap_releaseRef() 140 Bitmap* bitmap = TypeCast::toBitmap(bitmapHandle); in ABitmap_getInfo() local 145 Bitmap* bitmap = TypeCast::toBitmap(bitmapHandle); in ABitmap_getDataSpace() local 158 Bitmap* bitmap = TypeCast::toBitmap(bitmapHandle); in ABitmap_getPixels() local 174 Bitmap* bitmap = TypeCast::toBitmap(bitmapHandle); in ABitmap_notifyPixelsChanged() local 297 SkBitmap bitmap; in ABitmap_compress() local 310 Bitmap* bitmap = TypeCast::toBitmap(bitmapHandle); in ABitmap_getHardwareBuffer() local
|
D | TypeCast.h | 32 static inline Bitmap& toBitmapRef(const ABitmap* bitmap) { in toBitmapRef() 36 static inline Bitmap* toBitmap(ABitmap* bitmap) { in toBitmap() 40 static inline ABitmap* toABitmap(Bitmap* bitmap) { in toABitmap()
|
D | android_canvas.cpp | 73 SkBitmap bitmap; in ACanvas_createCanvas() local 84 SkBitmap bitmap; in ACanvas_setBuffer() local 107 void ACanvas_drawBitmap(ACanvas* canvas, const ABitmap* bitmap, float left, float top, in ACanvas_drawBitmap()
|
/frameworks/base/native/graphics/jni/ |
D | bitmap.cpp | 39 android::graphics::Bitmap bitmap(env, jbitmap); in AndroidBitmap_getDataSpace() local 52 android::graphics::Bitmap bitmap(env, jbitmap); in AndroidBitmap_lockPixels() local 72 android::graphics::Bitmap bitmap(env, jbitmap); in AndroidBitmap_unlockPixels() local 88 android::graphics::Bitmap bitmap(env, jbitmap); in AndroidBitmap_getHardwareBuffer() local
|
/frameworks/base/libs/hwui/jni/ |
D | Bitmap.cpp | 52 explicit BitmapWrapper(Bitmap* bitmap) in BitmapWrapper() 69 Bitmap& bitmap() { in bitmap() function in android::BitmapWrapper 175 namespace bitmap { namespace 200 jobject createBitmap(JNIEnv* env, Bitmap* bitmap, in createBitmap() 225 LocalScopedBitmap bitmap(bitmapHandle); in toSkBitmap() local 241 Bitmap* GraphicsJNI::getNativeBitmap(JNIEnv* env, jobject bitmap) { in getNativeBitmap() 250 SkImageInfo GraphicsJNI::getBitmapInfo(JNIEnv* env, jobject bitmap, uint32_t* outRowBytes, in getBitmapInfo() 316 SkBitmap bitmap; in Bitmap_creator() local 384 sk_sp<Bitmap> bitmap(Bitmap::allocateHardwareBitmap(src)); in Bitmap_copy() local 404 auto bitmap = allocator.getStorageObjAndReset(); in Bitmap_copy() local [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallpapers/ |
D | WallpaperLocalColorExtractorTest.java | 102 Bitmap bitmap = mock(Bitmap.class); in getMockBitmap() local 189 Bitmap bitmap = getMockBitmap(width, height); in testMiniBitmapCreation() local 210 Bitmap bitmap = getMockBitmap(width, height); in testSmallMiniBitmapCreation() local 226 Bitmap bitmap = getMockBitmap(HIGH_BMP_WIDTH, HIGH_BMP_HEIGHT); in testNewColorExtraction() local 259 Bitmap bitmap = getMockBitmap(HIGH_BMP_WIDTH, HIGH_BMP_HEIGHT); in testRemoveColors() local 297 Bitmap bitmap = getMockBitmap(HIGH_BMP_WIDTH, HIGH_BMP_HEIGHT); in testRecomputeColorExtraction() local 340 Bitmap bitmap = getMockBitmap(HIGH_BMP_WIDTH, HIGH_BMP_HEIGHT); in testCleanUp() local
|
/frameworks/base/libs/hwui/ |
D | Readback.cpp | 172 SkBitmap* bitmap = &skBitmap; in copySurfaceInto() local 270 CopyResult Readback::copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap) { in copyHWBitmapInto() 277 CopyResult Readback::copyLayerInto(DeferredLayerUpdater* deferredLayer, SkBitmap* bitmap) { in copyLayerInto() 297 CopyResult Readback::copyImageInto(const sk_sp<SkImage>& image, SkBitmap* bitmap) { in copyImageInto() 303 SkBitmap* bitmap) { in copyImageInto() 343 SkBitmap* bitmap) { in copyLayerInto()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ScreenshotNotificationSmartActionsTest.java | 82 Bitmap bitmap = mock(Bitmap.class); in testExceptionHandlingInGetSmartActionsFuture() local 127 Bitmap bitmap = mock(Bitmap.class); in testUnsupportedBitmapConfiguration() local 143 Bitmap bitmap = mock(Bitmap.class); in testScreenshotNotificationSmartActionsProviderInvokedOnce() local 157 Bitmap bitmap = mock(Bitmap.class); in testSupportedBitmapConfiguration() local
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | BitmapDrawable.java | 140 public BitmapDrawable(Bitmap bitmap) { in BitmapDrawable() 148 public BitmapDrawable(Resources res, Bitmap bitmap) { in BitmapDrawable() 167 Bitmap bitmap = null; in BitmapDrawable() local 200 Bitmap bitmap = null; in BitmapDrawable() local 233 final Bitmap bitmap = mBitmapState.mBitmap; in computeBitmapSize() local 245 public void setBitmap(@Nullable Bitmap bitmap) { in setBitmap() 491 final Bitmap bitmap = mBitmapState.mBitmap; in onBoundsChange() local 500 final Bitmap bitmap = mBitmapState.mBitmap; in draw() local 577 private void updateShaderMatrix(@NonNull Bitmap bitmap, @NonNull Paint paint, in updateShaderMatrix() 843 Bitmap bitmap = null; in updateStateFromTypedArray() local [all …]
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | PixelCopyWindow.java | 86 final Bitmap bitmap = Bitmap.createBitmap( in takeScreenshot() local 88 PixelCopy.request(getWindow(), srcRect, bitmap, (result) -> { in takeScreenshot() local
|
/frameworks/base/packages/SettingsLib/Spa/screenshot/src/com/android/settingslib/spa/screenshot/util/ |
D | Bitmap.kt | 30 val bitmap = in View() constant
|
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
D | DpiTestActivity.java | 165 Bitmap bitmap; in addBitmapDrawable() local 191 Bitmap bitmap; in addCanvasBitmap() local 215 Bitmap bitmap; in loadAndPrintDpi() local 229 public ScaledBitmapView(Context context, Bitmap bitmap) { in ScaledBitmapView()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/ |
D | BitmapLoader.java | 94 Bitmap bitmap = Bitmap.createBitmap(mWidth, mHeight, Bitmap.Config.ARGB_8888); in doInBackground() local 111 protected void onPostExecute(Bitmap bitmap) { in onPostExecute() 122 Bitmap bitmap = getLruCache(context).get(id); in loadBitmap() local
|
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/test/ |
D | DividerItemDecorationTest.java | 69 Bitmap bitmap = drawDecoration(decoration, true, true); in testShouldDrawDividerBelowWithEitherCondition() local 112 Bitmap bitmap = drawDecoration(decoration, true, true); in testShouldDrawDividerBelowWithBothCondition() local 148 Bitmap bitmap = Bitmap.createBitmap(20, 20, Bitmap.Config.ARGB_4444); in drawDecoration() local
|
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/ |
D | AdaptiveOutlineDrawable.java | 64 public AdaptiveOutlineDrawable(Resources resources, Bitmap bitmap) { in AdaptiveOutlineDrawable() 70 public AdaptiveOutlineDrawable(Resources resources, Bitmap bitmap, in AdaptiveOutlineDrawable() 77 private void init(Resources resources, Bitmap bitmap, in init()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | FrameImage2D.java | 60 public void setBitmap(Bitmap bitmap) { in setBitmap() 116 private static Bitmap convertToFrameType(Bitmap bitmap, FrameType type) { in convertToFrameType() 136 private void validateBitmapSize(Bitmap bitmap, int[] dimensions) { in validateBitmapSize()
|
/frameworks/ex/framesequence/samples/FrameSequenceSamples/src/com/android/framesequence/samples/ |
D | FrameSequenceTest.java | 38 Bitmap bitmap = in acquireBitmap() local 45 public void releaseBitmap(Bitmap bitmap) { in releaseBitmap()
|
/frameworks/base/core/tests/screenshothelpertests/src/com/android/internal/util/ |
D | ScreenshotRequestTest.java | 71 Bitmap bitmap = makeHardwareBitmap(50, 50); in testProvidedScreenshot() local 113 Bitmap bitmap = makeHardwareBitmap(50, 50); in testFullScreenshot_withBitmap() local
|