| /packages/apps/Tag/src/com/android/apps/tag/record/ | 
| ImageRecord.java | 23 import android.graphics.Bitmap; 40     private final Bitmap mBitmap;
 42     private ImageRecord(Bitmap bitmap) {
 43         mBitmap = Preconditions.checkNotNull(bitmap);
 59         Bitmap bitmap = BitmapFactory.decodeByteArray(content, 0, content.length);  local
 60         if (bitmap == null) {
 63         return new ImageRecord(bitmap);
 75     public static NdefRecord newImageRecord(Bitmap bitmap)
 [all...]
 | 
| /cts/tests/tests/graphics/src/android/graphics/cts/ | 
| PixelXorXfermodeTest.java | 19 import android.graphics.Bitmap; 24 import android.graphics.Bitmap.Config;
 41         Bitmap b1 = Bitmap.createBitmap(width / 2, height, Config.ARGB_8888);
 43         Bitmap b2 = Bitmap.createBitmap(width, height / 2, Config.ARGB_8888);
 46         Bitmap target = Bitmap.createBitmap(width, height, Config.ARGB_8888);
 
 | 
| PorterDuffXfermodeTest.java | 22 import android.graphics.Bitmap; 28 import android.graphics.Bitmap.Config;
 44         Bitmap target = Bitmap.createBitmap(WIDTH, HEIGHT, Config.ARGB_8888);
 46         Bitmap b1 = Bitmap.createBitmap(WIDTH / 2, HEIGHT, Config.ARGB_8888);
 48         Bitmap b2 = Bitmap.createBitmap(WIDTH, HEIGHT / 2, Config.ARGB_8888);
 
 | 
| ShaderTest.java | 19 import android.graphics.Bitmap; 56         Bitmap bitmap = Bitmap.createBitmap(color, width, height, Bitmap.Config.RGB_565);  local
 58         Shader shader = new BitmapShader(bitmap, Shader.TileMode.REPEAT, Shader.TileMode.REPEAT);
 
 | 
| ComposeShaderTest.java | 22 import android.graphics.Bitmap; 33 import android.graphics.Bitmap.Config;
 57         Bitmap bitmap = Bitmap.createBitmap(SIZE, SIZE, Config.ARGB_8888);  local
 58         Canvas canvas = new Canvas(bitmap);
 68                 int pixel = bitmap.getPixel(x, y);
 88         Bitmap greenBitmap = Bitmap.createBitmap(1, 1, Config.ARGB_8888);
 90         Bitmap cyanBitmap = Bitmap.createBitmap(1, 1, Config.ARGB_8888)
 100  Bitmap bitmap = Bitmap.createBitmap(1, 1, Config.ARGB_8888);  local
 [all...]
 | 
| /development/samples/ApiDemos/src/com/example/android/apis/graphics/ | 
| Patterns.java | 33     private static Bitmap makeBitmap1() { 34         Bitmap bm = Bitmap.createBitmap(40, 40, Bitmap.Config.RGB_565);
 43     private static Bitmap makeBitmap2() {
 44         Bitmap bm = Bitmap.createBitmap(64, 64, Bitmap.Config.ARGB_8888);
 
 | 
| /development/samples/HoneycombGallery/src/com/example/android/hcgallery/ | 
| DirectoryEntry.java | 20 import android.graphics.Bitmap; 41     public Bitmap getBitmap(Resources res) {
 
 | 
| /external/chromium/net/disk_cache/ | 
| bitmap.cc | 5 #include "net/disk_cache/bitmap.h" 43 Bitmap::Bitmap(int num_bits, bool clear_bits)
 54 Bitmap::Bitmap(uint32* map, int num_bits, int num_words)
 63 Bitmap::~Bitmap() {
 68 void Bitmap::Resize(int num_bits, bool clear_bits) {
 92 void Bitmap::Set(int index, bool value) {
 103 bool Bitmap::Get(int index) const
 [all...]
 | 
| /frameworks/base/core/java/android/view/ | 
| HardwareCanvas.java | 19 import android.graphics.Bitmap; 36     public void setBitmap(Bitmap bitmap) {
 
 | 
| /frameworks/base/graphics/java/android/graphics/ | 
| BitmapShader.java | 20  * Shader used to draw a bitmap as a texture. The bitmap can be repeated or 29     public final Bitmap mBitmap;
 32      * Call this to create a new shader that will draw with a bitmap.
 34      * @param bitmap            The bitmap to use inside the shader
 35      * @param tileX             The tiling mode for x to draw the bitmap in.
 36      * @param tileY             The tiling mode for y to draw the bitmap in.
 38     public BitmapShader(Bitmap bitmap, TileMode tileX, TileMode tileY)
 [all...]
 | 
| /frameworks/base/media/java/android/media/ | 
| IRemoteControlClient.aidl | 18 import android.graphics.Bitmap; 
 | 
| /packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/ | 
| BitmapUtils.java | 21 import android.graphics.Bitmap; 22 import android.graphics.Bitmap.CompressFormat;
 42  * Utils for bitmap operations.
 61      * Creates a mutable bitmap from subset of source bitmap, transformed by the optional matrix.
 63     private static Bitmap createBitmap(
 64             Bitmap source, int x, int y, int width, int height, Matrix m) {
 65         // Re-implement Bitmap createBitmap() to always return a mutable bitmap.
 68         Bitmap bitmap  local
 150  Bitmap bitmap = null;  local
 200  Bitmap bitmap = decodeBitmap(uri, width, height);  local
 [all...]
 | 
| /packages/apps/Gallery2/tests/src/com/android/gallery3d/data/ | 
| MockItem.java | 21 import android.graphics.Bitmap; 30     public Job<Bitmap> requestImage(int type) {
 
 | 
| /packages/apps/VideoEditor/src/com/android/videoeditor/ | 
| ProjectPickerAdapter.java | 21 import android.graphics.Bitmap; 60     private LruCache<String, Bitmap> mPreviewBitmapCache;
 77         mPreviewBitmapCache = new LruCache<String, Bitmap>(15);
 138         Bitmap thumbnail;
 164      * Draws transparent black bottom overlay with movie title and duration on the bitmap.
 166     public void drawBottomOverlay(Bitmap bitmap, String title, String duration) {
 168         final Canvas canvas = new Canvas(bitmap);
 172         final int left = 0, top = bitmap.getHeight() - mOverlayHeight,
 173                 right = bitmap.getWidth(), bottom = bitmap.getHeight()
 211  final Bitmap bitmap = Bitmap.createBitmap(mItemWidth, mItemHeight,  local
 280  final Bitmap bitmap = Bitmap.createBitmap(mWidth, mHeight,  local
 [all...]
 | 
| /packages/apps/Gallery2/src/com/android/gallery3d/ui/ | 
| UploadedTexture.java | 21 import android.graphics.Bitmap; 22 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>();
 59     protected Bitmap mBitmap;
 107     private static Bitmap getBorderLine(
 113         Bitmap bitmap = sBorderLines.get(key)  local
 118  sBorderLines.put(key.clone(), bitmap);  local
 184  Bitmap bitmap = getBitmap();  local
 209  Bitmap bitmap = getBitmap();  local
 [all...]
 | 
| AbstractDisplayItem.java | 21 import android.graphics.Bitmap; 36     private Bitmap mBitmap;
 45     protected void updateImage(Bitmap bitmap, boolean isCancelled) {
 50         if (isCancelled && bitmap == null) {
 59         mBitmap = bitmap;
 60         mState = bitmap == null ? STATE_ERROR : STATE_VALID ;
 112     abstract protected void onBitmapAvailable(Bitmap bitmap);
 
 | 
| TileImageViewAdapter.java | 19 import android.graphics.Bitmap; 20 import android.graphics.Bitmap.Config;
 33     protected Bitmap mBackupImage;
 43     public TileImageViewAdapter(Bitmap backup, BitmapRegionDecoder regionDecoder) {
 60     public synchronized void setBackupImage(Bitmap backup, int width, int height) {
 83     public synchronized Bitmap getTile(int level, int x, int y, int length) {
 99         Bitmap bitmap;  local
 103             bitmap = mRegionDecoder.decodeRegion(intersectRect, options);
 108         if (intersectRect.equals(region)) return bitmap;
 [all...]
 | 
| /development/samples/XmlAdapters/src/com/example/android/xmladapters/ | 
| ImageDownloader.java | 24 import android.graphics.Bitmap; 61     private final HashMap<String, Bitmap> sHardBitmapCache =
 62         new LinkedHashMap<String, Bitmap>(HARD_CACHE_CAPACITY / 2, 0.75f, true) {
 65         protected boolean removeEldestEntry(LinkedHashMap.Entry<String, Bitmap> eldest) {
 68                 sSoftBitmapCache.put(eldest.getKey(), new SoftReference<Bitmap>(eldest.getValue()));
 76     // Soft cache for bitmap kicked out of hard cache
 77     private final static ConcurrentHashMap<String, SoftReference<Bitmap>> sSoftBitmapCache =
 78         new ConcurrentHashMap<String, SoftReference<Bitmap>>(HARD_CACHE_CAPACITY / 2);
 91      * otherwise. A null bitmap will be associated to the ImageView if an error occurs.
 110         Bitmap bitmap = getBitmapFromCache(url)  local
 205  final Bitmap bitmap = sHardBitmapCache.get(url);  local
 218  final Bitmap bitmap = bitmapReference.get();  local
 277  final Bitmap bitmap = BitmapFactory.decodeByteArray(data, 0, data.length);  local
 [all...]
 | 
| /frameworks/base/core/java/android/text/style/ | 
| IconMarginSpan.java | 20 import android.graphics.Bitmap; 29     public IconMarginSpan(Bitmap b) {
 33     public IconMarginSpan(Bitmap b, int pad) {
 71     private Bitmap mBitmap;
 
 | 
| /frameworks/base/core/tests/coretests/src/android/view/ | 
| BigCacheTest.java | 26 import android.graphics.Bitmap; 71     private Bitmap createCacheForView(final View view) {
 72         final Bitmap[] cache = new Bitmap[1];
 
 | 
| /frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ | 
| TaskDescription.java | 21 import android.graphics.Bitmap; 32     private Bitmap mThumbnail; // generated by Activity.onCreateThumbnail()
 65     public void setThumbnail(Bitmap thumbnail) {
 69     public Bitmap getThumbnail() {
 
 | 
| /packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/actions/ | 
| AbstractSeekBar.java | 21 import android.graphics.Bitmap; 52         Bitmap bitmap = Bitmap.createBitmap(scaledWidth, h, Bitmap.Config.ARGB_8888);  local
 53         Canvas canvas = new Canvas(bitmap);
 54         thumb.setBounds(0, 0, bitmap.getWidth(), bitmap.getHeight());
 57         setThumb(new BitmapDrawable(res, bitmap));
 
 | 
| /packages/apps/Gallery2/src/com/android/gallery3d/data/ | 
| ImageCacheRequest.java | 25 import android.graphics.Bitmap; 28 abstract class ImageCacheRequest implements Job<Bitmap> {
 44     public Bitmap run(JobContext jc) {
 55             options.inPreferredConfig = Bitmap.Config.ARGB_8888;
 56             Bitmap bitmap = DecodeUtils.requestDecode(jc, data.mData,  local
 58             if (bitmap == null && !jc.isCancelled()) {
 61             return bitmap;
 63             Bitmap bitmap = onDecodeOriginal(jc, mType)  local
 [all...]
 | 
| /system/media/mca/filterfw/java/android/filterfw/core/ | 
| Frame.java | 22 import android.graphics.Bitmap; 89         } else if (object instanceof Bitmap) {
 90             setBitmap((Bitmap)object);
 118     public abstract void setBitmap(Bitmap bitmap);
 120     public abstract Bitmap getBitmap();
 181     protected static Bitmap convertBitmapToRGBA(Bitmap bitmap) {
 182         if (bitmap.getConfig() == Bitmap.Config.ARGB_8888)
 [all...]
 | 
| /frameworks/base/core/java/android/webkit/ | 
| WebHistoryItem.java | 19 import android.graphics.Bitmap; 42     private Bitmap mFavicon;
 134      * @return A Bitmap containing the favicon for this history item or null.
 138     public Bitmap getFavicon() {
 192      * @param icon A Bitmap containing the favicon for this history item.
 196     /*package*/ void setFavicon(Bitmap icon) {
 242             Bitmap favicon, byte[] data) {
 
 |