/frameworks/base/core/tests/coretests/src/android/view/ |
D | MutateDrawableTest.java | 43 assertNotSame(mFirstButton.getBackground(), mSecondButton.getBackground()); in testSetUpConditions() 48 assertNotSame(mFirstButton.getBackground().getConstantState(), in testDrawableCanMutate() 49 mSecondButton.getBackground().getConstantState()); in testDrawableCanMutate()
|
D | MutateDrawable.java | 46 ok.getBackground().mutate().setAlpha(127); in onCreate()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/ |
D | DecorViewTest.java | 60 Drawable expectedBackground = mDecorView.getBackground(); in setBackgroundDrawableSameAsSetWindowBackground() 69 assertThat(mDecorView.getBackground()).isEqualTo(expectedBackground); in setBackgroundDrawableSameAsSetWindowBackground() 70 assertThat(mDecorView.getBackground()).isEqualTo(bitmapDrawable); in setBackgroundDrawableSameAsSetWindowBackground() 86 assertThat(decorView.getBackground()).isNotNull(); in setBackgroundWithNoWindow()
|
/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/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | CaptionWindowDecoration.java | 191 final GradientDrawable captionDrawable = (GradientDrawable) caption.getBackground(); in setCaptionColor() 202 final VectorDrawable backBackground = (VectorDrawable) back.getBackground(); in setCaptionColor() 206 final VectorDrawable minimizeBackground = (VectorDrawable) minimize.getBackground(); in setCaptionColor() 210 final VectorDrawable maximizeBackground = (VectorDrawable) maximize.getBackground(); in setCaptionColor() 214 final VectorDrawable closeBackground = (VectorDrawable) close.getBackground(); in setCaptionColor()
|
D | DesktopModeWindowDecoration.java | 316 final VectorDrawable handleBackground = (VectorDrawable) handle.getBackground(); in setButtonVisibility() 330 final GradientDrawable captionDrawable = (GradientDrawable) caption.getBackground(); in setCaptionColor() 341 final Drawable handleBackground = handle.getBackground(); in setCaptionColor() 345 final Drawable backBackground = back.getBackground(); in setCaptionColor() 348 final Drawable closeBackground = close.getBackground(); in setCaptionColor()
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
D | StateListDrawableTest.java | 52 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/ |
D | RecyclerItemAdapterTest.java | 129 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/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/ |
D | LetterboxEduDialogLayoutTest.java | 74 assertEquals(mLayout.getBackgroundDimDrawable(), mLayout.getBackground()); in testOnFinishInflate() 75 assertEquals(mLayout.getBackground().getAlpha(), 0); in testOnFinishInflate()
|
D | RestartDialogLayoutTest.java | 84 assertEquals(mLayout.getBackgroundDimDrawable(), mLayout.getBackground()); in testOnFinishInflate() 85 assertEquals(mLayout.getBackground().getAlpha(), 0); in testOnFinishInflate()
|
/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/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
D | BannerMessagePreferenceTest.java | 358 Drawable mCardBackgroundSpy = spy(mRootView.getBackground()); in onBindViewHolder_whenAtLeastS_whenAttentionUnset_setsHighTheme() 375 Drawable mCardBackgroundSpy = spy(mRootView.getBackground()); in onBindViewHolder_whenAtLeastS_whenAttentionHighByXML_setsHighTheme() 396 Drawable mCardBackgroundSpy = spy(mRootView.getBackground()); in onBindViewHolder_whenAtLeastS_whenAttentionMediumByXML_setsMediumTheme() 417 Drawable mCardBackgroundSpy = spy(mRootView.getBackground()); in onBindViewHolder_whenAtLeastS_whenAttentionLowByXML_setsLowTheme() 438 Drawable mCardBackgroundSpy = spy(mRootView.getBackground()); in setAttentionLevel_whenAtLeastS_whenHighAttention_setsHighTheme() 456 Drawable mCardBackgroundSpy = spy(mRootView.getBackground()); in setAttentionLevel_whenAtLeastS_whenMedAttention_setsMediumTheme() 474 Drawable mCardBackgroundSpy = spy(mRootView.getBackground()); in setAttentionLevel_whenAtLeastS_whenLowAttention_setsLowTheme()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | BubbleBadgeIconFactory.java | 48 userBadgedAppIcon = new CircularAdaptiveIcon(ad.getBackground(), ad.getForeground()); in getBadgeBitmap() 111 if ((d = getBackground()) != null) { in draw()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | BackgroundFallback.java | 78 final Drawable childBg = child.getBackground(); in draw() 104 || v.getAlpha() != 1f || !isOpaque(v.getBackground())) { in draw()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/ |
D | MediaOutputBaseAdapter.java | 237 mItemLayout.getBackground().setColorFilter(new PorterDuffColorFilter( in setSingleLineLayout() 242 mIconAreaLayout.getBackground().setColorFilter(new PorterDuffColorFilter( in setSingleLineLayout() 420 mIconAreaLayout.getBackground().setColorFilter( in updateTitleIcon() 446 (GradientDrawable) mItemLayout.getBackground(); in animateCornerAndVolume() 452 ? mIconAreaLayout.getBackground() in animateCornerAndVolume()
|
/frameworks/base/core/java/android/view/ |
D | ViewOutlineProvider.java | 36 Drawable background = view.getBackground();
|
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/ |
D | CarSetupWizardDesignLayoutTest.java | 53 ColorDrawable bg = (ColorDrawable) mCarSetupWizardLayout.getBackground(); in testShouldApplyLayoutBackground()
|
/frameworks/base/core/java/android/widget/ |
D | Spinner.java | 368 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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardIndicationTextView.java | 211 if (mKeyguardIndicationInfo.getBackground() != null) { in setNextIndication() 216 setBackground(mKeyguardIndicationInfo.getBackground()); in setNextIndication()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | ToggleBehavior.kt | 57 val ld = cvh.layout.getBackground() as LayerDrawable in bind()
|
D | TouchBehavior.kt | 74 val ld = cvh.layout.getBackground() as LayerDrawable in bind()
|
D | TemperatureControlBehavior.kt | 44 val ld = cvh.layout.getBackground() as LayerDrawable in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/ |
D | LetterboxEduDialogLayout.java | 93 mBackgroundDim = getBackground().mutate(); in onFinishInflate()
|
/frameworks/base/core/java/android/app/ |
D | EnterTransitionCoordinator.java | 355 Drawable background = decorView.getBackground(); in prepareEnter() 590 if (window != null && mReplacedBackground == decorView.getBackground()) { in onTransitionsComplete() 610 Drawable background = decorView.getBackground(); in startEnterTransition() 651 Drawable drawable = decorView.getBackground(); in stop()
|