Searched refs:scaleWidth (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Dialer/java/com/android/incallui/videosurface/impl/ |
D | VideoScale.java | 35 float scaleWidth = 1.0f; in scaleVideoAndFillView() local 47 scaleWidth = desiredScaledWidth / viewWidth; in scaleVideoAndFillView() 54 float scaleX = scaleWidth; in scaleVideoAndFillView() 56 scaleWidth = viewHeight / viewWidth * scaleY; in scaleVideoAndFillView() 60 scaleWidth = scaleWidth * -1.0f; in scaleVideoAndFillView() 73 scaleWidth, in scaleVideoAndFillView() 79 scaleWidth, in scaleVideoAndFillView() 99 float scaleWidth = 1.0f; in scaleVideoMaintainingAspectRatio() local 107 scaleWidth = (float) desiredHeight / (float) viewHeight; in scaleVideoMaintainingAspectRatio() 111 scaleWidth = (float) desiredWidth / (float) viewWidth; in scaleVideoMaintainingAspectRatio() [all …]
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/ |
D | FixedAspectSurfaceView.java | 39 private final boolean scaleWidth; field in FixedAspectSurfaceView 49 scaleWidth = a.getBoolean(R.styleable.FixedAspectSurfaceView_scaleWidth, false); in FixedAspectSurfaceView() 50 Assert.checkArgument(scaleHeight != scaleWidth, "Must either scale width or height"); in FixedAspectSurfaceView() 73 if (scaleWidth) { in onMeasure()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
D | BitmapUtils.java | 64 int scaleWidth = (int) Math.ceil(bm.getWidth() * scale); in scaleBitmap() local 72 scaledBm = Bitmap.createScaledBitmap(scaledBm, scaleWidth * 2, scaleHeight * 2, true); in scaleBitmap() 77 .createScaledBitmap(scaledBm, scaleWidth, scaleHeight, true); in scaleBitmap()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/defaultapps/ |
D | DefaultAppUtils.java | 58 float scaleWidth = ((float) maxDimension) / actualWidth; in getSafeDrawable() local 60 float scale = Math.min(scaleWidth, scaleHeight); in getSafeDrawable()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
D | MtpImageView.java | 169 float scaleWidth = ((float) vwidth) / (iwidth * OVERLAY_ICON_SIZE_DENOMINATOR); in updateOverlayIconBounds() local 170 if (scaleHeight >= 1f && scaleWidth >= 1f) { in updateOverlayIconBounds() 176 float scale = Math.min(scaleHeight, scaleWidth); in updateOverlayIconBounds()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/layout/ |
D | ScaledLayout.java | 186 int scaleWidth = (int) (width * (scaleEndCol - scaleStartCol)); in onMeasure() local 189 scaleWidth > mMaxWidth ? mMaxWidth : scaleWidth, MeasureSpec.EXACTLY); in onMeasure()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
D | IconView.java | 209 float scaleWidth = mBitmapBounds.width() / (float) mBitmap.getWidth(); in onDraw() local 211 float scale = Math.max(scaleWidth, scaleHeight); in onDraw()
|
/packages/apps/Settings/src/com/android/settings/ |
D | Utils.java | 953 float scaleWidth = ((float) maxWidth) / actualWidth; in getSafeDrawable() local 955 float scale = Math.min(scaleWidth, scaleHeight); in getSafeDrawable()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | Utils.java | 958 float scaleWidth = ((float) maxWidth) / actualWidth; in getSafeDrawable() local 960 float scale = Math.min(scaleWidth, scaleHeight); in getSafeDrawable()
|