/frameworks/libs/systemui/toruslib/torus-utils/src/main/java/com/google/android/torus/utils/extensions/ |
D | SizeExt.kt | 30 fun Size.getAspectRatio(): Float { in getAspectRatio() method 46 fun SizeF.getAspectRatio(): Float { in getAspectRatio() method
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
D | PipBoundsAlgorithm.java | 107 mPipBoundsState.getAspectRatio(), false /* useCurrentMinEdgeSize */, in getNormalBounds() 143 mPipBoundsState.getAspectRatio(), false /* useCurrentMinEdgeSize */, in getEntryDestinationBoundsIgnoringKeepClearAreas() 441 adjHeight = Math.round(adjWidth / mPipBoundsState.getAspectRatio()); in adjustNormalBoundsToFitMenu() 444 adjWidth = Math.round(adjHeight * mPipBoundsState.getAspectRatio()); in adjustNormalBoundsToFitMenu() 449 adjHeight = Math.round(adjWidth / mPipBoundsState.getAspectRatio()); in adjustNormalBoundsToFitMenu() 453 adjWidth = Math.round(adjHeight * mPipBoundsState.getAspectRatio()); in adjustNormalBoundsToFitMenu() 458 mPipBoundsState.getAspectRatio(), true /* useCurrentMinEdgeSize */, in adjustNormalBoundsToFitMenu()
|
D | PipBoundsState.java | 310 public float getAspectRatio() { in getAspectRatio() method in PipBoundsState
|
/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/utils/ |
D | GraphicsUtils.kt | 96 fun getAspectRatio(size: SizeF): Float { in <lambda>() method
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/ |
D | PipBoundsAlgorithmTest.java | 450 assertEquals(minMenuSize.getWidth() / mPipBoundsState.getAspectRatio(), in adjustNormalBoundsToFitMenu_widthTooSmall() 465 assertEquals(minMenuSize.getHeight() * mPipBoundsState.getAspectRatio(), in adjustNormalBoundsToFitMenu_heightTooSmall() 480 assertEquals(minMenuSize.getWidth() / mPipBoundsState.getAspectRatio(), in adjustNormalBoundsToFitMenu_widthAndHeightTooSmall()
|
D | PipTaskOrganizerTest.java | 146 assertEquals(aspectRatio.floatValue(), mPipBoundsState.getAspectRatio(), 0.01f); in startSwipePipToHome_updatesAspectRatio() 173 assertEquals(aspectRatio.floatValue(), mPipBoundsState.getAspectRatio(), 0.01f); in onTaskAppeared_updatesAspectRatio()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/ |
D | BluetoothDeviceLayerDrawableTest.java | 79 assertThat(batteryDrawable.getAspectRatio()).isWithin(TOLERANCE).of(0.35f); in testBatteryMeterDrawable_configCorrect()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | BluetoothDeviceLayerDrawable.java | 124 protected float getAspectRatio() { in getAspectRatio() method in BluetoothDeviceLayerDrawable.BatteryMeterDrawable
|
D | BatteryMeterDrawableBase.java | 321 final int width = (int) (getAspectRatio() * mHeight); in draw() 501 protected float getAspectRatio() { in getAspectRatio() method in BatteryMeterDrawableBase
|
/frameworks/base/core/java/android/app/ |
D | PictureInPictureParams.java | 463 public Rational getAspectRatio() { in getAspectRatio() method in PictureInPictureParams 757 + " aspectRatio=" + getAspectRatio() in toString()
|
/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/snow/ |
D | SnowEffect.kt | 141 GraphicsUtils.getAspectRatio(surfaceSize) in <lambda>()
|
/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/fog/ |
D | FogEffect.kt | 133 GraphicsUtils.getAspectRatio(surfaceSize) in adjustCropping()
|
/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/rain/ |
D | RainEffect.kt | 148 val screenAspectRatio = GraphicsUtils.getAspectRatio(surfaceSize) in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipController.java | 610 mPipBoundsState.getAspectRatio()); in onInit() 1152 mTouchHandler.updateMinMaxSize(mPipBoundsState.getAspectRatio()); in onDisplayRotationChanged()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityClientController.java | 1069 && !r.pictureInPictureArgs.getAspectRatio().equals( in ensureValidPictureInPictureActivityParams() 1070 params.getAspectRatio()) in ensureValidPictureInPictureActivityParams()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
D | PipTransition.java | 1114 mPipBoundsState.updateMinMaxSize(mPipBoundsState.getAspectRatio()); in computeEnterPipRotatedBounds()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowOrganizerTests.java | 1253 final Rational ratio = o.mChangedInfo.pictureInPictureParams.getAspectRatio(); in testChangePipParams()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/frameworks/base/core/api/ |
D | current.txt | 7205 method @Nullable public android.util.Rational getAspectRatio();
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 8206 Landroid/app/PictureInPictureArgs;->getAspectRatio()F
|