Searched refs:scaleHeight (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Dialer/java/com/android/incallui/videosurface/impl/ |
D | VideoScale.java | 36 float scaleHeight = 1.0f; in scaleVideoAndFillView() local 42 scaleHeight = desiredScaledHeight / viewHeight; in scaleVideoAndFillView() 55 float scaleY = scaleHeight; in scaleVideoAndFillView() 57 scaleHeight = viewWidth / viewHeight * scaleX; in scaleVideoAndFillView() 63 scaleHeight = scaleHeight * -1.0f; in scaleVideoAndFillView() 74 scaleHeight, in scaleVideoAndFillView() 80 scaleHeight, in scaleVideoAndFillView() 100 float scaleHeight = 1.0f; in scaleVideoMaintainingAspectRatio() local 118 scaleHeight = (float) desiredHeight / (float) viewHeight; in scaleVideoMaintainingAspectRatio() 122 scaleHeight = (float) desiredWidth / (float) viewWidth; in scaleVideoMaintainingAspectRatio() [all …]
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/ |
D | FixedAspectSurfaceView.java | 40 private final boolean scaleHeight; field in FixedAspectSurfaceView 48 scaleHeight = a.getBoolean(R.styleable.FixedAspectSurfaceView_scaleHeight, false); in FixedAspectSurfaceView() 50 Assert.checkArgument(scaleHeight != scaleWidth, "Must either scale width or height"); in FixedAspectSurfaceView() 75 } else if (scaleHeight) { in onMeasure()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | DesktopTaskView.kt | 109 val scaleHeight = containerHeight / windowHeight.toFloat() in <lambda>() constant 114 "window=[$windowWidth,$windowHeight] scale=[$scaleWidth,$scaleHeight]" in <lambda>() 130 val thumbHeight = (taskSize.height() * scaleHeight).toInt() in <lambda>() 139 var taskY = (positionInParent.y * scaleHeight).toInt() in <lambda>()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/defaultapps/ |
D | DefaultAppUtils.java | 55 float scaleHeight = ((float) maxDimension) / actualHeight; in getSafeDrawable() local 56 float scale = Math.min(scaleWidth, scaleHeight); in getSafeDrawable()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/transition/ |
D | ChangeScaleAndPosition.kt | 69 val scaleHeight = in createAnimator() constant 78 PropertyValuesHolder.ofFloat("scaleY", scaleHeight, 1f), in createAnimator()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
D | MtpImageView.java | 168 float scaleHeight = ((float) vheight) / (iheight * 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 | 210 int scaleHeight = (int) (height * (scaleEndRow - scaleStartRow)); in onMeasure() local 213 scaleHeight > mMaxHeight ? mMaxHeight : scaleHeight, in onMeasure()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
D | IconView.java | 210 float scaleHeight = mBitmapBounds.height() / (float) mBitmap.getHeight(); in onDraw() local 211 float scale = Math.max(scaleWidth, scaleHeight); in onDraw()
|
/packages/apps/Settings/src/com/android/settings/ |
D | Utils.java | 1106 final float scaleHeight = ((float) maxHeight) / actualHeight; in getSafeDrawable() local 1107 final float scale = Math.min(scaleWidth, scaleHeight); in getSafeDrawable()
|