Home
last modified time | relevance | path

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

123456

/packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/
DVoicePlateController.java81 mContainer.setBackgroundColor(mContext in doUpdateState()
86 mContainer.setBackgroundColor(mContext in doUpdateState()
91 mContainer.setBackgroundColor(mContext in doUpdateState()
96 mContainer.setBackgroundColor(mContext in doUpdateState()
101 mContainer.setBackgroundColor(mContext in doUpdateState()
/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/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DHighlightablePreferenceGroupAdapter.java176 v.setBackgroundColor(mHighlightColor); in addHighlightBackground()
188 animator -> v.setBackgroundColor((int) animator.getAnimatedValue())); in addHighlightBackground()
219 animator -> v.setBackgroundColor((int) animator.getAnimatedValue())); in removeHighlightBackground()
/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/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/Settings/src/com/android/settings/widget/
DHighlightablePreferenceGroupAdapter.java231 v.setBackgroundColor(mHighlightColor); in addHighlightBackground()
243 animator -> v.setBackgroundColor((int) animator.getAnimatedValue())); in addHighlightBackground()
274 animator -> v.setBackgroundColor((int) animator.getAnimatedValue())); in removeHighlightBackground()
/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/apps/Launcher3/src/com/android/launcher3/views/
DScrimView.java74 public void setBackgroundColor(int color) { in setBackgroundColor() method in ScrimView
78 super.setBackgroundColor(color); in setBackgroundColor()
/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()
172 result.setBackgroundColor(result.getContext().getColor(R.color.test_call_c_color)); in getView()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertDialogTest.java509 verify(mMockLinearLayout, atLeastOnce()).setBackgroundColor(eq(0xFFFF0000)); in testPulsationHandlerStart()
541 verify(mMockLinearLayout, times(1)).setBackgroundColor( in testPulsationRestartOnNewIntent()
555 verify(mMockLinearLayout, atLeastOnce()).setBackgroundColor(eq(0xFFFFFFFF)); in testPulsationRestartOnNewIntent()
576 verify(mMockLinearLayout, times(1)).setBackgroundColor(eq(0xFFFF0000)); in testPulsationHandlerHandleMessageAndStop()
585 verify(mMockLinearLayout, times(1)).setBackgroundColor(eq(backgroundColor)); in testPulsationHandlerHandleMessageAndStop()
594 verify(mMockLinearLayout, times(2)).setBackgroundColor(eq(0xFFFF0000)); in testPulsationHandlerHandleMessageAndStop()
602 verify(mMockLinearLayout, times(2)).setBackgroundColor(eq(backgroundColor)); in testPulsationHandlerHandleMessageAndStop()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DCaptioningBackgroundColorControllerTest.java108 captionHelper.setBackgroundColor(0xFFFF0000); in setNoneColorValue_shouldNotHaveColor()
119 captionHelper.setBackgroundColor(0x80FF0000); in setRedValueFromNoneValue_halfOpacityRedColor_shouldReturnExpectedColor()
/packages/apps/Settings/src/com/android/settings/accessibility/
DCaptioningPreviewPreferenceController.java123 previewWindow.setBackgroundColor(style.windowColor); in refreshPreviewText()
126 previewWindow.setBackgroundColor(defStyle.windowColor); in refreshPreviewText()
/packages/services/Car/tests/ThemePlayground/src/com/android/car/themeplayground/
DAbstractSampleActivity.java151 dialogLayout.setBackgroundColor(color); in setupBackgroundColorControls()
160 dialogLayout.setBackgroundColor(android.R.color.black); in setupBackgroundColorControls()
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxCodeProvider/src/com/android/sdksandboxcode_1/
DSampleSandboxedSdkProvider.java109 textView.setBackgroundColor( in getView()
119 rl.setBackgroundColor( in getView()
134 editText.setBackgroundColor(Color.BLUE); in getView()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/
DTwoPanelSettingsFragment.java1002 previewPanel.setBackgroundColor(previewPanelColor); in moveToPanel()
1004 previewPanelHead.setBackgroundColor(previewPanelColor); in moveToPanel()
1033 scrollToPanel.setBackgroundColor(mainPanelColor); in moveToPanel()
1035 scrollToPanelHead.setBackgroundColor(mainPanelColor); in moveToPanel()
1068 previewPanel.setBackgroundColor(previewPanelColor); in moveToPanel()
1070 previewPanelHead.setBackgroundColor(previewPanelColor); in moveToPanel()
1073 scrollToPanel.setBackgroundColor(mainPanelColor); in moveToPanel()
1075 scrollToPanelHead.setBackgroundColor(mainPanelColor); in moveToPanel()
/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/Car/Launcher/app/src/com/android/car/carlauncher/
DCarLauncherViewModel.java172 mRemoteCarTaskView.getValue().setBackgroundColor(Color.TRANSPARENT); in onTaskAppeared()
186 mRemoteCarTaskView.getValue().setBackgroundColor(Color.RED); in onTaskVanished()
/packages/apps/Calendar/src/com/android/calendar/
DStickyHeaderListView.kt219 mSeparatorView?.setBackgroundColor(color) in setHeaderSeparator()
369 mNonessentialHeader?.setBackgroundColor(Color.TRANSPARENT) in setChildViews()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperSurfaceCallback.java195 mHomeImageWallpaper.setBackgroundColor(bkgColor); in setupSurfaceWallpaper()
196 mWallpaperSurface.setBackgroundColor(bkgColor); in setupSurfaceWallpaper()
/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()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/
DPreviewFragment.java192 bottomBar.setBackgroundColor(bottomBarColor); in setupScrimLayerAndBottomBar()
253 addOrSelectButton.setBackgroundColor(buttonBackgroundColor); in setCustomButtonColorsInLongPressPreviewMode()
314 addButton.setBackgroundColor(buttonFillColor); in setCustomButtonColorsInViewSelectedPreviewMode()

123456