/frameworks/base/startop/apps/ColorChanging/app/src/main/java/com/android/startop/colorchanging/ |
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()
|
/frameworks/base/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/ |
D | VectorDrawableAnimation.java | 32 button.setBackgroundResource(R.drawable.animation_drawable_vector); in onCreate()
|
D | AnimatedStateVectorDrawableTest.java | 55 button.setBackgroundResource(icon[i]); in onCreate()
|
D | BitmapDrawableDupe.java | 68 button.setBackgroundResource(icon[i]); in onCreate()
|
D | VectorDrawable01.java | 84 button.setBackgroundResource(icon[i]); in onCreate()
|
D | AnimatedVectorDrawableTest.java | 74 button.setBackgroundResource(icon[i]); in onCreate()
|
D | AnimatedVectorDrawableDupPerf.java | 112 button.setBackgroundResource(icon[i]); in onCreate()
|
D | VectorDrawablePerformance.java | 133 button.setBackgroundResource(icon[i]); in onCreate()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | BilingualSuggestedLocaleAdapter.java | 147 background.setBackgroundResource(R.drawable.language_picker_item_bg_selected); in setItemState() 150 background.setBackgroundResource(0); in setItemState()
|
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()
|
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/view/ |
D | A11yMenuOverlayLayout.java | 220 mLayout.setBackgroundResource(R.drawable.shadow_90deg); in updateLayoutPosition() 231 mLayout.setBackgroundResource(R.drawable.shadow_270deg); in updateLayoutPosition() 240 mLayout.setBackgroundResource(R.drawable.shadow_0deg); in updateLayoutPosition()
|
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
D | LayoutInsetsTest.java | 38 b.setBackgroundResource(R.drawable.btn_default_normal); in create()
|
/frameworks/base/services/core/java/com/android/server/input/debug/ |
D | RotaryInputValueView.java | 69 setBackgroundResource(R.drawable.focus_event_rotary_input_background); in RotaryInputValueView()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
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()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/ |
D | RvBoxAdapter.java | 66 h.mTextView.setBackgroundResource(mBackground); in onCreateViewHolder()
|
/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
D | CustomControlView.java | 86 image.setBackgroundResource(R.drawable.animation); in createControls()
|
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | BackdropBlurActivity.java | 45 backgroundView.setBackgroundResource(R.drawable.robot_repeated); in onCreate()
|
/frameworks/base/core/java/com/android/internal/widget/ |
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()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
D | PrintContentView.java | 350 mExpandCollapseIcon.setBackgroundResource(R.drawable.ic_expand_less); in onDragProgress() 370 mExpandCollapseIcon.setBackgroundResource( in onDragProgress()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | StackEducationView.kt | 117 view.setBackgroundResource( in setDrawableDirection()
|
D | ManageEducationView.kt | 89 manageView.setBackgroundResource( in setDrawableDirection()
|
/frameworks/base/core/java/android/widget/ |
D | TabHost.java | 664 tabIndicator.setBackgroundResource(R.drawable.tab_indicator_v4); in createIndicatorView() 709 tabIndicator.setBackgroundResource(R.drawable.tab_indicator_v4); in createIndicatorView()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | MaximizeMenu.kt | 465 setBackgroundResource(R.drawable.desktop_mode_maximize_menu_layout_background) in deactivateSnapOptions() 477 setBackgroundResource( in activateSnapOption()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/binder/ |
D | MobileIconBinder.kt | 181 networkTypeContainer.setBackgroundResource(background?.res ?: 0) in <lambda>()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/ |
D | QuaresActivity.kt | 248 setBackgroundResource(R.drawable.pixel_bg)
|