Home
last modified time | relevance | path

Searched refs:setBackgroundResource (Results 1 – 25 of 26) 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/packages/SettingsLib/SettingsSpinner/src/com/android/settingslib/widget/settingsspinner/
DSettingsSpinner.java42 setBackgroundResource(R.drawable.settings_spinner_background); in SettingsSpinner()
61 setBackgroundResource(R.drawable.settings_spinner_background); in SettingsSpinner()
75 setBackgroundResource(R.drawable.settings_spinner_background); in SettingsSpinner()
93 setBackgroundResource(R.drawable.settings_spinner_background); in SettingsSpinner()
/frameworks/base/tests/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/tests/GridLayoutTest/src/com/android/test/layout/
DLayoutInsetsTest.java38 b.setBackgroundResource(R.drawable.btn_default_normal); in create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
DMLand.java416 sun.setBackgroundResource(R.drawable.sun); in reset()
435 moon.setBackgroundResource(R.drawable.moon); in reset()
1090 setBackgroundResource(R.drawable.android);
1246 setBackgroundResource(R.drawable.mm_head);
1405 setBackgroundResource(pick(CACTI));
1416 setBackgroundResource(pick(MOUNTAINS));
1424 setBackgroundResource(frand() < 0.01f ? R.drawable.cloud_off : R.drawable.cloud);
1435 setBackgroundResource(R.drawable.star);
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/
DRvBoxAdapter.java66 h.mTextView.setBackgroundResource(mBackground); in onCreateViewHolder()
/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java205 tab.setBackgroundResource(tabId); in Slider()
214 text.setBackgroundResource(barId); in Slider()
236 tab.setBackgroundResource(tabId); in setTabBackgroundResource()
240 text.setBackgroundResource(barId); in setBarBackgroundResource()
DActionBarView.java162 setBackgroundResource(0); in ActionBarView()
/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/core/java/android/widget/
DTabHost.java640 tabIndicator.setBackgroundResource(R.drawable.tab_indicator_v4); in createIndicatorView()
685 tabIndicator.setBackgroundResource(R.drawable.tab_indicator_v4); in createIndicatorView()
DFastScroller.java499 mPreviewImage.setBackgroundResource(previewResId); in setScrollbarPosition()
DEditor.java3102 mContentView.setBackgroundResource( in initContentView()
6391 mView.setBackgroundResource(mPopupInlineErrorBackgroundId);
6406 mView.setBackgroundResource(
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java904 lastView.setBackgroundResource(lastLight ? topBright : topDark); in setBackground()
906 lastView.setBackgroundResource(lastLight ? centerBright : centerDark); in setBackground()
923 lastView.setBackgroundResource( in setBackground()
929 lastView.setBackgroundResource(lastLight ? fullBright : fullDark); in setBackground()
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/
DQuaresActivity.kt247 setBackgroundResource(R.drawable.pixel_bg)
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java2198 view.findViewById(R.id.maximize_window).setBackgroundResource( in setLightDecorCaptionShade()
2200 view.findViewById(R.id.close_window).setBackgroundResource( in setLightDecorCaptionShade()
2205 view.findViewById(R.id.maximize_window).setBackgroundResource( in setDarkDecorCaptionShade()
2207 view.findViewById(R.id.close_window).setBackgroundResource( in setDarkDecorCaptionShade()
/frameworks/base/core/java/android/view/
DView.java23255 public void setBackgroundResource(@DrawableRes int resid) { in setBackgroundResource() method in View
/frameworks/base/config/
Dboot-image-profile.txt17169 HSPLandroid/view/View;->setBackgroundResource(I)V
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt33651 method public void setBackgroundResource(int);
/frameworks/base/non-updatable-api/
Dcurrent.txt51884 method public void setBackgroundResource(@DrawableRes int);

12