Home
last modified time | relevance | path

Searched refs:bottomInset (Results 1 – 13 of 13) sorted by relevance

/aosp12/frameworks/base/apct-tests/perftests/core/src/android/view/
H A DCutoutSpecificationBenchmark.java132 int bottomInset = 0; in oldMethodParsingSpec() local
147 bottomInset = displayHeight - boundBottom.top; in oldMethodParsingSpec()
149 safeInset.bottom = bottomInset; in oldMethodParsingSpec()
/aosp12/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
H A DSystemBarHelper.java332 int bottomInset = insets.getSystemWindowInsetBottom(); in onApplyWindowInsets() local
342 bottomInset = 0; in onApplyWindowInsets()
349 bottomInset); in onApplyWindowInsets()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/utils/
H A DWmDisplayCutout.java81 int bottomInset = Math.max(cutout.getWaterfallInsets().bottom, in computeSafeInsets() local
85 return new Rect(leftInset, topInset, rightInset, bottomInset); in computeSafeInsets()
/aosp12/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarOverlayLayout.java381 int bottomInset = 0;
426 bottomInset = mActionBarHeight;
428 bottomInset = mActionBarBottom.getMeasuredHeight();
441 mContentInsets.bottom += bottomInset;
443 mInnerInsets = mInnerInsets.inset(0 /* left */, topInset, 0 /* right */, bottomInset);
450 mInnerInsets.getSystemWindowInsetBottom() + bottomInset
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/allapps/
H A DWorkModeSwitch.java82 int bottomInset = insets.bottom - mInsets.bottom; in setInsets() local
87 marginLayoutParams.bottomMargin = bottomInset + marginLayoutParams.bottomMargin; in setInsets()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DBubblePositioner.java537 final float bottomInset = getImeHeight() + mInsets.bottom - (mSpacingBetweenBubbles * 2); in getExpandedBubbleYForIme() local
545 if (rowBottom > bottomInset) { in getExpandedBubbleYForIme()
547 float translationY = rowBottom - bottomInset; in getExpandedBubbleYForIme()
558 translationY = rowBottomNoO - bottomInset; in getExpandedBubbleYForIme()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
H A DHotseatEduDialog.java150 int bottomInset = insets.bottom - mInsets.bottom; in setInsets() local
155 mHotseatWrapper.getPaddingRight(), bottomInset); in setInsets() local
/aosp12/frameworks/base/core/java/com/android/internal/policy/
H A DDecorView.java1071 public static boolean isNavBarToRightEdge(int bottomInset, int rightInset) {
1072 return bottomInset == 0 && rightInset > 0;
1075 public static boolean isNavBarToLeftEdge(int bottomInset, int leftInset) {
1076 return bottomInset == 0 && leftInset > 0;
1079 public static int getNavBarSize(int bottomInset, int rightInset, int leftInset) { in getNavBarSize() argument
1080 return isNavBarToRightEdge(bottomInset, rightInset) ? rightInset in getNavBarSize()
1081 : isNavBarToLeftEdge(bottomInset, leftInset) ? leftInset : bottomInset; in getNavBarSize()
1086 final int bottomInset = (int) (systemBarInsets.bottom * scale); in getNavigationBarRect() local
1089 final int size = getNavBarSize(bottomInset, rightInset, leftInset); in getNavigationBarRect()
1090 if (isNavBarToRightEdge(bottomInset, rightInset)) { in getNavigationBarRect()
[all …]
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
H A DDisplayLayout.java458 int bottomInset = Math.max(cutout.getWaterfallInsets().bottom, in computeSafeInsets() local
462 return new Rect(leftInset, topInset, rightInset, bottomInset); in computeSafeInsets()
/aosp12/packages/apps/Dialer/java/com/android/incallui/incall/impl/
H A DInCallFragment.java193 int bottomInset = v.getRootWindowInsets().getSystemWindowInsetBottom(); in onCreateView()
196 container.setPadding(0, topInset, 0, bottomInset); in onCreateView()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSecurityContainer.java627 int bottomInset = insets.getInsetsIgnoringVisibility(systemBars()).bottom; in onApplyWindowInsets() local
629 int inset = max(bottomInset, imeInset); in onApplyWindowInsets()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
H A DTaskThumbnailView.java245 int bottomInset = TaskView.clipBottom(dp) in getScaledInsets() local
247 return Insets.of(leftInset, topInset, rightInset, bottomInset); in getScaledInsets()
/aosp12/frameworks/base/core/java/com/android/internal/app/
H A DChooserActivity.java2712 final int bottomInset = mSystemWindowInsets != null
2714 int offset = bottomInset;
2784 - requiredExpansionHeight - topInset - bottomInset;