Home
last modified time | relevance | path

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

123

/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DAnimatedImageDrawableTest.kt107 drawable.setBounds(1, 1, width - 1, height - 1) in <lambda>()
113 drawable.setBounds(width / 2, height / 2, width, height) in <lambda>()
121 drawable.setBounds(0, 0, width / 2, height / 2) in <lambda>()
129 drawable.setBounds(0, 0, width / 2, height / 2) in <lambda>()
137 drawable.setBounds(0, 0, width / 2, height / 2) in <lambda>()
144 drawable.setBounds(5, 5, width - 5, height - 5) in <lambda>()
153 drawable.setBounds(width / 3, 0, (width * 2 / 3.0).roundToInt(), height / 2) in <lambda>()
160 drawable.setBounds(7, 7, width - 7, height - 7) in <lambda>()
166 drawable.setBounds(2, 2, width - 2, height - 2) in <lambda>()
176 drawable.setBounds(3, 3, width - 3, height - 3) in <lambda>()
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()
/cts/tests/tests/view/src/android/view/cts/
DViewOverlayTest.java94 redDrawable.setBounds(20, 30, 40, 50); in testOverlayWithOneDrawable()
112 redDrawable.setBounds(20, 30, 40, 50); in testAddTheSameDrawableTwice()
133 redDrawable.setBounds(20, 30, 40, 50); in testRemoveTheSameDrawableTwice()
154 redDrawable.setBounds(10, 20, 30, 40); in testOverlayWithNonOverlappingDrawables()
156 greenDrawable.setBounds(60, 30, 90, 50); in testOverlayWithNonOverlappingDrawables()
158 blueDrawable.setBounds(40, 60, 80, 90); in testOverlayWithNonOverlappingDrawables()
190 redDrawable.setBounds(10, 20, 60, 40); in testOverlayWithOverlappingDrawables()
192 greenDrawable.setBounds(30, 20, 80, 40); in testOverlayWithOverlappingDrawables()
223 drawable.setBounds(20, 30, 40, 50); in testOverlayDynamicChangesToDrawable()
236 drawable.setBounds(50, 10, 80, 90); in testOverlayDynamicChangesToDrawable()
[all …]
DViewGroupOverlayTest.java177 greenDrawable.setBounds(60, 30, 90, 50); in testOverlayWithNonOverlappingViewAndDrawable()
241 redDrawable.setBounds(10, 20, 60, 40); in testOverlayWithOverlappingViewAndDrawable()
/cts/tests/camera/src/android/hardware/camera2/cts/
DSimpleObjectsTest.java230 Face face = builder.setBounds(bounds) in faceConstructionTest()
239 face = builder.setBounds(bounds) in faceConstructionTest()
254 face = builder.setBounds(bounds) in faceConstructionTest()
263 face = builder.setBounds(null) in faceConstructionTest()
277 face = builder.setBounds(bounds) in faceConstructionTest()
291 face = builder.setBounds(bounds) in faceConstructionTest()
305 face = builder.setBounds(bounds) in faceConstructionTest()
320 face = builder.setBounds(bounds) in faceConstructionTest()
/cts/tests/tests/content/src/android/content/wm/cts/
DContextRegisterComponentCallbacksTest.java95 config.windowConfiguration.setBounds(new Rect(0, 0, 100, 100)); in testRegisterComponentCallbacksOnActivity()
121 config.windowConfiguration.setBounds(new Rect(0, 0, 100, 100)); in testRegisterComponentCallbacksOnContextWrapper()
148 config.windowConfiguration.setBounds(new Rect(0, 0, 100, 100)); in testRegisterComponentCallbacksOnContextWithoutOverriding()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DTestTaskOrganizer.java206 .setBounds(mRootPrimary.getToken(), mPrimaryBounds) in putTaskInSplitPrimary()
207 .setBounds(taskInfo.getToken(), null) in putTaskInSplitPrimary()
229 .setBounds(mRootSecondary.getToken(), mSecondaryBounds) in putTaskInSplitSecondary()
230 .setBounds(taskInfo.getToken(), null) in putTaskInSplitSecondary()
304 t.setBounds(preSplitTaskInfo.getToken(), null); in applyPreSplitTaskInfo()
328 .setBounds(container, bounds); in setTaskBounds()
DProtoExtractors.java56 config.setBounds(extract(proto.bounds)); in extract()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/controls/
DControlsPanelTestUtils.java35 drawable.setBounds(0, 0, (int) height, (int) height); in addImage()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAdaptiveIconDrawableTest.java90 iconDrawable.setBounds(0, 0, 100, 100); in testDrawNull()
205 iconDrawable.setBounds(0, 0, width, height); in testDrawSetBounds()
212 iconDrawable.setBounds(left, top, right, bottom); in testDrawSetBounds()
248 iconDrawable.setBounds(0, 0, 100, 100); in testSetAlpha()
320 first.mutate().setBounds(0, 0, 100, 100); in testMutate()
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()
DPictureDrawableTest.java55 pictureDrawable.setBounds(0, 0, 100, 200); in testDraw()
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()
DGradientDrawableTest.java579 gradientDrawable.setBounds(0, 0, 100, 100); in testGradientPositions()
594 gradientDrawable.setBounds(parentBounds); in testInflateGradientRadius()
600 gradientDrawable.setBounds(parentBounds); in testInflateGradientRadius()
708 drawable.setBounds(0, 0, 10, 10); in testInflationWithThemeAndNonThemeResources()
797 radiusDrawable.setBounds(0, 0, 10, 10); in testRadialGradientWithInvalidRadius()
DDrawableTest.java112 mockDrawable.setBounds(10, 10, 100, 100); in testCopyBounds()
125 mockDrawable.setBounds(new Rect(50, 50, 500, 500)); in testCopyBounds()
477 mockDrawable.setBounds(0, 0, 100, 100); in testAccessBounds()
484 mockDrawable.setBounds(new Rect(10, 10, 150, 150)); in testAccessBounds()
492 mockDrawable.setBounds(null); in testAccessBounds()
DThemedDrawableTest.java181 d.setBounds(0, 0, 64, 64); in testVectorDrawableWithStateListColorThemeAttrs()
DColorDrawableTest.java176 d.setBounds(0, 0, 1, 1); in testDraw()
/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/tests/app/WallpaperTest/src/android/app/cts/wallpapers/util/
DWallpaperTestUtils.java45 drawable.setBounds(0, 0, canvas.getWidth(), canvas.getHeight()); in getBitmap()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DAppLinkTestActivity.java122 image.setBounds(0, 0, 317, 241); in createTestItems()
/cts/tests/tests/text/src/android/text/style/cts/
DDynamicDrawableSpanTest.java139 mDrawable.setBounds(0, 0, DRAWABLE_SIZE, DRAWABLE_SIZE); in MyDynamicDrawableSpan()
/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/
DWallpaperColorsTest.java95 drawable.setBounds(0, 0, 30, 30); in fromDrawableTest()

123