HomeSort by relevance Sort by last modified time
    Searched defs:bitmap (Results 651 - 675 of 1029) sorted by null

<<21222324252627282930>>

  /packages/apps/Email/provider_src/com/android/email/provider/
AttachmentProvider.java 26 import android.graphics.Bitmap;
197 Bitmap thumbnail = createThumbnail(type, in);
201 thumbnail = Bitmap.createScaledBitmap(thumbnail, width, height, true);
203 thumbnail.compress(Bitmap.CompressFormat.PNG, 100, out);
315 private static Bitmap createThumbnail(String type, InputStream data) {
322 private static Bitmap createImageThumbnail(InputStream data) {
324 Bitmap bitmap = BitmapFactory.decodeStream(data); local
325 return bitmap;
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
UriImage.java 20 import android.graphics.Bitmap;
21 import android.graphics.Bitmap.Config;
70 public Job<Bitmap> requestImage(int type) {
183 private class BitmapJob implements Job<Bitmap> {
191 public Bitmap run(JobContext jc) {
196 Bitmap bitmap = DecodeUtils.decodeThumbnail(jc, local
199 if (jc.isCancelled() || bitmap == null) {
204 bitmap = BitmapUtils.resizeAndCropCenter(bitmap, targetSize, true)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
Action.java 20 import android.graphics.Bitmap;
47 private Bitmap mImage;
54 private Bitmap mPortraitImage;
55 private Bitmap mOverlayBitmap;
124 Bitmap temp = MasterImage.getImage().getTemporaryThumbnailBitmap();
128 Bitmap bitmap = MasterImage.getImage().getThumbnailBitmap(); local
129 if (bitmap != null) {
137 public Bitmap getImage() {
141 public void setImage(Bitmap image)
    [all...]
IconView.java 21 import android.graphics.Bitmap;
48 private Bitmap mBitmap;
59 Bitmap bitmap = BitmapFactory.decodeStream(res.openRawResource(bitmapRsc)); local
60 setBitmap(bitmap);
158 public void setBitmap(Bitmap bitmap) {
159 mBitmap = bitmap;
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
ColorHueView.java 20 import android.graphics.Bitmap;
48 Bitmap mBitmap;
84 mBitmap = Bitmap.createBitmap(256, 2, Bitmap.Config.ARGB_8888);
196 Bitmap bitmap = Bitmap.createBitmap(colors, 16, 16, Bitmap.Config.ARGB_8888); local
197 BitmapShader bs = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT);
ColorOpacityView.java 21 import android.graphics.Bitmap;
96 Bitmap bitmap = Bitmap.createBitmap(colors, imgdim, imgdim, Bitmap.Config.ARGB_8888); local
97 BitmapShader bs = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
EditorDraw.java 22 import android.graphics.Bitmap;
275 Bitmap bitmap = BitmapFactory.decodeResource(mContext.getResources(), brushIcons[index]); local
276 caller.available(bitmap);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
RenderingRequest.java 20 import android.graphics.Bitmap;
31 private Bitmap mBitmap = null;
48 private static final Bitmap.Config mConfig = Bitmap.Config.ARGB_8888;
50 public static void post(Context context, Bitmap source, ImagePreset preset,
55 public static void post(Context context, Bitmap source, ImagePreset preset, int type,
65 Bitmap bitmap = null; local
71 bitmap = pipeline.renderGeometryIcon(source, preset);
74 bitmap = MasterImage.getImage().getBitmapCache().getBitmap
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/gadget/
WidgetDatabaseHelper.java 25 import android.graphics.Bitmap;
191 * Store the given bitmap in this database for the given appWidgetId.
193 public boolean setPhoto(int appWidgetId, Uri imageUri, Bitmap bitmap) {
198 int size = bitmap.getWidth() * bitmap.getHeight() * 4;
200 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
298 * Remove any bitmap associated with the given appWidgetId.
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
UploadedTexture.java 19 import android.graphics.Bitmap;
20 import android.graphics.Bitmap.Config;
29 // UploadedTextures use a Bitmap for the content of the texture.
31 // Subclasses should implement onGetBitmap() to provide the Bitmap and
32 // implement onFreeBitmap(mBitmap) which will be called when the Bitmap
47 private static HashMap<BorderKey, Bitmap> sBorderLines =
48 new HashMap<BorderKey, Bitmap>();
62 protected Bitmap mBitmap;
118 private static Bitmap getBorderLine(
124 Bitmap bitmap = sBorderLines.get(key) local
129 sBorderLines.put(key.clone(), bitmap); local
193 Bitmap bitmap = getBitmap(); local
212 Bitmap bitmap = getBitmap(); local
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
Utilities.java 23 import android.graphics.Bitmap;
66 * Returns a bitmap suitable for the all apps view. Used to convert pre-ICS
70 static Bitmap createIconBitmap(Bitmap icon, Context context) {
77 return Bitmap.createBitmap(icon,
85 // Icon is too small, render to a larger bitmap
92 * Returns a bitmap suitable for the all apps view.
94 static Bitmap createIconBitmap(Drawable icon, Context context) {
108 // Ensure the bitmap has a density.
110 Bitmap bitmap = bitmapDrawable.getBitmap() local
138 final Bitmap bitmap = Bitmap.createBitmap(textureWidth, textureHeight, local
    [all...]
  /packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/dynamicui/
WallpaperManagerCompatVL.java 36 import android.graphics.Bitmap;
206 Bitmap bitmap = null; local
231 bitmap = decoder.decodeRegion(region, options);
234 Log.e(TAG, "Fetching partial bitmap failed, trying old method", e);
237 if (bitmap == null) {
243 // Calculate how big the bitmap needs to be.
251 bitmap = Bitmap.createBitmap((int) (drawable.getIntrinsicWidth() * scale),
252 (int) (drawable.getIntrinsicHeight() * scale), Bitmap.Config.ARGB_8888)
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/datamodel/media/
PoolableImageCache.java 18 import android.graphics.Bitmap;
34 * A media cache that holds image resources, which doubles as a bitmap pool that allows the
40 /** Encapsulates bitmap pool representation of the image cache */
52 * Creates a new BitmapFactory.Options for using the self-contained bitmap pool.
81 * Returns a representation of the image cache as a reusable bitmap pool.
88 * A bitmap pool representation built on top of the image cache. It treats the image resources
89 * stored in the image cache as a self-contained bitmap pool and is able to create or
90 * reclaim bitmap resource as needed.
113 * A sparse array from bitmap size to a list of image cache entries that match the
114 * given size. This map is used to quickly retrieve a usable bitmap to be reused by a
394 final Bitmap bitmap = imageResource.getBitmap(); local
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
CheckableContactFlipDrawable.java 16 package com.android.mail.bitmap;
21 import android.graphics.Bitmap;
137 private static Bitmap CHECKMARK;
  /packages/services/Car/car-lib/src/android/car/user/
CarUserManagerHelper.java 26 import android.graphics.Bitmap;
55 private Bitmap mDefaultGuestUserIcon;
484 * Gets a bitmap representing the user's default avatar.
489 public Bitmap getUserDefaultIcon(UserInfo userInfo) {
495 * Gets a bitmap representing the default icon for a Guest user.
499 public Bitmap getGuestDefaultIcon() {
511 * @return a Bitmap for the icon
513 public Bitmap getUserIcon(UserInfo userInfo) {
514 Bitmap picture = mUserManager.getUserIcon(userInfo.id);
524 * Method for scaling a Bitmap icon to a desirable size
559 Bitmap bitmap = userInfo.isGuest() local
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/plugin/include/
coretypes.h 47 typedef struct bitmap_head_def *bitmap; typedef in typeref:struct:bitmap_head_def
  /toolchain/binutils/binutils-2.27/binutils/
rcparse.y 116 %token BITMAP
181 | input bitmap
325 /* Bitmap resources. */
327 bitmap: label
328 id BITMAP memflags_move file_name
    [all...]
  /prebuilts/tools/common/m2/repository/com/squareup/picasso/picasso/2.5.2/
picasso-2.5.2.jar 
  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapFactoryTest.java 28 import android.graphics.Bitmap;
29 import android.graphics.Bitmap.CompressFormat;
30 import android.graphics.Bitmap.Config;
128 Bitmap b = BitmapFactory.decodeResource(mRes, R.drawable.start,
131 // Test the bitmap size
134 // Test if no bitmap
140 Bitmap b = BitmapFactory.decodeResource(mRes, R.drawable.start);
142 // Test the bitmap size
152 Bitmap b = BitmapFactory.decodeResourceStream(mRes, value, is, r, mOpt1);
154 // Test the bitmap siz
404 Bitmap bitmap = Bitmap.createBitmap(pixelCount, 1, Config.ARGB_8888); local
430 Bitmap bitmap = createBitmapForReuse(pixelCount); local
877 Bitmap bitmap = BitmapFactory.decodeResource(mRes, R.drawable.start, opt); local
    [all...]
ImageDecoderTest.java 32 import android.graphics.Bitmap;
300 Bitmap bm = ImageDecoder.decodeBitmap(src);
306 assertEquals(Bitmap.Config.HARDWARE, bm.getConfig());
381 Bitmap bm = null;
392 // TODO: Once Bitmap provides access to its
396 assertNotEquals(Bitmap.Config.HARDWARE, bm.getConfig());
399 Bitmap reference = BitmapFactory.decodeResource(mRes,
408 Bitmap.Config.HARDWARE, bm.getConfig());
448 Bitmap normal = ImageDecoder.decodeBitmap(src);
457 Bitmap unpremul = ImageDecoder.decodeBitmap(src
517 Bitmap bitmap = null; local
    [all...]
BitmapColorSpaceTest.java 28 import android.graphics.Bitmap;
68 Bitmap b;
74 b = Bitmap.createBitmap(32, 32, Bitmap.Config.ARGB_8888, true, sRGB);
79 b = Bitmap.createBitmap(32, 32, Bitmap.Config.ARGB_8888, true,
85 b = Bitmap.createBitmap(32, 32, Bitmap.Config.RGBA_F16, true, sRGB);
90 b = Bitmap.createBitmap(32, 32, Bitmap.Config.RGBA_F16, true
137 Bitmap bitmap = Bitmap.createBitmap(32, 32, config, true); local
    [all...]
YuvImageTest.java 24 import android.graphics.Bitmap;
90 private Bitmap[] mTestBitmaps = new Bitmap[1];
154 // <ImageFormat, Bitmap, HasPaddings, Rect>
213 Bitmap dst = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
218 Bitmap src = BitmapFactory.decodeResource(res, R.drawable.testimage);
223 // Generate YuvImage based on the content in bitmap. If paddings > 0, the
224 // strides of YuvImage are calculated by adding paddings to bitmap.getWidth()
    [all...]
  /art/runtime/gc/collector/
semi_space.cc 156 // Set the initial bitmap.
159 // TODO: I don't think we should need heap bitmap lock to Get the mark bitmap.
354 // bitmap or dirty cards as roots (including the objects on the live stack which have just
355 // marked in the live bitmap above in MarkAllocStackAsLive().)
527 // No logic for marking the bitmap, so it must be null.
546 // bitmap marking of the promoted object until it's popped off
551 // iterating over the marked bits of the live bitmap
582 accounting::ContinuousSpaceBitmap* bitmap = fallback_space_->GetLiveBitmap(); local
583 if (bitmap != nullptr)
    [all...]
  /art/runtime/gc/space/
large_object_space.cc 584 accounting::LargeObjectBitmap* bitmap = space->GetLiveBitmap(); local
586 bitmap->Clear(ptrs[i]);
  /cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
SplitAppTest.java 33 import android.graphics.Bitmap;
539 final Bitmap bitmap = Bitmap.createBitmap(d.getIntrinsicWidth(), d.getIntrinsicHeight(), local
540 Bitmap.Config.ARGB_8888);
541 final Canvas canvas = new Canvas(bitmap);
544 return bitmap.getPixel(0, 0);

Completed in 1392 milliseconds

<<21222324252627282930>>