/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
D | PinnedStackListenerForwarder.java | 87 private void onAspectRatioChanged(float aspectRatio) { in onAspectRatioChanged() 124 public void onAspectRatioChanged(float aspectRatio) { in onAspectRatioChanged() 144 public void onAspectRatioChanged(float aspectRatio) {} in onAspectRatioChanged()
|
D | PipBoundsAlgorithm.java | 203 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()
|
D | PipBoundsState.java | 225 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/ |
D | PipTaskOrganizerTest.java | 118 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()
|
D | PipBoundsAlgorithmTest.java | 276 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/ |
D | IllustrationVideoViewTest.java | 134 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/ |
D | IPinnedTaskListener.aidl | 63 void onAspectRatioChanged(float aspectRatio); in onAspectRatioChanged()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | Illustration.java | 52 private float aspectRatio = 0.0f; field in Illustration 122 public void setAspectRatio(float aspectRatio) { in setAspectRatio()
|
D | IllustrationVideoView.java | 306 float aspectRatio = 0.0f; in onPrepared() local
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | FramebufferSurface.cpp | 190 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/ |
D | PictureInPictureParams.java | 64 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/ |
D | PinnedTaskController.java | 166 public boolean isValidPictureInPictureAspectRatio(float aspectRatio) { in isValidPictureInPictureAspectRatio() 367 void setAspectRatio(float aspectRatio) { in setAspectRatio() 406 private void notifyAspectRatioChanged(float aspectRatio) { in notifyAspectRatioChanged()
|
D | LetterboxConfiguration.java | 109 void setFixedOrientationLetterboxAspectRatio(float aspectRatio) { in setFixedOrientationLetterboxAspectRatio()
|
D | ActivityRecord.java | 7610 final float aspectRatio = (0.5f + Math.max(appWidth, appHeight)) in isInSizeCompatModeForBounds() local
|
D | WindowManagerService.java | 2992 boolean isValidPictureInPictureAspectRatio(DisplayContent displayContent, float aspectRatio) { in isValidPictureInPictureAspectRatio()
|
/frameworks/av/services/camera/libcameraservice/tests/ |
D | RotateAndCropMapperTest.cpp | 156 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/ |
D | PipTouchHandler.java | 388 float aspectRatio = (float) normalBounds.width() / normalBounds.height(); in onMovementBoundsChanged() local 476 float aspectRatio) { in updatePinchResizeSizeConstraints()
|
D | PipController.java | 237 public void onAspectRatioChanged(float aspectRatio) { in onAspectRatioChanged()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
D | SetupWizardLayout.java | 268 public void setIllustrationAspectRatio(float aspectRatio) { in setIllustrationAspectRatio()
|
/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/ |
D | MainActivity.java | 401 private static Size chooseOptimalSize(Size[] choices, int width, int height, Size aspectRatio) { in chooseOptimalSize()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | WallpaperCropActivity.java | 210 float aspectRatio = width / (float) height; in wallpaperTravelToScreenWidthRatio() local
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | DepthCompositeStream.cpp | 820 float aspectRatio = static_cast<float> (width) / static_cast<float> (height); in getMatchingDepthSize() local
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SizeCompatTests.java | 189 final float aspectRatio = 1.2f; in testFixedAspectRatioBoundsWithDecorInSquareDisplay() local
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.cpp | 383 const float aspectRatio = float(width) / float(height); in limitSurfaceSize() local
|
/frameworks/base/core/java/android/widget/ |
D | Editor.java | 539 float aspectRatio = AppGlobals.getFloatCoreSetting( in createBuilderWithInlineMagnifierDefaults() local
|