Home
last modified time | relevance | path

Searched refs:setBackgroundDrawable (Results 1 – 17 of 17) sorted by relevance

/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DBlurActivity.java44 window.setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT));
47 window.setBackgroundDrawable(new ColorDrawable(mNoBlurBackgroundColor));
51 window.setBackgroundDrawable(new ColorDrawable(mNoBlurBackgroundColor));
DBlurAttributesActivity.java33 getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT)); in onCreate()
/cts/tests/tests/widget/src/android/widget/cts/
DToggleButtonTest.java203 toggleButton.setBackgroundDrawable(drawable); in testSetBackgroundDrawable()
207 toggleButton.setBackgroundDrawable(null); in testSetBackgroundDrawable()
DProgressBarTest.java395 mockProgressBar.setBackgroundDrawable(mockDrawable1); in testInvalidateDrawable()
630 mockProgressBar.setBackgroundDrawable(d1); in testVerifyDrawable()
DPopupWindowTest.java236 mPopupWindow.setBackgroundDrawable(drawable); in testAccessBackground()
239 mPopupWindow.setBackgroundDrawable(null); in testAccessBackground()
1130 mPopupWindow.setBackgroundDrawable(null); in testUpdate()
1598 mPopupWindow.setBackgroundDrawable(drawable); in testSetTouchInterceptor()
2130 window.setBackgroundDrawable(new ColorDrawable(Color.YELLOW)); in createPopupWindow()
DScrollViewTest.java346 child.setBackgroundDrawable(null); in testMeasureChild()
368 child.setBackgroundDrawable(null); in testMeasureChildWithMargins()
DListPopupWindowTest.java164 mPopupWindow.setBackgroundDrawable(drawable); in testAccessBackground()
167 mPopupWindow.setBackgroundDrawable(null); in testAccessBackground()
DHorizontalScrollViewTest.java335 child.setBackgroundDrawable(null); in testMeasureChild()
357 child.setBackgroundDrawable(null); in testMeasureChildWithMargins()
DAbsSeekBarTest.java206 myAbsSeekBar.setBackgroundDrawable(drawable2); in testVerifyDrawable()
DImageViewTest.java646 mockImageView.setBackgroundDrawable(backgroundDrawable); in testVerifyDrawable()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DColorFilterAlphaTest.java135 getInstrumentation().runOnMainSync(() -> activity.getWindow().setBackgroundDrawable( in setUp()
DXfermodeTest.java153 getInstrumentation().runOnMainSync(() -> activity.getWindow().setBackgroundDrawable( in setUp()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowTest.java434 mWindow.setBackgroundDrawable(drawable); in testSetBackgroundDrawable()
441 mActivityRule.runOnUiThread(() -> mWindow.setBackgroundDrawable(null)); in testSetBackgroundDrawable()
920 public void setBackgroundDrawable(Drawable drawable) { in setBackgroundDrawable() method in WindowTest.MockWindow
DEnsureBarContrastTest.java267 getWindow().setBackgroundDrawable(new ColorDrawable(backgroundForBar(lightBars)));
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java853 view.setBackgroundDrawable(d1); in testAccessBackground()
856 view.setBackgroundDrawable(d2); in testAccessBackground()
859 view.setBackgroundDrawable(null); in testAccessBackground()
916 view.setBackgroundDrawable(d1); in testVerifyDrawable()
1502 view.setBackgroundDrawable(d); in testGetSuggestedMinimumWidth()
1535 view.setBackgroundDrawable(d); in testGetSuggestedMinimumHeight()
2129 view.setBackgroundDrawable(drawable); in testScheduleDrawable()
2155 view.setBackgroundDrawable(drawable); in testUnscheduleDrawable()
3332 view.setBackgroundDrawable(d1); in testInvalidateDrawable()
3930 mockView.setBackgroundDrawable(d); in testSetScrollContainer()
[all …]
DViewGroupTest.java754 mMockTextView.setBackgroundDrawable(new BitmapDrawable(Bitmap.createBitmap(100, 100, in testDrawChild()
/cts/tests/app/src/android/app/cts/
DInstrumentationTest.java614 public void setBackgroundDrawable(Drawable drawable) { in setBackgroundDrawable() method in InstrumentationTest.MockActivity.MockWindow