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

12 3

  /packages/apps/Camera2/src/com/android/camera/
MediaSaverImpl.java 21 import android.graphics.BitmapFactory;
155 BitmapFactory.Options options = new BitmapFactory.Options();
157 BitmapFactory.decodeByteArray(data, 0, data.length, options);
  /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/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 30 import android.graphics.BitmapFactory;
    [all...]
  /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;
187 BitmapFactory.Options bitmapOptions = null;
191 // The value that BitmapFactory uses (1024) is too small for detecting bounds
193 bitmapOptions = new BitmapFactory.Options();
200 BitmapFactory.decodeStream(bufferedStream, null, bitmapOptions);
244 bitmap = BitmapFactory.decodeStream(bufferedStream, null, bitmapOptions);
250 bitmap = BitmapFactory.decodeStream(bufferedStream, null, bitmapOptions);
  /pdk/apps/TestingCamera/src/com/android/testingcamera/
SnapshotDialogFragment.java 8 import android.graphics.BitmapFactory;
66 BitmapFactory.Options opts = new BitmapFactory.Options();
68 BitmapFactory.decodeByteArray(jpegImage, 0,
79 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);
488 result = BitmapFactory.decodeFileDescriptor(fd.getFileDescriptor(), null, mOpts);
490 result = BitmapFactory.decodeStream(in, null, mOpts);
  /packages/apps/Mms/src/com/android/mms/ui/
UriImage.java 28 import android.graphics.BitmapFactory;
193 BitmapFactory.Options opt = new BitmapFactory.Options();
195 BitmapFactory.decodeStream(input, null, opt);
298 BitmapFactory.Options options = new BitmapFactory.Options();
309 b = BitmapFactory.decodeStream(input, null, options);
  /packages/apps/Mms/src/com/android/mms/util/
ThumbnailManager.java 22 import android.graphics.BitmapFactory;
23 import android.graphics.BitmapFactory.Options;
90 mEmptyImageBitmap = BitmapFactory.decodeResource(context.getResources(),
93 mEmptyVideoBitmap = BitmapFactory.decodeResource(context.getResources(),
329 BitmapFactory.Options options = new BitmapFactory.Options();
389 BitmapFactory.decodeByteArray(bytes, offset, length, options));
436 BitmapFactory.Options options = new BitmapFactory.Options();
463 BitmapFactory.decodeStream(inputStream, null, options)
    [all...]
  /cts/tests/tests/hardware/src/android/hardware/camera2/cts/
CameraTestUtils.java 22 import android.graphics.BitmapFactory;
    [all...]
  /development/samples/XmlAdapters/src/com/example/android/xmladapters/
Adapters.java 25 import android.graphics.BitmapFactory;
    [all...]
  /frameworks/base/core/java/android/app/
WallpaperManager.java 28 import android.graphics.BitmapFactory;
293 BitmapFactory.Options options = new BitmapFactory.Options();
294 return BitmapFactory.decodeFileDescriptor(
316 BitmapFactory.Options options = new BitmapFactory.Options();
317 return BitmapFactory.decodeStream(is, null, options);
418 Bitmap fullSize = BitmapFactory.decodeStream(is, null, null);
424 BitmapFactory.Options options = new BitmapFactory.Options()
    [all...]
  /packages/apps/Browser/src/com/android/browser/
BrowserHistoryPage.java 36 import android.graphics.BitmapFactory;
659 item.setFavicon(BitmapFactory.decodeByteArray(data, 0,
  /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,
  /cts/tests/tests/hardware/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...]
  /packages/apps/Camera/src/com/android/camera/
Util.java 29 import android.graphics.BitmapFactory;
212 * of 8 because BitmapFactory only honors sample size this way.
213 * For example, BitmapFactory downsamples an image by 2 even though the
216 public static int computeSampleSize(BitmapFactory.Options options,
234 private static int computeInitialSampleSize(BitmapFactory.Options options,
261 BitmapFactory.Options options = new BitmapFactory.Options();
263 BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length,
275 return BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length,
  /packages/apps/Camera2/src/com/android/camera/data/
LocalMediaData.java 23 import android.graphics.BitmapFactory;
403 BitmapFactory.Options opts = new BitmapFactory.Options();
405 BitmapFactory.decodeFile(path, opts);
411 Bitmap b = BitmapFactory.decodeFile(path);
    [all...]
  /packages/apps/Camera2/src/com/android/camera/util/
CameraUtil.java 30 import android.graphics.BitmapFactory;
201 * of 8 because BitmapFactory only honors sample size this way. For example,
202 * BitmapFactory downsamples an image by 2 even though the request is 3. So
205 public static int computeSampleSize(BitmapFactory.Options options,
223 private static int computeInitialSampleSize(BitmapFactory.Options options,
250 BitmapFactory.Options options = new BitmapFactory.Options();
252 BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length,
264 return BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length,
812 final BitmapFactory.Options opts = new BitmapFactory.Options()
    [all...]
  /packages/providers/MediaProvider/src/com/android/providers/media/
MediaProvider.java 52 import android.graphics.BitmapFactory;
    [all...]
  /frameworks/ex/common/java/com/android/ex/editstyledtext/
EditStyledText.java 35 import android.graphics.BitmapFactory;
    [all...]
  /external/chromium_org/third_party/libaddressinput/src/java/
android.jar 

Completed in 3336 milliseconds

12 3