Home
last modified time | relevance | path

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

/aosp12/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.java950 final int remainingHeight = heightSize - heightUsed;
953 lp.maxHeight > remainingHeight ? lp.maxHeight - remainingHeight : 0);
970 final int remainingHeight = heightSize - heightUsed;
973 lp.maxHeight > remainingHeight ? lp.maxHeight - remainingHeight : 0);
/aosp12/frameworks/base/core/java/com/android/internal/view/
H A DScrollViewCaptureHelper.java131 int remainingHeight = view.getHeight() - view.getPaddingTop() in onScrollRequested() local
133 if (remainingHeight > 0) { in onScrollRequested()
134 input.inset(0, -remainingHeight / 2); in onScrollRequested()
H A DListViewCaptureHelper.java78 int remainingHeight = recyclerLocalVisible.height() - requestedContainerBounds.height(); in onScrollRequested() local
79 if (remainingHeight > 0) { in onScrollRequested()
80 adjustedContainerBounds.inset(0, -remainingHeight / 2); in onScrollRequested()
H A DRecyclerViewCaptureHelper.java90 int remainingHeight = recyclerView.getHeight() - recyclerView.getPaddingTop() in onScrollRequested() local
92 if (remainingHeight > 0) { in onScrollRequested()
93 input.inset(0, -remainingHeight / 2); in onScrollRequested()
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
H A DSuggestionStripLayoutHelper.java170 public void setMoreSuggestionsHeight(final int remainingHeight) { in setMoreSuggestionsHeight() argument
172 if (currentHeight <= remainingHeight) { in setMoreSuggestionsHeight()
176 mMaxMoreSuggestionsRow = (remainingHeight - mMoreSuggestionsBottomGap) in setMoreSuggestionsHeight()
H A DSuggestionStripView.java208 public void setMoreSuggestionsHeight(final int remainingHeight) { in setMoreSuggestionsHeight() argument
209 mLayoutHelper.setMoreSuggestionsHeight(remainingHeight); in setMoreSuggestionsHeight()