/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/bitmap/ |
H A D | bitmap_test.cpp | 51 std::unique_ptr<Bitmap> bitmap = std::make_unique<Bitmap>(); variable 65 std::unique_ptr<Bitmap> bitmap = std::make_unique<Bitmap>(); variable 96 std::unique_ptr<Bitmap> bitmap = std::make_unique<Bitmap>(); variable 118 std::unique_ptr<Bitmap> bitmap = std::make_unique<Bitmap>(); variable 140 std::unique_ptr<Bitmap> bitmap = std::make_unique<Bitmap>(); variable 157 std::unique_ptr<Bitmap> bitmap = std::make_unique<Bitmap>(); variable 173 std::unique_ptr<Bitmap> bitmap = std::make_unique<Bitmap>(); variable 189 std::unique_ptr<Bitmap> bitmap = std::make_unique<Bitmap>(); variable 205 std::unique_ptr<Bitmap> bitmap = std::make_unique<Bitmap>(); variable 221 std::unique_ptr<Bitmap> bitmap = std::make_unique<Bitmap>(); variable [all …]
|
/aosp14/frameworks/base/opengl/java/android/opengl/ |
H A 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 …]
|
/aosp14/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
H A 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()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_bitmap.cpp | 55 Bitmap* bitmap = new Bitmap; in OH_Drawing_BitmapCreateFromPixels() local 67 Bitmap* bitmap = CastToBitmap(cBitmap); in OH_Drawing_BitmapBuild() local 80 Bitmap* bitmap = CastToBitmap(cBitmap); in OH_Drawing_BitmapGetWidth() local 90 Bitmap* bitmap = CastToBitmap(cBitmap); in OH_Drawing_BitmapGetHeight() local 100 Bitmap* bitmap = CastToBitmap(cBitmap); in OH_Drawing_BitmapGetColorFormat() local 110 Bitmap* bitmap = CastToBitmap(cBitmap); in OH_Drawing_BitmapGetAlphaFormat() local 119 Bitmap* bitmap = CastToBitmap(cBitmap); in OH_Drawing_BitmapGetPixels() local
|
/ohos5.0/foundation/communication/dsoftbus/core/common/bitmap/ |
H A D | softbus_bitmap.c | 21 void SoftbusBitmapSet(uint32_t *bitmap, const uint8_t pos) in SoftbusBitmapSet() 29 void SoftbusBitmapClr(uint32_t *bitmap, const uint8_t pos) in SoftbusBitmapClr() 37 bool SoftbusIsBitmapSet(const uint32_t *bitmap, const uint8_t pos) in SoftbusIsBitmapSet()
|
/aosp14/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A 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()
|
/aosp14/frameworks/base/services/companion/java/com/android/server/companion/datatransfer/contextsync/ |
H A 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()
|
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/bpf/include/netfirewall/ |
H A D | netfirewall_bitmap.h | 23 static __always_inline void bitmap_and(bitmap_ptr bitmap, bitmap_ptr val) in bitmap_and() 30 static __always_inline void bitmap_and_inv(bitmap_ptr bitmap, bitmap_ptr val) in bitmap_and_inv() 37 static __always_inline bool bitmap_positive(bitmap_ptr bitmap) in bitmap_positive()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/image/apng/ |
H A D | apng_image_player.cpp | 472 SkBitmap bitmap; in GetImage() local 484 SkBitmap bitmap; in GetImage() local 500 SkBitmap bitmap; in GetImage() local 521 SkBitmap bitmap; in GetImage() local 534 SkBitmap bitmap; in GetImage() local 550 SkBitmap bitmap; in GetImage() local 562 SkBitmap bitmap; in GetImage() local 586 RSBitmap bitmap; in GetImage() local 597 RSBitmap bitmap; in GetImage() local 723 SkBitmap bitmap; in DecodeFrameImage() local [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/draw/ |
H A D | surface_test.cpp | 64 Bitmap bitmap; variable 78 Bitmap bitmap; variable 144 Bitmap bitmap; variable 176 Bitmap bitmap; variable 209 Bitmap bitmap; variable 228 Bitmap bitmap; variable
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/image/ |
H A D | image_test.cpp | 288 Bitmap bitmap; variable 301 Bitmap bitmap; variable 319 Bitmap bitmap; variable 337 Bitmap bitmap; variable 354 Bitmap bitmap; variable 383 Bitmap bitmap; variable 398 Bitmap bitmap; variable 416 Bitmap bitmap; variable 481 Bitmap bitmap; variable 544 auto bitmap = std::make_shared<Bitmap>(); variable
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/font/ |
H A D | ui_font_cache.cpp | 42 void UIFontCache::UpdateLru(Bitmap* bitmap) in UpdateLru() 51 Bitmap* bitmap = nullptr; in GetSpace() local 88 Bitmap* bitmap = reinterpret_cast<Bitmap*>(addr - sizeof(Bitmap)); in PutSpace() local 98 Bitmap* bitmap = nullptr; in GetBitmap() local
|
/aosp14/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
H A 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()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/graphics/ |
H A D | ImageLoaderTest.kt | 44 val bitmap = regex 101 val bitmap = regex 120 val bitmap = regex 133 val bitmap = regex 148 val bitmap = BitmapFactory.decodeFile(imgFile.absolutePath) regex 156 val bitmap = BitmapFactory.decodeFile(imgFile.absolutePath) regex 165 val bitmap = regex 177 val bitmap = regex 191 val bitmap = regex 210 val bitmap = regex
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/ |
H A D | drawing_image_test.cpp | 50 OH_Drawing_Bitmap* bitmap = OH_Drawing_BitmapCreate(); variable 75 OH_Drawing_Bitmap* bitmap = OH_Drawing_BitmapCreate(); variable 99 OH_Drawing_Bitmap* bitmap = OH_Drawing_BitmapCreate(); variable 124 OH_Drawing_Bitmap* bitmap = OH_Drawing_BitmapCreate(); variable
|
/aosp14/frameworks/base/libs/hwui/apex/ |
H A 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
|
H A 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()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/frame_analyzer/unittest/ |
H A D | frame_painter_test.cpp | 65 Drawing::Bitmap bitmap; variable 83 Drawing::Bitmap bitmap; variable 101 Drawing::Bitmap bitmap; variable 119 Drawing::Bitmap bitmap; variable
|
/aosp14/frameworks/base/native/graphics/jni/ |
H A 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
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/ |
H A D | skia_image_test.cpp | 54 Bitmap bitmap; variable 102 Bitmap bitmap; variable 130 std::unique_ptr<Bitmap> bitmap = std::make_unique<Bitmap>(); variable 228 Bitmap bitmap; variable 254 Bitmap bitmap; variable 273 Bitmap bitmap; variable 324 Bitmap bitmap; variable 372 Bitmap bitmap; variable 472 Bitmap bitmap; variable 513 Bitmap bitmap; variable
|
/aosp14/frameworks/base/libs/hwui/jni/ |
H A D | Bitmap.cpp | 69 Bitmap& bitmap() { in bitmap() function in android::BitmapWrapper 175 namespace bitmap { namespace 316 SkBitmap bitmap; in Bitmap_creator() local 839 SkBitmap bitmap; in Bitmap_writeToParcel() local 962 SkBitmap bitmap; in Bitmap_getPixel() local 976 SkBitmap bitmap; in Bitmap_getColor() local 990 SkBitmap bitmap; in Bitmap_getPixels() local 1006 SkBitmap bitmap; in Bitmap_setPixel() local 1021 SkBitmap bitmap; in Bitmap_setPixels() local 1029 SkBitmap bitmap; in Bitmap_copyPixelsToBuffer() local [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallpapers/ |
H A 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
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/image/bitmap_fuzzer/ |
H A D | bitmap_fuzzer.cpp | 41 Bitmap bitmap; in BitmapFuzzTest001() local 59 Bitmap bitmap; in BitmapFuzzTest002() local 91 Bitmap bitmap; in BitmapFuzzTest003() local 121 Bitmap bitmap; in BitmapFuzzTest004() local 146 Bitmap bitmap; in BitmapFuzzTest005() local 168 Bitmap bitmap; in BitmapFuzzTest006() local 193 Bitmap bitmap; in BitmapFuzzTest007() local
|
/aosp14/frameworks/base/libs/hwui/ |
H A 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()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
H A 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
|