Home
last modified time | relevance | path

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

12345

/packages/apps/Car/Settings/src/com/android/car/settings/common/
DTopLevelIcon.java73 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()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DTopLevelIconTest.java62 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()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DCaptionSettingsFragment.java128 v.setBackgroundColor(res.getColor(R.color.tp_fragment_container_background_color)); in onViewCreated()
186 mPreviewWindow.setBackgroundColor(style.windowColor); in refreshPreviewText()
190 mPreviewWindow.setBackgroundColor(defStyle.windowColor); in refreshPreviewText()
/packages/apps/Settings/src/com/android/settings/widget/
DHighlightablePreferenceGroupAdapter.java183 v.setBackgroundColor(mHighlightColor); in addHighlightBackground()
195 animator -> v.setBackgroundColor((int) animator.getAnimatedValue())); in addHighlightBackground()
226 animator -> v.setBackgroundColor((int) animator.getAnimatedValue())); in removeHighlightBackground()
DHomepageAppBarScrollingViewBehavior.java53 appBarLayout.setBackgroundColor(Color.TRANSPARENT); in setAppBarLayoutTransparent()
DFloatingAppBarScrollingViewBehavior.java53 appBarLayout.setBackgroundColor(Color.TRANSPARENT); in setAppBarLayoutTransparent()
DSwitchBar.java136 setBackgroundColor(mBackgroundColor); in SwitchBar()
180 setBackgroundColor(isChecked ? mBackgroundActivatedColor : mBackgroundColor); in setTextViewLabelAndBackground()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DGalleryGridItemView.java154 setBackgroundColor(ConversationDrawables.get().getConversationThemeColor()); in updateImageView()
164 setBackgroundColor( in updateImageView()
179 setBackgroundColor( in updateImageView()
/packages/apps/TV/src/com/android/tv/ui/
DTvViewUiManager.java319 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()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DScrimView.java73 public void setBackgroundColor(int color) { in setBackgroundColor() method in ScrimView
77 super.setBackgroundColor(color); in setBackgroundColor()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryItemAnimator.java144 viewHolder.itemView.setBackgroundColor((Integer)animator.getAnimatedValue()); in onAnimationUpdate()
149 viewHolder.itemView.setBackgroundColor(mEndColor); in onAnimationEnd()
/packages/apps/DeskClock/src/com/android/deskclock/settings/
DSimpleMenuPreference.kt101 view.setBackgroundColor(ContextCompat.getColor(getContext(), R.color.white_08p)) in getDropDownView()
103 view.setBackgroundColor(ContextCompat.getColor(getContext(), R.color.transparent)) in getDropDownView()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/
DTwoPanelSettingsFragment.java1006 previewPanel.setBackgroundColor(previewPanelColor); in moveToPanel()
1008 previewPanelHead.setBackgroundColor(previewPanelColor); in moveToPanel()
1037 scrollToPanel.setBackgroundColor(mainPanelColor); in moveToPanel()
1039 scrollToPanelHead.setBackgroundColor(mainPanelColor); in moveToPanel()
1072 previewPanel.setBackgroundColor(previewPanelColor); in moveToPanel()
1074 previewPanelHead.setBackgroundColor(previewPanelColor); in moveToPanel()
1077 scrollToPanel.setBackgroundColor(mainPanelColor); in moveToPanel()
1079 scrollToPanelHead.setBackgroundColor(mainPanelColor); in moveToPanel()
/packages/services/Car/tests/ThemePlayground/src/com/android/car/themeplayground/
DAbstractSampleActivity.java149 dialogLayout.setBackgroundColor(color); in setupBackgroundColorControls()
158 dialogLayout.setBackgroundColor(android.R.color.black); in setupBackgroundColorControls()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DOverviewGestureTutorialController.java152 mFakeLauncherView.setBackgroundColor( in onNavBarGestureAttempted()
159 mFakeLauncherView.setBackgroundColor( in onNavBarGestureAttempted()
/packages/apps/Messaging/src/com/android/messaging/ui/animation/
DViewGroupItemVerticalExplodeAnimation.java127 shadowContainerLayer.setBackgroundColor(resources.getColor( in startAnimation()
159 expandLayer.setBackgroundColor(resources.getColor( in startAnimation()
/packages/apps/Calendar/src/com/android/calendar/
DStickyHeaderListView.kt219 mSeparatorView?.setBackgroundColor(color) in setHeaderSeparator()
369 mNonessentialHeader?.setBackgroundColor(Color.TRANSPARENT) in setChildViews()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DNetworkListAdapter.java101 vh.netActive.setBackgroundColor(mNetworkList[position].mRequested in getView()
118 convertView.setBackgroundColor(((position % 2) != 0) in getView()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DMaterialProgressDrawable.java214 public void setBackgroundColor(int color) { in setBackgroundColor() method in MaterialProgressDrawable
215 mRing.setBackgroundColor(color); in setBackgroundColor()
514 public void setBackgroundColor(int color) { in setBackgroundColor() method in MaterialProgressDrawable.Ring
/packages/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/utils/
DSelectableRowModel.java48 holder.layout.setBackgroundColor(color); in setColor()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DSelfManagedCallListAdapter.java168 result.setBackgroundColor(result.getContext().getColor(R.color.test_call_a_color)); in getView()
170 result.setBackgroundColor(result.getContext().getColor(R.color.test_call_b_color)); in getView()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/text/
DSubtitleView.java129 public void setBackgroundColor(int color) { in setBackgroundColor() method in SubtitleView
178 super.setBackgroundColor(style.windowColor); in setStyle()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DDvrDetailsFragment.java91 rowPresenter.setBackgroundColor( in setupAdapter()
295 fragment.mBackgroundHelper.setBackgroundColor( in onBitmapLoaded()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/daydream/
DDaydreamVoiceAction.java39 view.setBackgroundColor(Color.BLACK); in onCreate()
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/
DSearchBarScrollingViewBehavior.java52 appBarLayout.setBackgroundColor(Color.TRANSPARENT); in setAppBarLayoutTransparent()

12345