HomeSort by relevance Sort by last modified time
    Searched refs:Bitmap (Results 376 - 400 of 619) sorted by null

<<11121314151617181920>>

  /packages/apps/Mms/src/com/android/mms/ui/
UriImage.java 29 import android.graphics.Bitmap;
31 import android.graphics.Bitmap.CompressFormat;
246 Bitmap b = null;
285 // Scale the bitmap using Bitmap library.
291 "Bitmap.createScaledBitmap: w=" + scaledWidth +
295 b = Bitmap.createScaledBitmap(b, scaledWidth, scaledHeight, false);
336 b.recycle(); // done with the bitmap, release the memory
  /packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
LiveWallpaperListAdapter.java 25 import android.graphics.Bitmap;
211 Bitmap thumbnail = Bitmap.createBitmap(thumbWidth, thumbHeight,
212 Bitmap.Config.ARGB_8888);
  /cts/tests/tests/widget/src/android/widget/cts/
ImageSwitcherTest.java 31 import android.graphics.Bitmap;
141 Bitmap testImageBitmap = WidgetTestUtils.getUnscaledAndDitheredBitmap(
150 Bitmap sceneryImageBitmap = WidgetTestUtils.getUnscaledAndDitheredBitmap(
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
FingerPaint.java 63 private Bitmap mBitmap;
78 mBitmap = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888);
TouchPaint.java 20 import android.graphics.Bitmap;
104 // the contents of the bitmap.
236 private Bitmap mBitmap;
287 Bitmap newBitmap = Bitmap.createBitmap(curW, curH, Bitmap.Config.ARGB_8888);
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
NetworkUtilities.java 39 import android.graphics.Bitmap;
234 // Request the avatar image from the server, and create a bitmap
241 final Bitmap avatar = BitmapFactory.decodeStream(connection.getInputStream(),
251 avatar.compress(Bitmap.CompressFormat.JPEG, 95, convertStream);
  /external/replicaisland/src/com/replica/replicaisland/
TextureLibrary.java 27 import android.graphics.Bitmap;
58 sBitmapOptions.inPreferredConfig = Bitmap.Config.RGB_565;
126 /** Loads a bitmap into OpenGL and sets up the common parameters for 2D texture maps. */
161 Bitmap bitmap; local
163 bitmap = BitmapFactory.decodeStream(is);
173 GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bitmap, 0);
183 mCropWorkspace[1] = bitmap.getHeight();
184 mCropWorkspace[2] = bitmap.getWidth();
185 mCropWorkspace[3] = -bitmap.getHeight()
    [all...]
  /frameworks/support/v4/java/android/support/v4/app/
NotificationCompat.java 23 import android.graphics.Bitmap;
83 Bitmap mLargeIcon;
266 public Builder setLargeIcon(Bitmap icon) {
  /packages/apps/Browser/src/com/android/browser/preferences/
WebsiteSettingsFragment.java 24 import android.graphics.Bitmap;
71 private Bitmap mIcon;
139 public void setIcon(Bitmap icon) {
143 public Bitmap getIcon() {
197 private Bitmap mDefaultIcon;
198 private Bitmap mUsageEmptyIcon;
199 private Bitmap mUsageLowIcon;
200 private Bitmap mUsageHighIcon;
201 private Bitmap mLocationAllowedIcon;
202 private Bitmap mLocationDisallowedIcon
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/
ContactPhotoManager.java 31 import android.graphics.Bitmap;
227 Bitmap bitmap; field in class:ContactPhotoManagerImpl.BitmapHolder
228 Reference<Bitmap> bitmapRef;
239 * An LRU cache for bitmap holders. The cache contains bytes for photos just
241 * actual bitmap.
255 private final LruCache<Object, Bitmap> mBitmapCache;
305 mBitmapCache = new LruCache<Object, Bitmap>(bitmapCacheSize) {
306 @Override protected int sizeOf(Object key, Bitmap value) {
311 boolean evicted, Object key, Bitmap oldValue, Bitmap newValue)
512 Bitmap bitmap = BitmapFactory.decodeByteArray(bytes, 0, bytes.length, null); local
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/activities/
AttachPhotoActivity.java 31 import android.graphics.Bitmap;
156 Bitmap photo = extras.getParcelable("data");
159 photo.compress(Bitmap.CompressFormat.JPEG, 75, stream);
  /packages/apps/Gallery/src/com/android/camera/
ImageGetter.java 24 import android.graphics.Bitmap;
32 * into memory and post a callback to display the resulting bitmap.
34 * Then proceed to load the full image bitmap. Three things can
44 * a callback to the UI thread to actually show the bitmap.
49 * bitmap on the floor.
53 public void imageLoaded(int pos, int offset, RotateBitmap bitmap,
104 final RotateBitmap bitmap,
111 mCB.imageLoaded(position, offset, bitmap, isThumb);
112 } else if (bitmap != null) {
113 bitmap.recycle()
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/gadget/
WidgetDatabaseHelper.java 27 import android.graphics.Bitmap;
169 * Store the given bitmap in this database for the given appWidgetId.
171 public boolean setPhoto(int appWidgetId, Uri imageUri, Bitmap bitmap) {
176 int size = bitmap.getWidth() * bitmap.getHeight() * 4;
178 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
231 * Remove any bitmap associated with the given appWidgetId.
  /packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/
FilterStack.java 19 import android.graphics.Bitmap;
165 final Bitmap bitmap = (photo != null) ? photo.save() : null;
170 callback.onDone(bitmap);
177 public void setPhotoSource(final Bitmap bitmap, final OnDoneCallback callback) {
182 source = Photo.create(bitmap);
  /packages/apps/Launcher2/src/com/android/launcher2/
PagedViewWidget.java 25 import android.graphics.Bitmap;
48 private Bitmap mHolographicOutline;
162 public void setHolographicOutline(Bitmap holoOutline) {
  /packages/apps/Tag/canon/src/com/android/apps/tagcanon/
TagCanon.java 26 import android.graphics.Bitmap;
85 Bitmap photo = ((BitmapDrawable) drawable).getBitmap();
90 photo.compress(Bitmap.CompressFormat.PNG, 100, out);
  /packages/apps/VideoEditor/src/com/android/videoeditor/service/
ApiServiceListener.java 19 import android.graphics.Bitmap;
245 * @param thumbnail The bitmap thumbnail
250 * @return true if the bitmap is used
253 Bitmap thumbnail, int index, int token, Exception exception) {
317 * @return true if the bitmap is used
320 Bitmap[] thumbnails, Exception exception) {
  /packages/apps/VideoEditor/src/com/android/videoeditor/util/
FileUtils.java 28 import android.graphics.Bitmap;
30 import android.graphics.Bitmap.CompressFormat;
103 Bitmap bitmap = null; local
108 bitmap = BitmapFactory.decodeStream(is);
109 if (bitmap == null) {
114 if (!bitmap.compress(CompressFormat.JPEG, 100, fos)) {
115 throw new IllegalStateException("Cannot compress bitmap");
122 if (bitmap != null) {
123 bitmap.recycle()
    [all...]
  /packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
TransitionView.java 25 import android.graphics.Bitmap;
61 private Bitmap[] mBitmaps;
113 // Prepare the bitmap rectangles
231 public boolean setBitmaps(Bitmap[] bitmaps) {
  /packages/wallpapers/Basic/src/com/android/wallpaper/galaxy/
GalaxyRS.java 25 import android.graphics.Bitmap;
46 mOptionsARGB.inPreferredConfig = Bitmap.Config.ARGB_8888;
144 Bitmap b = BitmapFactory.decodeResource(mResources, id, mOptionsARGB);
  /packages/wallpapers/Basic/src/com/android/wallpaper/nexus/
NexusRS.java 31 import android.graphics.Bitmap;
54 mOptionsARGB.inPreferredConfig = Bitmap.Config.ARGB_8888;
110 Bitmap b = BitmapFactory.decodeResource(mResources, id, mOptionsARGB);
  /packages/apps/Music/src/com/android/music/
TouchInterceptor.java 22 import android.graphics.Bitmap;
71 private Bitmap mDragBitmap;
135 Bitmap bitmap = Bitmap.createBitmap(item.getDrawingCache()); local
136 startDragging(bitmap, x, y);
368 private void startDragging(Bitmap bm, int x, int y) {
  /packages/experimental/LoaderApp/src/com/android/loaderapp/util/
ContactsUtils.java 27 import android.graphics.Bitmap;
125 * Opens an InputStream for the person's photo and returns the photo as a Bitmap.
131 * @return the photo Bitmap
133 public static Bitmap loadContactPhoto(Cursor cursor, int bitmapColumnIndex,
149 * @return the placeholder Bitmap.
151 public static Bitmap loadPlaceholderPhoto(int placeholderImageResource, Context context,
160 public static Bitmap loadContactPhoto(Context context, long photoId,
163 Bitmap photoBm = null;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
LatinKeyboard.java 23 import android.graphics.Bitmap;
261 private Bitmap drawSpacebar(Locale inputLocale, boolean isAutoCorrection,
265 final Bitmap buffer = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
  /frameworks/base/core/java/android/webkit/
HTML5VideoViewProxy.java 20 import android.graphics.Bitmap;
80 // This ref prevents the bitmap from being GC'ed.
81 private Bitmap mPoster;
451 Bitmap poster = BitmapFactory.decodeByteArray(
563 Bitmap poster = (Bitmap) msg.obj;
577 private void doSetPoster(Bitmap poster) {
581 // Save a ref to the bitmap and send it over to the WebCore thread.
696 private native void nativeOnPosterFetched(Bitmap poster, int nativePointer);

Completed in 1324 milliseconds

<<11121314151617181920>>