Home
last modified time | relevance | path

Searched refs:insetRight (Results 1 – 18 of 18) 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.java356 int insetRight = roundedCornerFrame.right - frame.right; in insetWithFrame() local
388 insetRight, insetBottom); in insetWithFrame()
398 public RoundedCorners inset(int insetLeft, int insetTop, int insetRight, int insetBottom) { in inset() argument
403 insetTop, insetRight, insetBottom); in inset()
409 int centerY, int insetLeft, int insetTop, int insetRight, int insetBottom) { in insetRoundedCorner() argument
420 hasRoundedCorner = radius > insetTop && radius > insetRight; in insetRoundedCorner()
423 hasRoundedCorner = radius > insetBottom && radius > insetRight; in insetRoundedCorner()
DInsetsState.java194 final int insetRight = mDisplayFrame.right - frame.right; in calculateRelativeCutout() local
198 && insetRight >= raw.getSafeInsetRight() in calculateRelativeCutout()
202 return raw.inset(insetLeft, insetTop, insetRight, insetBottom); in calculateRelativeCutout()
227 final int insetRight = mDisplayFrame.right - frame.right; in calculateRelativeRoundedCorners() local
229 return mRoundedCorners.inset(insetLeft, insetTop, insetRight, insetBottom); in calculateRelativeRoundedCorners()
241 final int insetRight = mDisplayFrame.right - frame.right; in calculateRelativePrivacyIndicatorBounds() local
243 return mPrivacyIndicatorBounds.inset(insetLeft, insetTop, insetRight, insetBottom); in calculateRelativePrivacyIndicatorBounds()
DDisplayCutout.java942 public DisplayCutout inset(int insetLeft, int insetTop, int insetRight, int insetBottom) { in inset() argument
943 if (insetLeft == 0 && insetTop == 0 && insetRight == 0 && insetBottom == 0 in inset()
948 Rect safeInsets = insetInsets(insetLeft, insetTop, insetRight, insetBottom, in inset()
957 Rect waterfallInsets = insetInsets(insetLeft, insetTop, insetRight, insetBottom, in inset()
971 private Rect insetInsets(int insetLeft, int insetTop, int insetRight, int insetBottom, in insetInsets() argument
984 if (insetRight > 0 || insets.right > 0) { in insetInsets()
985 insets.right = atLeastZero(insets.right - insetRight); in insetInsets()
DWindowInsets.java1283 int insetLeft, int insetTop, int insetRight, int insetBottom, int frameWidth, in insetBoundingRects() argument
1285 if (insetLeft == 0 && insetTop == 0 && insetRight == 0 && insetBottom == 0) { in insetBoundingRects()
1295 insetLeft, insetTop, insetRight, insetBottom, frameWidth, frameHeight); in insetBoundingRects()
1320 private static Rect insetRect(Rect orig, int insetLeft, int insetTop, int insetRight, in insetRect() argument
1328 final Rect insetFrame = new Rect(insetLeft, insetTop, frameWidth - insetRight, in insetRect()
/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.kt588 val (insetLeft, insetRight) = 30 to 40 in <lambda>() constant
593 mockInsetsProvider(insetLeft to insetRight, false) in <lambda>()
608 .edgesGuidelinesConstraints(insetLeft, paddingStart, insetRight, paddingEnd) in <lambda>()
622 val (insetLeft, insetRight) = 30 to 40 in <lambda>() constant
627 mockInsetsProvider(insetLeft to insetRight, false) in <lambda>()
642 .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/
DAppSnapshotLoader.java202 new Rect(proto.insetLeft, proto.insetTop, proto.insetRight, proto.insetBottom), in loadTask()
DSnapshotPersistQueue.java305 proto.insetRight = mSnapshot.getContentInsets().right; in writeProto()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputLayer.cpp173 const float insetRight = (winWidth - winCrop.right) * xScale; in calculateOutputSourceCrop() local
178 crop.right -= insetRight; in calculateOutputSourceCrop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DBackPanelController.kt664 override fun setInsets(insetLeft: Int, insetRight: Int) = Unit in <lambda>()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt704 field public static final int insetRight = 16843192; // 0x10101b8
/frameworks/base/core/api/
Dcurrent.txt1004 field public static final int insetRight = 16843192; // 0x10101b8
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt75323 Lcom/android/internal/R$attr;->insetRight:I