/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/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/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() 126 Bitmap bitmap, int type, int border) { in texImage2D() 148 public static void texImage2D(int target, int level, Bitmap bitmap, in texImage2D() 184 Bitmap bitmap) { in texSubImage2D() 210 Bitmap bitmap, int format, int type) { in texSubImage2D()
|
/frameworks/base/core/jni/android/graphics/ |
D | Bitmap.cpp | 47 explicit BitmapWrapper(Bitmap* bitmap) in BitmapWrapper() 64 Bitmap& bitmap() { in bitmap() function in android::BitmapWrapper 170 namespace bitmap { namespace 195 jobject createBitmap(JNIEnv* env, Bitmap* bitmap, in createBitmap() 220 LocalScopedBitmap bitmap(bitmapHandle); in toSkBitmap() local 224 Bitmap& toBitmap(JNIEnv* env, jobject bitmap) { in toBitmap() 238 void imageInfo(JNIEnv* env, jobject bitmap, AndroidBitmapInfo* info) { in imageInfo() 270 void* lockPixels(JNIEnv* env, jobject bitmap) { in lockPixels() 287 bool unlockPixels(JNIEnv* env, jobject bitmap) { in unlockPixels() 359 SkBitmap bitmap; in Bitmap_creator() local [all …]
|
/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/packages/SystemUI/src/com/android/systemui/glwallpaper/ |
D | ImageProcessHelper.java | 69 void start(Bitmap bitmap) { in start() 87 Bitmap bitmap = bitmaps[0]; in doInBackground() local 103 public float compute(Bitmap bitmap) { in compute() 115 private Bitmap toGrayscale(Bitmap bitmap) { in toGrayscale() 146 private boolean isSolidColor(Bitmap bitmap, int[] histogram) { in isSolidColor() 167 public float compute(Bitmap bitmap, int[] histogram) { in compute() 190 public float compute(Bitmap bitmap, int[] histogram) { in compute() 232 float compute(Bitmap bitmap, int[] histogram); in compute()
|
/frameworks/base/libs/hwui/ |
D | Readback.cpp | 38 CopyResult Readback::copySurfaceInto(Surface& surface, const Rect& srcRect, SkBitmap* bitmap) { in copySurfaceInto() 75 CopyResult Readback::copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap) { in copyHWBitmapInto() 86 CopyResult Readback::copyLayerInto(DeferredLayerUpdater* deferredLayer, SkBitmap* bitmap) { in copyLayerInto() 107 const Rect& srcRect, SkBitmap* bitmap) { in copyImageInto() 160 SkBitmap* bitmap) { in copyLayerInto()
|
D | HardwareBitmapUploader.cpp | 73 bool uploadHardwareBitmap(const SkBitmap& bitmap, const FormatInfo& format, in uploadHardwareBitmap() 167 bool onUploadHardwareBitmap(const SkBitmap& bitmap, const FormatInfo& format, in onUploadHardwareBitmap() 265 bool onUploadHardwareBitmap(const SkBitmap& bitmap, const FormatInfo& format, in onUploadHardwareBitmap() 351 SkBitmap bitmap; in makeHwCompatible() local 387 SkBitmap bitmap = makeHwCompatible(format, sourceBitmap); in allocateHardwareBitmap() local
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ScreenshotNotificationSmartActionsTest.java | 79 Bitmap bitmap = mock(Bitmap.class); in testExceptionHandlingInGetSmartActionsFuture() local 121 Bitmap bitmap = mock(Bitmap.class); in testUnsupportedBitmapConfiguration() local 136 Bitmap bitmap = mock(Bitmap.class); in testScreenshotNotificationSmartActionsProviderInvokedOnce() local 148 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 244 public void setBitmap(Bitmap bitmap) { in setBitmap() 490 final Bitmap bitmap = mBitmapState.mBitmap; in onBoundsChange() local 499 final Bitmap bitmap = mBitmapState.mBitmap; in draw() local 576 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/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/graphics/java/android/graphics/ |
D | BitmapShader.java | 47 public BitmapShader(@NonNull Bitmap bitmap, @NonNull TileMode tileX, @NonNull TileMode tileY) { in BitmapShader() 51 private BitmapShader(Bitmap bitmap, int tileX, int tileY) { in BitmapShader()
|
/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/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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaMetadataRetrieverTest.java | 89 Bitmap bitmap = retriever.getFrameAtTime(-1); in testThumbnailCapture() local 147 Bitmap bitmap = retriever.getFrameAtTime(-1); in testBasicNormalMethodCallSequence() local
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/ |
D | PhotoBitmapLoader.java | 77 Bitmap bitmap = result != null ? result.bitmap : null; in deliverResult() local 168 protected void onReleaseResources(Bitmap bitmap) { in onReleaseResources()
|
/frameworks/base/core/java/android/text/style/ |
D | ImageSpan.java | 96 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
|
/frameworks/base/core/java/android/app/ |
D | SharedElementCallback.java | 183 Bitmap bitmap = TransitionUtils.createDrawableBitmap(d, imageView); in onCaptureSharedElementSnapshot() local 239 Bitmap bitmap = bundle.getParcelable(BUNDLE_SNAPSHOT_BITMAP); in onCreateSnapshotView() local 264 Bitmap bitmap = (Bitmap) snapshot; in onCreateSnapshotView() local
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | CircularBitmapDrawable.java | 105 Bitmap bitmap = placeholder.getBitmap(); in onDrawPlaceholderOrProgress() local 122 protected void onDrawCircularBitmap(final Bitmap bitmap, final Canvas canvas, in onDrawCircularBitmap() 131 protected void onDrawCircularBitmap(final Bitmap bitmap, final Canvas canvas, in onDrawCircularBitmap()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | CircularImageView.java | 74 Bitmap bitmap = bitmapDrawable.getBitmap(); in onDraw() local 95 public void drawBitmapWithCircleOnCanvas(Bitmap bitmap, Canvas canvas, in drawBitmapWithCircleOnCanvas()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/ |
D | ViewPreviewerTest.kt | 50 val bitmap = previewer.createPreview(view, width, height)!! in testCreatePreview() constant
|