/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
H A D | Exif.java | 17 package com.android.bitmap.util;
|
/frameworks/base/core/java/android/provider/ |
H A D | DocumentsContract.java | 1076 Bitmap bitmap = null; 1110 bitmap = BitmapFactory.decodeStream(is, null, opts); 1117 bitmap = BitmapFactory.decodeFileDescriptor(fd, null, opts); 1120 // Transform the bitmap if requested. We use a side-channel to 1126 final int width = bitmap.getWidth(); 1127 final int height = bitmap.getHeight(); 1131 bitmap = Bitmap.createBitmap(bitmap, 0, 0, width, height, m, false); 1137 return bitmap;
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | NotificationColorUtil.java | 83 * @param bitmap The bitmap to test. 84 * @return True if the bitmap is grayscale; false if it is color or too large to examine. 86 public boolean isGrayscaleIcon(Bitmap bitmap) { argument 88 if (bitmap.getWidth() > mGrayscaleIconMaxSize 89 || bitmap.getHeight() > mGrayscaleIconMaxSize) { 94 Pair<Boolean, Integer> cached = mGrayscaleBitmapCache.get(bitmap); 96 if (cached.second == bitmap.getGenerationId()) { 104 result = mImageUtils.isGrayscale(bitmap); 108 // assume that it doesn't modify the bitmap whil [all...] |
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
H A D | TextClassificationTest.java | 57 final Bitmap bitmap = Bitmap.createBitmap(colors, width, height, Bitmap.Config.ARGB_8888); 58 return Icon.createWithBitmap(bitmap);
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | CanvasContext.h | 110 static void prepareToDraw(const RenderThread& thread, Bitmap* bitmap); 140 bool copyLayerInto(DeferredLayerUpdater* layer, SkBitmap* bitmap);
|
H A D | CanvasContext.cpp | 124 void CanvasContext::prepareToDraw(const RenderThread& thread, Bitmap* bitmap) { argument 128 OpenGLPipeline::prepareToDraw(thread, bitmap); 132 skiapipeline::SkiaPipeline::prepareToDraw(thread, bitmap); 609 bool CanvasContext::copyLayerInto(DeferredLayerUpdater* layer, SkBitmap* bitmap) { argument 610 return mRenderPipeline->copyLayerInto(layer, bitmap);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaMetadataEditor.java | 250 * @param key the identifier of the bitmap to set. The only valid value is 252 * @param bitmap The bitmap for the artwork, or null if there isn't any. 258 public synchronized MediaMetadataEditor putBitmap(int key, Bitmap bitmap) argument 267 mEditorArtwork = bitmap;
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | SerializedFrame.java | 238 public void setBitmap(Bitmap bitmap) { argument 240 setGenericObjectValue(bitmap);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | AlertWindowNotification.java | 131 final Bitmap bitmap = mIconUtilities.createIconBitmap(drawable); 132 builder.setLargeIcon(bitmap);
|
/frameworks/layoutlib/bridge/src/android/view/ |
H A D | ViewGroup_Delegate.java | 80 Bitmap bitmap = Bitmap_Delegate.createBitmap(shadow, false, 87 canvas.drawBitmap(bitmap, 0, 0, null);
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderDrawable.java | 152 // create an Android bitmap around the BufferedImage 153 Bitmap bitmap = Bitmap_Delegate.createBitmap(image, 156 // create a Canvas around the Android bitmap 157 Canvas canvas = new Canvas(bitmap);
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | ContiguousFIFOAggregator.java | 17 package com.android.bitmap; 22 import com.android.bitmap.util.Trace;
|
H A D | UnrefedPooledCache.java | 17 package com.android.bitmap; 22 import com.android.bitmap.util.Trace;
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/graphics/ |
H A D | PaletteActivity.java | 209 public void onImageLoaded(Bitmap bitmap) { 210 new Palette.Builder(bitmap).maximumColorCount(mNumColors).generate(
|
H A D | PaletteDetailActivity.java | 129 public void onImageLoaded(Bitmap bitmap) { 130 new Palette.Builder(bitmap).maximumColorCount(numColors).generate(
|
/frameworks/support/leanback/src/main/java/androidx/leanback/app/ |
H A D | DetailsFragmentBackgroundController.java | 84 * protected void onPostExecute(Bitmap bitmap) { 87 * fragment.mController.setCoverBitmap(bitmap); 184 * Example to move bitmap within FitWidthBitmapDrawable: 197 // if bitmap is set before enableParallax, use it as initial value. 430 * @param bitmap bitmap to set as cover. 432 public final void setCoverBitmap(Bitmap bitmap) { argument 433 mCoverBitmap = bitmap; 474 * Sets default parallax offset in pixels for bitmap moving vertically. This method must 488 * Returns Default parallax offset in pixels for bitmap movin [all...] |
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/graphics/ |
H A D | PaletteActivity.java | 209 public void onImageLoaded(Bitmap bitmap) { 210 new Palette.Builder(bitmap).maximumColorCount(mNumColors).generate(
|
H A D | PaletteDetailActivity.java | 129 public void onImageLoaded(Bitmap bitmap) { 130 new Palette.Builder(bitmap).maximumColorCount(numColors).generate(
|
/frameworks/base/core/java/android/widget/ |
H A D | Magnifier.java | 377 final Bitmap bitmap = 379 PixelCopy.request(mContentCopySurface.mSurface, mPixelCopyRequestRect, bitmap, 390 mWindow.updateContent(bitmap); 467 // The content bitmap. 508 // Setup the RenderNode tree. The root has only one child, which contains the bitmap. 539 // Define the position of the bitmap in the parent render node. The surface regions 540 // outside the bitmap are used to draw elevation. 583 * @param bitmap the content bitmap 585 public void updateContent(final @NonNull Bitmap bitmap) { argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_Surface.cpp | 290 bitmap.setAlphaType(kOpaque_SkAlphaType) on the resulting SkBitmap 338 SkBitmap bitmap; local 340 bitmap.setInfo(info, bpr); 342 bitmap.setPixels(outBuffer.bits); 344 // be safe with an empty bitmap. 345 bitmap.setPixels(NULL); 349 nativeCanvas->setBitmap(bitmap);
|
H A D | android_view_ThreadedRenderer.cpp | 802 SkBitmap bitmap; local 803 GraphicsJNI::getSkBitmap(env, jbitmap, &bitmap); 804 return proxy->copyLayerInto(layer, bitmap); 960 SkBitmap bitmap; local 961 GraphicsJNI::getSkBitmap(env, jbitmap, &bitmap); 963 return RenderProxy::copySurfaceInto(surface, left, top, right, bottom, &bitmap); 1032 sk_sp<Bitmap> bitmap = Bitmap::createFrom(buffer); local 1033 return bitmap::createBitmap(env, bitmap.release(), 1034 android::bitmap [all...] |
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaPipeline.cpp | 213 void SkiaPipeline::prepareToDraw(const RenderThread& thread, Bitmap* bitmap) { argument 216 ATRACE_FORMAT("Bitmap#prepareToDraw %dx%d", bitmap->width(), bitmap->height()); 218 auto image = bitmap->makeImage(&colorFilter); 219 if (image.get() && !bitmap->isHardware()) {
|
/frameworks/base/core/java/android/view/ |
H A D | ThreadedRenderer.java | 861 boolean copyLayerInto(final TextureLayer layer, final Bitmap bitmap) { argument 863 layer.getDeferredLayerUpdater(), bitmap); 923 public static int copySurfaceInto(Surface surface, Rect srcRect, Bitmap bitmap) { argument 926 return nCopySurfaceInto(surface, 0, 0, 0, 0, bitmap); 929 srcRect.right, srcRect.bottom, bitmap); 934 * Creates a {@link android.graphics.Bitmap.Config#HARDWARE} bitmap from the given 1213 private static native boolean nCopyLayerInto(long nativeProxy, long layer, Bitmap bitmap); argument 1245 int srcLeft, int srcTop, int srcRight, int srcBottom, Bitmap bitmap); 1244 nCopySurfaceInto(Surface surface, int srcLeft, int srcTop, int srcRight, int srcBottom, Bitmap bitmap) argument
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Shader.cpp | 72 image = android::bitmap::toBitmap(env, jbitmap).makeImage(&colorFilter); 76 SkBitmap bitmap; local 77 image = SkMakeImageFromRasterBitmap(bitmap, kNever_SkCopyPixelsMode);
|
/frameworks/base/libs/hwui/ |
H A D | SkiaShader.cpp | 202 SkBitmap bitmap; local 204 if (!shader.isABitmap(&bitmap, nullptr, xy)) { 209 Bitmap* hwuiBitmap = static_cast<Bitmap*>(bitmap.pixelRef()); 277 // The shader is not a gradient. Check for a bitmap shader. 289 "failed storing bitmap shader data");
|