HomeSort by relevance Sort by last modified time
    Searched refs:outHeight (Results 1 - 25 of 36) sorted by null

1 2

  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
FitCenter.java 20 public Resource<Bitmap> transform(Resource<Bitmap> resource, int outWidth, int outHeight) {
21 if (outWidth <= 0 || outHeight <= 0) {
23 + outHeight);
25 Bitmap transformed = TransformationUtils.fitCenter(resource.get(), pool, outWidth, outHeight);
CenterCrop.java 22 public Resource<Bitmap> transform(Resource<Bitmap> resource, int outWidth, int outHeight) {
23 if (outWidth <= 0 || outHeight <= 0) {
25 + outHeight);
28 final Bitmap toReuse = pool.get(outWidth, outHeight, resource.get().getConfig());
29 Bitmap transformed = TransformationUtils.centerCrop(toReuse, resource.get(), outWidth, outHeight);
BitmapDecoder.java 21 * @param outHeight The target height for the returned bitmap (need not match exactly).
24 public Bitmap decode(T resource, BitmapPool bitmapPool, int outWidth, int outHeight, DecodeFormat decodeFormat)
Downsampler.java 69 protected int getSampleSize(int inWidth, int inHeight, int outWidth, int outHeight) {
70 return Math.min(inHeight / outHeight, inWidth / outWidth);
86 protected int getSampleSize(int inWidth, int inHeight, int outWidth, int outHeight) {
87 return Math.max(inHeight / outHeight, inWidth / outWidth);
102 protected int getSampleSize(int inWidth, int inHeight, int outWidth, int outHeight) {
127 * @param outHeight The height the final image should be close to
131 public Bitmap decode(InputStream is, BitmapPool pool, int outWidth, int outHeight, DecodeFormat decodeFormat) {
161 sampleSize = getSampleSize(inHeight, inWidth, outWidth, outHeight);
163 sampleSize = getSampleSize(inWidth, inHeight, outWidth, outHeight);
252 * @param outHeight The height of the view/target the imag will be displayed i
    [all...]
VideoBitmapDecoder.java 29 public Bitmap decode(ParcelFileDescriptor resource, BitmapPool bitmapPool, int outWidth, int outHeight,
  /external/chromium_org/third_party/android_opengl/etc1/
etc1.h 36 unsigned int outHeight);
etc1.cpp 537 etc1_uint32 outHeight) {
548 etc1_uint32 encodedHeight = (outHeight + 3) & ~3;
551 etc1_uint32 yEnd = outHeight - y;
  /external/glide/library/src/main/java/com/bumptech/glide/load/
Transformation.java 17 * @param outHeight The height of the view or target the bitmap will be displayed in
20 public abstract Resource<T> transform(Resource<T> resource, int outWidth, int outHeight);
UnitTransformation.java 17 public Resource<T> transform(Resource<T> resource, int outWidth, int outHeight) {
MultiTransformation.java 30 public Resource<T> transform(Resource<T> resource, int outWidth, int outHeight) {
35 Resource<T> transformed = transformation.transform(previous, outWidth, outHeight);
43 Resource<T> transformed = transformation.transform(previous, outWidth, outHeight);
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/
GifBitmapWrapperTransformation.java 24 public Resource<GifBitmapWrapper> transform(Resource<GifBitmapWrapper> resource, int outWidth, int outHeight) {
28 Resource<Bitmap> transformed = bitmapTransformation.transform(bitmapResource, outWidth, outHeight);
34 Resource<GifData> transformed = gifDataTransformation.transform(gifResource, outWidth, outHeight);
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
GifDataTransformation.java 16 public Resource<GifData> transform(Resource<GifData> resource, int outWidth, int outHeight) {
  /developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/utils/
BitmapHelper.java 54 int actualH = bmOptions.outHeight;
  /developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/utils/
BitmapHelper.java 54 int actualH = bmOptions.outHeight;
  /development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
BitmapHelper.java 54 int actualH = bmOptions.outHeight;
  /development/samples/devbytes/graphics/BitmapAllocation/src/com/example/android/bitmapallocation/
BitmapAllocation.java 64 mBitmapOptions.outHeight, Bitmap.Config.ARGB_8888);
  /development/samples/training/threadsample/src/com/example/android/threadsample/
PhotoDecodeRunnable.java 177 int hScale = bitmapOptions.outHeight / targetHeight;
  /external/chromium_org/third_party/webrtc/modules/utility/source/
file_player_impl.h 99 const uint32_t outHeight);
  /external/chromium_org/ui/android/java/src/org/chromium/ui/gfx/
BitmapHelper.java 59 final int height = options.outHeight;
  /development/tools/etc1tool/
etc1tool.cpp 365 etc1_uint32 outHeight;
366 if (readPKMFile(pOutput, &pDiffImage, &outWidth, &outHeight)) {
369 if (outWidth != width || outHeight != height) {
371 outWidth, outHeight, width, height);
388 writePNGFile(pDiffFile, outWidth, outHeight, pDiffImage, 3 * outWidth);
  /external/chromium_org/third_party/skia/src/images/
SkImageDecoder_libgif.cpp 437 const int outHeight = workingBitmap->height();
439 for (int y = 0; y < outHeight; y++) {
443 for (; y < outHeight; y++) {
450 if (y < outHeight - 1) {
455 int read = (outHeight - 1) * sampler.srcDY() + sampler.srcY0() + 1;
  /developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageResizer.java 235 final int height = options.outHeight;
ImageCache.java 526 && candidate.getHeight() == targetOptions.outHeight
533 int height = targetOptions.outHeight / targetOptions.inSampleSize;
  /developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageResizer.java 235 final int height = options.outHeight;
  /development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
ImageResizer.java 235 final int height = options.outHeight;

Completed in 857 milliseconds

1 2