Home
last modified time | relevance | path

Searched refs:setBackgroundDrawable (Results 1 – 25 of 70) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/view/
DDrawableBgMinSize.java73 mTextView.setBackgroundDrawable(newBg); in changeBackgrounds()
74 mLinearLayout.setBackgroundDrawable(newBg); in changeBackgrounds()
75 mRelativeLayout.setBackgroundDrawable(newBg); in changeBackgrounds()
76 mFrameLayout.setBackgroundDrawable(newBg); in changeBackgrounds()
77 mAbsoluteLayout.setBackgroundDrawable(newBg); in changeBackgrounds()
DMutateDrawable.java35 ok.setBackgroundDrawable(getResources().getDrawable( in onCreate()
40 cancel.setBackgroundDrawable(getResources().getDrawable( in onCreate()
/frameworks/base/core/java/android/widget/
DToggleButton.java146 public void setBackgroundDrawable(Drawable d) { in setBackgroundDrawable() method in ToggleButton
147 super.setBackgroundDrawable(d); in setBackgroundDrawable()
DSpinner.java286 popup.setBackgroundDrawable(pa.getDrawable(R.styleable.Spinner_popupBackground)); in Spinner()
343 mPopup.setBackgroundDrawable(background); in setPopupBackgroundDrawable()
1096 public void setBackgroundDrawable(Drawable bg); in setBackgroundDrawable() method
1158 public void setBackgroundDrawable(Drawable bg) { in setBackgroundDrawable() method in Spinner.DialogPopup
/frameworks/ex/framesequence/samples/FrameSequenceSamples/src/com/android/framesequence/samples/
DFrameSequenceTest.java113 drawableView.setBackgroundDrawable(mDrawable); in onResume()
125 drawableView.setBackgroundDrawable(null); in onPause()
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
DPhoneWindowTest.java126 mPhoneWindow.setBackgroundDrawable(new ColorDrawable(Color.CYAN)); in testWindowBackgroundFallbackWithExplicitBackgroundSet_colorLiteral()
129 mPhoneWindow.setBackgroundDrawable(null); in testWindowBackgroundFallbackWithExplicitBackgroundSet_colorLiteral()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DDatePickerActivity.java36 getWindow().setBackgroundDrawable(new ColorDrawable(0xffffffff)); in onCreate()
DTransparentListActivity.java82 getWindow().setBackgroundDrawable(getResources().getDrawable(R.drawable.gradient)); in onCreate()
DTextGammaActivity.java67 getWindow().setBackgroundDrawable(new ColorDrawable(0xffffffff)); in onCreate()
DPointsActivity.java41 getWindow().setBackgroundDrawable(new ColorDrawable(0xff000000)); in onCreate()
DColoredRectsActivity.java37 getWindow().setBackgroundDrawable(new ColorDrawable(0xff000000)); in onCreate()
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DDpiTestActivity.java172 view.setBackgroundDrawable(d); in addBitmapDrawable()
183 view.setBackgroundDrawable(d); in addResourceDrawable()
205 view.setBackgroundDrawable(d); in addNinePatchResourceDrawable()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DTrivialAnimationActivity.java28 getWindow().setBackgroundDrawable(new ColorDrawable() { in onCreate()
DFullscreenOverdrawActivity.java74 getWindow().setBackgroundDrawable(overdraw); in onCreate()
DActivityTransitionDetails.java40 getWindow().setBackgroundDrawable(new ColorDrawable(Color.DKGRAY)); in onCreate()
DSaveLayerInterleaveActivity.java38 getWindow().setBackgroundDrawable(new Drawable() { in onCreate()
DActivityTransition.java92 getWindow().setBackgroundDrawable(new ColorDrawable(Color.BLACK)); in onCreate()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAppProgress.java289 getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT)); in onCreate()
334 getWindow().setBackgroundDrawable(new ColorDrawable(attribute.data)); in initView()
336 getWindow().setBackgroundDrawable(getResources().getDrawable(attribute.resourceId, in initView()
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuPresenter.java86 v.setBackgroundDrawable(parent.getItemBackgroundDrawable());
115 mMoreView.setBackgroundDrawable(menuView.getItemBackgroundDrawable());
/frameworks/base/core/java/android/app/
DEnterTransitionCoordinator.java355 getWindow().setBackgroundDrawable(null); in prepareEnter()
359 getWindow().setBackgroundDrawable(background); in prepareEnter()
578 window.setBackgroundDrawable(null); in onTransitionsComplete()
596 getWindow().setBackgroundDrawable(background); in startEnterTransition()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DIllustrationTest.java54 illustration.setBackgroundDrawable(backgroundDrawable); in testAspectRatio()
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DStateListDrawableTest.java76 mockView.setBackgroundDrawable(slDrawable); in setUp()
/frameworks/base/core/java/com/android/internal/widget/
DAccountItemView.java83 mAccountIcon.setBackgroundDrawable(drawable); in setAccountIcon()
DDecorToolbar.java100 void setBackgroundDrawable(Drawable d); in setBackgroundDrawable() method
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DCompareActivity.java57 getWindow().setBackgroundDrawable(new ColorDrawable(0xffefefef)); in onCreateCommon()

123