HomeSort by relevance Sort by last modified time
    Searched defs:bitmap (Results 426 - 450 of 800) sorted by null

<<11121314151617181920>>

  /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/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/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
  /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;
111 Bitmap b = BitmapFactory.decodeResource(mRes, R.drawable.start,
114 // Test the bitmap size
117 // Test if no bitmap
122 Bitmap b = BitmapFactory.decodeResource(mRes, R.drawable.start);
124 // Test the bitmap size
133 Bitmap b = BitmapFactory.decodeResourceStream(mRes, value, is, r, mOpt1);
135 // Test the bitmap siz
372 Bitmap bitmap = Bitmap.createBitmap(pixelCount, 1, Config.ARGB_8888); local
397 Bitmap bitmap = createBitmapForReuse(pixelCount); local
580 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...]
  /prebuilts/sdk/current/support/v7/palette/libs/
android-support-v7-palette.jar 
  /art/runtime/gc/collector/
semi_space.cc 144 // Set the initial bitmap.
147 // TODO: I don't think we should need heap bitmap lock to Get the mark bitmap.
343 // pointer space only collection is enabled,) then we need to scan its live bitmap or dirty
345 // bitmap above in MarkAllocStackAsLive().)
505 // No logic for marking the bitmap, so it must be null.
524 // bitmap marking of the promoted object until it's popped off
529 // iterating over the marked bits of the live bitmap
560 accounting::ContinuousSpaceBitmap* bitmap = fallback_space_->GetLiveBitmap(); local
561 if (bitmap != nullptr)
    [all...]
  /art/runtime/gc/space/
large_object_space.cc 145 CHECK(space_bitmap == nullptr) << obj << " overlaps with bitmap " << *space_bitmap;
148 CHECK(space_bitmap == nullptr) << obj_end << " overlaps with bitmap " << *space_bitmap;
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;
505 final Bitmap bitmap = Bitmap.createBitmap(d.getIntrinsicWidth(), d.getIntrinsicHeight(), local
506 Bitmap.Config.ARGB_8888);
507 final Canvas canvas = new Canvas(bitmap);
510 return bitmap.getPixel(0, 0);
  /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/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 47 /* Per region allocated/deallocated bitmap. */
48 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/openssh/
krl.c 40 #include "bitmap.h"
56 /* Tree of serial numbers. XXX make smarter: really need a real sparse bitmap */
516 "list %llu range %llu bitmap %llu new bitmap %llu, "
527 put_bitmap(struct sshbuf *buf, struct bitmap *bitmap)
533 len = bitmap_nbytes(bitmap);
536 if (bitmap_to_string(bitmap, blob, len) != 0) {
555 struct bitmap *bitmap = NULL local
814 struct bitmap *bitmap = NULL; local
    [all...]
  /external/pdfium/samples/
pdfium_test.cc 174 fprintf(stderr, "Failed to convert bitmap to PNG\n");
506 FPDF_BITMAP bitmap = FPDFBitmap_Create(width, height, 0); local
507 if (!bitmap) {
513 FPDFBitmap_FillRect(bitmap, 0, 0, width, height, 0xFFFFFFFF);
514 FPDF_RenderPageBitmap(bitmap, page, 0, 0, width, height, 0, 0);
517 FPDF_FFLDraw(form, bitmap, page, 0, 0, width, height, 0, 0);
518 int stride = FPDFBitmap_GetStride(bitmap);
520 reinterpret_cast<const char*>(FPDFBitmap_GetBuffer(bitmap));
544 FPDFBitmap_Destroy(bitmap);
  /external/pdfium/third_party/freetype/src/sfnt/
ttsbit.c 5 /* TrueType and OpenType embedded bitmap support (body). */
328 FT_Bitmap* bitmap; member in struct:TT_SBitDecoderRec_
366 decoder->bitmap = &face->root.glyph->bitmap;
422 FT_Bitmap* map = decoder->bitmap;
565 FT_Bitmap* bitmap; local
568 /* check that we can write the glyph into the bitmap */
569 bitmap = decoder->bitmap;
570 bit_width = bitmap->width
703 FT_Bitmap* bitmap; local
    [all...]
  /external/skia/bench/
nanobench.cpp 727 SkBitmap bitmap; local
728 if (SkImageDecoder::DecodeFile(path.c_str(), &bitmap,
730 && bitmap.colorType() == colorType) {
769 SkBitmap bitmap; local
774 success &= decoder->decodeSubset(&bitmap, rect,
    [all...]

Completed in 1744 milliseconds

<<11121314151617181920>>