Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/view/
DMutateDrawableTest.java44 assertNotSame(mFirstButton.getBackground(), mSecondButton.getBackground()); in testSetUpConditions()
49 assertNotSame(mFirstButton.getBackground().getConstantState(), in testDrawableCanMutate()
50 mSecondButton.getBackground().getConstantState()); in testDrawableCanMutate()
DMutateDrawable.java45 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/com/android/internal/widget/
DSizeAdaptiveLayoutTest.java424 panel.getBackground() instanceof ColorDrawable); in testModestyPanelChangesColorWhite()
425 ColorDrawable panelColor = (ColorDrawable) panel.getBackground(); in testModestyPanelChangesColorWhite()
426 ColorDrawable salColor = (ColorDrawable) mSizeAdaptiveLayout.getBackground(); in testModestyPanelChangesColorWhite()
436 panel.getBackground().getClass(), ColorDrawable.class); in testModestyPanelTracksStateListColor()
437 ColorDrawable panelColor = (ColorDrawable) panel.getBackground(); in testModestyPanelTracksStateListColor()
447 mSizeAdaptiveLayout.getBackground()); in testModestyPanelHasDefault()
449 panel.getBackground() instanceof ColorDrawable); in testModestyPanelHasDefault()
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/
DStateListDrawableTest.java52 mockView.getBackground().draw(null); in broken_testFocusScenarioSetStringWildcardFirst()
64 mockView.getBackground().draw(null); in broken_testFocusScenarioStateSetWildcardLast()
/frameworks/base/core/java/android/widget/
DSpinner.java273 return mPopup.getBackground(); in getPopupBackground()
486 measureContentWidth(getAdapter(), getBackground())), in onMeasure()
944 public Drawable getBackground(); in getBackground() method
1015 public Drawable getBackground() { in getBackground() method in Spinner.DialogPopup
1067 final Drawable background = getBackground(); in computeContentWidth()
1082 (SpinnerAdapter) mAdapter, getBackground()); in computeContentWidth()
DToggleButton.java127 updateReferenceToIndicatorDrawable(getBackground()); in onFinishInflate()
DListPopupWindow.java357 public Drawable getBackground() { in getBackground() method in ListPopupWindow
358 return mPopup.getBackground(); in getBackground()
478 Drawable popupBackground = mPopup.getBackground(); in setContentWidth()
1125 Drawable background = mPopup.getBackground();
DImageView.java209 return (getBackground() != null && getBackground().getCurrent() != null); in hasOverlappingRendering()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DListPopupWindow.java330 public Drawable getBackground() { in getBackground() method in ListPopupWindow
331 return mPopup.getBackground(); in getBackground()
440 Drawable popupBackground = mPopup.getBackground(); in setContentWidth()
1019 Drawable background = mPopup.getBackground(); in buildDropDown()
1106 if (mPopup.getBackground() != null) { in getMaxAvailableHeight()
1107 mPopup.getBackground().getPadding(mTempRect); in getMaxAvailableHeight()
DSpinnerICS.java282 measureContentWidth(getAdapter(), getBackground())), in onMeasure()
741 measureContentWidth((SpinnerAdapter) mAdapter, getBackground()), in show()
750 final Drawable background = getBackground(); in show()
/frameworks/base/core/java/android/transition/
DRecolor.java45 transitionValues.values.put(PROPNAME_BACKGROUND, transitionValues.view.getBackground()); in captureValues()
/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java271 if (text.getBackground().isStateful()) { in setState()
272 text.getBackground().setState(activeState); in setState()
274 if (tab.getBackground().isStateful()) { in setState()
275 tab.getBackground().setState(activeState); in setState()
337 final Drawable tabBackground = tab.getBackground(); in layout()
DSizeAdaptiveLayout.java99 Drawable background = getBackground(); in initialize()
/frameworks/opt/mailcommon/java/com/android/mailcommon/
DMultiAdapterSpinner.java149 final Drawable background = mPopup.getBackground(); in onClick()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteButton.java380 if (getBackground() != null) { in jumpDrawablesToCurrentState()
381 DrawableCompat.jumpToCurrentState(getBackground()); in jumpDrawablesToCurrentState()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DRecentApplicationsBackground.java54 mBackground = getBackground(); in init()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardAbsKeyInputView.java135 mBouncerFrame = bouncerFrameView.getBackground(); in onFinishInflate()
DKeyguardFaceUnlockView.java94 mBouncerFrame = bouncerFrameView.getBackground(); in onFinishInflate()
DKeyguardSelectorView.java160 mBouncerFrame = bouncerFrameView.getBackground(); in onFinishInflate()
DKeyguardPatternView.java149 mBouncerFrame = bouncerFrameView.getBackground(); in onFinishInflate()
/frameworks/support/v4/java/android/support/v4/view/
DPagerTabStrip.java118 if (getBackground() == null) { in PagerTabStrip()
DPagerTitleStrip.java463 final Drawable bg = getBackground(); in getMinHeight()
/frameworks/base/docs/html/guide/topics/graphics/
Ddrawable-animation.jd46 rocketAnimation = (AnimationDrawable) rocketImage.getBackground();
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DRecentsPanelView.java454 } else if (mRecentsScrim.getBackground() instanceof BitmapDrawable) { in onFinishInflate()
456 ((BitmapDrawable) mRecentsScrim.getBackground()).setTileModeY(TileMode.REPEAT); in onFinishInflate()

12