Searched refs:Bitmap (Results 176 - 200 of 448) sorted by path

1234567891011>>

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/views/
H A DRecentsTvTransitionHelper.java21 import android.graphics.Bitmap;
133 Bitmap thumbnail = Bitmap.createScaledBitmap(task.thumbnail, taskRect.width(),
H A DTaskCardView.java23 import android.graphics.Bitmap;
295 private void setAsScreenShotView(Bitmap screenshot, ImageView screenshotView) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DRecentsTransitionHelper.java29 import android.graphics.Bitmap;
274 Bitmap thumbnail = RecentsTransitionHelper.composeTaskBitmap(taskView, mTmpTransform);
357 public static Bitmap composeTaskBitmap(TaskView taskView, TaskViewTransform transform) {
365 Bitmap b = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888);
369 Bitmap b = Bitmap.createBitmap(fromWidth, fromHeight,
370 Bitmap.Config.ARGB_8888);
384 private static Bitmap composeHeaderBitma
[all...]
H A DTaskViewThumbnail.java22 import android.graphics.Bitmap;
165 void setThumbnail(Bitmap bm, ActivityManager.TaskThumbnailInfo thumbnailInfo) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DGlobalScreenshot.java34 import android.graphics.Bitmap;
77 Bitmap image;
151 Bitmap picture = Bitmap.createBitmap(previewWidth, previewHeight, data.image.getConfig());
160 Bitmap icon = Bitmap.createBitmap(iconSize, iconSize, data.image.getConfig());
216 mNotificationStyle.bigLargeIcon((Bitmap) null);
230 Bitmap image = mParams.image;
243 image.compress(Bitmap.CompressFormat.PNG, 100, out);
419 private Bitmap mScreenBitma
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyboardShortcuts.java31 import android.graphics.Bitmap;
627 Bitmap bitmap = Bitmap.createBitmap(shortcutKeyIconItemHeightWidth,
628 shortcutKeyIconItemHeightWidth, Bitmap.Config.ARGB_8888);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DLockscreenWallpaper.java26 import android.graphics.Bitmap;
56 private Bitmap mCache;
78 public Bitmap getBitmap() {
193 public final Bitmap bitmap;
195 LoaderResult(boolean success, Bitmap bitmap) {
200 static LoaderResult success(Bitmap b) {
217 public WallpaperDrawable(Resources r, Bitmap b) {
272 private final Bitmap mBackground;
274 ConstantState(Bitmap background) {
H A DPhoneStatusBar.java42 import android.graphics.Bitmap;
2080 Bitmap artworkBitmap = null;
2092 Bitmap lockWallpaper = mLockscreenWallpaper.getBitmap();
H A DUserAvatarView.java22 import android.graphics.Bitmap;
86 * @deprecated use {@link #setAvatar(Bitmap)} instead.
89 public void setBitmap(Bitmap bitmap) {
117 public void setAvatar(Bitmap avatar) {
122 public void setAvatarWithBadge(Bitmap avatar, int userId) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DUserInfoController.java28 import android.graphics.Bitmap;
149 Bitmap rawAvatar = um.getUserIcon(userId);
H A DUserSwitcherController.java32 import android.graphics.Bitmap;
173 SparseArray<Bitmap> bitmaps = new SparseArray<>(mUsers.size());
186 new AsyncTask<SparseArray<Bitmap>, Void, ArrayList<UserRecord>>() {
189 protected ArrayList<UserRecord> doInBackground(SparseArray<Bitmap>... params) {
190 final SparseArray<Bitmap> bitmaps = params[0];
215 Bitmap picture = bitmaps.get(info.id);
222 picture = Bitmap.createScaledBitmap(
698 public final Bitmap picture;
708 public UserRecord(UserInfo info, Bitmap picture, boolean isGuest, boolean isCurrent,
866 Bitmap ico
[all...]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
H A DScreenshotTest.java18 import android.graphics.Bitmap;
137 Bitmap b = BitmapFactory.decodeFile(screenshotFile.getAbsolutePath());
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
H A DBitmapUtils.java19 import android.graphics.Bitmap;
20 import android.graphics.Bitmap.CompressFormat;
115 public static Bitmap resizeBitmapByScale(
116 Bitmap bitmap, float scale, boolean recycle) {
121 Bitmap target = Bitmap.createBitmap(width, height, getConfig(bitmap));
130 private static Bitmap.Config getConfig(Bitmap bitmap) {
131 Bitmap.Config config = bitmap.getConfig();
133 config = Bitmap
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifInterface.java19 import android.graphics.Bitmap;
816 public void writeExif(Bitmap bmap, OutputStream exifOutStream) throws IOException {
821 bmap.compress(Bitmap.CompressFormat.JPEG, 90, s);
880 public void writeExif(Bitmap bmap, String exifOutFileName) throws FileNotFoundException,
888 bmap.compress(Bitmap.CompressFormat.JPEG, 90, s);
1754 public Bitmap getThumbnailBitmap() {
1830 public boolean setCompressedThumbnail(Bitmap thumb) {
1832 if (!thumb.compress(Bitmap.CompressFormat.JPEG, 90, thumbnail)) {
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DBitmapTexture.java19 import android.graphics.Bitmap;
23 // BitmapTexture is a texture whose content is specified by a fixed Bitmap.
25 // The texture does not own the Bitmap. The user should make sure the Bitmap
27 // does not free the Bitmap.
29 protected Bitmap mContentBitmap;
31 public BitmapTexture(Bitmap bitmap) {
35 public BitmapTexture(Bitmap bitmap, boolean hasBorder) {
42 protected void onFreeBitmap(Bitmap bitmap) {
47 protected Bitmap onGetBitma
[all...]
H A DGLCanvas.java19 import android.graphics.Bitmap;
164 public abstract void initializeTexture(BasicTexture texture, Bitmap bitmap);
178 Bitmap bitmap,
H A DGLES20Canvas.java18 import android.graphics.Bitmap;
925 public void initializeTexture(BasicTexture texture, Bitmap bitmap) {
933 public void texSubImage2D(BasicTexture texture, int xOffset, int yOffset, Bitmap bitmap,
H A DUploadedTexture.java19 import android.graphics.Bitmap;
20 import android.graphics.Bitmap.Config;
29 // UploadedTextures use a Bitmap for the content of the texture.
31 // Subclasses should implement onGetBitmap() to provide the Bitmap and
32 // implement onFreeBitmap(mBitmap) which will be called when the Bitmap
47 private static HashMap<BorderKey, Bitmap> sBorderLines =
48 new HashMap<BorderKey, Bitmap>();
62 protected Bitmap mBitmap;
118 private static Bitmap getBorderLine(
124 Bitmap bitma
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
H A DBitmapRegionTileSource.java22 import android.graphics.Bitmap;
23 import android.graphics.Bitmap.Config;
49 Bitmap decodeRegion(Rect wantRegion, BitmapFactory.Options options);
89 public Bitmap decodeRegion(Rect wantRegion, BitmapFactory.Options options) {
95 Bitmap mBuffer;
98 private DumbBitmapRegionDecoder(Bitmap b) {
102 Bitmap b = BitmapFactory.decodeFile(pathName);
109 Bitmap b = BitmapFactory.decodeStream(is);
121 public Bitmap decodeRegion(Rect wantRegion, BitmapFactory.Options options) {
128 Bitmap newBitma
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageRenderer.java20 import android.graphics.Bitmap;
70 private static Pool<Bitmap> sTilePool = new SynchronizedPool<Bitmap>(64);
158 public Bitmap getTile(int level, int x, int y, Bitmap reuse);
668 public Bitmap mDecodedTile;
678 protected void onFreeBitmap(Bitmap bitmap) {
686 Bitmap reuse = sTilePool.acquire();
698 protected Bitmap onGetBitmap() {
707 Bitmap bitma
[all...]
H A DTiledImageView.java22 import android.graphics.Bitmap;
361 public Bitmap getTile(int level, int x, int y, Bitmap bitmap) {
364 bitmap = Bitmap.createBitmap(tileSize, tileSize,
365 Bitmap.Config.ARGB_8888);
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DWallpaperCropActivity.java26 import android.graphics.Bitmap;
27 import android.graphics.Bitmap.CompressFormat;
65 * Intents have a maximum of 1MB in total size. However, the Bitmap seems to
68 * array instead of a Bitmap instance to avoid overhead.
463 Bitmap mCroppedBitmap;
570 public Bitmap getCroppedBitmap() {
656 Bitmap crop = null;
670 Bitmap fullSize = null;
712 crop = Bitmap.createBitmap(fullSize, roundedTrueCrop.left,
757 Bitmap tm
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DAllocation.java23 import android.graphics.Bitmap;
62 Bitmap mBitmap;
216 * (usually a {@link android.graphics.Bitmap}); copying to or from the
217 * original source Bitmap will cause a synchronization rather than a full
219 * and the source Bitmap.
378 private void setBitmap(Bitmap b) {
632 private void validateBitmapFormat(Bitmap b) {
633 Bitmap.Config bc = b.getConfig();
635 throw new RSIllegalArgumentException("Bitmap has an unsupported format for this operation");
681 private void validateBitmapSize(Bitmap
[all...]
H A DRenderScript.java27 import android.graphics.Bitmap;
446 native long rsnAllocationCreateFromBitmap(long con, long type, int mip, Bitmap bmp, int usage);
447 synchronized long nAllocationCreateFromBitmap(long type, int mip, Bitmap bmp, int usage) {
452 native long rsnAllocationCreateBitmapBackedAllocation(long con, long type, int mip, Bitmap bmp, int usage);
453 synchronized long nAllocationCreateBitmapBackedAllocation(long type, int mip, Bitmap bmp, int usage) {
458 native long rsnAllocationCubeCreateFromBitmap(long con, long type, int mip, Bitmap bmp, int usage);
459 synchronized long nAllocationCubeCreateFromBitmap(long type, int mip, Bitmap bmp, int usage) {
463 native long rsnAllocationCreateBitmapRef(long con, long type, Bitmap bmp);
464 synchronized long nAllocationCreateBitmapRef(long type, Bitmap bmp) {
474 native void rsnAllocationCopyToBitmap(long con, long alloc, Bitmap bm
[all...]
/frameworks/base/sax/tests/saxtests/src/android/sax/
H A DSafeSaxTest.java19 import android.graphics.Bitmap;
529 public Bitmap bitmap; // cached bitmap of the thumbnail

Completed in 325 milliseconds

1234567891011>>