Home
last modified time | relevance | path

Searched refs:remainingHeight (Results 1 – 7 of 7) sorted by relevance

/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DAlertDialogLayout.java153 int remainingHeight = heightSize - usedHeight; in tryOnMeasure() local
161 final int heightToGive = Math.min(remainingHeight, buttonWantsHeight); in tryOnMeasure()
163 remainingHeight -= heightToGive; in tryOnMeasure()
177 if (middlePanel != null && remainingHeight > 0) { in tryOnMeasure()
180 final int heightToGive = remainingHeight; in tryOnMeasure()
181 remainingHeight -= heightToGive; in tryOnMeasure()
H A DResolverDrawerLayout.java996 final int remainingHeight = heightSize - heightUsed;
999 lp.maxHeight > remainingHeight ? lp.maxHeight - remainingHeight : 0);
1016 final int remainingHeight = heightSize - heightUsed;
1019 lp.maxHeight > remainingHeight ? lp.maxHeight - remainingHeight : 0);
/aosp14/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
H A DAlertDialogLayout.java152 int remainingHeight = heightSize - usedHeight; in tryOnMeasure() local
160 final int heightToGive = Math.min(remainingHeight, buttonWantsHeight); in tryOnMeasure()
162 remainingHeight -= heightToGive; in tryOnMeasure()
176 if (middlePanel != null && remainingHeight > 0) { in tryOnMeasure()
179 final int heightToGive = remainingHeight; in tryOnMeasure()
180 remainingHeight -= heightToGive; in tryOnMeasure()
/aosp14/frameworks/base/core/java/com/android/internal/view/
H A DScrollViewCaptureHelper.java140 int remainingHeight = view.getHeight() - view.getPaddingTop() in onScrollRequested() local
142 if (remainingHeight > 0) { in onScrollRequested()
143 input.inset(0, -remainingHeight / 2); in onScrollRequested()
H A DListViewCaptureHelper.java88 int remainingHeight = recyclerLocalVisible.height() - requestedContainerBounds.height(); in onScrollRequested() local
89 if (remainingHeight > 0) { in onScrollRequested()
90 adjustedContainerBounds.inset(0, -remainingHeight / 2); in onScrollRequested()
H A DRecyclerViewCaptureHelper.java101 int remainingHeight = recyclerView.getHeight() - recyclerView.getPaddingTop() in onScrollRequested() local
103 if (remainingHeight > 0) { in onScrollRequested()
104 input.inset(0, -remainingHeight / 2); in onScrollRequested()
/aosp14/frameworks/base/core/java/android/window/
H A DSplashScreenView.java588 final int remainingHeight = currentHeight - mTmpPos[1] - iconHeight; in onLayout() local
589 final int remainingMaxMargin = remainingHeight - brandingHeight; in onLayout()
590 if (remainingHeight < brandingHeight) { in onLayout()