HomeSort by relevance Sort by last modified time
    Searched defs:bitmap (Results 676 - 700 of 1117) sorted by null

<<21222324252627282930>>

  /packages/apps/Launcher3/WallpaperPicker/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/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) {
139 imageView.setImageDrawable(bitmap);
148 // still holds one to the bitmap
229 Log.d("BitmapWorkerTask", "Source bitmap: (" + bitmapOptions.outWidth + "x"
237 Bitmap bitmap = null 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 143 // Set the initial bitmap.
146 // TODO: I don't think we should need heap bitmap lock to Get the mark bitmap.
332 // pointer space only collection is enabled,) then we need to scan its live bitmap or dirty
334 // bitmap above in MarkAllocStackAsLive().)
493 // No logic for marking the bitmap, so it must be null.
512 // bitmap marking of the promoted object until it's popped off
517 // iterating over the marked bits of the live bitmap
547 accounting::ContinuousSpaceBitmap* bitmap = fallback_space_->GetLiveBitmap(); local
548 if (bitmap != nullptr)
    [all...]
  /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/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/
MediaNotificationManager.java 30 import android.graphics.Bitmap;
67 private final LruCache<String, Bitmap> mAlbumArtCache;
88 mAlbumArtCache = new LruCache<String, Bitmap>(MAX_ALBUM_ART_CACHE_SIZE) {
90 protected int sizeOf(String key, Bitmap value) {
258 Bitmap art = description.getIconBitmap();
352 new AsyncTask<Void, Void, Bitmap>() {
354 protected Bitmap doInBackground(Void[] objects) {
355 Bitmap bitmap = null; local
357 bitmap = BitmapHelper.fetchAndRescaleBitmap(source
    [all...]
  /developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/
MediaNotificationManager.java 30 import android.graphics.Bitmap;
67 private final LruCache<String, Bitmap> mAlbumArtCache;
88 mAlbumArtCache = new LruCache<String, Bitmap>(MAX_ALBUM_ART_CACHE_SIZE) {
90 protected int sizeOf(String key, Bitmap value) {
258 Bitmap art = description.getIconBitmap();
352 new AsyncTask<Void, Void, Bitmap>() {
354 protected Bitmap doInBackground(Void[] objects) {
355 Bitmap bitmap = null; local
357 bitmap = BitmapHelper.fetchAndRescaleBitmap(source
    [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/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
MediaNotification.java 30 import android.graphics.Bitmap;
67 private final LruCache<String, Bitmap> mAlbumArtCache;
89 mAlbumArtCache = new LruCache<String, Bitmap>(MAX_ALBUM_ART_CACHE_SIZE) {
91 protected int sizeOf(String key, Bitmap value) {
259 Bitmap art = description.getIconBitmap();
353 new AsyncTask<Void, Void, Bitmap>() {
355 protected Bitmap doInBackground(Void[] objects) {
356 Bitmap bitmap = null; local
358 bitmap = BitmapHelper.fetchAndRescaleBitmap(source
    [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/chromium_org/android_webview/browser/
browser_view_renderer.cc 382 // TODO(hush): right now webview size is passed in as the auxiliary bitmap
384 // bitmap). For better performance, get global visible rect, transform it
387 // bitmap.
812 SkBitmap bitmap; local
813 bitmap.allocN32Pixels(1, 1);
814 bitmap.eraseColor(0);
815 SkCanvas canvas(bitmap);
  /external/chromium_org/cc/layers/
scrollbar_layer_unittest.cc 1057 UIResourceBitmap* bitmap = layer_tree_host_->ui_resource_bitmap( local
    [all...]
  /external/chromium_org/cc/output/
software_renderer.cc 220 case ResourceProvider::Bitmap:
341 // cases and fall back to a persistent bitmap backing
380 const SkBitmap* bitmap = lock.sk_bitmap(); local
383 bitmap->width(),
384 bitmap->height());
396 !bitmap->isOpaque();
412 SkShader::CreateBitmapShader(*bitmap, tile_mode, tile_mode, &matrix));
418 current_canvas_->drawBitmapRectToRect(*bitmap,
572 scoped_ptr<SkBitmap> bitmap(new SkBitmap);
573 bitmap->setInfo(SkImageInfo::MakeN32Premul(window_copy_rect.width()
    [all...]
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/widget/accessibility/
AccessibilityTabModelListItem.java 12 import android.graphics.Bitmap;
281 Bitmap bitmap = mTab.getFavicon(); local
282 if (bitmap != null) {
283 mFaviconView.setImageBitmap(bitmap);
  /external/chromium_org/chrome/browser/history/android/
android_provider_backend_unittest.cc 58 // Creates a 16x16 bitmap.
60 SkBitmap bitmap; local
61 bitmap.allocN32Pixels(16, 16);
62 bitmap.eraseColor(SK_ColorBLUE);
63 return bitmap;
    [all...]
  /external/chromium_org/content/browser/compositor/
delegated_frame_host.cc 558 scoped_ptr<SkBitmap> bitmap,
571 callback.Run(result, *bitmap);
587 scoped_ptr<SkBitmap> bitmap(new SkBitmap);
588 if (!bitmap->tryAllocPixels(SkImageInfo::Make(dst_size_in_pixel.width(),
600 new SkAutoLockPixels(*bitmap));
601 uint8* pixels = static_cast<uint8*>(bitmap->getPixels());
621 base::Passed(&bitmap),
657 // The software path currently always returns N32 bitmap regardless of the
753 scoped_ptr<SkBitmap> bitmap = result->TakeBitmap(); local
754 // Scale the bitmap to the required size, if necessary
    [all...]
  /external/chromium_org/content/browser/frame_host/
navigation_controller_impl_unittest.cc 47 SkBitmap bitmap; local
48 bitmap.allocN32Pixels(1, 1);
49 bitmap.eraseColor(color);
50 return gfx::Image::CreateFrom1xBitmap(bitmap);
81 SkBitmap bitmap; local
82 bitmap.allocPixels(SkImageInfo::Make(
84 bitmap.eraseARGB(0, 0, 0, 0);
86 OnScreenshotTaken(entry->GetUniqueID(), true, bitmap);
    [all...]
  /external/chromium_org/content/renderer/npapi/
webplugin_delegate_proxy.cc 678 // plugin bitmap
712 const SkBitmap& bitmap = local
718 canvas->drawBitmapRect(bitmap,
    [all...]
  /external/chromium_org/content/shell/renderer/test_runner/
test_plugin.cc 294 scoped_ptr<base::SharedMemory> bitmap = local
296 if (!bitmap->Map(bytes)) {
299 DrawSceneSoftware(bitmap->memory(), bytes);
301 bitmap.get(), gfx::Size(rect_.width, rect_.height));
302 shared_bitmap_ = bitmap.Pass();
321 static void ReleaseSharedMemory(scoped_ptr<base::SharedMemory> bitmap,
428 SkBitmap bitmap; local
429 bitmap.installPixels(info, memory, info.minRowBytes());
430 SkCanvas canvas(bitmap);

Completed in 1665 milliseconds

<<21222324252627282930>>