/aosp14/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/ |
H A D | AdaptiveIcon.java | 64 public void setBackgroundColor(Context context, Tile tile) { in setBackgroundColor() method in AdaptiveIcon 83 setBackgroundColor(bgColor); in setBackgroundColor() 90 setBackgroundColor(context.getColor(R.color.homepage_generic_icon_background)); in setBackgroundColor() 96 public void setBackgroundColor(int color) { in setBackgroundColor() method in AdaptiveIcon 123 icon.setBackgroundColor(mColor); in newDrawable()
|
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
H A D | AdaptiveIconTest.java | 81 icon.setBackgroundColor(Color.BLUE); in setBackgroundColor_shouldUpdateColorFilter() 95 icon.setBackgroundColor(mContext, tile); in setBackgroundColor_externalTileWithBackgroundColorRawValue_shouldUpdateIcon() 106 icon.setBackgroundColor(mContext, tile); in setBackgroundColor_tileWithoutBackgroundColor_shouldSetDefaultBackgroundColor() 122 icon.setBackgroundColor(mContext, tile); in onBindTile_externalTileWithBackgroundColorHint_shouldUpdateIcon() 132 icon.setBackgroundColor(Color.YELLOW); in getConstantState_returnCorrectState()
|
/aosp14/frameworks/base/tests/SurfaceControlViewHostTest/src/com/android/test/viewembed/ |
H A D | SurfaceControlViewHostTest.java | 57 v.setBackgroundColor(Color.BLUE); in addEmbeddedView() 60 v.setBackgroundColor(Color.RED); in addEmbeddedView() 64 v.setBackgroundColor(focused ? Color.MAGENTA : Color.DKGRAY)); in addEmbeddedView()
|
/aosp14/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
H A D | ElementLayoutActivity.java | 50 mLayout.setBackgroundColor(BACKGROUND_COLOR); in onCreate() 55 mIndicator.setBackgroundColor(BACKGROUND_COLOR); in onCreate() 152 mIndicator.setBackgroundColor(background); in onPreDraw()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
H A D | GridSimple.java | 44 getGridView().setBackgroundColor(0xFFC0C0C0); in onCreate() 50 view.setBackgroundColor(0xFF000000); in createView()
|
/aosp14/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/ |
H A D | MainActivity.java | 105 mShowStartView.setBackgroundColor(defaultColor); 108 mShowStopView.setBackgroundColor(defaultColor); 180 mShowStartView.setBackgroundColor(startJobColor); in onReceivedStartJob() 187 mShowStopView.setBackgroundColor(stopJobColor); in onReceivedStopJob()
|
/aosp14/frameworks/base/tests/TaskOrganizerTest/src/com/android/test/taskembed/ |
H A D | TaskOrganizerMultiWindowTest.java | 120 mTaskView1.setBackgroundColor(Color.DKGRAY); in openTaskView() 129 mTaskView2.setBackgroundColor(Color.LTGRAY); in openTaskView() 177 v.setBackgroundColor(Color.RED); in onCreate() 192 v.setBackgroundColor(Color.GREEN); in onCreate()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | BigCache.java | 48 tiny.setBackgroundColor(0xFFFF0000); in onCreate() 53 large.setBackgroundColor(0xFF00FF00); in onCreate()
|
/aosp14/frameworks/base/samples/demo/haptic-assessment/src/com/example/android/hapticassessment/ |
H A D | MainActivity.kt | 62 button.setBackgroundColor(Color.GREEN) 66 button.setBackgroundColor(Color.RED)
|
/aosp14/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/ |
H A D | DialogThemedActivity.java | 42 getWindow().getDecorView().setBackgroundColor(Color.TRANSPARENT); in onCreate() 49 layout.setBackgroundColor(Color.GREEN); in onCreate()
|
H A D | ActivityEmbeddingBaseActivity.java | 29 findViewById(R.id.root_activity_layout).setBackgroundColor(getBackgroundColor()); in onCreate()
|
H A D | ActivityEmbeddingThirdActivity.java | 32 findViewById(R.id.root_activity_layout).setBackgroundColor(Color.RED); in onCreate()
|
H A D | ActivityEmbeddingAlwaysExpandActivity.java | 30 findViewById(R.id.root_activity_layout).setBackgroundColor(Color.GREEN); in onCreate()
|
H A D | MailContentFragment.java | 34 view.setBackgroundColor(Color.LTGRAY); in onViewCreated()
|
H A D | ImeStateInitializeActivity.java | 41 view.setBackgroundColor(Color.WHITE); in onCreate()
|
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | SurfaceSyncGroupTests.java | 94 () -> mActivity.runOnUiThread(() -> backgroundView.setBackgroundColor(Color.RED))); in testOverlappingSyncsEnsureOrder_WhenTimeout() 143 () -> mActivity.runOnUiThread(() -> backgroundView.setBackgroundColor(Color.RED))); in testOverlappingSyncsEnsureOrder_WhileHoldingTransaction() 161 () -> backgroundView.setBackgroundColor(Color.BLUE))); in addSecondSyncGroup()
|
H A D | SurfaceControlViewHostTests.java | 116 mView1.setBackgroundColor(Color.RED); in requestFocusWithMultipleWindows() 117 mView2.setBackgroundColor(Color.BLUE); in requestFocusWithMultipleWindows() 164 mSurfaceView.setBackgroundColor(Color.BLACK); in onCreate()
|
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | HardwareBufferRendererActivity.java | 49 mImageView.setBackgroundColor(Color.MAGENTA); in onCreate() 51 layout.setBackgroundColor(Color.CYAN); in onCreate()
|
H A D | SurfaceViewAlphaActivity.java | 72 leftBlueView.setBackgroundColor(Color.BLUE); in overlapViews() 85 rightBlueView.setBackgroundColor(Color.BLUE); in overlapViews()
|
H A D | NinePatchesActivity.java | 37 layout.setBackgroundColor(0xffffffff); in onCreate()
|
/aosp14/frameworks/base/tests/UsageReportingTest/src/com/android/tests/usagereporter/ |
H A D | UsageReporterActivity.java | 246 parent.setBackgroundColor(getColor(R.color.active_color)); 264 parent.setBackgroundColor(getColor(R.color.inactive_color)); 307 convertView.setBackgroundColor(getColor(R.color.active_color)); in getView() 309 convertView.setBackgroundColor(getColor(R.color.inactive_color)); in getView()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/ |
H A D | WindowDecorationTests.java | 164 .setBackgroundColor(Color.YELLOW); in testLayoutResultCalculation_invisibleTask() 208 .setBackgroundColor(Color.YELLOW); in testLayoutResultCalculation_visibleFocusedTask() 288 .setBackgroundColor(Color.YELLOW); in testLayoutResultCalculation_visibleFocusedTaskToInvisible() 331 .setBackgroundColor(Color.BLACK); in testNotCrashWhenDisplayAppearsAfterTask() 387 .setBackgroundColor(Color.YELLOW); in testAddWindow() 457 .setBackgroundColor(Color.YELLOW); in testLayoutResultCalculation_fullWidthCaption() 498 .setBackgroundColor(Color.YELLOW); in testRelayout_applyTransactionInSyncWithDraw()
|
/aosp14/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
H A D | DisableScreenshotsActivity.java | 34 getWindow().getDecorView().setBackgroundColor(Color.RED); in onCreate()
|
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/host/test-apps/UsesStaticLibrary/src/com/android/server/pm/test/static_library/ |
H A D | TestActivity.kt | 30 setBackgroundColor(Color.BLUE)
|
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
H A D | ListSimple.java | 46 view.setBackgroundColor(0xFF191919); in createView()
|