Home
last modified time | relevance | path

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

1234

/cts/tests/tests/text/src/android/text/style/cts/
DSuggestionRangeSpanTest.java46 original.setBackgroundColor(1); in testSerializationDeserialization()
67 span.setBackgroundColor(1); in testSetAndGetBackgroundColor()
74 span.setBackgroundColor(1); in testUpdateDrawState()
/cts/tests/tests/view/src/android/view/cts/
DViewGroupOverlayTest.java114 redView.setBackgroundColor(Color.RED); in testOverlayWithOneView()
135 redView.setBackgroundColor(Color.RED); in testOverlayWithNonOverlappingViews()
138 greenView.setBackgroundColor(Color.GREEN); in testOverlayWithNonOverlappingViews()
141 blueView.setBackgroundColor(Color.BLUE); in testOverlayWithNonOverlappingViews()
174 redView.setBackgroundColor(Color.RED); in testOverlayWithNonOverlappingViewAndDrawable()
206 redView.setBackgroundColor(Color.RED); in testOverlayWithOverlappingViews()
209 greenView.setBackgroundColor(Color.GREEN); in testOverlayWithOverlappingViews()
243 greenView.setBackgroundColor(Color.GREEN); in testOverlayWithOverlappingViewAndDrawable()
275 redView.setBackgroundColor(Color.RED); in testOverlayViewNoClicks()
300 level3View.setBackgroundColor(Color.RED); in testOverlayReparenting()
/cts/hostsidetests/dumpsys/apps/FramestatsTestApp/src/com/android/cts/framestatstestapp/
DFramestatsTestAppActivity.java28 v.setBackgroundColor(0xFF00FF00); in onCreate()
/cts/tests/tests/toastlegacy/src/android/widget/toast/cts/legacy/
DToastActivity.java34 view.setBackgroundColor(Color.BLUE); in onCreate()
/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/tests/app/WallpaperTest/src/android/app/cts/wallpapers/
DWallpaperTestActivity.java32 frameLayout.setBackgroundColor(Color.TRANSPARENT); in onCreate()
DWallpaperOverlayTestActivity.java43 frameLayout.setBackgroundColor(Color.TRANSPARENT); 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/dreams/CtsDreamOverlayTestApp/src/android/app/dream/cts/app/
DTestDreamService.java40 frameLayout.setBackgroundColor(Color.BLUE); in onAttachedToWindow()
DTestSystemDreamService.java40 frameLayout.setBackgroundColor(Color.RED); in onAttachedToWindow()
DDreamOverlayService.java68 mLayout.setBackgroundColor(Color.YELLOW); in addWindowOverlay()
/cts/tests/tests/assist/testapp/src/android/assist/testapp/
DScreenshotActivity.java35 view.setBackgroundColor(backgroundColor); 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()
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DStateInitializeActivity.java43 view.setBackgroundColor(Color.WHITE); in onCreate()
/cts/tests/framework/base/windowmanager/src/android/server/wm/backnavigation/
DBackGestureInvokedTest.java195 contentView.setBackgroundColor(Color.RED); in addPopupWindow()
213 mContentView.setBackgroundColor(Color.GREEN); in onCreate()
225 mContentView.setBackgroundColor(Color.BLUE); in onCreate()
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DBlurTests.java180 blurActivity.setBackgroundColor(Color.TRANSPARENT); in testNoBackgroundBlurWhenBlurDisabled()
199 blurActivity.setBackgroundColor(Color.TRANSPARENT); in testNoBackgroundBlurForNonTranslucentWindow()
214 blurActivity.setBackgroundColor(Color.TRANSPARENT); in testNoBlurBehindWhenBlurDisabled()
236 blurActivity.setBackgroundColor(Color.TRANSPARENT); in testNoBlurBehindWhenFlagNotSet()
382 blurActivity.setBackgroundColor(Color.TRANSPARENT); in testAllBlurRemovedAndRestoredWhenToggleBlurDisabled()
518 setBackgroundColor( in setBackgroundBlurRadius()
531 void setBackgroundColor(int color) { in setBackgroundColor() method in BlurTests.BlurActivity
532 getWindow().getDecorView().setBackgroundColor(color); in setBackgroundColor()
/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()
476 layout.setBackgroundColor(Color.RED); in testWebViewWithParentLayer()
503 layout.setBackgroundColor(Color.RED); in testWebViewScaledWithParentLayer()
DBitmapTests.java210 root.setBackgroundColor(Color.BLUE); in testChangeDuringUiAnimation()
235 root.setBackgroundColor(Color.RED); in testChangeDuringUiAnimation()
238 root.setBackgroundColor(Color.BLUE); in testChangeDuringUiAnimation()
/cts/tests/input/src/android/input/cts/
DTwoWindowsActivity.kt86 leftView.setBackgroundColor(Color.GREEN) in launchTwoWindows()
94 rightView.setBackgroundColor(Color.BLUE) in launchTwoWindows()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DTestActivity.java41 mParentLayout.setBackgroundColor(Color.YELLOW); in onCreate()
/cts/tests/inputmethod/testlauncher/src/android/view/inputmethod/ctstestlauncher/
DLauncherActivity.java61 delegatorView.setBackgroundColor(Color.GREEN); in onCreate()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DPresentationActivity.java58 view.setBackgroundColor(Color.RED); in createPresentationWindow()
/cts/tests/framework/base/windowmanager/alertwindowappsdk25/src/android/server/wm/alertwindowappsdk25/
DAlertWindowTestBaseActivity.java67 view.setBackgroundColor(Color.RED); in createAlertWindow()

1234