| /packages/apps/Gallery2/src/com/android/gallery3d/data/ |
| LocalVideo.java | 21 import android.graphics.Bitmap; 154 public Job<Bitmap> requestImage(int type) { 170 public Bitmap onDecodeOriginal(JobContext jc, int type) { 171 Bitmap bitmap = BitmapUtils.createVideoThumbnail(mLocalFilePath); local 172 if (bitmap == null || jc.isCancelled()) return null; 173 return bitmap;
|
| /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/Launcher3/src/com/android/launcher3/ |
| ItemInfo.java | 22 import android.graphics.Bitmap; 178 static byte[] flattenBitmap(Bitmap bitmap) { 181 int size = bitmap.getWidth() * bitmap.getHeight() * 4; 184 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out); 194 static void writeBitmap(ContentValues values, Bitmap bitmap) { 195 if (bitmap != null) [all...] |
| /packages/apps/Mms/src/com/android/mms/ui/ |
| BasicSlideEditorView.java | 23 import android.graphics.Bitmap; 99 public void setImage(String name, Bitmap bitmap) { 101 if (null == bitmap) { 102 bitmap = BitmapFactory.decodeResource(getResources(), 105 mImageView.setImageBitmap(bitmap); 134 Bitmap bitmap = VideoAttachmentView.createVideoThumbnail(mContext, video); local 135 if (null == bitmap) { 136 bitmap = BitmapFactory.decodeResource(getResources() [all...] |
| /packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
| BitmapDownloader.java | 21 import android.graphics.Bitmap; 50 // 1/4 of max memory is used for bitmap mem cache 53 // hard limit for bitmap mem cache in MB 57 * bitmap cache item structure saved in LruCache 61 * cached bitmap 63 Bitmap mBitmap; 65 * indicate if the bitmap is scaled down from original source (never scale up) 69 public BitmapItem(Bitmap bitmap, boolean scaled) { 70 mBitmap = bitmap; 133 Bitmap bitmap = null; local 163 Bitmap bitmap = null; local 196 final Bitmap bitmap = hasAccountImageUri ? null : getBitmapFromMemCache(options); local 292 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/suggest/policyimpl/dictionary/utils/ |
| trie_map.cpp | 78 // Create a value entry and a bitmap entry. 242 * @param bitmapEntryIndex the index of bitmap entry 270 * @param bitmapEntryIndex the index of bitmap entry 271 * @param bitmapEntry the bitmap entry 278 const uint32_t bitmap = bitmapEntry.getBitmap(); local 280 if (!exists(bitmap, label)) { 282 return addNewEntryByExpandingTable(key, value, mapIndex, bitmap, bitmapEntryIndex, label); 284 const int entryIndex = mapIndex + popCount(bitmap, label); 287 // Bitmap entry is found. Go to the next level. 324 const Entry newBitmapEntry(setExist(0 /* bitmap */, nextLabel), newTableIndex) [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/packages/Keyguard/src/com/android/keyguard/ |
| KeyguardTransportControlView.java | 22 import android.graphics.Bitmap; 388 ss.bitmap = mMetadata.bitmap; 404 mMetadata.bitmap = ss.bitmap; 422 private Bitmap bitmap; field in class:KeyguardTransportControlView.Metadata 429 bitmap = null; 454 mMetadata.bitmap = data.getBitmap(MediaMetadataEditor.BITMAP_KEY_ARTWORK, 455 mMetadata.bitmap); 665 Bitmap bitmap; field in class:KeyguardTransportControlView.SavedState [all...] |