Searched refs:heightRatio (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/util/ |
D | ScrollViewScenario.java | 73 protected ViewFactoryBase(float heightRatio) { in ViewFactoryBase() argument 74 mHeightRatio = heightRatio; in ViewFactoryBase() 99 public Params addTextView(final String text, float heightRatio) { in addTextView() argument 100 mViewFactories.add(new ViewFactoryBase(heightRatio) { in addTextView() 116 public Params addTextViews(int numViews, String textPrefix, float heightRatio) { in addTextViews() argument 118 addTextView(textPrefix + i, heightRatio); in addTextViews() 128 public Params addButton(final String text, float heightRatio) { in addButton() argument 129 mViewFactories.add(new ViewFactoryBase(heightRatio) { in addButton() 145 public Params addButtons(int numButtons, String textPrefix, float heightRatio) { in addButtons() argument 147 addButton(textPrefix + i, heightRatio); in addButtons() [all …]
|
/frameworks/base/core/java/android/util/ |
D | DisplayUtils.java | 83 final float heightRatio = (float) currentHeight / physicalHeight; in getPhysicalPixelDisplaySizeRatio() local 84 return Math.min(widthRatio, heightRatio); in getPhysicalPixelDisplaySizeRatio()
|
/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/ |
D | CameraPreviewActivity.java | 273 float heightRatio = mNextPreviewSize.height / (float)mPreviewTexHeight; in startPreview() local 275 transform.setScale(1, heightRatio/widthRatio); in startPreview() 277 mPreviewTexHeight * (1 - heightRatio/widthRatio)/2); in startPreview()
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
D | GhostedViewLaunchAnimatorController.kt | 272 val heightRatio = state.height.toFloat() / ghostedViewState.height in onLaunchAnimationProgress() constant 273 val scale = min(widthRatio, heightRatio) in onLaunchAnimationProgress()
|
D | ActivityLaunchAnimator.kt | 627 val heightRatio = state.height.toFloat() / height in applyStateToWindow() constant 628 val scale = maxOf(widthRatio, heightRatio) in applyStateToWindow()
|
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/ |
D | Expandable.kt | 334 val heightRatio = in AnimatedContentInOverlay() constant 340 val scale = min(widthRatio, heightRatio) in AnimatedContentInOverlay()
|