Home
last modified time | relevance | path

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

/frameworks/base/apct-tests/perftests/core/src/android/view/
DCutoutSpecificationBenchmark.java132 int bottomInset = 0; in oldMethodParsingSpec() local
147 bottomInset = displayHeight - boundBottom.top; in oldMethodParsingSpec()
149 safeInset.bottom = bottomInset; in oldMethodParsingSpec()
/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/packages/SystemUI/src/com/android/systemui/statusbar/
DQsFrameTranslateController.java39 public abstract void translateQsFrame(View qsFrame, QS qs, int bottomInset); in translateQsFrame() argument
DQsFrameTranslateImpl.java42 public void translateQsFrame(View qsFrame, QS qs, int bottomInset) { in translateQsFrame() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthCredentialPasswordView.java230 final Insets bottomInset = insets.getInsets(ime()); in onApplyWindowInsets() local
231 if (v instanceof AuthCredentialPasswordView && mBottomInset != bottomInset.bottom) { in onApplyWindowInsets()
232 mBottomInset = bottomInset.bottom; in onApplyWindowInsets()
/frameworks/base/core/java/com/android/internal/widget/
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
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubblePositioner.java567 final float bottomInset = mScreenRect.bottom - bottomHeight;
573 if (rowBottom > bottomInset) {
575 float translationY = rowBottom - bottomInset;
586 translationY = rowBottomNoO - bottomInset;
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java1076 public static boolean isNavBarToRightEdge(int bottomInset, int rightInset) {
1077 return bottomInset == 0 && rightInset > 0;
1080 public static boolean isNavBarToLeftEdge(int bottomInset, int leftInset) {
1081 return bottomInset == 0 && leftInset > 0;
1084 public static int getNavBarSize(int bottomInset, int rightInset, int leftInset) { in getNavBarSize() argument
1085 return isNavBarToRightEdge(bottomInset, rightInset) ? rightInset in getNavBarSize()
1086 : isNavBarToLeftEdge(bottomInset, leftInset) ? leftInset : bottomInset; in getNavBarSize()
1091 final int bottomInset = (int) (systemBarInsets.bottom * scale); in getNavigationBarRect() local
1094 final int size = getNavBarSize(bottomInset, rightInset, leftInset); in getNavigationBarRect()
1095 if (isNavBarToRightEdge(bottomInset, rightInset)) { in getNavigationBarRect()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayLayout.java466 int bottomInset = Math.max(cutout.getWaterfallInsets().bottom, in computeSafeInsets() local
470 return new Rect(leftInset, topInset, rightInset, bottomInset); in computeSafeInsets()
/frameworks/base/core/java/android/view/
DDisplayCutout.java1215 int bottomInset = Math.max(cutout.getWaterfallInsets().bottom, findCutoutInsetForSide( in computeSafeInsets() local
1218 return new Rect(leftInset, topInset, rightInset, bottomInset); in computeSafeInsets()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java640 int bottomInset = insets.getInsetsIgnoringVisibility(systemBars()).bottom; in onApplyWindowInsets() local
642 int inset = max(bottomInset, imeInset); in onApplyWindowInsets()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java2682 final int bottomInset = mSystemWindowInsets != null
2684 int offset = bottomInset;
2748 - requiredExpansionHeight - topInset - bottomInset;