Home
last modified time | relevance | path

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

12

/frameworks/base/startop/apps/ColorChanging/app/src/main/java/com/android/startop/colorchanging/
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()
/frameworks/base/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/
DVectorDrawableAnimation.java32 button.setBackgroundResource(R.drawable.animation_drawable_vector); in onCreate()
DAnimatedStateVectorDrawableTest.java55 button.setBackgroundResource(icon[i]); in onCreate()
DBitmapDrawableDupe.java68 button.setBackgroundResource(icon[i]); in onCreate()
DVectorDrawable01.java84 button.setBackgroundResource(icon[i]); in onCreate()
DAnimatedVectorDrawableTest.java74 button.setBackgroundResource(icon[i]); in onCreate()
DAnimatedVectorDrawableDupPerf.java112 button.setBackgroundResource(icon[i]); in onCreate()
DVectorDrawablePerformance.java133 button.setBackgroundResource(icon[i]); in onCreate()
/frameworks/base/core/java/com/android/internal/app/
DBilingualSuggestedLocaleAdapter.java147 background.setBackgroundResource(R.drawable.language_picker_item_bg_selected); in setItemState()
150 background.setBackgroundResource(0); in setItemState()
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()
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/view/
DA11yMenuOverlayLayout.java220 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/
DLayoutInsetsTest.java38 b.setBackgroundResource(R.drawable.btn_default_normal); in create()
/frameworks/base/services/core/java/com/android/server/input/debug/
DRotaryInputValueView.java69 setBackgroundResource(R.drawable.focus_event_rotary_input_background); in RotaryInputValueView()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
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()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/
DRvBoxAdapter.java66 h.mTextView.setBackgroundResource(mBackground); in onCreateViewHolder()
/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DCustomControlView.java86 image.setBackgroundResource(R.drawable.animation); in createControls()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DBackdropBlurActivity.java45 backgroundView.setBackgroundResource(R.drawable.robot_repeated); in onCreate()
/frameworks/base/core/java/com/android/internal/widget/
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()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPrintContentView.java350 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/
DStackEducationView.kt117 view.setBackgroundResource( in setDrawableDirection()
DManageEducationView.kt89 manageView.setBackgroundResource( in setDrawableDirection()
/frameworks/base/core/java/android/widget/
DTabHost.java664 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/
DMaximizeMenu.kt465 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/
DMobileIconBinder.kt181 networkTypeContainer.setBackgroundResource(background?.res ?: 0) in <lambda>()
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/
DQuaresActivity.kt248 setBackgroundResource(R.drawable.pixel_bg)

12