Home
last modified time | relevance | path

Searched refs:setBounds (Results 1 – 25 of 39) sorted by relevance

12

/cts/tests/tests/view/src/android/view/cts/
DViewOverlayTest.java83 redDrawable.setBounds(20, 30, 40, 50); in testOverlayWithOneDrawable()
101 redDrawable.setBounds(20, 30, 40, 50); in testAddTheSameDrawableTwice()
122 redDrawable.setBounds(20, 30, 40, 50); in testRemoveTheSameDrawableTwice()
143 redDrawable.setBounds(10, 20, 30, 40); in testOverlayWithNonOverlappingDrawables()
145 greenDrawable.setBounds(60, 30, 90, 50); in testOverlayWithNonOverlappingDrawables()
147 blueDrawable.setBounds(40, 60, 80, 90); in testOverlayWithNonOverlappingDrawables()
179 redDrawable.setBounds(10, 20, 60, 40); in testOverlayWithOverlappingDrawables()
181 greenDrawable.setBounds(30, 20, 80, 40); in testOverlayWithOverlappingDrawables()
212 drawable.setBounds(20, 30, 40, 50); in testOverlayDynamicChangesToDrawable()
225 drawable.setBounds(50, 10, 80, 90); in testOverlayDynamicChangesToDrawable()
[all …]
DViewGroupOverlayTest.java164 greenDrawable.setBounds(60, 30, 90, 50); in testOverlayWithNonOverlappingViewAndDrawable()
228 redDrawable.setBounds(10, 20, 60, 40); in testOverlayWithOverlappingViewAndDrawable()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DVectorDrawableTests.java52 vd.setBounds(new Rect(0, 0, 50, 50)); in testScaleDown()
70 mVd.setBounds(mVdBounds); in onDraw()
DAutofillHighlightTests.java55 autofilledDrawable.setBounds(0, 0, ActivityTestBase.TEST_WIDTH, in testHighlightedFrameLayout()
DBitmapDrawableTest.java134 dr.setBounds(drBounds); in runTest()
DExactCanvasTests.java215 ninePatchDrawable.setBounds(0, 0, 90, 90); in testBluePaddedSquare()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DNinePatchDrawableTest.java124 mNinePatchDrawable.setBounds(0, 0, 9, 9); in testDraw()
135 mNinePatchDrawable.setBounds(0, 0, 3, 3); in testDraw()
344 mNinePatchDrawable.setBounds(0, 0, 7, 7); in testGetTransparentRegion()
353 mNinePatchDrawable.setBounds(1, 1, 7, 7); in testGetTransparentRegion()
622 preloadedDrawable.setBounds(0, 0, bound, bound); in verifyOutlinePreloadDensityInner()
640 scaledDrawable.setBounds(0, 0, scaledBound, scaledBound); in verifyOutlinePreloadDensityInner()
684 dr.setBounds(0, 0, width, height); in compareOrSave()
DAdaptiveIconDrawableTest.java89 iconDrawable.setBounds(0, 0, 100, 100); in testDrawNull()
189 iconDrawable.setBounds(0, 0, width, height); in testDrawSetBounds()
196 iconDrawable.setBounds(left, top, right, bottom); in testDrawSetBounds()
232 iconDrawable.setBounds(0, 0, 100, 100); in testSetAlpha()
304 first.mutate().setBounds(0, 0, 100, 100); in testMutate()
DGradientDrawableTest.java576 gradientDrawable.setBounds(0, 0, 100, 100); in testGradientPositions()
591 gradientDrawable.setBounds(parentBounds); in testInflateGradientRadius()
597 gradientDrawable.setBounds(parentBounds); in testInflateGradientRadius()
705 drawable.setBounds(0, 0, 10, 10); in testInflationWithThemeAndNonThemeResources()
738 radiusDrawable.setBounds(0, 0, 10, 10); in testRadialGradientWithInvalidRadius()
DScaleDrawableTest.java350 mockDrawable.setBounds(bounds); in testOnBoundsChange()
365 mockDrawable.setBounds(bounds); in testOnBoundsChange()
381 mockDrawable.setBounds(bounds); in testOnBoundsChange()
392 mockDrawable.setBounds(bounds); in testOnBoundsChange()
DDrawableTest.java112 mockDrawable.setBounds(10, 10, 100, 100); in testCopyBounds()
125 mockDrawable.setBounds(new Rect(50, 50, 500, 500)); in testCopyBounds()
476 mockDrawable.setBounds(0, 0, 100, 100); in testAccessBounds()
483 mockDrawable.setBounds(new Rect(10, 10, 150, 150)); in testAccessBounds()
491 mockDrawable.setBounds(null); in testAccessBounds()
DPictureDrawableTest.java55 pictureDrawable.setBounds(0, 0, 100, 200); in testDraw()
DThemedDrawableTest.java181 d.setBounds(0, 0, 64, 64); in testVectorDrawableWithStateListColorThemeAttrs()
DDrawableWrapperTest.java346 mockDrawable.setBounds(bounds); in testOnBoundsChange()
350 mockDrawable.setBounds(bounds); in testOnBoundsChange()
DColorDrawableTest.java176 d.setBounds(0, 0, 1, 1); in testDraw()
DDrawableTestUtils.java216 d.setBounds(0, 0, w, h); in getPixel()
DColorStateListDrawableTest.java76 mDrawable.setBounds(0, 0, 1, 1); in testDraw()
DTransitionDrawableTest.java67 mTransitionDrawable.setBounds(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT); in setup()
DAnimatedVectorDrawableParameterizedTest.java222 d1.setBounds(0, 0, IMAGE_WIDTH, IMAGE_HEIGHT); in testSingleFrameAnimation()
/cts/tests/tests/systemui/src/android/systemui/cts/
DWindowInsetsPresenterDrawable.java110 public void setBounds(Rect bounds) { in setBounds() method in WindowInsetsPresenterDrawable
111 super.setBounds(bounds); in setBounds()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodIconSamplerActivity.java105 icon.setBounds(0, 0, canvas.getWidth(), canvas.getHeight()); in convertToBitmap()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DAppLinkTestActivity.java121 image.setBounds(0, 0, 317, 241); in createTestItems()
/cts/tests/app/src/android/app/cts/
DWallpaperColorsTest.java95 drawable.setBounds(0, 0, 30, 30); in fromDrawableTest()
/cts/tests/tests/text/src/android/text/style/cts/
DDynamicDrawableSpanTest.java137 mDrawable.setBounds(0, 0, DRAWABLE_SIZE, DRAWABLE_SIZE); in MyDynamicDrawableSpan()
/cts/tests/tests/content/src/android/content/pm/cts/
DComponentInfoTest.java74 d.setBounds(0, 0, size, size); in createIconBitmap()

12