Home
last modified time | relevance | path

Searched refs:insetTop (Results 1 – 17 of 17) 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.java349 int insetTop = frame.top - roundedCornerFrame.top; 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
397 insetTop, insetRight, insetBottom); in inset()
403 int centerY, int insetLeft, int insetTop, int insetRight, int insetBottom) { in insetRoundedCorner() argument
411 hasRoundedCorner = radius > insetTop && radius > insetLeft; in insetRoundedCorner()
414 hasRoundedCorner = radius > insetTop && radius > insetRight; in insetRoundedCorner()
429 hasRoundedCorner ? centerY - insetTop : 0); in insetRoundedCorner()
DInsetsState.java284 final int insetTop = frame.top - mDisplayFrame.top; in calculateRelativeCutout() local
288 && insetTop >= raw.getSafeInsetTop() in calculateRelativeCutout()
293 return raw.inset(insetLeft, insetTop, insetRight, insetBottom); in calculateRelativeCutout()
316 final int insetTop = frame.top - mDisplayFrame.top; in calculateRelativeRoundedCorners() local
319 return mRoundedCorners.inset(insetLeft, insetTop, insetRight, insetBottom); in calculateRelativeRoundedCorners()
330 final int insetTop = frame.top - mDisplayFrame.top; 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()
854 if (insetLeft == 0 && insetTop == 0 && mSafeInsets.equals(safeInsets)) { in inset()
858 Rect waterfallInsets = insetInsets(insetLeft, insetTop, insetRight, insetBottom, in inset()
864 bounds[i].offset(-insetLeft, -insetTop); in inset()
872 private Rect insetInsets(int insetLeft, int insetTop, int insetRight, int insetBottom, in insetInsets() argument
876 if (insetTop > 0 || insets.top > 0) { in insetInsets()
877 insets.top = atLeastZero(insets.top - insetTop); in insetInsets()
/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()
DTaskSnapshotLoader.java198 new Rect(proto.insetLeft, proto.insetTop, proto.insetRight, proto.insetBottom), in loadTask()
DTaskSnapshotPersister.java380 proto.insetTop = mSnapshot.getContentInsets().top; in writeProto()
/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.cpp173 const float insetTop = winCrop.top * yScale; in calculateOutputSourceCrop() local
178 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.txt866 field public static final int insetTop = 16843193; // 0x10101b9
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt75967 Lcom/android/internal/R$attr;->insetTop:I