Home
last modified time | relevance | path

Searched refs:setBackgroundColor (Results 1 – 25 of 51) sorted by relevance

123

/cts/tests/tests/view/src/android/view/cts/
DViewGroupOverlayTest.java101 redView.setBackgroundColor(Color.RED); in testOverlayWithOneView()
122 redView.setBackgroundColor(Color.RED); in testOverlayWithNonOverlappingViews()
125 greenView.setBackgroundColor(Color.GREEN); in testOverlayWithNonOverlappingViews()
128 blueView.setBackgroundColor(Color.BLUE); in testOverlayWithNonOverlappingViews()
161 redView.setBackgroundColor(Color.RED); in testOverlayWithNonOverlappingViewAndDrawable()
193 redView.setBackgroundColor(Color.RED); in testOverlayWithOverlappingViews()
196 greenView.setBackgroundColor(Color.GREEN); in testOverlayWithOverlappingViews()
230 greenView.setBackgroundColor(Color.GREEN); in testOverlayWithOverlappingViewAndDrawable()
262 redView.setBackgroundColor(Color.RED); in testOverlayViewNoClicks()
287 level3View.setBackgroundColor(Color.RED); in testOverlayReparenting()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/presenter/
DCardPresenter.java53 findViewById(R.id.info_field).setBackgroundColor( in onCreateViewHolder()
72 cardView.setBackgroundColor(sDefaultBackgroundColor); in onBindViewHolder()
/cts/hostsidetests/dumpsys/apps/FramestatsTestApp/src/com/android/cts/framestatstestapp/
DFramestatsTestAppActivity.java28 v.setBackgroundColor(0xFF00FF00); in onCreate()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DLayerTests.java128 child.setBackgroundColor(Color.RED); in testLayerPaintAlphaChanged()
202 child.setBackgroundColor(Color.BLUE); in testLayerClear()
241 child.setBackgroundColor(Color.BLUE); in testAlphaLayerChild()
268 child.setBackgroundColor(Color.RED); in testLayerInitialSizeZero()
292 child.setBackgroundColor(Color.BLUE); in testLayerResizeZero()
422 layout.setBackgroundColor(Color.RED); in testWebViewWithOffsetLayer()
448 layout.setBackgroundColor(Color.RED); in testWebViewWithParentLayer()
475 layout.setBackgroundColor(Color.RED); in testWebViewScaledWithParentLayer()
DBitmapTests.java181 root.setBackgroundColor(Color.BLUE); in testChangeDuringUiAnimation()
202 root.setBackgroundColor(Color.RED); in testChangeDuringUiAnimation()
205 root.setBackgroundColor(Color.BLUE); in testChangeDuringUiAnimation()
DAlphaBlendTest.java69 root.setBackgroundColor(Color.BLACK); in testBlendAlphaNonOverlappingView()
DVectorDrawableTests.java88 root.setBackgroundColor(Color.BLUE); in testInvalidateCache()
/cts/tests/tests/toastlegacy/src/android/widget/toast/cts/legacy/
DToastActivity.java34 view.setBackgroundColor(Color.BLUE); in onCreate()
/cts/tests/app/shared/src/android/app/stubs/shared/
DFakeView.java32 setBackgroundColor(BACKGROUND_COLOR); in FakeView()
DAppAccessibilityService.java73 mView.setBackgroundColor(BACKGROUND_COLOR); in onServiceConnected()
/cts/tests/tests/assist/testapp/src/android/assist/testapp/
DScreenshotActivity.java35 view.setBackgroundColor(backgroundColor); in onCreate()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DStateInitializeActivity.java43 view.setBackgroundColor(Color.WHITE); in onCreate()
/cts/tests/framework/base/windowmanager/overlayappbase/src/android/server/wm/overlay/
DToastActivity.java37 view.setBackgroundColor(BACKGROUND_COLOR); in onResume()
DOverlayActivity.java42 view.setBackgroundColor(BACKGROUND_COLOR); in onCreate()
DExitAnimationActivity.java42 view.setBackgroundColor(BACKGROUND_COLOR); in onCreate()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DDisplayHashManagerTest.java211 mTestView.setBackgroundColor(Color.BLUE); in testGenerateDisplayHash_ViewOffscreen()
252 mTestView.setBackgroundColor(Color.BLUE); in testGenerateDisplayHash_WindowOffscreen()
366 blueView.setBackgroundColor(Color.BLUE); in testGenerateAndVerifyDisplayHash_MultiColor()
370 redView.setBackgroundColor(Color.RED); in testGenerateAndVerifyDisplayHash_MultiColor()
417 mTestView.setBackgroundColor(Color.BLUE); in setupChildView()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DPresentationActivity.java58 view.setBackgroundColor(Color.RED); in createPresentationWindow()
DOverlayTestService.java59 mView.setBackgroundColor(Color.RED); in addWindow()
/cts/tests/framework/base/windowmanager/alertwindowappsdk25/src/android/server/wm/alertwindowappsdk25/
DAlertWindowTestBaseActivity.java67 view.setBackgroundColor(Color.RED); in createAlertWindow()
/cts/tests/app/app/src/android/app/stubs/
DLocalAlertService.java74 view.setBackgroundColor(Color.RED); in showAlertWindow()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DSimpleKeyguardService.java78 rootView.setBackgroundColor(Color.WHITE); in createView()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/renderers/
DGLRotationGuideRenderer.java56 public void setBackgroundColor(int value) { in setBackgroundColor() method in GLRotationGuideRenderer
/cts/tests/tests/security/src/android/security/cts/
DMotionEventTest.java110 v.setBackgroundColor(Color.GREEN); in testActionOutsideDoesNotContainedObscuredInformation()
117 v.setBackgroundColor(Color.BLUE); in testActionOutsideDoesNotContainedObscuredInformation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Fragments/
DRobustnessFragment.java155 mTvPassColour.setBackgroundColor(getResources().getColor(R.color.green)); in setupUILoop()
157 mTvPassColour.setBackgroundColor(getResources().getColor(R.color.red)); in setupUILoop()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0523/src/android/security/cts/CVE_2021_0523/
DPocService.java87 mButton.setBackgroundColor(Color.parseColor("#BEBEBE")); // R-BE G-BE B-BE in showFloatingWindow()

123