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

<<11121314151617181920>>

  /packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/
UploadedTexture.java 19 import android.graphics.Bitmap;
20 import android.graphics.Bitmap.Config;
30 // UploadedTextures use a Bitmap for the content of the texture.
32 // Subclasses should implement onGetBitmap() to provide the Bitmap and
33 // implement onFreeBitmap(mBitmap) which will be called when the Bitmap
48 private static HashMap<BorderKey, Bitmap> sBorderLines =
49 new HashMap<BorderKey, Bitmap>();
63 protected Bitmap mBitmap;
119 private static Bitmap getBorderLine(
125 Bitmap bitmap = sBorderLines.get(key) local
130 sBorderLines.put(key.clone(), bitmap); local
194 Bitmap bitmap = getBitmap(); local
213 Bitmap bitmap = getBitmap(); local
    [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/TV/src/com/android/tv/data/
ChannelLogoFetcher.java 21 import android.graphics.Bitmap.CompressFormat;
257 Log.e(TAG, "Failed to load bitmap. {channelName=" + channel.getDisplayName()
270 bitmapInfo.bitmap.compress(CompressFormat.PNG, 100, os);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DrawableDownloader.java 23 import android.graphics.Bitmap;
47 * and LRUCache removes the refcount, the underlying bitmap will be used for decoding new bitmap.
49 * If the URI does not point to a bitmap (e.g. point to a drawable xml, we won't cache it and we
71 // 1/4 of max memory is used for bitmap mem cache
74 // hard limit for bitmap mem cache in MB
78 * bitmap cache item structure saved in LruCache
90 // get bitmap from the list
145 public abstract void onBitmapRetrieved(Drawable bitmap);
170 private static String getBucketKey(String baseKey, Bitmap.Config bitmapConfig)
225 Drawable bitmap = null; local
254 Drawable bitmap = null; local
287 final Drawable bitmap = hasAccountImageUri ? null : getBitmapFromMemCache(options); local
    [all...]
DrawableLoader.java 26 import android.graphics.Bitmap;
49 * AsyncTask which loads a bitmap.
75 mRecycledBitmaps.addRecycledBitmap((Bitmap) object.getObject());
117 Log.e(TAG, "Error loading bitmap - unknown resource URI! "
121 Log.e(TAG, "Error loading bitmap - no source!");
135 protected void onPostExecute(Drawable bitmap) {
138 imageView.setImageDrawable(bitmap);
146 // still holds one to the bitmap
225 Log.d("BitmapWorkerTask", "Source bitmap: (" + bitmapOptions.outWidth + "x"
233 Bitmap bitmap 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;
  /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.25/binutils/
rcparse.y 116 %token BITMAP
181 | input bitmap
325 /* Bitmap resources. */
327 bitmap: label
328 id BITMAP memflags_move file_name
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapFactoryTest.java 23 import android.graphics.Bitmap;
27 import android.graphics.Bitmap.CompressFormat;
28 import android.graphics.Bitmap.Config;
110 Bitmap b = BitmapFactory.decodeResource(mRes, R.drawable.start,
113 // Test the bitmap size
116 // Test if no bitmap
121 Bitmap b = BitmapFactory.decodeResource(mRes, R.drawable.start);
123 // Test the bitmap size
132 Bitmap b = BitmapFactory.decodeResourceStream(mRes, value, is, r, mOpt1);
134 // Test the bitmap siz
371 Bitmap bitmap = Bitmap.createBitmap(pixelCount, 1, Config.ARGB_8888); local
396 Bitmap bitmap = createBitmapForReuse(pixelCount); local
715 Bitmap bitmap = BitmapFactory.decodeResource(mRes, R.drawable.start, opt); local
    [all...]
YuvImageTest.java 25 import android.graphics.Bitmap;
59 private Bitmap[] mTestBitmaps = new Bitmap[1];
164 // <ImageFormat, Bitmap, HasPaddings, Rect>
220 Bitmap dst = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
225 Bitmap src = BitmapFactory.decodeResource(res, R.drawable.testimage);
230 // Generate YuvImage based on the content in bitmap. If paddings > 0, the
231 // strides of YuvImage are calculated by adding paddings to bitmap.getWidth()
    [all...]
  /development/samples/SupportLeanbackShowcase/libs/
picasso-2.5.2.jar 
  /art/runtime/gc/collector/
semi_space.cc 155 // Set the initial bitmap.
158 // TODO: I don't think we should need heap bitmap lock to Get the mark bitmap.
374 // bitmap or dirty cards as roots (including the objects on the live stack which have just
375 // marked in the live bitmap above in MarkAllocStackAsLive().)
539 // No logic for marking the bitmap, so it must be null.
558 // bitmap marking of the promoted object until it's popped off
563 // iterating over the marked bits of the live bitmap
594 accounting::ContinuousSpaceBitmap* bitmap = fallback_space_->GetLiveBitmap(); local
595 if (bitmap != nullptr)
    [all...]
  /art/runtime/gc/space/
large_object_space.cc 149 CHECK(space_bitmap == nullptr) << obj << " overlaps with bitmap " << *space_bitmap;
152 CHECK(space_bitmap == nullptr) << obj_end << " overlaps with bitmap " << *space_bitmap;
589 accounting::LargeObjectBitmap* bitmap = space->GetLiveBitmap(); local
591 bitmap->Clear(ptrs[i]);
  /cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
SplitAppTest.java 35 import android.graphics.Bitmap;
552 final Bitmap bitmap = Bitmap.createBitmap(d.getIntrinsicWidth(), d.getIntrinsicHeight(), local
553 Bitmap.Config.ARGB_8888);
554 final Canvas canvas = new Canvas(bitmap);
557 return bitmap.getPixel(0, 0);
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
AnimatedVectorDrawableTest.java 20 import android.graphics.Bitmap;
56 private Bitmap mBitmap;
72 mBitmap = Bitmap.createBitmap(IMAGE_WIDTH, IMAGE_HEIGHT, Bitmap.Config.ARGB_8888);
80 private void saveVectorDrawableIntoPNG(Bitmap bitmap, int resId) throws IOException {
100 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
  /cts/tests/tests/media/src/android/media/cts/
ExifInterfaceTest.java 20 import android.graphics.Bitmap;
210 Bitmap bitmap = BitmapFactory.decodeByteArray( local
212 if (bitmap == null) {
215 Log.v(TAG, fileName + " Thumbnail size: " + bitmap.getWidth() + ", "
216 + bitmap.getHeight());
277 Bitmap thumbnailBitmap =
  /developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageCache.java 21 import android.graphics.Bitmap;
22 import android.graphics.Bitmap.CompressFormat;
23 import android.graphics.Bitmap.Config;
83 private Set<SoftReference<Bitmap>> mReusableBitmaps;
143 // balancing of memory usage between this set and the bitmap LruCache. It would also
149 Collections.synchronizedSet(new HashSet<SoftReference<Bitmap>>());
168 // We're running on Honeycomb or later, so add the bitmap
170 mReusableBitmaps.add(new SoftReference<Bitmap>(oldValue.getBitmap()));
177 * for a bitmap cache
231 * Adds a bitmap to both memory and disk cache
317 Bitmap bitmap = null; local
364 Bitmap bitmap = null; local
614 Bitmap bitmap = value.getBitmap(); local
    [all...]
  /developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageCache.java 21 import android.graphics.Bitmap;
22 import android.graphics.Bitmap.CompressFormat;
23 import android.graphics.Bitmap.Config;
83 private Set<SoftReference<Bitmap>> mReusableBitmaps;
143 // balancing of memory usage between this set and the bitmap LruCache. It would also
149 Collections.synchronizedSet(new HashSet<SoftReference<Bitmap>>());
168 // We're running on Honeycomb or later, so add the bitmap
170 mReusableBitmaps.add(new SoftReference<Bitmap>(oldValue.getBitmap()));
177 * for a bitmap cache
231 * Adds a bitmap to both memory and disk cache
317 Bitmap bitmap = null; local
364 Bitmap bitmap = null; local
614 Bitmap bitmap = value.getBitmap(); local
    [all...]
  /development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
ImageCache.java 21 import android.graphics.Bitmap;
22 import android.graphics.Bitmap.CompressFormat;
23 import android.graphics.Bitmap.Config;
83 private Set<SoftReference<Bitmap>> mReusableBitmaps;
143 // balancing of memory usage between this set and the bitmap LruCache. It would also
149 Collections.synchronizedSet(new HashSet<SoftReference<Bitmap>>());
168 // We're running on Honeycomb or later, so add the bitmap
170 mReusableBitmaps.add(new SoftReference<Bitmap>(oldValue.getBitmap()));
177 * for a bitmap cache
231 * Adds a bitmap to both memory and disk cache
317 Bitmap bitmap = null; local
364 Bitmap bitmap = null; local
614 Bitmap bitmap = value.getBitmap(); local
    [all...]
  /development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/
DynamicListView.java 25 import android.graphics.Bitmap;
55 * a bitmap and its visibility is set to INVISIBLE. A hover cell is then created and
146 * Creates the hover cell with the appropriate bitmap and of appropriate
147 * size. The hover cell's BitmapDrawable is drawn on top of the bitmap every
157 Bitmap b = getBitmapWithBorder(v);
170 private Bitmap getBitmapWithBorder(View v) {
171 Bitmap bitmap = getBitmapFromView(v); local
172 Canvas can = new Canvas(bitmap);
174 Rect rect = new Rect(0, 0, bitmap.getWidth(), bitmap.getHeight())
189 Bitmap bitmap = Bitmap.createBitmap(v.getWidth(), v.getHeight(), Bitmap.Config.ARGB_8888); local
    [all...]
  /external/curl/lib/
ssh.c 2621 int bitmap = GETSOCK_BLANK; local
    [all...]
  /external/freetype/src/sfnt/
ttsbit.c 5 /* TrueType and OpenType embedded bitmap support (body). */
332 FT_Bitmap* bitmap; member in struct:TT_SBitDecoderRec_
370 decoder->bitmap = &face->root.glyph->bitmap;
426 FT_Bitmap* map = decoder->bitmap;
570 FT_Bitmap* bitmap; local
573 /* check that we can write the glyph into the bitmap */
574 bitmap = decoder->bitmap;
575 bit_width = bitmap->width
709 FT_Bitmap* bitmap; local
    [all...]
  /external/jemalloc/include/jemalloc/internal/
arena.h 65 /* Per region allocated/deallocated bitmap. */
66 bitmap_t bitmap[BITMAP_GROUPS_MAX]; member in struct:arena_run_s
    [all...]
  /external/mesa3d/src/mesa/state_tracker/
st_context.h 160 } bitmap; member in struct:st_context
  /external/pdfium/third_party/freetype/src/sfnt/
ttsbit.c 5 /* TrueType and OpenType embedded bitmap support (body). */
332 FT_Bitmap* bitmap; member in struct:TT_SBitDecoderRec_
370 decoder->bitmap = &face->root.glyph->bitmap;
426 FT_Bitmap* map = decoder->bitmap;
570 FT_Bitmap* bitmap; local
573 /* check that we can write the glyph into the bitmap */
574 bitmap = decoder->bitmap;
575 bit_width = bitmap->width
709 FT_Bitmap* bitmap; local
    [all...]

Completed in 1308 milliseconds

<<11121314151617181920>>