Searched refs:bmp (Results 1 - 6 of 6) sorted by relevance

/packages/apps/Gallery2/tests/src/com/android/gallery3d/exif/
H A DExifOutputStreamTest.java43 Bitmap bmp = BitmapFactory.decodeStream(imageInputStream);
54 bmp.compress(Bitmap.CompressFormat.JPEG, 100, exifOutputStream);
H A DExifParserTest.java201 Bitmap bmp = null;
217 bmp = BitmapFactory.decodeByteArray(buf, 0, imageSize);
223 assertNotNull(bmp);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
H A DImageLoader.java346 Bitmap bmp = mZoomCache.getImage(imagePreset, bounds);
347 if (force || bmp == null) {
348 bmp = loadRegionBitmap(mUri, bounds);
349 if (bmp != null) {
351 Bitmap bmp2 = bmp.copy(Bitmap.Config.ARGB_8888, true);
361 return bmp;
/packages/apps/Launcher2/src/com/android/launcher2/
H A DDragController.java169 * @param bmp The bitmap that represents the view being dragged
177 public void startDrag(View v, Bitmap bmp, DragSource source, Object dragInfo, int dragAction, argument
182 (int) ((initialDragViewScale * bmp.getWidth() - bmp.getWidth()) / 2);
184 (int) ((initialDragViewScale * bmp.getHeight() - bmp.getHeight()) / 2);
186 startDrag(bmp, dragLayerX, dragLayerY, source, dragInfo, dragAction, null, dragRegion,
/packages/apps/Browser/src/com/android/browser/preferences/
H A DWebsiteSettingsFragment.java337 Bitmap bmp = null;
340 bmp = BitmapFactory.decodeByteArray(data, 0, data.length);
358 if (bmp != null) {
360 site.setIcon(bmp);
498 Bitmap bmp = site.getIcon();
499 if (bmp == null) {
500 bmp = mDefaultIcon;
502 icon.setImageBitmap(bmp);
/packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/
H A DHoloSpiralRS.java182 Bitmap bmp = BitmapFactory.decodeResource(
184 Allocation pointTexture = Allocation.createFromBitmap(mRS, bmp);

Completed in 288 milliseconds