/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/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 | 444 assertThat(getDrawbleDefaultColor(primary.getBackground())) in testPartnerResourcesAreApplied() 470 ColorDrawable bg = (ColorDrawable) layout.getBackground(); in testShouldNotApplyLayoutBackground() 500 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 | 383 public @Nullable Drawable getBackground() { in getBackground() method in ListPopupWindow 384 return mPopup.getBackground(); in getBackground() 528 Drawable popupBackground = mPopup.getBackground(); in setContentWidth() 1235 final Drawable background = mPopup.getBackground(); in buildDropDown()
|
D | ToggleButton.java | 142 updateReferenceToIndicatorDrawable(getBackground()); in onFinishInflate()
|
/frameworks/base/core/java/android/app/ |
D | EnterTransitionCoordinator.java | 350 Drawable background = decorView.getBackground(); in prepareEnter() 577 if (window != null && mReplacedBackground == decorView.getBackground()) { in onTransitionsComplete() 593 Drawable background = decorView.getBackground(); in startEnterTransition() 634 Drawable drawable = decorView.getBackground(); in stop()
|
D | ExitTransitionCoordinator.java | 243 if (decorView != null && decorView.getBackground() == null) { in startExit() 296 if (decor != null && (background = decor.getBackground()) != null) { in fadeOutBackground()
|
/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/transition/ |
D | Recolor.java | 52 transitionValues.values.put(PROPNAME_BACKGROUND, transitionValues.view.getBackground()); in captureValues()
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/ |
D | GlifStyleTest.java | 55 assertThat(button.getBackground()).named("background").isNotNull(); in testSuwGlifButtonTertiary()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSDetailClipper.java | 36 mBackground = (TransitionDrawable) detail.getBackground(); in QSDetailClipper()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/ |
D | PhoneWindowTest.java | 101 Drawable backgroundDrawable = mPhoneWindow.getDecorView().getBackground(); in testWindowBackground_colorLiteral()
|