Home
last modified time | relevance | path

Searched refs:setBackgroundColor (Results 1 – 25 of 108) 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/Car/libs/car-apps-common/src/com/android/car/apps/common/
DCrossfadeImageView.java67 imageViewBackground.setBackgroundColor(Color.BLACK); in CrossfadeImageView()
109 public void setBackgroundColor(int color) { in setBackgroundColor() method in CrossfadeImageView
116 mInactiveImageView.setBackgroundColor(color); in setBackgroundColor()
DBackgroundImageView.java121 public void setBackgroundColor(int color) { in setBackgroundColor() method in BackgroundImageView
122 mImageView.setBackgroundColor(color); in setBackgroundColor()
/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()
185 mPreviewWindow.setBackgroundColor(style.windowColor); in refreshPreviewText()
189 mPreviewWindow.setBackgroundColor(defStyle.windowColor); in refreshPreviewText()
/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()
DProgramDetailsFragment.java116 rowPresenter.setBackgroundColor( in setupAdapter()
358 fragment.mBackgroundHelper.setBackgroundColor(
/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()
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/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/
DTwoPanelSettingsFragment.java925 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()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DScrimView.java67 public void setBackgroundColor(int color) { in setBackgroundColor() method in ScrimView
70 super.setBackgroundColor(color); in setBackgroundColor()
/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/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryItemAnimator.java144 viewHolder.itemView.setBackgroundColor((Integer)animator.getAnimatedValue()); in onAnimationUpdate()
149 viewHolder.itemView.setBackgroundColor(mEndColor); in onAnimationEnd()
/packages/services/Car/tests/ThemePlayground/src/com/android/car/themeplayground/
DAbstractSampleActivity.java147 dialogLayout.setBackgroundColor(color); in setupBackgroundColorControls()
156 dialogLayout.setBackgroundColor(android.R.color.black); in setupBackgroundColorControls()
/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.java249 mSeparatorView.setBackgroundColor(color); in setHeaderSeparator()
390 mNonessentialHeader.setBackgroundColor(Color.TRANSPARENT); in setChildViews()
/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/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/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/Car/Dialer/src/com/android/car/dialer/ui/contact/
DContactDetailsViewHolder.java127 mBackgroundImageView.setBackgroundColor(letterTile.getColor()); in bind()
150 mBackgroundImageView.setBackgroundColor(letterTile.getColor()); in bind()
/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/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/utils/
DSelectableRowModel.java48 holder.layout.setBackgroundColor(color); in setColor()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/daydream/
DDaydreamVoiceAction.java39 view.setBackgroundColor(Color.BLACK); in onCreate()

12345