Home
last modified time | relevance | path

Searched refs:newRatio (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DTaskContainer.java520 final float newRatio = dividerPresenter.calculateNewSplitRatio(); in updateTopSplitContainerForDivider() local
524 if (newRatio == RATIO_EXPANDED_PRIMARY) { in updateTopSplitContainerForDivider()
540 if (newRatio == RATIO_EXPANDED_SECONDARY) { in updateTopSplitContainerForDivider()
546 newSplitType = mOverrideSplitType = new RatioSplitType(newRatio); in updateTopSplitContainerForDivider()
DDividerPresenter.java926 final float newRatio;
931 newRatio = 1.0f * newPrimaryWidth / usableSize;
936 newRatio = 1.0f * newPrimaryHeight / usableSize;
938 return newRatio;
/frameworks/base/core/java/android/view/
DDisplay.java2837 float newRatio = getHdrSdrRatio(); in onDisplayChanged() local
2838 if (newRatio != mLastReportedRatio) { in onDisplayChanged()
2839 mLastReportedRatio = newRatio; in onDisplayChanged()