Home
last modified time | relevance | path

Searched defs:aspectRatio (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/java/android/app/
DPictureInPictureArgs.java56 public Builder setAspectRatio(Rational aspectRatio) { in setAspectRatio()
149 public PictureInPictureArgs(float aspectRatio, List<RemoteAction> actions) { in PictureInPictureArgs()
167 private PictureInPictureArgs(Rational aspectRatio, List<RemoteAction> actions, in PictureInPictureArgs()
179 public void setAspectRatio(float aspectRatio) { in setAspectRatio()
DPictureInPictureParams.java58 public Builder setAspectRatio(Rational aspectRatio) { in setAspectRatio()
158 PictureInPictureParams(Rational aspectRatio, List<RemoteAction> actions, in PictureInPictureParams()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/
DIllustrationVideoViewTest.java134 final float aspectRatio = (float) view.getMeasuredHeight() / view.getMeasuredWidth(); in prepareVideo_shouldSetAspectRatio() local
148 final float aspectRatio = (float) view.getHeight() / view.getWidth(); in prepareVideo_zeroHeight_shouldSetAspectRatioToZero() local
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DIllustration.java52 private float aspectRatio = 0.0f; field in Illustration
122 public void setAspectRatio(float aspectRatio) { in setAspectRatio()
DIllustrationVideoView.java306 float aspectRatio = 0.0f; in onPrepared() local
/frameworks/base/services/core/java/com/android/server/wm/
DPinnedStackController.java235 public boolean isValidPictureInPictureAspectRatio(float aspectRatio) { in isValidPictureInPictureAspectRatio()
244 Rect transformBoundsToAspectRatio(Rect stackBounds, float aspectRatio, in transformBoundsToAspectRatio()
406 void setAspectRatio(float aspectRatio) { in setAspectRatio()
DTaskStack.java1669 Rect getPictureInPictureBounds(float aspectRatio, Rect stackBounds) { in getPictureInPictureBounds()
1770 void setPictureInPictureAspectRatio(float aspectRatio) { in setPictureInPictureAspectRatio()
DActivityStack.java5676 Rect getDefaultPictureInPictureBounds(float aspectRatio) { in getDefaultPictureInPictureBounds()
5713 void setPictureInPictureAspectRatio(float aspectRatio) { in setPictureInPictureAspectRatio()
DRootActivityContainer.java997 void moveActivityToPinnedStack(ActivityRecord r, Rect sourceHintBounds, float aspectRatio, in moveActivityToPinnedStack()
DActivityRecord.java2801 final float aspectRatio = (0.5f + Math.max(appWidth, appHeight)) in inSizeCompatMode() local
DDisplayContent.java1588 final float aspectRatio = Math.max(w, h) / (float) Math.min(w, h); in isNonDecorDisplayCloseToSquare() local
DWindowManagerService.java2691 public boolean isValidPictureInPictureAspectRatio(int displayId, float aspectRatio) { in isValidPictureInPictureAspectRatio()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipTouchHandler.java277 float aspectRatio = (float) normalBounds.width() / normalBounds.height(); in onMovementBoundsChanged() local
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DSetupWizardLayout.java268 public void setIllustrationAspectRatio(float aspectRatio) { in setIllustrationAspectRatio()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java210 float aspectRatio = width / (float) height; in wallpaperTravelToScreenWidthRatio() local
/frameworks/base/core/java/com/android/internal/policy/
DPipSnapAlgorithm.java342 public Size getSizeForAspectRatio(float aspectRatio, float minEdgeSize, int displayWidth, in getSizeForAspectRatio()
/frameworks/av/services/camera/libcameraservice/api2/
DDepthCompositeStream.cpp744 float aspectRatio = static_cast<float> (width) / static_cast<float> (height); in getMatchingDepthSize() local