Home
last modified time | relevance | path

Searched refs:insetRight (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/java/android/view/
DPrivacyIndicatorBounds.java79 public PrivacyIndicatorBounds inset(int insetLeft, int insetTop, int insetRight, in inset() argument
81 if (insetLeft == 0 && insetTop == 0 && insetRight == 0 && insetBottom == 0) { in inset()
87 insetRect(mStaticBounds[i], insetLeft, insetTop, insetRight, insetBottom); in inset()
92 private static Rect insetRect(Rect orig, int insetLeft, int insetTop, int insetRight, in insetRect() argument
99 int right = Math.max(left, orig.right - insetRight); in insetRect()
DRoundedCorners.java350 int insetRight = roundedCornerFrame.right - frame.right; in insetWithFrame() local
382 insetRight, insetBottom); in insetWithFrame()
392 public RoundedCorners inset(int insetLeft, int insetTop, int insetRight, int insetBottom) { in inset() argument
397 insetTop, insetRight, insetBottom); in inset()
403 int centerY, int insetLeft, int insetTop, int insetRight, int insetBottom) { in insetRoundedCorner() argument
414 hasRoundedCorner = radius > insetTop && radius > insetRight; in insetRoundedCorner()
417 hasRoundedCorner = radius > insetBottom && radius > insetRight; in insetRoundedCorner()
DInsetsState.java285 final int insetRight = mDisplayFrame.right - frame.right; in calculateRelativeCutout() local
289 && insetRight >= raw.getSafeInsetRight() in calculateRelativeCutout()
293 return raw.inset(insetLeft, insetTop, insetRight, insetBottom); in calculateRelativeCutout()
317 final int insetRight = mDisplayFrame.right - frame.right; in calculateRelativeRoundedCorners() local
319 return mRoundedCorners.inset(insetLeft, insetTop, insetRight, insetBottom); in calculateRelativeRoundedCorners()
331 final int insetRight = mDisplayFrame.right - frame.right; in calculateRelativePrivacyIndicatorBounds() local
333 return mPrivacyIndicatorBounds.inset(insetLeft, insetTop, insetRight, insetBottom); in calculateRelativePrivacyIndicatorBounds()
DDisplayCutout.java843 public DisplayCutout inset(int insetLeft, int insetTop, int insetRight, int insetBottom) { in inset() argument
844 if (insetLeft == 0 && insetTop == 0 && insetRight == 0 && insetBottom == 0 in inset()
849 Rect safeInsets = insetInsets(insetLeft, insetTop, insetRight, insetBottom, in inset()
858 Rect waterfallInsets = insetInsets(insetLeft, insetTop, insetRight, insetBottom, in inset()
872 private Rect insetInsets(int insetLeft, int insetTop, int insetRight, int insetBottom, in insetInsets() argument
885 if (insetRight > 0 || insets.right > 0) { in insetInsets()
886 insets.right = atLeastZero(insets.right - insetRight); in insetInsets()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DBackgroundFallbackTest.java201 int insetRight = 0; in setUpViewHierarchy() local
229 insetRight = NAV_SIZE; in setUpViewHierarchy()
234 mContentMock = mockView(0, 0, SCREEN_WIDTH - insetLeft - insetRight, in setUpViewHierarchy()
236 mContentContainerMock = mockView(0, 0, SCREEN_WIDTH - insetLeft - insetRight, in setUpViewHierarchy()
238 mContentRootMock = mockView(insetLeft, insetTop, SCREEN_WIDTH - insetRight, in setUpViewHierarchy()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DShadeHeaderControllerTest.kt543 val (insetLeft, insetRight) = 30 to 40 in <lambda>() constant
548 mockInsetsProvider(insetLeft to insetRight, false) in <lambda>()
563 .edgesGuidelinesConstraints(insetLeft, paddingStart, insetRight, paddingEnd) in <lambda>()
577 val (insetLeft, insetRight) = 30 to 40 in <lambda>() constant
582 mockInsetsProvider(insetLeft to insetRight, false) in <lambda>()
597 .edgesGuidelinesConstraints(insetRight, paddingStart, insetLeft, paddingEnd) in <lambda>()
/frameworks/base/graphics/java/android/graphics/drawable/
DInsetDrawable.java102 int insetRight, int insetBottom) { in InsetDrawable() argument
107 mState.mInsetRight = new InsetValue(0f, insetRight); in InsetDrawable()
DVectorDrawable.java801 final int insetRight = a.getDimensionPixelOffset( in updateStateFromTypedArray() local
805 state.mOpticalInsets = Insets.of(insetLeft, insetTop, insetRight, insetBottom); in updateStateFromTypedArray()
1129 final int insetRight = Drawable.scaleFromDensity( in applyDensityScaling() local
1133 mOpticalInsets = Insets.of(insetLeft, insetTop, insetRight, insetBottom); in applyDensityScaling()
DGradientDrawable.java1522 final int insetRight = a.getDimensionPixelSize(
1526 state.mOpticalInsets = Insets.of(insetLeft, insetTop, insetRight, insetBottom);
/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotLoader.java198 new Rect(proto.insetLeft, proto.insetTop, proto.insetRight, proto.insetBottom), in loadTask()
DTaskSnapshotPersister.java381 proto.insetRight = mSnapshot.getContentInsets().right; in writeProto()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DAccessibilityFloatingMenuView.java817 final int insetRight = (side == Alignment.RIGHT) ? layerInset : 0; in updateInsetWith() local
818 setInset(insetLeft, insetRight); in updateInsetWith()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputLayer.cpp174 const float insetRight = (winWidth - winCrop.right) * xScale; in calculateOutputSourceCrop() local
179 crop.right -= insetRight; in calculateOutputSourceCrop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DBackPanelController.kt591 override fun setInsets(insetLeft: Int, insetRight: Int) = Unit in <lambda>()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt704 field public static final int insetRight = 16843192; // 0x10101b8
/frameworks/base/core/api/
Dcurrent.txt865 field public static final int insetRight = 16843192; // 0x10101b8
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt75966 Lcom/android/internal/R$attr;->insetRight:I