Home
last modified time | relevance | path

Searched refs:insetLeft (Results 1 – 16 of 16) sorted by relevance

/aosp14/frameworks/base/core/java/android/view/
H A 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
97 int left = Math.max(0, orig.left - insetLeft); in insetRect()
H A DRoundedCorners.java348 int insetLeft = frame.left - roundedCornerFrame.left; in insetWithFrame() local
381 roundedCorners[i] = insetRoundedCorner(i, radius, centerX, centerY, insetLeft, insetTop, in insetWithFrame()
392 public RoundedCorners inset(int insetLeft, int insetTop, int insetRight, int insetBottom) { in inset() argument
396 mRoundedCorners[i].getCenter().x, mRoundedCorners[i].getCenter().y, insetLeft, in inset()
403 int centerY, int insetLeft, int insetTop, int insetRight, int insetBottom) { in insetRoundedCorner() argument
411 hasRoundedCorner = radius > insetTop && radius > insetLeft; in insetRoundedCorner()
420 hasRoundedCorner = radius > insetBottom && radius > insetLeft; in insetRoundedCorner()
428 hasRoundedCorner ? centerX - insetLeft : 0, in insetRoundedCorner()
H A DDisplayCutout.java844 public DisplayCutout inset(int insetLeft, int insetTop, int insetRight, int insetBottom) { in inset() argument
845 if (insetLeft == 0 && insetTop == 0 && insetRight == 0 && insetBottom == 0 in inset()
850 Rect safeInsets = insetInsets(insetLeft, insetTop, insetRight, insetBottom, in inset()
855 if (insetLeft == 0 && insetTop == 0 && mSafeInsets.equals(safeInsets)) { in inset()
859 Rect waterfallInsets = insetInsets(insetLeft, insetTop, insetRight, insetBottom, in inset()
865 bounds[i].offset(-insetLeft, -insetTop); in inset()
873 private Rect insetInsets(int insetLeft, int insetTop, int insetRight, int insetBottom, in insetInsets() argument
883 if (insetLeft > 0 || insets.left > 0) { in insetInsets()
884 insets.left = atLeastZero(insets.left - insetLeft); in insetInsets()
H A DInsetsState.java208 final int insetLeft = frame.left - mDisplayFrame.left; in calculateRelativeCutout() local
212 if (insetLeft >= raw.getSafeInsetLeft() in calculateRelativeCutout()
218 return raw.inset(insetLeft, insetTop, insetRight, insetBottom); in calculateRelativeCutout()
241 final int insetLeft = frame.left - mDisplayFrame.left; in calculateRelativeRoundedCorners() local
245 return mRoundedCorners.inset(insetLeft, insetTop, insetRight, insetBottom); in calculateRelativeRoundedCorners()
255 final int insetLeft = frame.left - mDisplayFrame.left; in calculateRelativePrivacyIndicatorBounds() local
259 return mPrivacyIndicatorBounds.inset(insetLeft, insetTop, insetRight, insetBottom); in calculateRelativePrivacyIndicatorBounds()
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
H A DBackgroundFallbackTest.java199 int insetLeft = 0; in setUpViewHierarchy() local
222 insetLeft = 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()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
H A DShadeHeaderControllerTest.kt583 val (insetLeft, insetRight) = 30 to 40
588 mockInsetsProvider(insetLeft to insetRight, false)
603 .edgesGuidelinesConstraints(insetLeft, paddingStart, insetRight, paddingEnd)
617 val (insetLeft, insetRight) = 30 to 40
622 mockInsetsProvider(insetLeft to insetRight, false)
637 .edgesGuidelinesConstraints(insetRight, paddingStart, insetLeft, paddingEnd)
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DPinnedTaskController.java303 final int insetLeft = (int) ((contentBounds.left - areaBounds.left) * scale + .5f); in startSeamlessRotationIfNeeded() local
307 matrix.postTranslate(bounds.left - insetLeft, bounds.top - insetTop); in startSeamlessRotationIfNeeded()
H A DAppSnapshotLoader.java202 new Rect(proto.insetLeft, proto.insetTop, proto.insetRight, proto.insetBottom), in loadTask()
H A DSnapshotPersistQueue.java278 proto.insetLeft = mSnapshot.getContentInsets().left; in writeProto()
/aosp14/frameworks/base/graphics/java/android/graphics/drawable/
H A DInsetDrawable.java101 public InsetDrawable(@Nullable Drawable drawable, int insetLeft, int insetTop, in InsetDrawable() argument
105 mState.mInsetLeft = new InsetValue(0f, insetLeft); in InsetDrawable()
H A DVectorDrawable.java797 final int insetLeft = a.getDimensionPixelOffset( in updateStateFromTypedArray() local
805 state.mOpticalInsets = Insets.of(insetLeft, insetTop, insetRight, insetBottom); in updateStateFromTypedArray()
1125 final int insetLeft = Drawable.scaleFromDensity( in applyDensityScaling() local
1133 mOpticalInsets = Insets.of(insetLeft, insetTop, insetRight, insetBottom); in applyDensityScaling()
H A DGradientDrawable.java1518 final int insetLeft = a.getDimensionPixelSize(
1526 state.mOpticalInsets = Insets.of(insetLeft, insetTop, insetRight, insetBottom);
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
H A DBackPanelController.kt665 override fun setInsets(insetLeft: Int, insetRight: Int) = Unit
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt978 field public static final int insetLeft = 16843191; // 0x10101b7
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt75965 Lcom/android/internal/R$attr;->insetLeft:I