/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapFactory_OptionsTest.java | 18 import android.graphics.BitmapFactory; 24 @TestTargetClass(BitmapFactory.Options.class) 28 method = "BitmapFactory.Options", 32 new BitmapFactory.Options(); 41 BitmapFactory.Options option = new BitmapFactory.Options();
|
BitmapFactoryTest.java | 27 import android.graphics.BitmapFactory; 32 import android.graphics.BitmapFactory.Options; 47 @TestTargetClass(BitmapFactory.class) 51 private BitmapFactory.Options mOpt1; 53 private BitmapFactory.Options mOpt2; 74 // Configurations for BitmapFactory.Options 86 mOpt1 = new BitmapFactory.Options(); 88 mOpt2 = new BitmapFactory.Options(); 95 method = "BitmapFactory", 99 // new the BitmapFactory instanc [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
DecodeUtils.java | 27 import android.graphics.BitmapFactory; 28 import android.graphics.BitmapFactory.Options; 56 BitmapFactory.decodeFile(filePath, options)); 63 BitmapFactory.decodeFileDescriptor(fd, null, options)); 76 BitmapFactory.decodeByteArray(bytes, offset, length, options)); 100 BitmapFactory.decodeFileDescriptor(fd, null, options); 107 Bitmap result = BitmapFactory.decodeFileDescriptor(fd, null, options); 127 BitmapFactory.decodeByteArray(data, 0, data.length, options); 136 BitmapFactory.decodeByteArray(data, 0, data.length, options)); 143 return ensureGLCompatibleBitmap(BitmapFactory.decodeFileDescripto [all...] |
/frameworks/base/media/java/android/media/ |
ThumbnailUtils.java | 24 import android.graphics.BitmapFactory; 109 BitmapFactory.Options options = new BitmapFactory.Options(); 112 BitmapFactory.decodeFileDescriptor(fd, null, options); 123 bitmap = BitmapFactory.decodeFileDescriptor(fd, null, options); 241 * of 8 because BitmapFactory only honors sample size this way. 242 * For example, BitmapFactory downsamples an image by 2 even though the 245 private static int computeSampleSize(BitmapFactory.Options options, 263 private static int computeInitialSampleSize(BitmapFactory.Options options, 294 * Clients are allowed to pass their own BitmapFactory.Options used for bitmap decoding. [all...] |
/frameworks/base/core/java/android/app/backup/ |
WallpaperBackupHelper.java | 21 import android.graphics.BitmapFactory; 109 BitmapFactory.Options options = new BitmapFactory.Options(); 111 BitmapFactory.decodeFile(STAGE_FILE, options);
|
/frameworks/base/media/java/android/media/videoeditor/ |
TransitionAlpha.java | 20 import android.graphics.BitmapFactory; 98 final BitmapFactory.Options dbo = new BitmapFactory.Options(); 102 BitmapFactory.decodeFile(maskFilename, dbo); 124 Bitmap imageBitmap = BitmapFactory.decodeFile(maskFilename);
|
MediaImageItem.java | 21 import android.graphics.BitmapFactory; 124 final BitmapFactory.Options dbo = new BitmapFactory.Options(); 126 BitmapFactory.decodeFile(filename, dbo); 177 imageBitmap = BitmapFactory.decodeFile(mScaledFilename); [all...] |
MediaArtistNativeHelper.java | 28 import android.graphics.BitmapFactory; [all...] |
/frameworks/ex/carousel/test/src/com/android/carouseltest/ |
MusicDemoActivity.java | 26 import android.graphics.BitmapFactory; 71 return BitmapFactory.decodeResource(getResources(), 93 mView.setDefaultBitmap(BitmapFactory.decodeResource(res, R.drawable.wait)); 94 mView.setLoadingBitmap(BitmapFactory.decodeResource(res, R.drawable.blank_album)); 95 mView.setBackgroundBitmap(BitmapFactory.decodeResource(res, R.drawable.background));
|
TaskSwitcherActivity.java | 40 import android.graphics.BitmapFactory; 213 mView.setDefaultBitmap(BitmapFactory.decodeResource(res, R.drawable.wait)); 214 mView.setLoadingBitmap(BitmapFactory.decodeResource(res, R.drawable.wait));
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
AggregationSuggestionView.java | 27 import android.graphics.BitmapFactory; 86 photo.setImageBitmap(BitmapFactory.decodeByteArray(
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
PhotoProcessor.java | 19 import android.graphics.BitmapFactory; 59 this(BitmapFactory.decodeByteArray(originalBytes, 0, originalBytes.length), 96 this(BitmapFactory.decodeByteArray(originalBytes, 0, originalBytes.length),
|
/frameworks/base/graphics/java/android/graphics/ |
BitmapFactory.java | 34 public class BitmapFactory { 69 * effects to a Bitmap loaded through BitmapFactory. 121 * {@link BitmapFactory#decodeResource(Resources, int)}, 122 * {@link BitmapFactory#decodeResource(Resources, int, android.graphics.BitmapFactory.Options)}, 123 * and {@link BitmapFactory#decodeResourceStream} 142 * {@link BitmapFactory#decodeResource(Resources, int)}, 143 * {@link BitmapFactory#decodeResource(Resources, int, android.graphics.BitmapFactory.Options)}, 144 * and {@link BitmapFactory#decodeResourceStream [all...] |
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
GraphicsPerformanceTests.java | 23 import android.graphics.BitmapFactory; 145 BitmapFactory.decodeResource(mResources, R.drawable.test16x12); 146 BitmapFactory.decodeResource(mResources, R.drawable.test32x24); 147 BitmapFactory.decodeResource(mResources, R.drawable.test64x48); 148 BitmapFactory.decodeResource(mResources, R.drawable.test128x96); 149 BitmapFactory.decodeResource(mResources, R.drawable.test256x192); 150 BitmapFactory.decodeResource(mResources, R.drawable.test320x240);
|
/packages/apps/Browser/src/com/android/browser/ |
WallpaperHandler.java | 24 import android.graphics.BitmapFactory; 45 // This should be large enough for BitmapFactory to decode the header so 101 BitmapFactory.Options options = new BitmapFactory.Options(); 105 BitmapFactory.decodeStream( 126 // BitmapFactory read more than we could buffer 131 Bitmap scaledWallpaper = BitmapFactory.decodeStream(inputstream,
|
BrowserHistoryPage.java | 36 import android.graphics.BitmapFactory; 659 item.setFavicon(BitmapFactory.decodeByteArray(data, 0,
|
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/ |
BitmapUtils.java | 23 import android.graphics.BitmapFactory; 112 BitmapFactory.Options options = new BitmapFactory.Options(); 114 BitmapFactory.decodeStream(is, null, options); 159 BitmapFactory.Options options = new BitmapFactory.Options(); 164 bitmap = BitmapFactory.decodeStream(is, null, options);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
UriImage.java | 30 import android.graphics.BitmapFactory; 148 BitmapFactory.Options opt = new BitmapFactory.Options(); 150 BitmapFactory.decodeStream(input, null, opt); 244 BitmapFactory.Options options = new BitmapFactory.Options(); 255 b = BitmapFactory.decodeStream(input, null, options);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/util/ |
ImageUtils.java | 28 import android.graphics.BitmapFactory; 76 final BitmapFactory.Options dbo = new BitmapFactory.Options(); 78 BitmapFactory.decodeFile(filename, dbo); 85 final BitmapFactory.Options options = new BitmapFactory.Options(); 100 srcBitmap = BitmapFactory.decodeFile(filename, options); 176 BitmapFactory.Options opt = new BitmapFactory.Options(); 178 BitmapFactory.decodeFile(inputFilename, opt) [all...] |
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
Adapters.java | 25 import android.graphics.BitmapFactory; [all...] |
/packages/apps/Camera/src/com/android/camera/ |
Util.java | 28 import android.graphics.BitmapFactory; 171 * of 8 because BitmapFactory only honors sample size this way. 172 * For example, BitmapFactory downsamples an image by 2 even though the 175 public static int computeSampleSize(BitmapFactory.Options options, 193 private static int computeInitialSampleSize(BitmapFactory.Options options, 220 BitmapFactory.Options options = new BitmapFactory.Options(); 222 BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, 234 return BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length,
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
CameraTest.java | 19 import android.graphics.BitmapFactory; 365 BitmapFactory.Options bmpOptions = new BitmapFactory.Options(); 367 BitmapFactory.decodeByteArray(mJpegData, 0, mJpegData.length, bmpOptions); [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaProvider.java | 44 import android.graphics.BitmapFactory; [all...] |
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
EditStyledText.java | 35 import android.graphics.BitmapFactory; [all...] |
/prebuilt/sdk/10/ |
android.jar | |