/aosp12/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()
|
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
H A D | TopLevelIcon.java | 73 public void setBackgroundColor(Context context, Bundle metaData, String packageName) { in setBackgroundColor() method in TopLevelIcon 91 setBackgroundColor(bgColor); in setBackgroundColor() 98 setBackgroundColor(context.getColor(R.color.top_level_injected_default_background)); in setBackgroundColor() 104 public void setBackgroundColor(@ColorInt int color) { in setBackgroundColor() method in TopLevelIcon 150 icon.setBackgroundColor(mColor); in newDrawable()
|
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/ |
H A D | TopLevelIconTest.java | 62 icon.setBackgroundColor(Color.BLUE); in setBackgroundColor_shouldUpdateTintList() 72 icon.setBackgroundColor(mContext, metaData, mContext.getPackageName()); in injectedPreferenceWithBackgroundColorRawValue_shouldSetColor() 81 icon.setBackgroundColor(mContext, metaData, mContext.getPackageName()); in injectedPreferenceWithoutBackgroundColor_shouldSetDefaultBackgroundColor() 92 icon.setBackgroundColor(mContext, metaData, mContext.getPackageName()); in injectedPreferenceWithBackgroundColorHintValue_shouldSetColor() 101 icon.setBackgroundColor(Color.YELLOW); in getConstantState_returnCorrectState()
|
/aosp12/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()
|
/aosp12/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()
|
/aosp12/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()
|
/aosp12/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()
|
/aosp12/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()
|
/aosp12/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()
|
/aosp12/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
H A D | CrossfadeImageView.java | 67 imageViewBackground.setBackgroundColor(Color.BLACK); in CrossfadeImageView() 109 public void setBackgroundColor(int color) { in setBackgroundColor() method in CrossfadeImageView 116 mInactiveImageView.setBackgroundColor(color); in setBackgroundColor()
|
H A D | BackgroundImageView.java | 121 public void setBackgroundColor(int color) { in setBackgroundColor() method in BackgroundImageView 122 mImageView.setBackgroundColor(color); in setBackgroundColor()
|
/aosp12/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()
|
/aosp12/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)
|
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
H A D | CaptionSettingsFragment.java | 128 v.setBackgroundColor(res.getColor(R.color.tp_fragment_container_background_color)); in onViewCreated() 185 mPreviewWindow.setBackgroundColor(style.windowColor); in refreshPreviewText() 189 mPreviewWindow.setBackgroundColor(defStyle.windowColor); in refreshPreviewText()
|
/aosp12/packages/apps/Settings/src/com/android/settings/widget/ |
H A D | HighlightablePreferenceGroupAdapter.java | 183 v.setBackgroundColor(mHighlightColor); in addHighlightBackground() 195 animator -> v.setBackgroundColor((int) animator.getAnimatedValue())); in addHighlightBackground() 226 animator -> v.setBackgroundColor((int) animator.getAnimatedValue())); in removeHighlightBackground()
|
/aosp12/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()
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
H A D | GalleryGridItemView.java | 154 setBackgroundColor(ConversationDrawables.get().getConversationThemeColor()); in updateImageView() 164 setBackgroundColor( in updateImageView() 179 setBackgroundColor( in updateImageView()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/views/ |
H A D | ScrimView.java | 72 public void setBackgroundColor(int color) { in setBackgroundColor() method in ScrimView 76 super.setBackgroundColor(color); in setBackgroundColor()
|
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
H A D | DirectoryItemAnimator.java | 144 viewHolder.itemView.setBackgroundColor((Integer)animator.getAnimatedValue()); in onAnimationUpdate() 149 viewHolder.itemView.setBackgroundColor(mEndColor); in onAnimationEnd()
|
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/settings/ |
H A D | SimpleMenuPreference.kt | 101 view.setBackgroundColor(ContextCompat.getColor(getContext(), R.color.white_08p)) 103 view.setBackgroundColor(ContextCompat.getColor(getContext(), R.color.transparent))
|
/aosp12/packages/apps/TV/src/com/android/tv/ui/ |
H A D | TvViewUiManager.java | 319 private void setBackgroundColor( in setBackgroundColor() method in TvViewUiManager 340 mContentView.setBackgroundColor(color); in setBackgroundColor() 350 mContentView.setBackgroundColor(color); in setBackgroundColor() 494 mHandler.post(() -> mContentView.setBackgroundColor(mBackgroundColor)); in initBackgroundAnimatorIfNeeded() 576 setBackgroundColor( in applyDisplayMode()
|
/aosp12/packages/services/Car/tests/ThemePlayground/src/com/android/car/themeplayground/ |
H A D | AbstractSampleActivity.java | 149 dialogLayout.setBackgroundColor(color); in setupBackgroundColorControls() 158 dialogLayout.setBackgroundColor(android.R.color.black); in setupBackgroundColorControls()
|
/aosp12/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/ |
H A D | TwoPanelSettingsFragment.java | 925 previewPanel.setBackgroundColor(previewPanelColor); in moveToPanel() 927 previewPanelHead.setBackgroundColor(previewPanelColor); in moveToPanel() 952 scrollToPanel.setBackgroundColor(mainPanelColor); in moveToPanel() 954 scrollToPanelHead.setBackgroundColor(mainPanelColor); in moveToPanel() 983 previewPanel.setBackgroundColor(previewPanelColor); in moveToPanel() 985 previewPanelHead.setBackgroundColor(previewPanelColor); in moveToPanel() 988 scrollToPanel.setBackgroundColor(mainPanelColor); in moveToPanel() 990 scrollToPanelHead.setBackgroundColor(mainPanelColor); in moveToPanel()
|
/aosp12/packages/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/utils/ |
H A D | SelectableRowModel.java | 48 holder.layout.setBackgroundColor(color); in setColor()
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/animation/ |
H A D | ViewGroupItemVerticalExplodeAnimation.java | 127 shadowContainerLayer.setBackgroundColor(resources.getColor( in startAnimation() 159 expandLayer.setBackgroundColor(resources.getColor( in startAnimation()
|