Home
last modified time | relevance | path

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

12345

/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/support/v7/appcompat/tests/src/android/support/v7/widget/
DAppCompatBaseViewTest.java76 Drawable background = view.getBackground(); in verifyBackgroundIsColoredAs()
100 assertNull("No background after XML loading", view.getBackground()); in testBackgroundTintingWithNoBackground()
104 assertNull("No background after disabling", view.getBackground()); in testBackgroundTintingWithNoBackground()
108 assertNull("No background after re-enabling", view.getBackground()); in testBackgroundTintingWithNoBackground()
119 assertNull("No background after disabling", view.getBackground()); in testBackgroundTintingWithNoBackground()
123 assertNull("No background after re-enabling", view.getBackground()); in testBackgroundTintingWithNoBackground()
144 assertNull("No background after XML loading", view.getBackground()); in testBackgroundTintingViewCompatWithNoBackground()
148 assertNull("No background after disabling", view.getBackground()); in testBackgroundTintingViewCompatWithNoBackground()
152 assertNull("No background after re-enabling", view.getBackground()); in testBackgroundTintingViewCompatWithNoBackground()
163 assertNull("No background after disabling", view.getBackground()); in testBackgroundTintingViewCompatWithNoBackground()
[all …]
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/widget/
DBackgroundHelperKitkat.java24 if (view.getBackground() != null) { in setBackgroundPreservingAlpha()
25 drawable.setAlpha(view.getBackground().getAlpha()); in setBackgroundPreservingAlpha()
/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/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/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()
/frameworks/support/v4/java/android/support/v4/widget/
DCircleImageView.java122 if (getBackground() instanceof ShapeDrawable) { in setBackgroundColor()
123 ((ShapeDrawable) getBackground()).getPaint().setColor(color); in setBackgroundColor()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
DTestUtils.java69 final Drawable backgroundDrawable = view.getBackground(); in getCombinedBackgroundBitmap()
98 ancestor.getBackground().draw(canvas); in getCombinedBackgroundBitmap()
/frameworks/base/core/java/android/widget/
DSpinner.java359 return mPopup.getBackground(); in getPopupBackground()
596 measureContentWidth(getAdapter(), getBackground())), in onMeasure()
1066 public Drawable getBackground(); in getBackground() method
1139 public Drawable getBackground() { in getBackground() method in Spinner.DialogPopup
1192 final Drawable background = getBackground(); in computeContentWidth()
1207 (SpinnerAdapter) mAdapter, getBackground()); in computeContentWidth()
DListPopupWindow.java374 public @Nullable Drawable getBackground() { in getBackground() method in ListPopupWindow
375 return mPopup.getBackground(); in getBackground()
506 Drawable popupBackground = mPopup.getBackground(); in setContentWidth()
1188 final Drawable background = mPopup.getBackground(); in buildDropDown()
/frameworks/base/core/java/android/view/
DViewOutlineProvider.java36 Drawable background = view.getBackground();
/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/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DViewBindingAdapterTest.java184 Drawable drawable = view.getBackground(); in testBackgroundDrawableDrawable()
191 assertNotNull(view.getBackground()); in testBackgroundDrawableWithTheme()
/frameworks/support/design/tests/src/android/support/design/testutils/
DTestUtilsMatchers.java202 Drawable background = view.getBackground();
251 fab.getBackground(), view.getWidth(), view.getHeight(), false,
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DAppCompatSpinner.java319 return mPopup.getBackground(); in getPopupBackground()
424 compatMeasureContentWidth(getAdapter(), getBackground())), in onMeasure()
738 final Drawable background = getBackground(); in computeContentWidth()
753 (SpinnerAdapter) mAdapter, getBackground()); in computeContentWidth()
DAppCompatImageHelper.java84 final Drawable background = mView.getBackground(); in hasOverlappingRendering()
/frameworks/support/v4/api21/android/support/v4/view/
DViewCompatLollipop.java93 Drawable background = view.getBackground(); in setBackgroundTintList()
115 Drawable background = view.getBackground(); in setBackgroundTintMode()
/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java277 if (text.getBackground().isStateful()) { in setState()
278 text.getBackground().setState(activeState); in setState()
280 if (tab.getBackground().isStateful()) { in setState()
281 tab.getBackground().setState(activeState); in setState()
343 final Drawable tabBackground = tab.getBackground(); in layout()
DBackgroundFallback.java58 final Drawable childBg = child.getBackground(); in draw()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DHeadersSupportFragment.java170 Drawable d = listView.getBackground(); in onViewCreated()
255 Drawable background = fadingView.getBackground(); in updateFadingEdgeToBrandColor()
DHeadersFragment.java168 Drawable d = listView.getBackground(); in onViewCreated()
253 Drawable background = fadingView.getBackground(); in updateFadingEdgeToBrandColor()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGuidedActionEditText.java76 mSavedBackground = getBackground(); in GuidedActionEditText()
DSearchOrbView.java363 if (mSearchOrbView.getBackground() instanceof GradientDrawable) { in setOrbViewColor()
364 ((GradientDrawable) mSearchOrbView.getBackground()).setColor(color); in setOrbViewColor()

12345