HomeSort by relevance Sort by last modified time
    Searched defs:BitmapFactory (Results 26 - 50 of 79) sorted by null

12 3 4

  /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/Camera2/src/com/android/camera/
MediaSaverImpl.java 21 import android.graphics.BitmapFactory;
175 BitmapFactory.Options options = new BitmapFactory.Options();
177 BitmapFactory.decodeByteArray(data, 0, data.length, options);
  /packages/apps/Messaging/src/com/android/messaging/datamodel/media/
ImageRequest.java 20 import android.graphics.BitmapFactory;
152 final BitmapFactory.Options options = PoolableImageCache.getBitmapOptionsForPool(
160 BitmapFactory.decodeStream(inputStream, null, options);
184 // BitmapFactory.decodeStream() reads the header portion of the bitmap stream and leave
201 return BitmapFactory.decodeStream(inputStream, null, options);
  /packages/apps/TV/src/com/android/tv/util/
BitmapUtils.java 23 import android.graphics.BitmapFactory;
93 BitmapFactory.Options options = new BitmapFactory.Options();
95 BitmapFactory.decodeStream(inputStream, null, options);
114 Bitmap bitmap = BitmapFactory.decodeStream(inputStream, null, options);
133 private static int calculateInSampleSize(BitmapFactory.Options options, int reqWidth,
196 * @see android.graphics.BitmapFactory.Options#inSampleSize
205 * See {@link android.graphics.BitmapFactory.Options#inSampleSize}
219 * @see android.graphics.BitmapFactory.Options#inSampleSize
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
BitmapUtil.java 19 import android.graphics.BitmapFactory;
50 final BitmapFactory.Options opts = new BitmapFactory.Options();
52 BitmapFactory.decodeByteArray(src, 0, src.length, opts);
58 return BitmapFactory.decodeByteArray(src, 0, src.length, opts);
  /packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/
InputStreamProvider.java 6 import android.graphics.BitmapFactory;
55 BitmapFactory.Options options = new BitmapFactory.Options();
57 BitmapFactory.decodeStream(is, null, options);
120 BitmapFactory.Options options = new BitmapFactory.Options();
133 BitmapFactory.Options options = new BitmapFactory.Options();
137 fullSize = BitmapFactory.decodeStream(is, null, options);
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
PhotoProcessor.java 19 import android.graphics.BitmapFactory;
134 this(BitmapFactory.decodeByteArray(originalBytes, 0, originalBytes.length),
171 this(BitmapFactory.decodeByteArray(originalBytes, 0, originalBytes.length),
  /frameworks/base/core/java/android/provider/
DocumentsContract.java 31 import android.graphics.BitmapFactory;
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
ByodPresentMediaDialog.java 37 import android.graphics.BitmapFactory;
91 private int calculateInSampleSize(BitmapFactory.Options options, int reqWidth, int reqHeight){
147 BitmapFactory.Options options = new BitmapFactory.Options();
149 BitmapFactory.decodeStream(input, null, options);
161 scaled = BitmapFactory.decodeStream(input, null, options);
  /development/samples/training/ContactsList/src/com/example/android/contactslist/util/
ImageLoader.java 22 import android.graphics.BitmapFactory;
102 mLoadingBitmap = BitmapFactory.decodeResource(mResources, resId);
362 final BitmapFactory.Options options = new BitmapFactory.Options();
364 BitmapFactory.decodeFileDescriptor(fileDescriptor, null, options);
371 return BitmapFactory.decodeFileDescriptor(fileDescriptor, null, options);
375 * Calculate an inSampleSize for use in a {@link BitmapFactory.Options} object when decoding
376 * bitmaps using the decode* methods from {@link BitmapFactory}. This implementation calculates
388 public static int calculateInSampleSize(BitmapFactory.Options options,
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DrawableLoader.java 27 import android.graphics.BitmapFactory;
183 BitmapFactory.Options bitmapOptions = null;
187 // The value that BitmapFactory uses (1024) is too small for detecting bounds
189 bitmapOptions = new BitmapFactory.Options();
196 BitmapFactory.decodeStream(bufferedStream, null, bitmapOptions);
240 bitmap = BitmapFactory.decodeStream(bufferedStream, null, bitmapOptions);
246 bitmap = BitmapFactory.decodeStream(bufferedStream, null, bitmapOptions);
  /pdk/apps/TestingCamera/src/com/android/testingcamera/
SnapshotDialogFragment.java 10 import android.graphics.BitmapFactory;
68 BitmapFactory.Options opts = new BitmapFactory.Options();
70 BitmapFactory.decodeByteArray(jpegImage, 0,
81 Bitmap img = BitmapFactory.decodeByteArray(jpegImage, 0,
  /developers/build/prebuilts/gradle/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/
NotificationPresets.java 21 import android.graphics.BitmapFactory;
81 builder.setLargeIcon(BitmapFactory.decodeResource(
209 style.bigPicture(BitmapFactory.decodeResource(context.getResources(),
414 style.bigPicture(BitmapFactory.decodeResource(context.getResources(),
423 style.bigPicture(BitmapFactory.decodeResource(context.getResources(),
493 .setBackground(BitmapFactory.decodeResource(context.getResources(),
  /developers/samples/android/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/
NotificationPresets.java 21 import android.graphics.BitmapFactory;
81 builder.setLargeIcon(BitmapFactory.decodeResource(
209 style.bigPicture(BitmapFactory.decodeResource(context.getResources(),
414 style.bigPicture(BitmapFactory.decodeResource(context.getResources(),
423 style.bigPicture(BitmapFactory.decodeResource(context.getResources(),
493 .setBackground(BitmapFactory.decodeResource(context.getResources(),
  /development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/
NotificationPresets.java 21 import android.graphics.BitmapFactory;
81 builder.setLargeIcon(BitmapFactory.decodeResource(
209 style.bigPicture(BitmapFactory.decodeResource(context.getResources(),
414 style.bigPicture(BitmapFactory.decodeResource(context.getResources(),
423 style.bigPicture(BitmapFactory.decodeResource(context.getResources(),
493 .setBackground(BitmapFactory.decodeResource(context.getResources(),
  /frameworks/opt/bitmap/src/com/android/bitmap/
DecodeTask.java 20 import android.graphics.BitmapFactory;
56 private final BitmapFactory.Options mOpts = new BitmapFactory.Options();
213 BitmapFactory.decodeFileDescriptor(fd.getFileDescriptor(), null, mOpts);
215 BitmapFactory.decodeStream(in, null, mOpts);
491 result = BitmapFactory.decodeFileDescriptor(fd.getFileDescriptor(), null, mOpts);
493 result = BitmapFactory.decodeStream(in, null, mOpts);
  /development/samples/XmlAdapters/src/com/example/android/xmladapters/
Adapters.java 25 import android.graphics.BitmapFactory;
    [all...]
  /packages/apps/LegacyCamera/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,
  /packages/apps/Messaging/src/com/android/messaging/sms/
DatabaseMessages.java 25 import android.graphics.BitmapFactory;
697 final BitmapFactory.Options opt = new BitmapFactory.Options();
699 BitmapFactory.decodeStream(is, null, opt);
704 // BitmapFactory couldn't figure out the image type. That's got to be a bad
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/util/
ImageUtils.java 23 import android.graphics.BitmapFactory;
185 * Based on the input bitmap bounds given by BitmapFactory.Options, compute the required
187 * @param options a BitmapFactory.Options instance containing the bounds info of the bitmap
193 final BitmapFactory.Options options, final int reqWidth, final int reqHeight) {
408 private final BitmapFactory.Options mOptions;
455 mOptions = new BitmapFactory.Options();
574 BitmapFactory.decodeStream(inputStream, null, mOptions);
686 mDecoded = BitmapFactory.decodeStream(inputStream, null, mOptions);
    [all...]
  /cts/tests/camera/src/android/hardware/cts/
CameraTest.java 20 import android.graphics.BitmapFactory;
401 BitmapFactory.Options bmpOptions = new BitmapFactory.Options();
403 BitmapFactory.decodeByteArray(mJpegData, 0, mJpegData.length, bmpOptions);
    [all...]
  /cts/tests/camera/src/android/hardware/camera2/cts/
DngCreatorTest.java 21 import android.graphics.BitmapFactory;
464 * Test basic DNG creation, ensure that the DNG image can be rendered by BitmapFactory.
487 // Render the DNG file using BitmapFactory.
488 Bitmap rawBitmap = BitmapFactory.decodeFile(dngFilePath);
567 BitmapFactory.Options opt0 = new BitmapFactory.Options();
569 BitmapFactory.decodeByteArray(compressedJpegData, /*offset*/0,
599 BitmapFactory.Options opt = new BitmapFactory.Options();
    [all...]
CameraTestUtils.java 20 import android.graphics.BitmapFactory;
    [all...]
  /frameworks/base/core/java/android/app/
WallpaperManager.java 31 import android.graphics.BitmapFactory;
355 BitmapFactory.Options options = new BitmapFactory.Options();
356 return BitmapFactory.decodeFileDescriptor(
374 BitmapFactory.Options options = new BitmapFactory.Options();
375 return BitmapFactory.decodeStream(is, null, options);
519 Bitmap fullSize = BitmapFactory.decodeStream(is, null, null);
526 BitmapFactory.Options options = new BitmapFactory.Options()
    [all...]
  /packages/apps/Camera2/src/com/android/camera/util/
CameraUtil.java 30 import android.graphics.BitmapFactory;
197 * of 8 because BitmapFactory only honors sample size this way. For example,
198 * BitmapFactory downsamples an image by 2 even though the request is 3. So
201 public static int computeSampleSize(BitmapFactory.Options options,
219 private static int computeInitialSampleSize(BitmapFactory.Options options,
246 BitmapFactory.Options options = new BitmapFactory.Options();
248 BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length,
260 return BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length,
    [all...]

Completed in 2536 milliseconds

12 3 4