/frameworks/base/core/tests/coretests/src/android/view/ |
D | MutateDrawableTest.java | 43 assertNotSame(mFirstButton.getBackground(), mSecondButton.getBackground()); in testSetUpConditions() 48 assertNotSame(mFirstButton.getBackground().getConstantState(), in testDrawableCanMutate() 49 mSecondButton.getBackground().getConstantState()); in testDrawableCanMutate()
|
D | MutateDrawable.java | 46 ok.getBackground().mutate().setAlpha(127); in onCreate()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/ |
D | DecorViewTest.java | 60 Drawable expectedBackground = mDecorView.getBackground(); in setBackgroundDrawableSameAsSetWindowBackground() 69 assertThat(mDecorView.getBackground()).isEqualTo(expectedBackground); in setBackgroundDrawableSameAsSetWindowBackground() 70 assertThat(mDecorView.getBackground()).isEqualTo(bitmapDrawable); in setBackgroundDrawableSameAsSetWindowBackground() 86 assertThat(decorView.getBackground()).isNotNull(); in setBackgroundWithNoWindow()
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
D | BaselineButtonsTest.java | 67 mPause.getBackground().getMinimumHeight()); in testLayout() 70 mPrev.getBackground().getMinimumHeight()); in testLayout() 73 mNext.getBackground().getMinimumHeight()); in testLayout()
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
D | StateListDrawableTest.java | 52 mockView.getBackground().draw(null); in broken_testFocusScenarioSetStringWildcardFirst() 64 mockView.getBackground().draw(null); in broken_testFocusScenarioStateSetWildcardLast()
|
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/items/ |
D | RecyclerItemAdapterTest.java | 129 assertNotNull("Background should be set", viewHolder.itemView.getBackground()); in testCreateViewHolder() 140 assertNull("Background should be null", viewHolder.itemView.getBackground()); in testCreateViewHolderNoBackground() 150 Drawable background = viewHolder.itemView.getBackground(); in testCreateViewHolderWithExistingBackground()
|
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
D | AnimatedVectorDrawableTest.java | 75 AnimatedVectorDrawable d = (AnimatedVectorDrawable) button.getBackground(); in onCreate() 102 AnimatedVectorDrawable d = (AnimatedVectorDrawable) v.getBackground(); in onClick()
|
D | VectorDrawableAnimation.java | 37 AnimationDrawable frameAnimation = (AnimationDrawable) v.getBackground(); in onCreate()
|
D | VectorDrawable01.java | 86 VectorDrawable vd = (VectorDrawable) button.getBackground(); in onCreate()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | BackgroundFallback.java | 78 final Drawable childBg = child.getBackground(); in draw() 104 || v.getAlpha() != 1f || !isOpaque(v.getBackground())) { in draw()
|
D | EmphasizedNotificationButton.java | 56 DrawableWrapper background = (DrawableWrapper) getBackground().mutate(); in EmphasizedNotificationButton()
|
D | SlidingTab.java | 283 if (text.getBackground().isStateful()) { in setState() 284 text.getBackground().setState(activeState); in setState() 286 if (tab.getBackground().isStateful()) { in setState() 287 tab.getBackground().setState(activeState); in setState() 349 final Drawable tabBackground = tab.getBackground(); in layout()
|
D | NotificationActionListLayout.java | 187 if (child.getBackground() instanceof RippleDrawable) { in onViewAdded() 188 ((RippleDrawable)child.getBackground()).setForceSoftware(true); in onViewAdded()
|
/frameworks/base/core/java/android/view/ |
D | ViewOutlineProvider.java | 36 Drawable background = view.getBackground();
|
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/ |
D | CarSetupWizardDesignLayoutTest.java | 53 ColorDrawable bg = (ColorDrawable) mCarSetupWizardLayout.getBackground(); in testShouldApplyLayoutBackground()
|
D | CarSetupWizardCompatLayoutTest.java | 451 assertThat(getDrawbleDefaultColor(primary.getBackground())) in testPartnerResourcesAreApplied() 477 ColorDrawable bg = (ColorDrawable) layout.getBackground(); in testShouldNotApplyLayoutBackground() 507 assertThat(getDrawbleDefaultColor(secondary.getBackground())) in testSetBackground()
|
/frameworks/base/core/java/android/widget/ |
D | Spinner.java | 368 return mPopup.getBackground(); in getPopupBackground() 618 measureContentWidth(getAdapter(), getBackground())), in onMeasure() 1099 public Drawable getBackground(); in getBackground() method 1173 public Drawable getBackground() { in getBackground() method in Spinner.DialogPopup 1226 final Drawable background = getBackground(); in computeContentWidth() 1241 (SpinnerAdapter) mAdapter, getBackground()); in computeContentWidth()
|
D | ListPopupWindow.java | 386 public @Nullable Drawable getBackground() { in getBackground() method in ListPopupWindow 387 return mPopup.getBackground(); in getBackground() 535 Drawable popupBackground = mPopup.getBackground(); in setContentWidth() 1252 final Drawable background = mPopup.getBackground(); in buildDropDown()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | ToggleBehavior.kt | 57 val ld = cvh.layout.getBackground() as LayerDrawable in bind()
|
D | TouchBehavior.kt | 74 val ld = cvh.layout.getBackground() as LayerDrawable in bind()
|
D | TemperatureControlBehavior.kt | 44 val ld = cvh.layout.getBackground() as LayerDrawable in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
D | MLand.java | 421 sun.getBackground().setTint(0); in reset() 424 sun.getBackground().setTintMode(PorterDuff.Mode.SRC_ATOP); in reset() 425 sun.getBackground().setTint(0xC0FF8000); in reset() 436 moon.getBackground().setAlpha(dark ? 255 : 128); in reset() 478 final Drawable bg = s.getBackground(); in reset() 1071 mScoreField.getBackground().setColorFilter(color, PorterDuff.Mode.SRC_ATOP); 1091 getBackground().setTintMode(PorterDuff.Mode.SRC_ATOP); 1093 getBackground().setTint(color); 1425 getBackground().setAlpha(0x40);
|
/frameworks/base/core/java/android/app/ |
D | EnterTransitionCoordinator.java | 351 Drawable background = decorView.getBackground(); in prepareEnter() 586 if (window != null && mReplacedBackground == decorView.getBackground()) { in onTransitionsComplete() 606 Drawable background = decorView.getBackground(); in startEnterTransition() 647 Drawable drawable = decorView.getBackground(); in stop()
|
/frameworks/base/core/java/android/transition/ |
D | Recolor.java | 52 transitionValues.values.put(PROPNAME_BACKGROUND, transitionValues.view.getBackground()); in captureValues()
|
/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
D | CustomControlView.java | 88 (AnimationDrawable)image.getBackground(); in createControls()
|