/frameworks/base/core/tests/coretests/src/android/view/ |
D | MutateDrawableTest.java | 44 assertNotSame(mFirstButton.getBackground(), mSecondButton.getBackground()); in testSetUpConditions() 49 assertNotSame(mFirstButton.getBackground().getConstantState(), in testDrawableCanMutate() 50 mSecondButton.getBackground().getConstantState()); in testDrawableCanMutate()
|
D | MutateDrawable.java | 45 ok.getBackground().mutate().setAlpha(127); in onCreate()
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ |
D | AppCompatBaseViewTest.java | 76 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/ |
D | BackgroundHelperKitkat.java | 24 if (view.getBackground() != null) { in setBackgroundPreservingAlpha() 25 drawable.setAlpha(view.getBackground().getAlpha()); in setBackgroundPreservingAlpha()
|
/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/graphics/tests/graphicstests/src/android/graphics/drawable/ |
D | StateListDrawableTest.java | 52 mockView.getBackground().draw(null); in broken_testFocusScenarioSetStringWildcardFirst() 64 mockView.getBackground().draw(null); in broken_testFocusScenarioStateSetWildcardLast()
|
/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()
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | CircleImageView.java | 122 if (getBackground() instanceof ShapeDrawable) { in setBackgroundColor() 123 ((ShapeDrawable) getBackground()).getPaint().setColor(color); in setBackgroundColor()
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/ |
D | TestUtils.java | 69 final Drawable backgroundDrawable = view.getBackground(); in getCombinedBackgroundBitmap() 98 ancestor.getBackground().draw(canvas); in getCombinedBackgroundBitmap()
|
/frameworks/base/core/java/android/widget/ |
D | Spinner.java | 359 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()
|
D | ListPopupWindow.java | 374 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/ |
D | ViewOutlineProvider.java | 36 Drawable background = view.getBackground();
|
/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/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
D | ViewBindingAdapterTest.java | 184 Drawable drawable = view.getBackground(); in testBackgroundDrawableDrawable() 191 assertNotNull(view.getBackground()); in testBackgroundDrawableWithTheme()
|
/frameworks/support/design/tests/src/android/support/design/testutils/ |
D | TestUtilsMatchers.java | 202 Drawable background = view.getBackground(); 251 fab.getBackground(), view.getWidth(), view.getHeight(), false,
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | AppCompatSpinner.java | 319 return mPopup.getBackground(); in getPopupBackground() 424 compatMeasureContentWidth(getAdapter(), getBackground())), in onMeasure() 738 final Drawable background = getBackground(); in computeContentWidth() 753 (SpinnerAdapter) mAdapter, getBackground()); in computeContentWidth()
|
D | AppCompatImageHelper.java | 84 final Drawable background = mView.getBackground(); in hasOverlappingRendering()
|
/frameworks/support/v4/api21/android/support/v4/view/ |
D | ViewCompatLollipop.java | 93 Drawable background = view.getBackground(); in setBackgroundTintList() 115 Drawable background = view.getBackground(); in setBackgroundTintMode()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SlidingTab.java | 277 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()
|
D | BackgroundFallback.java | 58 final Drawable childBg = child.getBackground(); in draw()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | HeadersSupportFragment.java | 170 Drawable d = listView.getBackground(); in onViewCreated() 255 Drawable background = fadingView.getBackground(); in updateFadingEdgeToBrandColor()
|
D | HeadersFragment.java | 168 Drawable d = listView.getBackground(); in onViewCreated() 253 Drawable background = fadingView.getBackground(); in updateFadingEdgeToBrandColor()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | GuidedActionEditText.java | 76 mSavedBackground = getBackground(); in GuidedActionEditText()
|
D | SearchOrbView.java | 363 if (mSearchOrbView.getBackground() instanceof GradientDrawable) { in setOrbViewColor() 364 ((GradientDrawable) mSearchOrbView.getBackground()).setColor(color); in setOrbViewColor()
|