Searched refs:heightRatio (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | ScrollViewScenario.java | 74 protected ViewFactoryBase(float heightRatio) { in ViewFactoryBase() argument 75 mHeightRatio = heightRatio; in ViewFactoryBase() 100 public Params addTextView(final String text, float heightRatio) { in addTextView() argument 101 mViewFactories.add(new ViewFactoryBase(heightRatio) { in addTextView() 117 public Params addTextViews(int numViews, String textPrefix, float heightRatio) { in addTextViews() argument 119 addTextView(textPrefix + i, heightRatio); in addTextViews() 129 public Params addButton(final String text, float heightRatio) { in addButton() argument 130 mViewFactories.add(new ViewFactoryBase(heightRatio) { in addButton() 146 public Params addButtons(int numButtons, String textPrefix, float heightRatio) { in addButtons() argument 148 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 | GhostedViewTransitionAnimatorController.kt | 306 val heightRatio = state.height.toFloat() / ghostedViewState.height in onTransitionAnimationProgress() constant 307 val scale = min(widthRatio, heightRatio) in onTransitionAnimationProgress()
|
D | ActivityTransitionAnimator.kt | 1115 val heightRatio = state.height.toFloat() / height in applyStateToWindow() constant 1116 val scale = maxOf(widthRatio, heightRatio) in applyStateToWindow()
|
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/ |
D | Expandable.kt | 336 val heightRatio = in AnimatedContentInOverlay() constant 342 val scale = min(widthRatio, heightRatio) in AnimatedContentInOverlay()
|