| /packages/apps/VideoEditor/src/com/android/videoeditor/ |
| KenBurnsActivity.java | 21 import android.graphics.Bitmap; 78 private Bitmap mBitmap; 143 private class ImageLoaderAsyncTask extends AsyncTask<Void, Void, Bitmap> { 158 protected Bitmap doInBackground(Void... zzz) { 181 protected void onPostExecute(Bitmap bitmap) { 182 if (bitmap == null) { 192 mImageView.setImageBitmapResetBase(bitmap, true); 193 mBitmap = bitmap; 195 Log.d(TAG, "Bitmap size: " + bitmap.getWidth() + "x" + bitmap.getHeight( [all...] |
| OverlayTitleEditor.java | 20 import android.graphics.Bitmap; 50 private Bitmap mOverlayBitmap; 95 // Determine bitmap dimensions.
|
| /frameworks/base/graphics/java/android/graphics/ |
| Canvas.java | 28 * 4 basic components: A Bitmap to hold the pixels, a Canvas to host 29 * the draw calls (writing into the bitmap), a drawing primitive (e.g. Rect, 30 * Path, text, Bitmap), and a paint (to describe the colors and styles for the 46 java-bitmap is). If we are a gl-based, then mBitmap will be null, and 50 private Bitmap mBitmap; // if not null, mGL must be null 58 protected int mDensity = Bitmap.DENSITY_NONE; 65 protected int mScreenDensity = Bitmap.DENSITY_NONE; 83 // Maximum bitmap size as defined in Skia's native code 111 * Construct an empty raster canvas. Use setBitmap() to specify a bitmap to 112 * draw into. The initial target density is {@link Bitmap#DENSITY_NONE} [all...] |
| Picture.java | 161 public void setBitmap(Bitmap bitmap) {
|
| /frameworks/base/graphics/java/android/renderscript/ |
| RenderScript.java | 25 import android.graphics.Bitmap; 239 native int rsnAllocationCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage); 240 synchronized int nAllocationCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) { 244 native int rsnAllocationCubeCreateFromBitmap(int con, int type, int mip, Bitmap bmp, int usage); 245 synchronized int nAllocationCubeCreateFromBitmap(int type, int mip, Bitmap bmp, int usage) { 249 native int rsnAllocationCreateBitmapRef(int con, int type, Bitmap bmp); 250 synchronized int nAllocationCreateBitmapRef(int type, Bitmap bmp) { 260 native void rsnAllocationCopyToBitmap(int con, int alloc, Bitmap bmp); 261 synchronized void nAllocationCopyToBitmap(int alloc, Bitmap bmp) { 277 native void rsnAllocationCopyFromBitmap(int con, int alloc, Bitmap bmp) [all...] |
| /frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
| TestService.java | 34 import android.graphics.Bitmap; 793 super("CreateBitmap", "Create a Bitmap"); 803 Bitmap bm = Bitmap.createBitmap(16, 16, Bitmap.Config.ARGB_8888); 812 super("CreateRecycleBitmap", "Create and recycle a Bitmap"); 822 Bitmap bm = Bitmap.createBitmap(16, 16, Bitmap.Config.ARGB_8888); 832 super("LoadSmallBitmap", "Load small raw bitmap"); [all...] |
| /external/webkit/Source/JavaScriptCore/heap/ |
| MarkedBlock.h | 25 #include <wtf/Bitmap.h> 95 WTF::Bitmap<blockSize / atomSize> m_marks;
|
| /frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
| ObjectBrowser.java | 23 import android.graphics.Bitmap; 96 Bitmap bitmap = BitmapFactory.decodeByteArray(thumbnail, 0, thumbnail.length); local 97 if (bitmap != null) { 99 thumbView.setImageBitmap(bitmap);
|
| /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
| AdvancedBlendActivity.java | 21 import android.graphics.Bitmap; 63 Bitmap texture = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1);
|
| MoreShadersActivity.java | 21 import android.graphics.Bitmap; 64 Bitmap texture = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1);
|
| ShadersActivity.java | 21 import android.graphics.Bitmap; 54 private Bitmap mTexture; 107 // Bitmap shaders
|
| /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
| RenderDrawable.java | 28 import android.graphics.Bitmap; 100 // create an Android bitmap around the BufferedImage 101 Bitmap bitmap = Bitmap_Delegate.createBitmap(image, local 104 // create a Canvas around the Android bitmap 105 Canvas canvas = new Canvas(bitmap);
|
| /packages/apps/Browser/src/com/android/browser/ |
| BookmarkItem.java | 20 import android.graphics.Bitmap; 87 * @param b The new bitmap for this item. 90 /* package */ void setFavicon(Bitmap b) {
|
| TabBar.java | 27 import android.graphics.Bitmap; 233 private static Bitmap getDrawableAsBitmap(Drawable drawable, int width, int height) { 234 Bitmap b = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); 388 Bitmap activeTexture = getDrawableAsBitmap(mActiveDrawable, 390 Bitmap inactiveTexture = getDrawableAsBitmap(mInactiveDrawable, 512 public void onFavicon(Tab tab, Bitmap favicon) {
|
| /packages/apps/Gallery2/src/com/android/gallery3d/app/ |
| SlideshowDataAdapter.java | 19 import android.graphics.Bitmap; 129 Bitmap bitmap = item local 133 if (bitmap != null) { 136 new Slide(item, mLoadIndex, bitmap));
|
| /packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
| PhotoAppWidgetProvider.java | 27 import android.graphics.Bitmap; 95 Bitmap bitmap = BitmapFactory.decodeByteArray(data, 0, data.length); local 96 views.setImageViewBitmap(R.id.photo, bitmap);
|
| /packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
| SlideshowView.java | 22 import android.graphics.Bitmap; 51 public void next(Bitmap bitmap, int rotation) { 65 mCurrentTexture = new BitmapTexture(bitmap);
|
| TileImageView.java | 19 import android.graphics.Bitmap; 60 * DECODED --> ACTIVATED - (after the decoded bitmap is uploaded) 77 // The mLevel variable indicates which level of bitmap we should use. 78 // Level 0 means the original full-sized bitmap, and a larger value means 79 // a smaller scaled bitmap (The width and height of each scaled bitmap is 81 // use the bitmap in mScaledBitmaps[mLevel] for display, otherwise the value 103 // The width and height of the full-sized bitmap 124 public Bitmap getBackupImage(); 129 public Bitmap getTile(int level, int x, int y, int tileSize) 618 Bitmap bitmap = mDecodedTile; local [all...] |
| NinePatchTexture.java | 22 import android.graphics.Bitmap; 50 protected Bitmap onGetBitmap() { 54 options.inPreferredConfig = Bitmap.Config.ARGB_8888; 55 Bitmap bitmap = BitmapFactory.decodeResource( local 57 mBitmap = bitmap; 58 setSize(bitmap.getWidth(), bitmap.getHeight()); 59 byte[] chunkData = bitmap.getNinePatchChunk(); 62 : NinePatchChunk.deserialize(bitmap.getNinePatchChunk()) [all...] |
| /packages/apps/Mms/src/com/android/mms/ui/ |
| AudioAttachmentView.java | 24 import android.graphics.Bitmap; 126 public void setImage(String name, Bitmap bitmap) {
|
| SlideListItemView.java | 23 import android.graphics.Bitmap; 85 public void setImage(String name, Bitmap bitmap) { 87 if (null == bitmap) { 88 bitmap = BitmapFactory.decodeResource(getResources(), 91 mImagePreview.setImageBitmap(bitmap);
|
| /development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
| MainActivity.java | 39 import android.graphics.Bitmap; 281 Bitmap largeIconTemp = BitmapFactory.decodeResource(res, 283 Bitmap largeIcon = Bitmap.createScaledBitmap(
|
| /frameworks/base/core/java/android/view/ |
| IWindowManager.aidl | 24 import android.graphics.Bitmap; 211 Bitmap screenshotApplications(IBinder appToken, int maxWidth, int maxHeight);
|
| /frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
| SceneGraphView.java | 29 import android.graphics.Bitmap;
|
| /frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/ |
| RSTestView.java | 29 import android.graphics.Bitmap;
|