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

<<11121314151617181920>>

  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
BitmapCache.java 19 import android.graphics.Bitmap;
31 private HashMap<Long, ArrayList<WeakReference<Bitmap>>>
32 mBitmapCache = new HashMap<Long, ArrayList<WeakReference<Bitmap>>>();
55 Bitmap bitmap; field in class:BitmapCache.BitmapTracking
61 private void track(Bitmap bitmap, int type) {
64 if (tracking.bitmap == bitmap) {
65 Log.e(LOGTAG, "giving a bitmap already given!!!")
125 Bitmap bitmap = buffer.getBitmap(); local
185 Bitmap bitmap = null; local
207 Bitmap bitmap = getBitmap(source.getWidth(), source.getHeight(), type); local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
CategoryView.java 21 import android.graphics.Bitmap;
137 Bitmap bitmap = BitmapFactory.decodeResource(getResources(), R.drawable.filtershow_add); local
138 setBitmap(bitmap);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
ColorBrightnessView.java 20 import android.graphics.Bitmap;
91 Bitmap bitmap = Bitmap.createBitmap(colors, 16, 16, Bitmap.Config.ARGB_8888); local
92 BitmapShader bs = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT);
ColorCompareView.java 21 import android.graphics.Bitmap;
82 Bitmap bitmap = Bitmap.createBitmap(colors, imgdim, imgdim, Bitmap.Config.ARGB_8888); local
83 BitmapShader bs = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT);
ColorSaturationView.java 20 import android.graphics.Bitmap;
91 Bitmap bitmap = Bitmap.createBitmap(colors, 16, 16, Bitmap.Config.ARGB_8888); local
92 BitmapShader bs = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
EditorDrawTabletUI.java 22 import android.graphics.Bitmap;
136 Bitmap bitmap = BitmapFactory.decodeResource(context.getResources(), mBrushIcons[i]); local
137 button.setImageBitmap(bitmap);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageTinyPlanet.java 20 import android.graphics.Bitmap;
143 Bitmap bitmap = MasterImage.getImage().getHighresImage(); local
144 if (bitmap == null) {
145 bitmap = MasterImage.getImage().getFilteredImage();
148 if (bitmap != null) {
149 display(canvas, bitmap);
153 private void display(Canvas canvas, Bitmap bitmap) {
156 float iw = bitmap.getWidth()
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
CacheProcessing.java 19 import android.graphics.Bitmap;
37 Bitmap cache;
94 public Bitmap apply(FilterEnvironment environment, Bitmap cacheBitmap) {
96 Bitmap source = cacheBitmap;
109 Log.v(LOGTAG, "Apply geometry to bitmap " + cacheBitmap);
116 + " to bitmap " + cacheBitmap);
125 Log.v(LOGTAG, "Apply returns bitmap " + cacheBitmap);
131 public Bitmap process(Bitmap originalBitmap
245 Bitmap bitmap = currentStep.cache; local
    [all...]
ImageSavingTask.java 20 import android.graphics.Bitmap;
40 Bitmap previewImage;
45 Bitmap bitmap; field in class:ImageSavingTask.UpdateBitmap
69 Bitmap previewImage, boolean flatten,
89 Bitmap previewImage = request.previewImage;
93 // We create a small bitmap showing the result that we can
96 updateBitmap.bitmap = createNotificationBitmap(previewImage, sourceUri, preset);
139 Bitmap bitmap = ((UpdateBitmap) message).bitmap local
155 Bitmap bitmap = ImageLoader.loadConstrainedBitmap(sourceUri, getContext(), local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/gadget/
PhotoAppWidgetProvider.java 25 import android.graphics.Bitmap;
109 Bitmap bitmap = BitmapFactory.decodeByteArray(data, 0, data.length); local
110 views.setImageViewBitmap(R.id.photo, bitmap);
WidgetConfigure.java 23 import android.graphics.Bitmap;
127 Bitmap bitmap = (Bitmap) data.getParcelableExtra("data"); local
130 helper.setPhoto(mAppWidgetId, mPickedItem, bitmap);
WidgetService.java 22 import android.graphics.Bitmap;
119 Bitmap bitmap = mSource.getImage(position); local
120 if (bitmap == null) return getLoadingView();
124 views.setImageViewBitmap(R.id.appwidget_photo_item, bitmap);
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
AlbumLabelMaker.java 20 import android.graphics.Bitmap;
21 import android.graphics.Bitmap.Config;
66 private Bitmap getOverlayAlbumIcon(int sourceType) {
91 private Bitmap mBitmap;
98 public synchronized Bitmap get() {
101 options.inPreferredConfig = Bitmap.Config.ARGB_8888;
117 public ThreadPool.Job<Bitmap> requestLabel(
132 private class AlbumLabelJob implements ThreadPool.Job<Bitmap> {
144 public Bitmap run(JobContext jc) {
149 Bitmap icon = getOverlayAlbumIcon(mSourceType)
151 Bitmap bitmap; local
    [all...]
  /packages/apps/Gallery2/src/com/android/photos/shims/
BitmapJobDrawable.java 19 import android.graphics.Bitmap;
40 private Bitmap mBitmap;
70 Bitmap bitmap = mLoader.getBitmap(); local
71 if (bitmap != null) {
72 mBitmap = bitmap;
140 Bitmap bm = mBitmap;
169 protected Future<Bitmap> submitBitmapTask(FutureListener<Bitmap> l) {
175 protected void onLoadComplete(Bitmap bitmap)
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
ItemInfo.java 22 import android.graphics.Bitmap;
185 static byte[] flattenBitmap(Bitmap bitmap) {
188 int size = bitmap.getWidth() * bitmap.getHeight() * 4;
191 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
201 static void writeBitmap(ContentValues values, Bitmap bitmap) {
202 if (bitmap != null)
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/datamodel/media/
AvatarRequest.java 20 import android.graphics.Bitmap;
43 private static Bitmap sDefaultPersonBitmap;
44 private static Bitmap sDefaultPersonBitmapLarge;
74 Bitmap bitmap = null; local
81 bitmap = imageResource.getBitmap();
93 // Check to see if we already got the bitmap. If not get a fallback avatar
94 if (bitmap == null) {
109 bitmap = renderLetterTile(name, width, height);
111 bitmap = renderDefaultAvatar(width, height)
118 final Bitmap bitmap = getBitmapPool().createOrReuseBitmap(width, height, local
160 final Bitmap bitmap = getBitmapPool().createOrReuseBitmap(width, height, local
    [all...]
SimSelectorAvatarRequest.java 20 import android.graphics.Bitmap;
40 private static Bitmap sRegularSimIcon;
77 final Bitmap bitmap = getBitmapPool().createOrReuseBitmap(width, height, backgroundColor); local
79 final Canvas canvas = new Canvas(bitmap);
110 return new DecodedImageResource(getKey(), bitmap, ExifInterface.ORIENTATION_NORMAL);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
BitmapDownloader.java 22 import android.graphics.Bitmap;
52 // 1/4 of max memory is used for bitmap mem cache
55 // hard limit for bitmap mem cache in MB
59 * bitmap cache item structure saved in LruCache
63 * cached bitmap
65 final Bitmap mBitmap;
67 * indicate if the bitmap is scaled down from original source (never scale up)
71 public BitmapItem(Bitmap bitmap, boolean scaled) {
72 mBitmap = bitmap;
135 Bitmap bitmap = null; local
165 Bitmap bitmap = null; local
198 final Bitmap bitmap = hasAccountImageUri ? null : getBitmapFromMemCache(options); local
294 Bitmap bitmap = bitmapItem.mBitmap; local
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
AbstractAvatarDrawable.java 16 package com.android.mail.bitmap;
19 import android.graphics.Bitmap;
30 import com.android.bitmap.BitmapCache;
31 import com.android.bitmap.RequestKey;
32 import com.android.bitmap.ReusableBitmap;
35 import com.android.mail.bitmap.ContactResolver.ContactDrawableInterface;
108 * Draw the bitmap onto the canvas at the current bounds taking into account the current scale.
110 protected void drawBitmap(final Bitmap bitmap, final int width, final int height,
113 // Draw bitmap through shader first
    [all...]
FlipDrawable.java 16 package com.android.mail.bitmap;
  /packages/apps/UnifiedEmail/src/com/android/mail/widget/
WidgetConversationListItemViewBuilder.java 21 import android.graphics.Bitmap;
47 // Static bitmap
48 private static Bitmap ATTACHMENT;
97 Bitmap bitmap = Bitmap.createBitmap(color, 1, 1, Bitmap.Config.RGB_565); local
98 remoteViews.setImageViewBitmap(viewId, bitmap);
124 // Initialize Bitmap
182 Bitmap paperclipBitmap = null
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
trie_map.cpp 38 const int TrieMap::TERMINAL_LINKED_ENTRY_COUNT = 2; // Value entry and bitmap entry.
80 // Create a value entry and a bitmap entry.
278 * @param bitmapEntryIndex the index of bitmap entry
306 * @param bitmapEntryIndex the index of bitmap entry
307 * @param bitmapEntry the bitmap entry
314 const uint32_t bitmap = bitmapEntry.getBitmap(); local
316 if (!exists(bitmap, label)) {
318 return addNewEntryByExpandingTable(key, value, mapIndex, bitmap, bitmapEntryIndex, label);
320 const int entryIndex = mapIndex + popCount(bitmap, label);
323 // Bitmap entry is found. Go to the next level
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
CubeMapActivity.java 34 import android.graphics.Bitmap;
147 Bitmap bitmap; local
149 bitmap = BitmapFactory.decodeStream(is);
158 bitmap, 0);
159 bitmap.recycle();
  /frameworks/base/services/core/java/com/android/server/am/
TaskPersister.java 23 import android.graphics.Bitmap;
112 Bitmap mImage;
113 ImageWriteQueueItem(String filename, Bitmap image) {
225 void saveImage(Bitmap image, String filename) {
233 // replace the Bitmap with the new one.
256 Bitmap getTaskDescriptionIcon(String filename) {
258 final Bitmap icon = getImageFromWriteQueue(filename);
265 Bitmap getImageFromWriteQueue(String filename) {
462 static Bitmap restoreImage(String filename) {
552 final Bitmap bitmap = imageWriteQueueItem.mImage local
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
GLDepthTestActivity.java 23 import android.graphics.Bitmap;
243 Bitmap bitmap; local
245 bitmap = BitmapFactory.decodeStream(is);
254 GLUtils.texImage2D(GLES20.GL_TEXTURE_2D, 0, bitmap, 0);
255 bitmap.recycle();

Completed in 1272 milliseconds

<<11121314151617181920>>