Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/utils/
DWmDisplayCutout.java61 public WmDisplayCutout inset(int insetLeft, int insetTop, int insetRight, int insetBottom) { in inset() argument
62 DisplayCutout newInner = mInner.inset(insetLeft, insetTop, insetRight, insetBottom); in inset()
69 mFrameSize.getWidth() - insetLeft - insetRight, in inset()
87 final int insetRight = mFrameSize.getWidth() - frame.right; in calculateRelativeTo() local
89 if (frame.left == 0 && frame.top == 0 && insetRight == 0 && insetBottom == 0) { in calculateRelativeTo()
94 && insetRight >= mInner.getSafeInsetRight() in calculateRelativeTo()
101 return inset(frame.left, frame.top, insetRight, insetBottom); in calculateRelativeTo()
/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/core/java/android/view/
DDisplayCutout.java514 public DisplayCutout inset(int insetLeft, int insetTop, int insetRight, int insetBottom) { in inset() argument
515 if (insetLeft == 0 && insetTop == 0 && insetRight == 0 && insetBottom == 0 in inset()
533 if (insetRight > 0 || safeInsets.right > 0) { in inset()
534 safeInsets.right = atLeastZero(safeInsets.right - insetRight); in inset()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotLoader.java97 new Rect(proto.insetLeft, proto.insetTop, proto.insetRight, proto.insetBottom), in loadTask()
DTaskSnapshotPersister.java338 proto.insetRight = mSnapshot.getContentInsets().right; in writeProto()
/frameworks/base/graphics/java/android/graphics/drawable/
DInsetDrawable.java101 int insetRight, int insetBottom) { in InsetDrawable() argument
106 mState.mInsetRight = new InsetValue(0f, insetRight); in InsetDrawable()
DVectorDrawable.java797 final int insetRight = a.getDimensionPixelOffset( in updateStateFromTypedArray() local
801 state.mOpticalInsets = Insets.of(insetLeft, insetTop, insetRight, insetBottom); in updateStateFromTypedArray()
1125 final int insetRight = Drawable.scaleFromDensity( in applyDensityScaling() local
1129 mOpticalInsets = Insets.of(insetLeft, insetTop, insetRight, insetBottom); in applyDensityScaling()
DGradientDrawable.java1483 final int insetRight = a.getDimensionPixelSize(
1487 state.mOpticalInsets = Insets.of(insetLeft, insetTop, insetRight, insetBottom);
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowFrameTests.java312 final int insetRight = insetLeft + (taskRight - taskLeft); in testLayoutNonfullscreenTask() local
315 task.setBounds(insetLeft, insetTop, insetRight, insetBottom); in testLayoutNonfullscreenTask()
319 contentInsetRight = insetRight - cfRight; in testLayoutNonfullscreenTask()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt704 field public static final int insetRight = 16843192; // 0x10101b8
/frameworks/base/api/
Dcurrent.txt775 field public static final int insetRight = 16843192; // 0x10101b8
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt96834 Lcom/android/internal/R$attr;->insetRight:I