HomeSort by relevance Sort by last modified time
    Searched defs:bitmap (Results 251 - 275 of 864) sorted by null

<<11121314151617181920>>

  /frameworks/base/libs/hwui/
SkiaShader.cpp 205 SkBitmap bitmap; local
207 if (!shader.isABitmap(&bitmap, nullptr, xy)) {
217 outData->bitmapTexture = caches.textureCache.getAndBypassAtlas(&bitmap);
274 // The shader is not a gradient. Check for a bitmap shader.
286 "failed storing bitmap shader data");
  /frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
ObjectBrowser.java 23 import android.graphics.Bitmap;
96 Bitmap bitmap = BitmapFactory.decodeByteArray(thumbnail, 0, thumbnail.length); local
97 if (bitmap != null) {
99 thumbView.setImageBitmap(bitmap);
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
BitmapShader_Delegate.java 78 /*package*/ static long nativeCreate(Bitmap androidBitmap, int shaderTileModeX,
80 Bitmap_Delegate bitmap = Bitmap_Delegate.getDelegate(androidBitmap); local
81 if (bitmap == null) {
86 bitmap.getImage(),
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
RenderDrawable.java 28 import android.graphics.Bitmap;
152 // create an Android bitmap around the BufferedImage
153 Bitmap bitmap = Bitmap_Delegate.createBitmap(image, local
156 // create a Canvas around the Android bitmap
157 Canvas canvas = new Canvas(bitmap);
  /frameworks/minikin/sample/
example_skia.cpp 131 SkBitmap bitmap; local
132 bitmap.allocN32Pixels(width, height);
133 SkCanvas canvas(bitmap);
144 SkImageEncoder::EncodeFile("/data/local/tmp/foo.png", bitmap, SkImageEncoder::kPNG_Type, 100);
  /frameworks/opt/bitmap/src/com/android/bitmap/
ReusableBitmap.java 17 package com.android.bitmap;
19 import android.graphics.Bitmap;
22 * A simple bitmap wrapper. Currently supports reference counting and logical width/height
23 * (which may differ from a bitmap's reported width/height due to bitmap reuse).
27 public final Bitmap bmp;
35 public ReusableBitmap(final Bitmap bitmap) {
36 this(bitmap, true /* reusable */);
39 public ReusableBitmap(final Bitmap bitmap, final boolean reusable)
    [all...]
  /frameworks/opt/bitmap/src/com/android/bitmap/util/
InputStreamBuffer.java 17 package com.android.bitmap.util;
  /frameworks/opt/bitmap/src/com/android/bitmap/view/
BitmapDrawableImageView.java 17 package com.android.bitmap.view;
20 import android.graphics.Bitmap;
27 import com.android.bitmap.drawable.BasicBitmapDrawable;
127 public void setImageBitmap(final Bitmap bm) {
  /frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
MediaStoreSaver.java 21 import android.graphics.Bitmap;
35 public static final String save(Bitmap bitmap,
51 Bitmap.CompressFormat format = Bitmap.CompressFormat.PNG;
54 format = Bitmap.CompressFormat.JPEG;
59 bitmap.compress(format, 100, fOut);
  /frameworks/rs/java/tests/Refocus/src/com/android/rs/test/
MediaStoreSaver.java 21 import android.graphics.Bitmap;
35 public static final String savePNG(Bitmap bitmap,
52 bitmap.compress(Bitmap.CompressFormat.PNG, 0, fOut);
RGBZ.java 5 import android.graphics.Bitmap;
27 private Bitmap bitmap; field in class:RGBZ
28 private Bitmap preview;
29 private Bitmap depthBitmap;
46 this.bitmap = setAlphaChannel(preview, this.depthBitmap);
58 * @return The color+depth {@code Bitmap}
60 public Bitmap getBitmap() {
61 return bitmap;
87 return bitmap.getWidth()
    [all...]
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
MediaControllerGlue.java 4 import android.graphics.Bitmap;
179 Bitmap bitmap = mMediaController.getMetadata().getDescription().getIconBitmap(); local
180 return bitmap == null ? null : new BitmapDrawable(getContext().getResources(), bitmap);
  /frameworks/support/v7/palette/src/androidTest/java/android/support/v7/graphics/
BucketTests.java 25 import android.graphics.Bitmap;
42 final Bitmap sample = loadSampleBitmap();
71 final Bitmap sample = loadSampleBitmap();
81 final Bitmap sample = loadSampleBitmap();
91 final Bitmap sample = loadSampleBitmap();
102 final Bitmap bitmap = Bitmap.createBitmap(1000, 1, Bitmap.Config.ARGB_8888); local
104 Palette.Builder b = new Palette.Builder(bitmap);
111 final Bitmap bitmap = Bitmap.createBitmap(1, 1000, Bitmap.Config.ARGB_8888); local
120 final Bitmap bitmap = Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888); local
135 final Bitmap bitmap = Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888); local
    [all...]
ConsistencyTest.java 22 import android.graphics.Bitmap;
40 final Bitmap bitmap = loadSampleBitmap(); local
43 Palette newPalette = Palette.from(bitmap).generate();
  /frameworks/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> {
45 private final Response.Listener<Bitmap> mListener;
64 * @param listener Listener to receive the decoded bitmap
65 * @param maxWidth Maximum width to decode this bitmap to, or zero for none
66 * @param maxHeight Maximum height to decode this bitmap to, or zero for
69 * @param decodeConfig Format to decode the bitmap to
72 public ImageRequest(String url, Response.Listener<Bitmap> listener, int maxWidth, int maxHeight
173 Bitmap bitmap = null; local
    [all...]
  /packages/apps/Camera2/src/com/android/camera/data/
FilmstripItemUtils.java 19 import android.graphics.Bitmap;
58 * Decodes the dimension of a bitmap.
60 * @param is An input stream with the data of the bitmap.
72 Log.e(TAG, "Bitmap dimension decoding failed");
90 public static Bitmap loadImageThumbnailFromStream(InputStream stream, int imageWidth,
103 // Generate Bitmap of maximum size that fits into widthBound x heightBound.
117 // Bitmap requests:
130 Bitmap b = BitmapFactory.decodeStream(stream, null, opts);
137 // If Bitmap maximum edge > MAXIMUM_TEXTURE_SIZE, which can happen for panoramas,
142 b = Bitmap.createScaledBitmap(b, b.getWidth() * GL11.GL_MAX_TEXTURE_SIZE / maxEdge
163 Bitmap bitmap = null; local
    [all...]
  /packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/
JpegImageBackendImageSaver.java 19 import android.graphics.Bitmap;
125 // Bitmap
128 final Bitmap bitmap = BitmapFactory.decodeByteArray(payload.data, 0, local
133 // NOT applied to the bitmap directly.
135 mSession.updateCaptureIndicatorThumbnail(bitmap, rotation);
154 /** Factor to downsample full-size JPEG image for use in thumbnail bitmap. */
YuvImageBackendImageSaver.java 19 import android.graphics.Bitmap;
136 // Load bitmap into CameraAppUI
139 final Bitmap bitmap = Bitmap.createBitmap(payload.data, local
141 task.result.height, Bitmap.Config.ARGB_8888);
142 mSession.updateCaptureIndicatorThumbnail(bitmap, mImageRotation.getDegrees());
145 final Bitmap bitmapIntermediate = Bitmap.createBitmap(payload.data,
147 task.result.height, Bitmap.Config.ARGB_8888)
    [all...]
  /packages/apps/Camera2/src/com/android/camera/session/
PlaceholderManager.java 22 import android.graphics.Bitmap;
85 public Placeholder insertPlaceholder(String title, Bitmap placeholder, long timestamp) {
107 Bitmap bitmap = BitmapFactory.decodeByteArray(placeholder, 0, placeholder.length, options); local
108 return insertPlaceholder(title, bitmap, timestamp);
148 * @param placeholder the placeholder bitmap
150 public void replacePlaceholder(Placeholder session, Bitmap placeholder) {
158 * @param placeholder the session for which to retrieve bitmap placeholder
160 public Optional<Bitmap> getPlaceholder(Placeholder placeholder) {
168 * @param placeholder the session for which to remove the bitmap placeholder
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/editor/
EditorUiUtils.java 25 import android.graphics.Bitmap;
271 /** Decodes the Bitmap from the photo bytes from the given ValuesDelta. */
272 public static Bitmap getPhotoBitmap(ValuesDelta valuesDelta) {
294 /** Returns compressed bitmap bytes from the given Uri, scaled to the thumbnail dimensions. */
297 final Bitmap bitmap = ContactPhotoUtils.getBitmapFromUri(context, uri); local
299 final Bitmap bitmapScaled = Bitmap.createScaledBitmap(
300 bitmap, size, size, /* filter =*/ false);
  /packages/apps/Contacts/src/com/android/contacts/util/
ImageViewDrawableSetter.java 20 import android.graphics.Bitmap;
55 public Bitmap setupContactPhoto(Contact contactData, ImageView photoView) {
86 protected Bitmap setCompressedImage(byte[] compressed) {
131 private Bitmap previousBitmap() {
167 Bitmap bitmap = BitmapFactory.decodeByteArray(compressed, 0, compressed.length); local
168 if (bitmap == null) {
171 if (bitmap.getHeight() != bitmap.getWidth()) {
172 // Crop the bitmap into a square
    [all...]
  /packages/apps/Gallery/src/com/android/camera/gallery/
Image.java 24 import android.graphics.Bitmap;
151 public Bitmap thumbBitmap(boolean rotateAsNeeded) {
152 Bitmap bitmap = null; local
155 options.inPreferredConfig = Bitmap.Config.ARGB_8888;
156 bitmap = BitmapManager.instance().getThumbnail(mContentResolver, mId,
159 if (bitmap != null && rotateAsNeeded) {
160 bitmap = Util.rotate(bitmap, getDegreesRotated());
163 return bitmap;
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/
InfoPanel.java 19 import android.graphics.Bitmap;
73 Bitmap bitmap = MasterImage.getImage().getFilteredImage(); local
74 mImageThumbnail.setImageBitmap(bitmap);
82 histogramView.setBitmap(bitmap);
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
TileImageViewAdapter.java 20 import android.graphics.Bitmap;
21 import android.graphics.Bitmap.Config;
87 public Bitmap getTile(int level, int x, int y, int tileSize) {
103 // We need to clear a reused bitmap, if wantRegion is not fully
109 Bitmap bitmap = GalleryBitmapPool.getInstance().get(tileSize, tileSize); local
110 if (bitmap != null) {
111 if (needClear) bitmap.eraseColor(0);
113 bitmap = Bitmap.createBitmap(tileSize, tileSize, Config.ARGB_8888)
159 Bitmap bitmap = null; local
    [all...]
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
LogoUtils.java 21 import android.graphics.Bitmap;
63 Bitmap bitmap = null; local
67 bitmap = getBitmapPartiallyResized(logoFile.getPath(), maxWidth, maxHeight);
68 if (bitmap == null) {
74 if (bitmap == null) {
75 bitmap = BitmapFactory.decodeResource(context.getResources(),
79 resizeBitmap(bitmap, maxWidth, maxHeight));
83 * Decodes a bitmap from an input stream.
84 * If the actual dimensions of the bitmap are larger than the desired ones, will try to return
    [all...]

Completed in 1222 milliseconds

<<11121314151617181920>>