Home
last modified time | relevance | path

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

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DSystemBarHelper.java332 int bottomInset = insets.getSystemWindowInsetBottom(); in onApplyWindowInsets() local
342 bottomInset = 0; in onApplyWindowInsets()
349 bottomInset); in onApplyWindowInsets()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarOverlayLayout.java380 int bottomInset = 0;
425 bottomInset = mActionBarHeight;
427 bottomInset = mActionBarBottom.getMeasuredHeight();
440 mContentInsets.bottom += bottomInset;
442 mInnerInsets = mInnerInsets.inset(0 /* left */, topInset, 0 /* right */, bottomInset);
449 mInnerInsets.getSystemWindowInsetBottom() + bottomInset
/frameworks/base/services/core/java/com/android/server/wm/utils/
DWmDisplayCutout.java120 int bottomInset = findInsetForSide(displaySize, boundingRects, Gravity.BOTTOM); in computeSafeInsets() local
121 return new Rect(0, topInset, 0, bottomInset); in computeSafeInsets()
/frameworks/base/core/java/android/view/
DDisplayCutout.java681 final int bottomInset; in pathAndDisplayCutoutFromSpec() local
696 bottomInset = displayHeight - boundBottom.top; in pathAndDisplayCutoutFromSpec()
698 bottomInset = 0; in pathAndDisplayCutoutFromSpec()
701 Rect safeInset = new Rect(0, topInset, 0, bottomInset); in pathAndDisplayCutoutFromSpec()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java1071 public static boolean isNavBarToRightEdge(int bottomInset, int rightInset) { in isNavBarToRightEdge() argument
1072 return bottomInset == 0 && rightInset > 0; in isNavBarToRightEdge()
1075 public static boolean isNavBarToLeftEdge(int bottomInset, int leftInset) { in isNavBarToLeftEdge() argument
1076 return bottomInset == 0 && leftInset > 0; in isNavBarToLeftEdge()
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 = in getNavigationBarRect() local
1092 final int size = getNavBarSize(bottomInset, rightInset, leftInset); in getNavigationBarRect()
1093 if (isNavBarToRightEdge(bottomInset, rightInset)) { in getNavigationBarRect()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java2272 final int bottomInset = mSystemWindowInsets != null
2274 int offset = bottomInset;
2316 - requiredExpansionHeight - topInset - bottomInset;