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

<<11121314151617181920>>

  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
CustomBar.java 37 import android.graphics.Bitmap;
118 // look for a cached bitmap
119 Bitmap bitmap = Bridge.getCachedBitmap(path, Boolean.TRUE /*isFramework*/); local
120 if (bitmap == null) {
122 bitmap = Bitmap_Delegate.createBitmap(stream, false /*isMutable*/, density);
123 Bridge.setCachedBitmap(path, bitmap, Boolean.TRUE /*isFramework*/);
129 if (bitmap != null) {
131 bitmap);
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
ResourceHelper.java 43 import android.graphics.Bitmap;
256 * @param value The value that contains a path to a 9 patch, a bitmap or a xml based drawable,
266 * @param value The value that contains a path to a 9 patch, a bitmap or a xml based drawable,
336 Bitmap bitmap = Bridge.getCachedBitmap(stringValue, local
339 if (bitmap == null) {
340 bitmap = Bitmap_Delegate.createBitmap(bmpFile, false /*isMutable*/,
342 Bridge.setCachedBitmap(stringValue, bitmap,
346 return new BitmapDrawable(context.getResources(), bitmap);
371 // see if we still have both the chunk and the bitmap in the cache
374 Bitmap bitmap = Bridge.getCachedBitmap(cacheKey, local
    [all...]
  /frameworks/opt/bitmap/src/com/android/bitmap/
ContiguousFIFOAggregator.java 17 package com.android.bitmap;
22 import com.android.bitmap.util.Trace;
UnrefedPooledCache.java 17 package com.android.bitmap;
22 import com.android.bitmap.util.Trace;
  /frameworks/opt/bitmap/src/com/android/bitmap/drawable/
TileDrawable.java 17 package com.android.bitmap.drawable;
27 import com.android.bitmap.drawable.ExtendedBitmapDrawable.ExtendedOptions;
  /frameworks/support/v14/preference/src/android/support/v14/preference/
PreferenceDialogFragment.java 25 import android.graphics.Bitmap;
98 final Bitmap bitmap = Bitmap.createBitmap(icon.getIntrinsicWidth(), local
99 icon.getIntrinsicHeight(), Bitmap.Config.ARGB_8888);
100 final Canvas canvas = new Canvas(bitmap);
103 mDialogIcon = new BitmapDrawable(getResources(), bitmap);
111 final Bitmap bitmap = savedInstanceState.getParcelable(SAVE_STATE_ICON); local
112 if (bitmap != null)
    [all...]
  /frameworks/support/v4/java/android/support/v4/app/
SharedElementCallback.java 20 import android.graphics.Bitmap;
46 private static final String BUNDLE_SNAPSHOT_BITMAP = "sharedElement:snapshot:bitmap";
174 Bitmap bitmap = createDrawableBitmap(d); local
175 if (bitmap != null) {
177 bundle.putParcelable(BUNDLE_SNAPSHOT_BITMAP, bitmap);
192 Bitmap bitmap = null; local
203 bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888)
227 Bitmap bitmap = Bitmap.createBitmap(bitmapWidth, bitmapHeight, Bitmap.Config.ARGB_8888); local
261 Bitmap bitmap = (Bitmap) bundle.getParcelable(BUNDLE_SNAPSHOT_BITMAP); local
277 Bitmap bitmap = (Bitmap) snapshot; local
    [all...]
  /frameworks/support/v7/mediarouter/src/android/support/v7/app/
OverlayListView.java 86 BitmapDrawable bitmap = object.getBitmapDrawable(); local
87 if (bitmap != null) {
88 bitmap.draw(canvas);
115 public OverlayObject(BitmapDrawable bitmap, Rect startRect) {
116 mBitmap = bitmap;
126 * Returns the bitmap that this object represents.
  /frameworks/support/v7/preference/src/android/support/v7/preference/
PreferenceDialogFragmentCompat.java 22 import android.graphics.Bitmap;
97 final Bitmap bitmap = Bitmap.createBitmap(icon.getIntrinsicWidth(), local
98 icon.getIntrinsicHeight(), Bitmap.Config.ARGB_8888);
99 final Canvas canvas = new Canvas(bitmap);
102 mDialogIcon = new BitmapDrawable(getResources(), bitmap);
110 final Bitmap bitmap = savedInstanceState.getParcelable(SAVE_STATE_ICON); local
111 if (bitmap != null)
    [all...]
  /packages/apps/Camera2/src/com/android/camera/data/
PhotoItem.java 21 import android.graphics.Bitmap;
66 private Optional<Bitmap> mSessionPlaceholderBitmap = Optional.absent();
75 * A bitmap that if present, is a high resolution bitmap from a temporary
79 * @param sessionPlaceholderBitmap a Bitmap to set as a placeholder
81 public void setSessionPlaceholderBitmap(Optional<Bitmap> sessionPlaceholderBitmap) {
202 Log.v(TAG, "using session bitmap as placeholder");
207 // If we do not have a placeholder bitmap, render a thumbnail with
220 public Optional<Bitmap> generateThumbnail(int boundingWidthPx, int boundingHeightPx) {
222 final Bitmap bitmap local
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/editor/
CompactContactEditorFragment.java 29 import android.graphics.Bitmap;
184 final Bitmap bitmap = ContactPhotoUtils.getBitmapFromUri(getActivity(), uri); local
185 if (bitmap == null || bitmap.getHeight() <= 0 || bitmap.getWidth() <= 0) {
CompactPhotoEditorView.java 29 import android.graphics.Bitmap;
123 * Tries to bind a full size photo or a bitmap loaded from the given ValuesDelta,
138 // Use the bitmap image from the values delta
139 final Bitmap bitmap = EditorUiUtils.getPhotoBitmap(valuesDelta); local
140 if (bitmap != null) {
141 setPhoto(bitmap);
198 * Binds the given bitmap.
200 private void setPhoto(Bitmap bitmap) {
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/util/
ContactPhotoUtils.java 23 import android.graphics.Bitmap;
93 * Given a uri pointing to a bitmap, reads it into a bitmap and returns it.
96 public static Bitmap getBitmapFromUri(Context context, Uri uri) throws FileNotFoundException {
106 * Creates a byte[] containing the PNG-compressed bitmap, or null if
109 public static byte[] compressBitmap(Bitmap bitmap) {
110 final int size = bitmap.getWidth() * bitmap.getHeight() * 4;
113 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out)
    [all...]
  /packages/apps/Email/provider_src/com/android/email/provider/
AttachmentProvider.java 26 import android.graphics.Bitmap;
198 Bitmap thumbnail = createThumbnail(type, in);
202 thumbnail = Bitmap.createScaledBitmap(thumbnail, width, height, true);
204 thumbnail.compress(Bitmap.CompressFormat.PNG, 100, out);
311 private static Bitmap createThumbnail(String type, InputStream data) {
318 private static Bitmap createImageThumbnail(InputStream data) {
320 Bitmap bitmap = BitmapFactory.decodeStream(data); local
321 return bitmap;
  /packages/apps/Gallery/tests/src/com/android/camera/
BitmapManagerUnitTests.java 23 import android.graphics.Bitmap;
36 Bitmap bitmap; field in class:BitmapManagerUnitTests.DecodeThread
43 bitmap = mImage.thumbBitmap(IImage.ROTATE_AS_NEEDED);
46 public Bitmap getBitmap() {
47 return bitmap;
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
SlideshowDataAdapter.java 19 import android.graphics.Bitmap;
130 Bitmap bitmap = item local
134 if (bitmap != null) {
137 new Slide(item, mLoadIndex, bitmap));
  /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...]

Completed in 1111 milliseconds

<<11121314151617181920>>