Home
last modified time | relevance | path

Searched refs:getBackground (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/view/
DMutateDrawableTest.java43 assertNotSame(mFirstButton.getBackground(), mSecondButton.getBackground()); in testSetUpConditions()
48 assertNotSame(mFirstButton.getBackground().getConstantState(), in testDrawableCanMutate()
49 mSecondButton.getBackground().getConstantState()); in testDrawableCanMutate()
DMutateDrawable.java46 ok.getBackground().mutate().setAlpha(127); in onCreate()
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DBaselineButtonsTest.java67 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/
DStateListDrawableTest.java52 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/
DRecyclerItemAdapterTest.java129 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/
DAnimatedVectorDrawableTest.java75 AnimatedVectorDrawable d = (AnimatedVectorDrawable) button.getBackground(); in onCreate()
102 AnimatedVectorDrawable d = (AnimatedVectorDrawable) v.getBackground(); in onClick()
DVectorDrawableAnimation.java37 AnimationDrawable frameAnimation = (AnimationDrawable) v.getBackground(); in onCreate()
DVectorDrawable01.java86 VectorDrawable vd = (VectorDrawable) button.getBackground(); in onCreate()
/frameworks/base/core/java/com/android/internal/widget/
DBackgroundFallback.java78 final Drawable childBg = child.getBackground(); in draw()
104 || v.getAlpha() != 1f || !isOpaque(v.getBackground())) { in draw()
DEmphasizedNotificationButton.java56 DrawableWrapper background = (DrawableWrapper) getBackground().mutate(); in EmphasizedNotificationButton()
DSlidingTab.java283 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()
DNotificationActionListLayout.java187 if (child.getBackground() instanceof RippleDrawable) { in onViewAdded()
188 ((RippleDrawable)child.getBackground()).setForceSoftware(true); in onViewAdded()
/frameworks/base/core/java/android/view/
DViewOutlineProvider.java36 Drawable background = view.getBackground();
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/
DCarSetupWizardDesignLayoutTest.java53 ColorDrawable bg = (ColorDrawable) mCarSetupWizardLayout.getBackground(); in testShouldApplyLayoutBackground()
DCarSetupWizardCompatLayoutTest.java444 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/
DSpinner.java368 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()
DListPopupWindow.java383 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()
DToggleButton.java142 updateReferenceToIndicatorDrawable(getBackground()); in onFinishInflate()
/frameworks/base/core/java/android/app/
DEnterTransitionCoordinator.java350 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()
DExitTransitionCoordinator.java243 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/
DMLand.java421 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/
DRecolor.java52 transitionValues.values.put(PROPNAME_BACKGROUND, transitionValues.view.getBackground()); in captureValues()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DGlifStyleTest.java55 assertThat(button.getBackground()).named("background").isNotNull(); in testSuwGlifButtonTertiary()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDetailClipper.java36 mBackground = (TransitionDrawable) detail.getBackground(); in QSDetailClipper()
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
DPhoneWindowTest.java101 Drawable backgroundDrawable = mPhoneWindow.getDecorView().getBackground(); in testWindowBackground_colorLiteral()

123