Home
last modified time | relevance | path

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

12345

/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/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DTestActivity.java47 mParentLayout.setBackgroundColor(Color.YELLOW); in onCreate()
69 view.setBackgroundColor(Color.BLUE); in startJankyAnimation()
/cts/hostsidetests/dumpsys/apps/FramestatsTestApp/src/com/android/cts/framestatstestapp/
DFramestatsTestAppActivity.java28 v.setBackgroundColor(0xFF00FF00); 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/tests/toastlegacy/src/android/widget/toast/cts/legacy/
DToastActivity.java34 view.setBackgroundColor(Color.BLUE); in onCreate()
/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/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DColorModeSwitchActivity.java32 view.setBackgroundColor(Color.BLUE); in onCreate()
/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/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/inputmethod/testlauncher/src/android/view/inputmethod/ctstestlauncher/
DLauncherActivity.java61 delegatorView.setBackgroundColor(Color.GREEN); in onCreate()
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DBlurTests.java186 blurActivity.setBackgroundColor(Color.TRANSPARENT); in testNoBackgroundBlurForNonTranslucentWindow()
200 blurActivity.setBackgroundColor(Color.TRANSPARENT); in testNoBlurBehindWhenFlagNotSet()
334 blurActivity.setBackgroundColor(Color.TRANSPARENT); in testAllBlurRemovedAndRestoredWhenToggleBlurDisabled()
484 setBackgroundColor( in setBackgroundBlurRadius()
497 void setBackgroundColor(int color) { in setBackgroundColor() method in BlurTests.BlurActivity
498 getWindow().getDecorView().setBackgroundColor(color); in setBackgroundColor()
/cts/tests/tests/security/src/android/security/cts/
DFlagSlipperyTest.kt172 view.setBackgroundColor(android.graphics.Color.RED) in addWindow()
239 surfaceView.setBackgroundColor(android.graphics.Color.GREEN) in addEmbeddedHostWindow()
263 embeddedView.setBackgroundColor(android.graphics.Color.RED) in addEmbeddedView()
/cts/tests/framework/base/windowmanager/alertwindowappsdk25/src/android/server/wm/alertwindowappsdk25/
DAlertWindowTestBaseActivity.java67 view.setBackgroundColor(Color.RED); in createAlertWindow()

12345