Searched refs:getBackground (Results 1 - 25 of 43) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/view/
H A DMutateDrawableTest.java44 assertNotSame(mFirstButton.getBackground(), mSecondButton.getBackground());
49 assertNotSame(mFirstButton.getBackground().getConstantState(),
50 mSecondButton.getBackground().getConstantState());
H A DMutateDrawable.java45 ok.getBackground().mutate().setAlpha(127);
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A DBaselineButtonsTest.java67 mPause.getBackground().getMinimumHeight());
70 mPrev.getBackground().getMinimumHeight());
73 mNext.getBackground().getMinimumHeight());
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/
H A DStateListDrawableTest.java52 mockView.getBackground().draw(null);
64 mockView.getBackground().draw(null);
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
H A DSizeAdaptiveLayoutTest.java424 panel.getBackground() instanceof ColorDrawable);
425 ColorDrawable panelColor = (ColorDrawable) panel.getBackground();
426 ColorDrawable salColor = (ColorDrawable) mSizeAdaptiveLayout.getBackground();
436 panel.getBackground().getClass(), ColorDrawable.class);
437 ColorDrawable panelColor = (ColorDrawable) panel.getBackground();
447 mSizeAdaptiveLayout.getBackground());
449 panel.getBackground() instanceof ColorDrawable);
/frameworks/base/core/java/android/widget/
H A DSpinner.java254 return mPopup.getBackground();
445 measureContentWidth(getAdapter(), getBackground())),
896 public Drawable getBackground(); method in interface:Spinner.SpinnerPopup
964 public Drawable getBackground() { method in class:Spinner.DialogPopup
1016 final Drawable background = getBackground();
1031 (SpinnerAdapter) mAdapter, getBackground());
H A DToggleButton.java127 updateReferenceToIndicatorDrawable(getBackground());
H A DListPopupWindow.java289 * of the size or content of the list. {@link #getBackground()} will fill any space
345 public Drawable getBackground() { method in class:ListPopupWindow
346 return mPopup.getBackground();
456 Drawable popupBackground = mPopup.getBackground();
1081 Drawable background = mPopup.getBackground();
H A DImageView.java207 return (getBackground() != null && getBackground().getCurrent() != null);
H A DActivityChooserView.java223 mActivityChooserContentBackground = mActivityChooserContent.getBackground();
H A DAutoCompleteTextView.java343 return mPopup.getBackground();
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DRecentApplicationsBackground.java54 mBackground = getBackground();
/frameworks/opt/mailcommon/java/com/android/mailcommon/
H A DMultiAdapterSpinner.java149 final Drawable background = mPopup.getBackground();
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DListPopupWindow.java278 * size or content of the list. {@link #getBackground()} will fill any space that is not used
330 public Drawable getBackground() { method in class:ListPopupWindow
331 return mPopup.getBackground();
440 Drawable popupBackground = mPopup.getBackground();
1019 Drawable background = mPopup.getBackground();
1106 if (mPopup.getBackground() != null) {
1107 mPopup.getBackground().getPadding(mTempRect);
H A DSpinnerICS.java282 measureContentWidth(getAdapter(), getBackground())),
741 measureContentWidth((SpinnerAdapter) mAdapter, getBackground()),
750 final Drawable background = getBackground();
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java271 if (text.getBackground().isStateful()) {
272 text.getBackground().setState(activeState);
274 if (tab.getBackground().isStateful()) {
275 tab.getBackground().setState(activeState);
337 final Drawable tabBackground = tab.getBackground();
H A DSizeAdaptiveLayout.java99 Drawable background = getBackground();
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteButton.java380 if (getBackground() != null) {
381 DrawableCompat.jumpToCurrentState(getBackground());
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardAbsKeyInputView.java131 mBouncerFrame = bouncerFrameView.getBackground();
H A DKeyguardFaceUnlockView.java95 mBouncerFrame = bouncerFrameView.getBackground();
H A DKeyguardSelectorView.java155 mBouncerFrame = bouncerFrameView.getBackground();
H A DKeyguardPatternView.java149 mBouncerFrame = bouncerFrameView.getBackground();
/frameworks/support/v4/java/android/support/v4/view/
H A DPagerTabStrip.java118 if (getBackground() == null) {
H A DPagerTitleStrip.java463 final Drawable bg = getBackground();
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DRecentsPanelView.java472 } else if (mRecentsScrim.getBackground() instanceof BitmapDrawable) {
474 ((BitmapDrawable) mRecentsScrim.getBackground()).setTileModeY(TileMode.REPEAT);

Completed in 1494 milliseconds

12