Home
last modified time | relevance | path

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

/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
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()
/frameworks/base/core/java/com/android/internal/widget/
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()
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);
/frameworks/base/core/java/com/android/internal/view/
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()
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()
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()
/frameworks/base/core/java/android/window/
DSplashScreenView.java607 final int remainingHeight = currentHeight - mTmpPos[1] - iconHeight; in onLayout() local
608 final int remainingMaxMargin = remainingHeight - brandingHeight; in onLayout()
609 if (remainingHeight < brandingHeight) { in onLayout()