Home
last modified time | relevance | path

Searched refs:setBackgroundResource (Results 1 – 25 of 35) sorted by relevance

12

/aosp14/frameworks/base/startop/apps/ColorChanging/app/src/main/java/com/android/startop/colorchanging/
H A DMainActivity.java33 view.setBackgroundResource(R.color.gray); in onCreate()
39 view.setBackgroundResource(R.color.red); in goRed()
45 view.setBackgroundResource(R.color.orange); in goOrange()
51 view.setBackgroundResource(R.color.yellow); in goYellow()
57 view.setBackgroundResource(R.color.green); in goGreen()
63 view.setBackgroundResource(R.color.blue); in goBlue()
69 view.setBackgroundResource(R.color.indigo); in goIndigo()
75 view.setBackgroundResource(R.color.violet); in goViolet()
81 view.setBackgroundResource(R.color.cyan); in goCyan()
87 view.setBackgroundResource(R.color.black); in goBlack()
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DBilingualSuggestedLocaleAdapter.java147 background.setBackgroundResource(R.drawable.language_picker_item_bg_selected); in setItemState()
150 background.setBackgroundResource(0); in setItemState()
H A DAlertController.java936 lastView.setBackgroundResource(lastLight ? topBright : topDark); in setBackground()
938 lastView.setBackgroundResource(lastLight ? centerBright : centerDark); in setBackground()
955 lastView.setBackgroundResource( in setBackground()
961 lastView.setBackgroundResource(lastLight ? fullBright : fullDark); in setBackground()
/aosp14/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
H A DVectorDrawableAnimation.java32 button.setBackgroundResource(R.drawable.animation_drawable_vector); in onCreate()
H A DAnimatedStateVectorDrawableTest.java55 button.setBackgroundResource(icon[i]); in onCreate()
H A DBitmapDrawableDupe.java68 button.setBackgroundResource(icon[i]); in onCreate()
H A DVectorDrawable01.java84 button.setBackgroundResource(icon[i]); in onCreate()
H A DAnimatedVectorDrawableTest.java74 button.setBackgroundResource(icon[i]); in onCreate()
H A DAnimatedVectorDrawableDupPerf.java112 button.setBackgroundResource(icon[i]); in onCreate()
H A DVectorDrawablePerformance.java133 button.setBackgroundResource(icon[i]); in onCreate()
/aosp14/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/view/
H A DA11yMenuOverlayLayout.java211 mLayout.setBackgroundResource(R.drawable.shadow_90deg); in updateLayoutPosition()
222 mLayout.setBackgroundResource(R.drawable.shadow_270deg); in updateLayoutPosition()
231 mLayout.setBackgroundResource(R.drawable.shadow_0deg); in updateLayoutPosition()
/aosp14/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
H A DAlertController.java656 lastView.setBackgroundResource(lastLight ? topBright : topDark); in setBackground()
658 lastView.setBackgroundResource(lastLight ? centerBright : centerDark); in setBackground()
675 lastView.setBackgroundResource( in setBackground()
681 lastView.setBackgroundResource(lastLight ? fullBright : fullDark); in setBackground()
/aosp14/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
H A DLayoutInsetsTest.java38 b.setBackgroundResource(R.drawable.btn_default_normal); in create()
/aosp14/frameworks/base/tests/GamePerformance/src/android/gameperformance/
H A DCustomControlView.java86 image.setBackgroundResource(R.drawable.animation); in createControls()
/aosp14/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/
H A DRvBoxAdapter.java66 h.mTextView.setBackgroundResource(mBackground); in onCreateViewHolder()
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java202 tab.setBackgroundResource(tabId); in Slider()
211 text.setBackgroundResource(barId); in Slider()
233 tab.setBackgroundResource(tabId); in setTabBackgroundResource()
237 text.setBackgroundResource(barId); in setBarBackgroundResource()
/aosp14/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
H A DPrintContentView.java350 mExpandCollapseIcon.setBackgroundResource(R.drawable.ic_expand_less); in onDragProgress()
370 mExpandCollapseIcon.setBackgroundResource( in onDragProgress()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DManageEducationView.kt85 manageView.setBackgroundResource(
H A DStackEducationView.kt115 view.setBackgroundResource(
/aosp14/frameworks/base/core/java/android/widget/
H A DTabHost.java664 tabIndicator.setBackgroundResource(R.drawable.tab_indicator_v4); in createIndicatorView()
709 tabIndicator.setBackgroundResource(R.drawable.tab_indicator_v4); in createIndicatorView()
/aosp14/frameworks/base/services/core/java/com/android/server/input/
H A DFocusEventDebugView.java263 setBackgroundResource(R.drawable.focus_event_pressed_key_background); in PressedKeyView()
/aosp14/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/
H A DQuaresActivity.kt248 setBackgroundResource(R.drawable.pixel_bg)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/footer/ui/binder/
H A DFooterActionsViewBinder.kt251 buttonView.setBackgroundResource(backgroundResource)
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
H A DDesktopModeVisualIndicator.java208 mView.setBackgroundResource(R.drawable.desktop_windowing_transition_background); in createIndicatorWithAnimatedBounds()
/aosp14/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/
H A DBatteryStatsViewerActivity.java369 viewHolder.itemView.setBackgroundResource(background); in setTitleIconAndBackground()

12