/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | InsetDrawableTest.java | 304 float inset = .1f; in testOnBoundsChange_fraction() local 317 assertEquals((int) (size * inset), bounds.left); in testOnBoundsChange_fraction() 318 assertEquals((int) (size * inset), bounds.top); in testOnBoundsChange_fraction() 319 assertEquals(size - (int) (size * inset), bounds.right); in testOnBoundsChange_fraction() 320 assertEquals(size - (int) (size * inset), bounds.bottom); in testOnBoundsChange_fraction() 325 float inset = .1f; in testIsBoundsAndIntrinsicSizeInverse() local 328 MockInsetDrawable insetDrawable = new MockInsetDrawable(mPassDrawable, inset); in testIsBoundsAndIntrinsicSizeInverse() 330 assertEquals((int)(mPassDrawable.getIntrinsicWidth() / (1 - 2 * inset)), in testIsBoundsAndIntrinsicSizeInverse() 332 assertEquals((int)(mPassDrawable.getIntrinsicHeight() / (1 - 2 * inset)), in testIsBoundsAndIntrinsicSizeInverse() 340 assertEquals((int)(insetDrawable.getIntrinsicWidth() * inset), r.left); in testIsBoundsAndIntrinsicSizeInverse() [all …]
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | InsetsTest.java | 102 Insets inset = Insets.of(1, 3, 5, 7); in testParcel() local 104 inset.writeToParcel(parcel, 0); in testParcel() 106 assertEquals(inset, Insets.CREATOR.createFromParcel(parcel)); in testParcel()
|
D | RectTest.java | 435 mRect.inset(1, 1); in testInset() 442 mRect.inset(-1, -1); in testInset() 449 mRect.inset(Insets.of(1, 1, 2, 2)); in testInset() 456 mRect.inset(1, 1, 2, 2); in testInset()
|
D | RectFTest.java | 352 mRectF.inset(1.0f, 1.0f); in testInset() 359 mRectF.inset(-1.0f, -1.0f); in testInset()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | CanvasTests.java | 104 int inset = 20; in testDrawDoubleRoundRect() local 106 RectF inner = new RectF(inset, in testDrawDoubleRoundRect() 107 inset, in testDrawDoubleRoundRect() 108 width - inset, in testDrawDoubleRoundRect() 109 height - inset); in testDrawDoubleRoundRect() 145 int inset = 30; in testDrawDoubleRoundRectWithRadii() local 147 RectF inner = new RectF(inset, in testDrawDoubleRoundRectWithRadii() 148 inset, in testDrawDoubleRoundRectWithRadii() 149 width - inset, in testDrawDoubleRoundRectWithRadii() 150 height - inset); in testDrawDoubleRoundRectWithRadii()
|
D | RenderNodeTests.java | 602 unblurredBounds.inset(blurRadius, blurRadius); in testViewRenderNodeBlurEffect() 720 unblurredBounds.inset(blurRadius, blurRadius); in testBlurRenderEffectImplicitInput() 767 unblurredBounds.inset(blurRadius, blurRadius); in testBlurRenderEffect()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
D | RoundRectShapeTest.java | 76 RectF inset = new RectF(6, 6, 6, 6); in testDraw() local 78 RoundRectShape roundRectShape = new RoundRectShape(outerR, inset, innerR); in testDraw()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowMetricsTestHelper.java | 145 return inset(bounds, insetsWithCutout); in getBoundsExcludingNavigationBarAndCutout() 157 private static Rect inset(Rect original, Insets insets) { in inset() method in WindowMetricsTestHelper
|
D | WindowInsetsAnimationCallbackTests.java | 164 return mOnStartBoundsOut = bounds.inset(Insets.of(1, 2, 3, 4)); in onStart() 173 return mOnProgressOut = insets.inset(1, 2, 3, 4); in onProgress()
|
D | DialogFrameTests.java | 247 return inset(parentFrame, getActivitySystemInsets()); in getParentFrameWithInsets() 266 private static Rect inset(Rect original, Insets insets) { in inset() method in DialogFrameTests
|
D | WindowInsetsAnimationTests.java | 211 return bounds.inset(before.getInsets(navigationBars())); in testAnimationCallbacks_childInsetting() 217 return insets.inset(insets.getInsets(navigationBars())); in testAnimationCallbacks_childInsetting()
|
D | ManifestLayoutTests.java | 151 stableBounds.inset(windowMetrics.getWindowInsets().getInsetsIgnoringVisibility( in testLayout()
|
D | WindowInsetsTest.java | 525 final WindowInsets insetInsets = insets.inset( in testInset() 552 final WindowInsets insetInsets = insets.inset(1000, 1000, 1000, 1000); in testInset_clipsToZero()
|
D | SplashscreenTests.java | 179 stableBounds.inset(insets); in testSplashScreenColor()
|
D | WindowInputTests.java | 147 windowBounds.inset(windowInsets.getInsetsIgnoringVisibility(p.getFitInsetsTypes())); in testMoveWindowAndTap()
|
/cts/tests/framework/base/windowmanager/testsdk29/ |
D | Android.bp | 26 ":cts-wm-decor-inset-test-base",
|
/cts/tests/framework/base/windowmanager/ |
D | Android.bp | 30 name: "cts-wm-decor-inset-test-base",
|
/cts/apps/CtsVerifier/assets/report/ |
D | compatibility_result.css | 48 border: 0 inset #808080;
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | UiBot.java | 1143 final WindowInsets[] inset = new WindowInsets[1]; 1148 inset[0] = rootView[0].getRootWindowInsets(); 1150 final int navBarHeight = inset[0].getStableInsetBottom(); 1151 final int statusBarHeight = inset[0].getStableInsetTop();
|
/cts/tests/tests/media/src/android/media/cts/ |
D | SurfaceEncodeTimestampTest.java | 498 r.inset(BORDER_WIDTH, BORDER_WIDTH); in generateSurfaceFrame()
|
D | HeifWriterTest.java | 639 r.inset(BORDER_WIDTH, BORDER_WIDTH); in generateSurfaceFrame()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewGroupTest.java | 2816 mMockViewGroup.setOnApplyWindowInsetsListener((v, insets) -> insets.inset(0, 0, 0, 10)); in testDispatchInsets_affectsChildren() 2838 v1.setOnApplyWindowInsetsListener((v, insets) -> insets.inset(0, 0, 0, 10)); in testDispatchInsets_doesntAffectSiblings() 2862 v11.setOnApplyWindowInsetsListener((v, insets) -> insets.inset(0, 0, 0, 10)); in testDispatchInsets_doesntAffectParentSiblings()
|