/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 | 122 int inset = 20; in testDrawDoubleRoundRect() local 124 RectF inner = new RectF(inset, in testDrawDoubleRoundRect() 125 inset, in testDrawDoubleRoundRect() 126 width - inset, in testDrawDoubleRoundRect() 127 height - inset); in testDrawDoubleRoundRect() 163 int inset = 30; in testDrawDoubleRoundRectWithRadii() local 165 RectF inner = new RectF(inset, in testDrawDoubleRoundRectWithRadii() 166 inset, in testDrawDoubleRoundRectWithRadii() 167 width - inset, in testDrawDoubleRoundRectWithRadii() 168 height - inset); in testDrawDoubleRoundRectWithRadii()
|
D | RenderNodeTests.java | 609 unblurredBounds.inset(blurRadius, blurRadius); in testViewRenderNodeBlurEffect() 727 unblurredBounds.inset(blurRadius, blurRadius); in testBlurRenderEffectImplicitInput() 774 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/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | BitmapPixelChecker.java | 90 mBoundToLog.inset(insets); in applyInsetsToLogBounds() 150 bounds.inset(insets); in getBounds()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | WindowMetricsTestHelper.java | 173 return inset(bounds, excludingInsets); in getBoundsExcludingInsetsTypes() 185 private static Rect inset(Rect original, Insets insets) { in inset() method in WindowMetricsTestHelper
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/ |
D | WindowInsetsAnimationCallbackTests.java | 165 return mOnStartBoundsOut = bounds.inset(Insets.of(1, 2, 3, 4)); in onStart() 174 return mOnProgressOut = insets.inset(1, 2, 3, 4); in onProgress()
|
D | WindowInsetsAnimationTests.java | 248 return bounds.inset(before.getInsets(navigationBars())); in testAnimationCallbacks_childInsetting() 254 return insets.inset(insets.getInsets(navigationBars())); in testAnimationCallbacks_childInsetting()
|
D | DisplayCutoutTests.java | 592 private int safeInset(int inset, boolean canIgnoreSmallCutout) { in safeInset() argument 593 return !canIgnoreSmallCutout || inset > mMaximumSizeForNoLetterbox ? inset : 0; in safeInset()
|
D | WindowInsetsTest.java | 794 insets.inset(INSET_LEFT, INSET_TOP, INSET_RIGHT, INSET_BOTTOM); in testInset() 832 final WindowInsets insetInsets = insets.inset(10, 5, 10, 5); in testInset_boundingRects() 853 final WindowInsets insetInsets = insets.inset(1000, 1000, 1000, 1000); in testInset_clipsToZero()
|
/cts/tests/framework/base/windowmanager/testsdk29/ |
D | Android.bp | 27 ":cts-wm-decor-inset-test-base",
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/ |
D | DialogFrameTests.java | 287 return inset(parentFrame, getActivitySystemInsets()); in getParentFrameWithInsets() 313 private static Rect inset(Rect original, Insets insets) { in inset() method in DialogFrameTests
|
D | ManifestLayoutTests.java | 199 stableBounds.inset(maxWindowMetrics.getWindowInsets().getInsetsIgnoringVisibility( in getStableBounds()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/ |
D | WindowPolicyTests.java | 188 expectedBounds.inset(insets); in testOptOutEdgeToEdgeAppBounds() 208 expectedBounds.inset(insets); in testOptOutEdgeToEdgeDisplayMetrics()
|
/cts/tests/tests/dpi/src/android/dpi/cts/ |
D | ConfigurationScreenLayoutTest.java | 153 bounds.inset(excludeInsets); in reduceScreenLayout()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | DisplayUtils.java | 84 largerExpanded.inset(-BOUNDS_IN_SCREEN_TOLERANCE_PX, -BOUNDS_IN_SCREEN_TOLERANCE_PX); in fuzzyBoundsInScreenContains()
|
/cts/apps/CtsVerifier/assets/report/ |
D | compatibility_result.css | 48 border: 0 inset #808080;
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/taskfragment/ |
D | TaskFragmentTrustedModeTest.java | 247 result.inset(50 /* left */, 50 /* top */, 50 /* right */, 50 /* bottom */); in partialOverlayRelativeBounds()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | UiBot.java | 1285 final WindowInsets[] inset = new WindowInsets[1]; 1290 inset[0] = rootView[0].getRootWindowInsets(); 1292 final int navBarHeight = inset[0].getStableInsetBottom(); 1293 final int statusBarHeight = inset[0].getStableInsetTop();
|
/cts/tests/framework/base/windowmanager/ |
D | Android.bp | 26 name: "cts-wm-decor-inset-test-base",
|
/cts/tests/tests/media/encoder/src/android/media/encoder/cts/ |
D | SurfaceEncodeTimestampTest.java | 545 r.inset(BORDER_WIDTH, BORDER_WIDTH); in generateSurfaceFrame()
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | TestUtils.java | 637 bounds.inset(metrics.getWindowInsets().getInsetsIgnoringVisibility(displayCutout())); in injectNavBarToHomeGestureEvents()
|