Home
last modified time | relevance | path

Searched refs:insetTop (Results 1 – 19 of 19) sorted by relevance

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DDrawableLayoutDirectionHelper.java35 Drawable drawable, int insetStart, int insetTop, int insetEnd, int insetBottom, View view) { in createRelativeInsetDrawable() argument
40 drawable, insetStart, insetTop, insetEnd, insetBottom, isRtl); in createRelativeInsetDrawable()
51 int insetTop, in createRelativeInsetDrawable() argument
61 drawable, insetStart, insetTop, insetEnd, insetBottom, isRtl); in createRelativeInsetDrawable()
73 int insetTop, in createRelativeInsetDrawable() argument
80 insetTop, in createRelativeInsetDrawable()
89 int insetTop, in createRelativeInsetDrawable() argument
94 return new InsetDrawable(drawable, insetEnd, insetTop, insetStart, insetBottom); in createRelativeInsetDrawable()
96 return new InsetDrawable(drawable, insetStart, insetTop, insetEnd, insetBottom); in createRelativeInsetDrawable()
/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
98 int top = Math.max(0, orig.top - insetTop); in insetRect()
DRoundedCorners.java355 int insetTop = frame.top - roundedCornerFrame.top; in insetWithFrame() local
387 roundedCorners[i] = insetRoundedCorner(i, radius, centerX, centerY, insetLeft, insetTop, 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
417 hasRoundedCorner = radius > insetTop && radius > insetLeft; in insetRoundedCorner()
420 hasRoundedCorner = radius > insetTop && radius > insetRight; in insetRoundedCorner()
435 hasRoundedCorner ? centerY - insetTop : 0); in insetRoundedCorner()
DInsetsState.java193 final int insetTop = frame.top - mDisplayFrame.top; in calculateRelativeCutout() local
197 && insetTop >= raw.getSafeInsetTop() in calculateRelativeCutout()
202 return raw.inset(insetLeft, insetTop, insetRight, insetBottom); in calculateRelativeCutout()
226 final int insetTop = frame.top - mDisplayFrame.top; in calculateRelativeRoundedCorners() local
229 return mRoundedCorners.inset(insetLeft, insetTop, insetRight, insetBottom); in calculateRelativeRoundedCorners()
240 final int insetTop = frame.top - mDisplayFrame.top; 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()
953 if (insetLeft == 0 && insetTop == 0 && mSafeInsets.equals(safeInsets)) { in inset()
957 Rect waterfallInsets = insetInsets(insetLeft, insetTop, insetRight, insetBottom, in inset()
963 bounds[i].offset(-insetLeft, -insetTop); in inset()
971 private Rect insetInsets(int insetLeft, int insetTop, int insetRight, int insetBottom, in insetInsets() argument
975 if (insetTop > 0 || insets.top > 0) { in insetInsets()
976 insets.top = atLeastZero(insets.top - insetTop); 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()
1336 insetRect.offset(-insetLeft, -insetTop); in insetRect()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DStatusBarBackgroundLayout.java86 final int insetTop = ((WindowInsets) lastInsets).getSystemWindowInsetTop(); in onDraw() local
87 if (insetTop > 0) { in onDraw()
88 statusBarBackground.setBounds(0, 0, getWidth(), insetTop); in onDraw()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DBackgroundFallbackTest.java200 int insetTop = 0; in setUpViewHierarchy() local
207 insetTop = STATUS_HEIGHT; in setUpViewHierarchy()
235 SCREEN_HEIGHT - insetTop - insetBottom, null, VISIBLE, emptyList()); in setUpViewHierarchy()
237 SCREEN_HEIGHT - insetTop - insetBottom, null, VISIBLE, asList(mContentMock)); in setUpViewHierarchy()
238 mContentRootMock = mockView(insetLeft, insetTop, SCREEN_WIDTH - insetRight, in setUpViewHierarchy()
/frameworks/base/services/core/java/com/android/server/wm/
DPinnedTaskController.java304 final int insetTop = (int) ((contentBounds.top - areaBounds.top) * scale + .5f); in startSeamlessRotationIfNeeded() local
307 matrix.postTranslate(bounds.left - insetLeft, bounds.top - insetTop); in startSeamlessRotationIfNeeded()
DAppSnapshotLoader.java202 new Rect(proto.insetLeft, proto.insetTop, proto.insetRight, proto.insetBottom), in loadTask()
DSnapshotPersistQueue.java304 proto.insetTop = mSnapshot.getContentInsets().top; in writeProto()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarContentInsetsProvider.kt508 val insetTop = getInsetTop(bottomAlignedMargin, statusBarContentHeight, sbHeight) in getStatusBarContentBounds() constant
515 return Rect(minLeft, insetTop, logicalDisplayWidth - minRight, sbHeight) in getStatusBarContentBounds()
558 return Rect(leftMargin, insetTop, logicalDisplayWidth - rightMargin, sbHeight) in getStatusBarContentBounds()
/frameworks/base/graphics/java/android/graphics/drawable/
DInsetDrawable.java101 public InsetDrawable(@Nullable Drawable drawable, int insetLeft, int insetTop, in InsetDrawable() argument
106 mState.mInsetTop = new InsetValue(0f, insetTop); in InsetDrawable()
DVectorDrawable.java799 final int insetTop = a.getDimensionPixelOffset( in updateStateFromTypedArray() local
805 state.mOpticalInsets = Insets.of(insetLeft, insetTop, insetRight, insetBottom); in updateStateFromTypedArray()
1127 final int insetTop = Drawable.scaleFromDensity( in applyDensityScaling() local
1133 mOpticalInsets = Insets.of(insetLeft, insetTop, insetRight, insetBottom); in applyDensityScaling()
DGradientDrawable.java1520 final int insetTop = a.getDimensionPixelSize(
1526 state.mOpticalInsets = Insets.of(insetLeft, insetTop, insetRight, insetBottom);
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputLayer.cpp172 const float insetTop = winCrop.top * yScale; in calculateOutputSourceCrop() local
177 crop.top += insetTop; in calculateOutputSourceCrop()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt705 field public static final int insetTop = 16843193; // 0x10101b9
/frameworks/base/core/api/
Dcurrent.txt1005 field public static final int insetTop = 16843193; // 0x10101b9
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt75324 Lcom/android/internal/R$attr;->insetTop:I