Home
last modified time | relevance | path

Searched defs:bitmap (Results 1 – 25 of 232) sorted by relevance

12345678910

/aosp14/frameworks/base/opengl/java/android/opengl/
H A DGLUtils.java40 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 DBitmapSerializeUtils.java43 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()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/graphics/
H A DImageLoaderTest.kt44 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
/aosp14/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
H A DBitmapUtils.java116 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/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DBitmapTexture.java31 public BitmapTexture(Bitmap bitmap) { in BitmapTexture()
35 public BitmapTexture(Bitmap bitmap, boolean hasBorder) { in BitmapTexture()
42 protected void onFreeBitmap(Bitmap bitmap) { in onFreeBitmap()
H A DUploadedTexture.java124 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
/aosp14/frameworks/base/services/companion/java/com/android/server/companion/datatransfer/contextsync/
H A DBitmapUtils.java35 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()
/aosp14/frameworks/base/libs/hwui/apex/
H A Dandroid_bitmap.cpp37 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 DTypeCast.h32 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()
H A Dandroid_canvas.cpp73 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()
/aosp14/frameworks/base/libs/hwui/jni/
H A DBitmap.cpp69 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/native/graphics/jni/
H A Dbitmap.cpp39 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
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallpapers/
H A DWallpaperLocalColorExtractorTest.java102 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
/aosp14/frameworks/base/libs/hwui/
H A DReadback.cpp172 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 DScreenshotNotificationSmartActionsTest.java82 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
/aosp14/frameworks/base/graphics/java/android/graphics/drawable/
H A DBitmapDrawable.java140 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
843 Bitmap bitmap = null; in updateStateFromTypedArray() local
967 final Bitmap bitmap = mBitmapState.mBitmap; in getOpacity() local
[all …]
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DPixelCopyWindow.java86 final Bitmap bitmap = Bitmap.createBitmap( in takeScreenshot() local
88 PixelCopy.request(getWindow(), srcRect, bitmap, (result) -> { in takeScreenshot() local
/aosp14/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
H A DDpiTestActivity.java165 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()
/aosp14/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/
H A DBitmapLoader.java94 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
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameImage2D.java60 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()
/aosp14/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/
H A DAdaptiveOutlineDrawable.java64 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()
/aosp14/frameworks/base/core/tests/screenshothelpertests/src/com/android/internal/util/
H A DScreenshotRequestTest.java71 Bitmap bitmap = makeHardwareBitmap(50, 50); in testProvidedScreenshot() local
113 Bitmap bitmap = makeHardwareBitmap(50, 50); in testFullScreenshot_withBitmap() local
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaMetadataRetrieverTest.java101 Bitmap bitmap = retriever.getFrameAtTime(-1); in testThumbnailCapture() local
177 Bitmap bitmap = retriever.getFrameAtTime(-1); in testBasicNormalMethodCallSequence() local
/aosp14/frameworks/base/core/java/android/text/style/
H A DImageSpan.java96 public ImageSpan(@NonNull Context context, @NonNull Bitmap bitmap) { in ImageSpan()
110 public ImageSpan(@NonNull Context context, @NonNull Bitmap bitmap, int verticalAlignment) { in ImageSpan()
233 Bitmap bitmap = null; in getDrawable() local
/aosp14/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaRecordingCanvas.cpp211 void SkiaRecordingCanvas::handleMutableImages(Bitmap& bitmap, DrawImagePayload& payload) { in handleMutableImages()
230 void SkiaRecordingCanvas::drawBitmap(Bitmap& bitmap, float left, float top, const Paint* paint) { in drawBitmap()
243 void SkiaRecordingCanvas::drawBitmap(Bitmap& bitmap, const SkMatrix& matrix, const Paint* paint) { in drawBitmap()
259 void SkiaRecordingCanvas::drawBitmap(Bitmap& bitmap, float srcLeft, float srcTop, float srcRight, in drawBitmap()
278 void SkiaRecordingCanvas::drawNinePatch(Bitmap& bitmap, const Res_png_9patch& chunk, float dstLeft, in drawNinePatch()

12345678910