/aosp14/frameworks/base/startop/apps/ColorChanging/app/src/main/java/com/android/startop/colorchanging/ |
H A D | MainActivity.java | 33 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 D | BilingualSuggestedLocaleAdapter.java | 147 background.setBackgroundResource(R.drawable.language_picker_item_bg_selected); in setItemState() 150 background.setBackgroundResource(0); in setItemState()
|
H A D | AlertController.java | 936 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 D | VectorDrawableAnimation.java | 32 button.setBackgroundResource(R.drawable.animation_drawable_vector); in onCreate()
|
H A D | AnimatedStateVectorDrawableTest.java | 55 button.setBackgroundResource(icon[i]); in onCreate()
|
H A D | BitmapDrawableDupe.java | 68 button.setBackgroundResource(icon[i]); in onCreate()
|
H A D | VectorDrawable01.java | 84 button.setBackgroundResource(icon[i]); in onCreate()
|
H A D | AnimatedVectorDrawableTest.java | 74 button.setBackgroundResource(icon[i]); in onCreate()
|
H A D | AnimatedVectorDrawableDupPerf.java | 112 button.setBackgroundResource(icon[i]); in onCreate()
|
H A D | VectorDrawablePerformance.java | 133 button.setBackgroundResource(icon[i]); in onCreate()
|
/aosp14/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/view/ |
H A D | A11yMenuOverlayLayout.java | 211 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 D | AlertController.java | 656 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 D | LayoutInsetsTest.java | 38 b.setBackgroundResource(R.drawable.btn_default_normal); in create()
|
/aosp14/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
H A D | CustomControlView.java | 86 image.setBackgroundResource(R.drawable.animation); in createControls()
|
/aosp14/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/ |
H A D | RvBoxAdapter.java | 66 h.mTextView.setBackgroundResource(mBackground); in onCreateViewHolder()
|
/aosp14/frameworks/base/core/java/com/android/internal/widget/ |
H A D | SlidingTab.java | 202 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 D | PrintContentView.java | 350 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 D | ManageEducationView.kt | 85 manageView.setBackgroundResource(
|
H A D | StackEducationView.kt | 115 view.setBackgroundResource(
|
/aosp14/frameworks/base/core/java/android/widget/ |
H A D | TabHost.java | 664 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 D | FocusEventDebugView.java | 263 setBackgroundResource(R.drawable.focus_event_pressed_key_background); in PressedKeyView()
|
/aosp14/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/ |
H A D | QuaresActivity.kt | 248 setBackgroundResource(R.drawable.pixel_bg)
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/footer/ui/binder/ |
H A D | FooterActionsViewBinder.kt | 251 buttonView.setBackgroundResource(backgroundResource)
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/ |
H A D | DesktopModeVisualIndicator.java | 208 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 D | BatteryStatsViewerActivity.java | 369 viewHolder.itemView.setBackgroundResource(background); in setTitleIconAndBackground()
|