HomeSort by relevance Sort by last modified time
    Searched refs:inHeight (Results 1 - 11 of 11) sorted by null

  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
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) {
154 final int inHeight = inDimens[1];
161 sampleSize = getSampleSize(inHeight, inWidth, outWidth, outHeight);
163 sampleSize = getSampleSize(inWidth, inHeight, outWidth, outHeight);
166 final Bitmap downsampled = downsampleWithSize(bis, options, pool, inWidth, inHeight, sampleSize, decodeFormat);
184 BitmapPool pool, int inWidth, int inHeight, int sampleSize, DecodeFormat decodeFormat)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
BitmapHelper.java 40 final int inHeight = input.getHeight();
46 final RectF srcRect = new RectF(0, 0, inWidth, inHeight);
51 canvas.drawCircle(inWidth / 2, inHeight / 2, inWidth / 2, paint);
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
ScaleFilter.java 57 protected int getOutputWidth(int inWidth, int inHeight) {
62 protected int getOutputHeight(int inWidth, int inHeight) {
63 return (int)(inHeight * mScale);
CropFilter.java 158 protected int getOutputWidth(int inWidth, int inHeight) {
162 protected int getOutputHeight(int inWidth, int inHeight) {
163 return mOutputHeight <= 0 ? inHeight : mOutputHeight;
  /frameworks/base/core/java/android/app/
WallpaperManager.java 422 int inHeight;
429 inHeight = options.outHeight;
441 outHeight = Math.min(inHeight, outHeight);
443 cropRectF = getMaxCropRect(inWidth, inHeight, outWidth, outHeight,
448 float top = (inHeight - outHeight) * verticalAlignment;
529 private static RectF getMaxCropRect(int inWidth, int inHeight, int outWidth, int outHeight,
533 if (inWidth / (float) inHeight > outWidth / (float) outHeight) {
535 cropRect.bottom = inHeight;
536 float cropWidth = outWidth * (inHeight / (float) outHeight);
543 cropRect.top = (inHeight - cropHeight) * verticalAlignment
    [all...]
  /frameworks/native/include/gui/
IGraphicBufferProducer.h 334 inline void inflate(uint32_t inWidth, uint32_t inHeight,
337 height = inHeight;
  /frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
WallpaperCropActivity.java     [all...]
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
WallpaperCropActivity.java     [all...]
  /external/chromium_org/third_party/webrtc/examples/android/media_demo/src/org/webrtc/webrtcdemo/
MediaEngine.java 151 private int inHeight;
661 "resolution: " + inWidth + "x" + inHeight + "\n" +
681 inHeight = videoCodec.height();
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
texcompress_fxt1.c     [all...]
  /external/mesa3d/src/mesa/main/
texcompress_fxt1.c     [all...]

Completed in 931 milliseconds