Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPinnedStackListenerForwarder.java87 private void onAspectRatioChanged(float aspectRatio) { in onAspectRatioChanged()
124 public void onAspectRatioChanged(float aspectRatio) { in onAspectRatioChanged()
144 public void onAspectRatioChanged(float aspectRatio) {} in onAspectRatioChanged()
DPipBoundsAlgorithm.java203 private boolean isValidPictureInPictureAspectRatio(float aspectRatio) { in isValidPictureInPictureAspectRatio()
208 private Rect transformBoundsToAspectRatioIfValid(Rect bounds, float aspectRatio, in transformBoundsToAspectRatioIfValid()
222 public void transformBoundsToAspectRatio(Rect stackBounds, float aspectRatio, in transformBoundsToAspectRatio()
259 private Size adjustSizeToAspectRatio(@NonNull Size size, float aspectRatio) { in adjustSizeToAspectRatio()
405 public Size getSizeForAspectRatio(float aspectRatio, float minEdgeSize, int displayWidth, in getSizeForAspectRatio()
439 public Size getSizeForAspectRatio(Size size, float aspectRatio, float minEdgeSize) { in getSizeForAspectRatio()
DPipBoundsState.java225 public void setAspectRatio(float aspectRatio) { in setAspectRatio()
369 public void setBoundsStateForEntry(ComponentName componentName, float aspectRatio, in setBoundsStateForEntry()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipTaskOrganizerTest.java118 final Rational aspectRatio = new Rational(2, 1); in startSwipePipToHome_updatesAspectRatio() local
144 final Rational aspectRatio = new Rational(2, 1); in onTaskAppeared_updatesAspectRatio() local
270 private static PictureInPictureParams createPipParams(Rational aspectRatio) { in createPipParams()
DPipBoundsAlgorithmTest.java276 final float aspectRatio = (DEFAULT_ASPECT_RATIO + MAX_ASPECT_RATIO) / 2; in getAdjustedDestinationBounds_returnBoundsMatchesAspectRatio() local
303 final float aspectRatio = aspectRatios[i]; in getEntryDestinationBounds_withMinSize_returnMinBounds() local
322 final float aspectRatio = (DEFAULT_ASPECT_RATIO + MAX_ASPECT_RATIO) / 2; in getAdjustedDestinationBounds_ignoreMinBounds() local
463 private void overrideDefaultAspectRatio(float aspectRatio) { in overrideDefaultAspectRatio()
/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/base/core/java/android/view/
DIPinnedTaskListener.aidl63 void onAspectRatioChanged(float aspectRatio); in onAspectRatioChanged()
/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/native/services/surfaceflinger/DisplayHardware/
DFramebufferSurface.cpp190 const float aspectRatio = static_cast<float>(size.width) / size.height; in limitSizeInternal() local
196 const float aspectRatio = static_cast<float>(size.width) / size.height; in limitSizeInternal() local
/frameworks/base/core/java/android/app/
DPictureInPictureParams.java64 public Builder setAspectRatio(Rational aspectRatio) { in setAspectRatio()
219 PictureInPictureParams(Rational aspectRatio, List<RemoteAction> actions, in PictureInPictureParams()
/frameworks/base/services/core/java/com/android/server/wm/
DPinnedTaskController.java166 public boolean isValidPictureInPictureAspectRatio(float aspectRatio) { in isValidPictureInPictureAspectRatio()
367 void setAspectRatio(float aspectRatio) { in setAspectRatio()
406 private void notifyAspectRatioChanged(float aspectRatio) { in notifyAspectRatioChanged()
DLetterboxConfiguration.java109 void setFixedOrientationLetterboxAspectRatio(float aspectRatio) { in setFixedOrientationLetterboxAspectRatio()
DActivityRecord.java7610 final float aspectRatio = (0.5f + Math.max(appWidth, appHeight)) in isInSizeCompatModeForBounds() local
DWindowManagerService.java2992 boolean isValidPictureInPictureAspectRatio(DisplayContent displayContent, float aspectRatio) { in isValidPictureInPictureAspectRatio()
/frameworks/av/services/camera/libcameraservice/tests/
DRotateAndCropMapperTest.cpp156 float aspectRatio = static_cast<float>(full_crop[2]) / full_crop[3]; in TEST() local
247 float aspectRatio = static_cast<float>(full_crop[2]) / full_crop[3]; in TEST() local
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipTouchHandler.java388 float aspectRatio = (float) normalBounds.width() / normalBounds.height(); in onMovementBoundsChanged() local
476 float aspectRatio) { in updatePinchResizeSizeConstraints()
DPipController.java237 public void onAspectRatioChanged(float aspectRatio) { in onAspectRatioChanged()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DSetupWizardLayout.java268 public void setIllustrationAspectRatio(float aspectRatio) { in setIllustrationAspectRatio()
/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/
DMainActivity.java401 private static Size chooseOptimalSize(Size[] choices, int width, int height, Size aspectRatio) { in chooseOptimalSize()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java210 float aspectRatio = width / (float) height; in wallpaperTravelToScreenWidthRatio() local
/frameworks/av/services/camera/libcameraservice/api2/
DDepthCompositeStream.cpp820 float aspectRatio = static_cast<float> (width) / static_cast<float> (height); in getMatchingDepthSize() local
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSizeCompatTests.java189 final float aspectRatio = 1.2f; in testFixedAspectRatioBoundsWithDecorInSquareDisplay() local
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp383 const float aspectRatio = float(width) / float(height); in limitSurfaceSize() local
/frameworks/base/core/java/android/widget/
DEditor.java539 float aspectRatio = AppGlobals.getFloatCoreSetting( in createBuilderWithInlineMagnifierDefaults() local