| /external/valgrind/include/vki/ |
| vki-xen.h | 103 VKI_XEN_GUEST_HANDLE_64(vki_uint8) bitmap; member in struct:vki_xenctl_bitmap
|
| /external/volley/src/main/java/com/android/volley/toolbox/ |
| ImageRequest.java | 19 import android.graphics.Bitmap; 20 import android.graphics.Bitmap.Config; 33 * back with a decoded Bitmap. 35 public class ImageRequest extends Request<Bitmap> { 49 private Response.Listener<Bitmap> mListener; 68 * @param listener Listener to receive the decoded bitmap 69 * @param maxWidth Maximum width to decode this bitmap to, or zero for none 70 * @param maxHeight Maximum height to decode this bitmap to, or zero for 73 * @param decodeConfig Format to decode the bitmap to 76 public ImageRequest(String url, Response.Listener<Bitmap> listener, int maxWidth, int maxHeight 177 Bitmap bitmap = null; local [all...] |
| /frameworks/av/media/libmedia/ |
| IMediaMetadataRetriever.cpp | 368 sp<IMemory> bitmap = getFrameAtTime(timeUs, option, colorFormat, metaOnly); local 369 if (bitmap != 0) { // Don't send NULL across the binder interface 371 reply->writeStrongBinder(IInterface::asBinder(bitmap)); 391 sp<IMemory> bitmap = getImageAtIndex(index, colorFormat, metaOnly, thumbnail); local 392 if (bitmap != 0) { // Don't send NULL across the binder interface 394 reply->writeStrongBinder(IInterface::asBinder(bitmap)); 417 sp<IMemory> bitmap = getImageRectAtIndex( local 419 if (bitmap != 0) { // Don't send NULL across the binder interface 421 reply->writeStrongBinder(IInterface::asBinder(bitmap));
|
| /frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/ |
| OverlayListView.java | 86 BitmapDrawable bitmap = object.getBitmapDrawable(); local 87 if (bitmap != null) { 88 bitmap.draw(canvas); 115 public OverlayObject(BitmapDrawable bitmap, Rect startRect) { 116 mBitmap = bitmap; 126 * Returns the bitmap that this object represents.
|
| /frameworks/base/core/java/android/app/ |
| SharedElementCallback.java | 20 import android.graphics.Bitmap; 48 private static final String BUNDLE_SNAPSHOT_BITMAP = "sharedElement:snapshot:bitmap"; 180 Bitmap bitmap = TransitionUtils.createDrawableBitmap(d, imageView); local 181 if (bitmap != null) { 183 if (bitmap.getConfig() != Bitmap.Config.HARDWARE) { 184 bundle.putParcelable(BUNDLE_SNAPSHOT_BITMAP, bitmap); 186 GraphicBuffer graphicBuffer = bitmap.createGraphicBufferHandle(); 232 Bitmap bitmap = bundle.getParcelable(BUNDLE_SNAPSHOT_BITMAP) local 251 Bitmap bitmap = (Bitmap) snapshot; local [all...] |
| /frameworks/base/core/java/android/gesture/ |
| Gesture.java | 19 import android.graphics.Bitmap; 176 * Creates a bitmap of the gesture with a transparent background. 178 * @param width width of the target bitmap 179 * @param height height of the target bitmap 183 * @return the bitmap 185 public Bitmap toBitmap(int width, int height, int edge, int numSample, int color) { 186 final Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888) local 221 final Bitmap bitmap = Bitmap.createBitmap(width, height, local [all...] |
| /frameworks/base/core/java/android/transition/ |
| Crossfade.java | 25 import android.graphics.Bitmap; 39 * This transition captures bitmap representations of target views before and 49 // a given target view. This would save bitmap comparisons in this transition, for example. 53 private static final String PROPNAME_BITMAP = "android:crossfade:bitmap"; 178 Bitmap startBitmap = (Bitmap) startVals.get(PROPNAME_BITMAP); 179 Bitmap endBitmap = (Bitmap) endVals.get(PROPNAME_BITMAP); 271 Bitmap bitmap = Bitmap.createBitmap(view.getWidth(), view.getHeight() local [all...] |
| TransitionUtils.java | 22 import android.graphics.Bitmap; 82 * Creates a View using the bitmap copy of <code>view</code>. If <code>view</code> is large, 83 * the copy will use a scaled bitmap of the given view. 103 Bitmap bitmap = createViewBitmap(view, matrix, bounds, sceneRoot); local 104 if (bitmap != null) { 105 copy.setImageBitmap(bitmap); 115 * Get a copy of bitmap of given drawable, return null if intrinsic size is zero 117 public static Bitmap createDrawableBitmap(Drawable drawable, View hostView) { 125 // return same bitmap if scale down not neede 173 Bitmap bitmap = null; local [all...] |
| /frameworks/base/core/jni/android/graphics/ |
| GraphicBuffer.cpp | 36 #include <hwui/Bitmap.h> 196 SkBitmap bitmap; local 197 bitmap.setInfo(SkImageInfo::Make(buffer->getWidth(), buffer->getHeight(), 204 bitmap.setPixels(bits); 206 bitmap.setPixels(NULL); 210 nativeCanvas->setBitmap(bitmap);
|
| /frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
| TextClassificationTest.java | 27 import android.graphics.Bitmap; 57 final Bitmap bitmap = Bitmap.createBitmap(colors, width, height, Bitmap.Config.ARGB_8888); local 58 return Icon.createWithBitmap(bitmap); 166 final Bitmap resultIcon = ((BitmapDrawable) result.getIcon()).getBitmap();
|
| /frameworks/base/libs/hwui/ |
| PathCache.cpp | 155 static sk_sp<Bitmap> drawPath(const SkPath* path, const SkPaint* paint, PathTexture* texture, 165 sk_sp<Bitmap> bitmap = Bitmap::allocateHeapBitmap(SkImageInfo::MakeA8(width, height)); local 170 bitmap->getSkBitmap(&skBitmap); 175 return bitmap; 252 // Don't even try to cache a bitmap that's bigger than the cache 275 sk_sp<Bitmap> bitmap(drawPath(path, paint, texture, mMaxTextureSize)); 276 if (!bitmap) { 374 sk_sp<Bitmap> bitmap = task->getResult(); local [all...] |
| /frameworks/base/libs/hwui/pipeline/skia/ |
| SkiaOpenGLPipeline.cpp | 24 #include "hwui/Bitmap.h" 125 bool SkiaOpenGLPipeline::copyLayerInto(DeferredLayerUpdater* deferredLayer, SkBitmap* bitmap) { 135 SkImageInfo surfaceInfo = bitmap->info().makeColorSpace(nullptr); 140 * then reading from the intermediate buffer into the bitmap. 150 ALOGW("Unable to readback GPU contents into the provided bitmap"); 156 const SkRect dstRect = SkRect::MakeIWH(bitmap->width(), bitmap->height()); 160 if (tmpImage->readPixels(surfaceInfo, bitmap->getPixels(), bitmap->rowBytes(), 0, 0)) { 161 bitmap->notifyPixelsChanged() 368 SkBitmap bitmap; local [all...] |
| /frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
| ObjectViewer.java | 22 import android.graphics.Bitmap; 154 Bitmap bitmap = BitmapFactory.decodeByteArray(thumbnail, 0, thumbnail.length); local 155 if (bitmap != null) { 157 thumbView.setImageBitmap(bitmap);
|
| /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
| MediaNotificationProcessor.java | 21 import android.graphics.Bitmap; 101 Bitmap bitmap = null; local 118 bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); 119 Canvas canvas = new Canvas(bitmap); 125 Palette.Builder paletteBuilder = Palette.from(bitmap) 126 .setRegion(0, 0, bitmap.getWidth() / 2, bitmap.getHeight() [all...] |
| /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
| ShadowKeyDrawable.java | 20 import android.graphics.Bitmap; 136 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); local 137 Canvas canvas = new Canvas(bitmap); 157 final Bitmap shadow = bitmap.extractAlpha(paint, offset); 161 bitmap.eraseColor(Color.TRANSPARENT); 174 bitmap = bitmap.copy(Bitmap.Config.HARDWARE, false) [all...] |
| /frameworks/base/services/core/java/com/android/server/am/ |
| CarUserSwitchingDialog.java | 22 import android.graphics.Bitmap; 73 Bitmap bitmap = userManager.getUserIcon(mNewUser.id); local 74 if (bitmap != null) { 75 CircleFramedDrawable drawable = CircleFramedDrawable.getInstance(bitmap, 92 private final Bitmap mBitmap; 100 public static CircleFramedDrawable getInstance(Bitmap icon, float iconSize) { 105 public CircleFramedDrawable(Bitmap icon, int size) { 109 mBitmap = Bitmap.createBitmap(mSize, mSize, Bitmap.Config.ARGB_8888) [all...] |
| /frameworks/base/services/core/java/com/android/server/policy/ |
| IconUtilities.java | 25 import android.graphics.Bitmap; 68 * Returns a bitmap suitable for the all apps view. The bitmap will be a power 69 * of two sized ARGB_8888 bitmap that can be used as a gl texture. 71 public Bitmap createIconBitmap(Drawable icon) { 80 // Ensure the bitmap has a density. 82 Bitmap bitmap = bitmapDrawable.getBitmap(); local 83 if (bitmap.getDensity() == Bitmap.DENSITY_NONE) 111 final Bitmap bitmap = Bitmap.createBitmap(textureWidth, textureHeight, local [all...] |
| /frameworks/base/services/core/java/com/android/server/wm/ |
| AlertWindowNotification.java | 36 import android.graphics.Bitmap; 131 final Bitmap bitmap = mIconUtilities.createIconBitmap(drawable); local 132 builder.setLargeIcon(bitmap);
|
| /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
| SurfaceHolderTarget.java | 19 import android.graphics.Bitmap; 165 Bitmap bitmap = image.toBitmap(); local 166 Rect sourceRect = new Rect(0, 0, bitmap.getWidth(), bitmap.getHeight()); 172 canvas.drawBitmap(bitmap, sourceRect, targetRect, new Paint());
|
| /frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
| DpiTestActivity.java | 24 import android.graphics.Bitmap; 89 addLabelToRoot(root, "Prescaled bitmap in drawable"); 96 addLabelToRoot(root, "Autoscaled bitmap in drawable"); 118 addLabelToRoot(root, "Prescaled bitmap"); 125 addLabelToRoot(root, "Autoscaled bitmap"); 165 Bitmap bitmap; local 166 bitmap = loadAndPrintDpi(resource, scale); 170 final BitmapDrawable d = new BitmapDrawable(getResources(), bitmap); 191 Bitmap bitmap local 215 Bitmap bitmap; local [all...] |
| /frameworks/layoutlib/bridge/src/android/graphics/ |
| BitmapShader_Delegate.java | 80 /*package*/ static long nativeCreate(long nativeMatrix, Bitmap androidBitmap, 82 Bitmap_Delegate bitmap = Bitmap_Delegate.getDelegate(androidBitmap); local 83 if (bitmap == null) { 88 bitmap.getImage(),
|
| /frameworks/layoutlib/bridge/src/android/view/ |
| ViewGroup_Delegate.java | 22 import android.graphics.Bitmap; 80 Bitmap bitmap = Bitmap_Delegate.createBitmap(shadow, false, local 87 canvas.drawBitmap(bitmap, 0, 0, null);
|
| /frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
| CustomBar.java | 37 import android.graphics.Bitmap; 118 // look for a cached bitmap 119 Bitmap bitmap = Bridge.getCachedBitmap(path, Boolean.TRUE /*isFramework*/); local 120 if (bitmap == null) { 122 bitmap = Bitmap_Delegate.createBitmap(stream, false /*isMutable*/, density); 123 Bridge.setCachedBitmap(path, bitmap, Boolean.TRUE /*isFramework*/); 129 if (bitmap != null) { 131 bitmap);
|
| /frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
| ResourceHelper.java | 45 import android.graphics.Bitmap; 245 * @param value The value that contains a path to a 9 patch, a bitmap or a xml based drawable, 286 * @param value The value that contains a path to a 9 patch, a bitmap or a xml based drawable, 353 Bitmap bitmap = Bridge.getCachedBitmap(stringValue, local 356 if (bitmap == null) { 357 bitmap = 359 Bridge.setCachedBitmap(stringValue, bitmap, 363 return new BitmapDrawable(context.getResources(), bitmap); 409 // see if we still have both the chunk and the bitmap in the cache 412 Bitmap bitmap = Bridge.getCachedBitmap(cacheKey, local [all...] |
| /frameworks/opt/bitmap/src/com/android/bitmap/ |
| ContiguousFIFOAggregator.java | 17 package com.android.bitmap; 22 import com.android.bitmap.util.Trace;
|