| /frameworks/base/telephony/java/com/android/internal/telephony/cat/ | 
| TextMessage.java | 19 import android.graphics.Bitmap; 26     public Bitmap icon = null;
 
 | 
| /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ | 
| Bitmaps3dActivity.java | 21 import android.graphics.Bitmap; 45         private final Bitmap mBitmap1;
 
 | 
| /frameworks/ex/carousel/java/com/android/ex/carousel/ | 
| CarouselView.java | 23 import android.graphics.Bitmap; 347      * @param bitmap the bitmap image to show
 349     public void setTextureForItem(int n, Bitmap bitmap) {
 350         mController.setTextureForItem(n, bitmap);
 365      * @param bitmap the bitmap to show as the detail
 368             Bitmap bitmap) {
 [all...]
 | 
| /frameworks/support/v4/honeycomb/android/support/v4/app/ | 
| NotificationCompatHoneycomb.java | 22 import android.graphics.Bitmap; 29             PendingIntent contentIntent, PendingIntent fullScreenIntent, Bitmap largeIcon) {
 
 | 
| /packages/apps/Email/src/com/android/email/ | 
| RecipientAdapter.java | 25 import android.graphics.Bitmap; 32         Bitmap def = BitmapFactory.decodeResource(r, R.drawable.ic_contact_picture);
 
 | 
| /packages/apps/Gallery/src/com/android/camera/ | 
| PhotoAppWidgetBind.java | 24 import android.graphics.Bitmap; 41         // The caller has requested that we bind a given bitmap to a specific
 52         final ArrayList<Bitmap> bitmaps =
 
 | 
| /packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/ | 
| TextureTest.java | 19 import android.graphics.Bitmap; 20 import android.graphics.Bitmap.Config;
 131         Bitmap mBitmap;
 133         protected Bitmap onGetBitmap() {
 136             mBitmap = Bitmap.createBitmap(47, 42, config);
 140         protected void onFreeBitmap(Bitmap bitmap) {
 142             assertSame(mBitmap, bitmap);
 154         // draw it and the bitmap should be fetched.
 168         // draw it again and the bitmap should be fetched again
 200  Bitmap bitmap = Bitmap.createBitmap(47, 42, config);  local
 [all...]
 | 
| /packages/apps/Launcher2/src/com/android/launcher2/ | 
| BubbleTextView.java | 21 import android.graphics.Bitmap; 58     private Bitmap mPressedOrFocusedBackground;
 99         Bitmap b = info.getIcon(iconCache);
 175         // Draw the View into the bitmap.
 186      * Returns a new bitmap to be used as the object outline, e.g. to visualize the drop location.
 187      * Responsibility for the bitmap is transferred to the caller.
 189     private Bitmap createGlowingOutline(Canvas canvas, int outlineColor, int glowColor) {
 191         final Bitmap b = Bitmap.createBitmap(
 192                 getWidth() + padding, getHeight() + padding, Bitmap.Config.ARGB_8888)
 [all...]
 | 
| PagedViewIconCache.java | 28 import android.graphics.Bitmap; 79     private final HashMap<Key, Bitmap> mIconOutlineCache = new HashMap<Key, Bitmap>();
 121     public void addOutline(Key key, Bitmap b) {
 130     public Bitmap getOutline(Key key) {
 
 | 
| /packages/apps/Music/src/com/android/music/ | 
| IMediaPlaybackService.aidl | 20 import android.graphics.Bitmap; 
 | 
| /packages/apps/VideoEditor/src/com/android/videoeditor/ | 
| TransitionsAdapter.java | 20 import android.graphics.Bitmap; 100     protected Bitmap loadImage(Object data) {
 
 | 
| BaseAdapterWithImages.java | 25 import android.graphics.Bitmap; 76     protected class ImageLoaderAsyncTask extends AsyncTask<Void, Void, Bitmap> {
 83          * @param key The bitmap key
 92         protected Bitmap doInBackground(Void... zzz) {
 97         protected void onPostExecute(Bitmap bitmap) {
 99             if (bitmap == null) {
 105                     viewHolder.mImageView.setImageBitmap(bitmap);
 110             bitmap.recycle();
 168      * Starts the AsyncTask which loads the bitmap
 [all...]
 | 
| /system/media/mca/filterfw/java/android/filterfw/format/ | 
| ImageFormat.java | 22 import android.graphics.Bitmap; 46             result.setObjectClass(Bitmap.class);
 
 | 
| /frameworks/base/tools/layoutlib/bridge/src/android/graphics/ | 
| Bitmap_Delegate.java | 25 import android.graphics.Bitmap.Config; 40  * Delegate implementing the native methods of android.graphics.Bitmap
 42  * Through the layoutlib_create tool, the original native methods of Bitmap have been replaced
 47  * it and the original Bitmap class.
 72     public static Bitmap_Delegate getDelegate(Bitmap bitmap) {
 73         return sManager.getDelegate(bitmap.mNativeBitmap);
 77      * Returns the native delegate associated to a given an int referencing a {@link Bitmap} object.
 84      * Creates and returns a {@link Bitmap} initialized with the given file content.
 86      * @param input the file from which to read the bitmap conten
 430  Bitmap_Delegate bitmap = sManager.getDelegate(nativeBitmap);  local
 [all...]
 | 
| /packages/apps/Gallery2/src/com/android/gallery3d/ui/ | 
| AlbumSlidingWindow.java | 19 import android.graphics.Bitmap; 74     private LruCache<Path, Bitmap> mImageCache = new LruCache<Path, Bitmap>(1000);
 279             implements FutureListener<Bitmap>, Job<Bitmap> {
 280         private Future<Bitmap> mFuture;
 298         protected void onBitmapAvailable(Bitmap bitmap) {
 304             if (bitmap != null) {
 305                 BitmapTexture texture = new BitmapTexture(bitmap, true)
 364  Bitmap bitmap = mImageCache.get(path);  local
 379  Bitmap bitmap = job.run(jc);  local
 402  Bitmap bitmap = future.get();  local
 [all...]
 | 
| /cts/tests/tests/graphics/src/android/graphics/cts/ | 
| BlurMaskFilterTest.java | 22 import android.graphics.Bitmap; 27 import android.graphics.Bitmap.Config;
 51         Bitmap b = Bitmap.createBitmap(BITMAP_WIDTH, BITMAP_HEIGHT, Config.ARGB_8888);
 71     private void checkQuadrants(int color, Bitmap bitmap, int x, int y, int alphaTolerance) {
 72         int right = bitmap.getWidth() - 1;
 73         int bottom = bitmap.getHeight() - 1;
 75             checkColor(color, bitmap.getPixel(x, y), alphaTolerance);
 76             checkColor(color, bitmap.getPixel(right - x, y), alphaTolerance)
 [all...]
 | 
| YuvImageTest.java | 25 import android.graphics.Bitmap; 64     private Bitmap[] mTestBitmaps = new Bitmap[1];
 179         // <ImageFormat, Bitmap, HasPaddings, Rect>
 257         Bitmap dst = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
 262         Bitmap src = BitmapFactory.decodeResource(res, R.drawable.testimage);
 267     // Generate YuvImage based on the content in bitmap. If paddings > 0, the
 268     // strides of YuvImage are calculated by adding paddings to bitmap.getWidth()
 [all...]
 | 
| /cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ | 
| RectShapeTest.java | 24 import android.graphics.Bitmap; 28 import android.graphics.Bitmap.Config;
 51     private void assertDrawSuccessfully(Bitmap bitmap, int width, int height, int color) {
 54                 assertEquals(color, bitmap.getPixel(i, j));
 66         Bitmap bitmap = Bitmap.createBitmap(TEST_WIDTH, TEST_HEIGHT, Config.ARGB_8888);  local
 67         Canvas canvas = new Canvas(bitmap);
 74         assertDrawSuccessfully(bitmap, TEST_WIDTH, TEST_HEIGHT, TEST_COLOR_1)
 [all...]
 | 
| /frameworks/base/media/java/android/media/ | 
| MediaMetadataRetriever.java | 22 import android.graphics.Bitmap; 193      * the given option if possible, and returns it as a bitmap. This is
 216      * @return A Bitmap containing a representative video frame, which
 219     public Bitmap getFrameAtTime(long timeUs, int option) {
 231      * and returns it as a bitmap. This is useful for generating a thumbnail
 243      * @return A Bitmap containing a representative video frame, which
 248     public Bitmap getFrameAtTime(long timeUs) {
 255      * and returns it as a bitmap. This is useful for generating a thumbnail
 260      * @return A Bitmap containing a representative video frame, which
 266     public Bitmap getFrameAtTime()
 [all...]
 | 
| /packages/apps/Browser/src/com/android/browser/ | 
| WallpaperHandler.java | 23 import android.graphics.Bitmap; 131                 Bitmap scaledWallpaper = BitmapFactory.decodeStream(inputstream,
 156             Bitmap bm = Bitmap.createBitmap(width, height, Bitmap.Config.RGB_565);
 
 | 
| /packages/apps/Browser/tests/src/com/android/browser/tests/ | 
| BP2ProviderTests.java | 24 import android.graphics.Bitmap; 25 import android.graphics.Bitmap.Config;
 50         Bitmap bitmap = Bitmap.createBitmap(1, 1, Config.ARGB_8888);  local
 52         bitmap.compress(Bitmap.CompressFormat.PNG, 100, os);
 
 | 
| /packages/apps/Phone/src/com/android/phone/ | 
| InCallContactPhoto.java | 20 import android.graphics.Bitmap; 112     public void setImageBitmap(Bitmap bm) {
 138                 Bitmap inputBitmap = ((BitmapDrawable) inputDrawable).getBitmap();
 151                     Log.w(TAG, "setImageDrawable: null bitmap from inputDrawable.getBitmap()!");
 155                     if (DBG) log("- not a lo-res bitmap; no special effect.");
 159                     // Ok, we have a valid bitmap *and* it's lo-res.
 161                     if (DBG) log("- got a lo-res bitmap; blurring...");
 162                     Bitmap blurredBitmap = BitmapUtils.createBlurredBitmap(inputBitmap);
 200      * @return true if the specified bitmap is a lo-res contact photo
 204     private boolean isLoRes(Bitmap bitmap)
 [all...]
 | 
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/deprecated/voice/ | 
| SoundIndicator.java | 20 import android.graphics.Bitmap; 21 import android.graphics.Bitmap.Config;
 50     private Bitmap mDrawingBuffer;
 52     private Bitmap mEdgeBitmap;
 82                 Bitmap.createBitmap(mFrontDrawable.getIntrinsicWidth(),
 
 | 
| /frameworks/base/media/java/android/media/videoeditor/ | 
| OverlayFrame.java | 31 import android.graphics.Bitmap; 33 import android.graphics.Bitmap.CompressFormat;
 45     private Bitmap mBitmap;
 77      * @param bitmap The bitmap to be used as an overlay. The size of the
 78      *      bitmap must equal to the size of the media item to which it is
 79      *      added. The bitmap is typically a decoded PNG file.
 86     public OverlayFrame(MediaItem mediaItem, String overlayId, Bitmap bitmap,
 89         mBitmap = bitmap;
 [all...]
 | 
| /frameworks/base/graphics/java/android/graphics/drawable/ | 
| BitmapDrawable.java | 21 import android.graphics.Bitmap; 39  * A Drawable that wraps a bitmap and can be tiled, stretched, or aligned. You can create a
 41  * a {@link android.graphics.Bitmap} object.
 42  * <p>It can be defined in an XML file with the <code><bitmap></code> element.  For more
 46  * Also see the {@link android.graphics.Bitmap} class, which handles the management and
 47  * transformation of raw bitmap graphics, and should be used when drawing to a
 63     private Bitmap mBitmap;
 82         mBitmapState = new BitmapState((Bitmap) null);
 91         mBitmapState = new BitmapState((Bitmap) null);
 96      * Create drawable from a bitmap, not dealing with density
 367  Bitmap bitmap = mBitmap;  local
 446  final Bitmap bitmap = BitmapFactory.decodeResource(r, id);  local
 [all...]
 |