/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/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/bar/ |
D | BubbleBarHandleViewTest.java | 51 assertTrue(mHandleView.getBackground() instanceof ColorDrawable); in testUpdateHandleColor_lightBg() 52 ColorDrawable bgDrawable = (ColorDrawable) mHandleView.getBackground(); in testUpdateHandleColor_lightBg() 62 assertTrue(mHandleView.getBackground() instanceof ColorDrawable); in testUpdateHandleColor_darkBg() 63 ColorDrawable bgDrawable = (ColorDrawable) mHandleView.getBackground(); in testUpdateHandleColor_darkBg()
|
/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/tests/Input/src/com/android/server/input/debug/ |
D | RotaryInputValueViewTest.java | 75 assertNull(mRotaryInputValueView.getBackground().getColorFilter()); in updateActivityStatus_setsAndRemovesColorFilter() 79 assertNotNull(mRotaryInputValueView.getBackground().getColorFilter()); in updateActivityStatus_setsAndRemovesColorFilter() 83 assertNull(mRotaryInputValueView.getBackground().getColorFilter()); in updateActivityStatus_setsAndRemovesColorFilter()
|
/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/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/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | CaptionWindowDecoration.java | 267 final GradientDrawable captionDrawable = (GradientDrawable) caption.getBackground(); in setCaptionColor() 278 final VectorDrawable backBackground = (VectorDrawable) back.getBackground(); in setCaptionColor() 282 final VectorDrawable minimizeBackground = (VectorDrawable) minimize.getBackground(); in setCaptionColor() 286 final VectorDrawable maximizeBackground = (VectorDrawable) maximize.getBackground(); in setCaptionColor() 290 final VectorDrawable closeBackground = (VectorDrawable) close.getBackground(); in setCaptionColor()
|
/frameworks/base/services/core/java/com/android/server/input/debug/ |
D | RotaryInputValueView.java | 86 getBackground().setColorFilter(ACTIVE_BACKGROUND_FILTER); in updateActivityStatus() 89 getBackground().clearColorFilter(); in updateActivityStatus()
|
/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/packages/SystemUI/src/com/android/systemui/media/dialog/ |
D | MediaSessionReleaseDialog.java | 83 stopButton.getBackground().setColorFilter(mButtonColorFilter); in onCreate() 87 cancelButton.getBackground().setColorFilter(mButtonColorFilter); in onCreate()
|
/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/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/ |
D | MenuViewTest.java | 106 (InstantInsetLayerDrawable) mMenuView.getBackground(); in insetsOnDarkTheme_menuOnLeft_matchInsets() 117 (InstantInsetLayerDrawable) mMenuView.getBackground(); in onDraggingStart_matchInsets() 171 return (InstantInsetLayerDrawable) mMenuView.getBackground(); in getMenuViewInsetLayer()
|
/frameworks/base/tests/graphics/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 | 360 Drawable mCardBackgroundSpy = spy(mRootView.getBackground()); in onBindViewHolder_whenAtLeastS_whenAttentionUnset_setsHighTheme() 377 Drawable mCardBackgroundSpy = spy(mRootView.getBackground()); in onBindViewHolder_whenAtLeastS_whenAttentionHighByXML_setsHighTheme() 398 Drawable mCardBackgroundSpy = spy(mRootView.getBackground()); in onBindViewHolder_whenAtLeastS_whenAttentionMediumByXML_setsMediumTheme() 419 Drawable mCardBackgroundSpy = spy(mRootView.getBackground()); in onBindViewHolder_whenAtLeastS_whenAttentionLowByXML_setsLowTheme() 440 Drawable mCardBackgroundSpy = spy(mRootView.getBackground()); in setAttentionLevel_whenAtLeastS_whenHighAttention_setsHighTheme() 458 Drawable mCardBackgroundSpy = spy(mRootView.getBackground()); in setAttentionLevel_whenAtLeastS_whenMedAttention_setsMediumTheme() 476 Drawable mCardBackgroundSpy = spy(mRootView.getBackground()); in setAttentionLevel_whenAtLeastS_whenLowAttention_setsLowTheme()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/hearingaid/ |
D | HearingDevicesListAdapter.java | 123 Integer backgroundResId = item.getBackground(); in bindView() 125 mContainer.setBackground(mContext.getDrawable(item.getBackground())); in bindView()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/ |
D | DesktopModeVisualIndicator.java | 344 view.getBackground().setBounds(startBounds); in fadeBoundsIn() 357 view.getBackground().setBounds(startBounds); in fadeBoundsOut() 434 animator.mView.getBackground().setBounds(animator.mEndBounds); in setupIndicatorAnimation() 453 view.getBackground().setBounds(currentBounds); in updateBounds() 462 final LayerDrawable drawable = (LayerDrawable) view.getBackground(); in updateIndicatorAlpha()
|
/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/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | BubbleIconFactory.java | 93 userBadgedAppIcon = new CircularAdaptiveIcon(ad.getBackground(), in getBadgeBitmap() 150 if ((d = getBackground()) != null) { in draw()
|
/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/packages/SystemUI/src/com/android/systemui/communal/data/repository/ |
D | CommunalSettingsRepository.kt | 65 fun getBackground(user: UserInfo): Flow<CommunalBackgroundType> in <lambda>() method 133 override fun getBackground(user: UserInfo): Flow<CommunalBackgroundType> = in getBackground() method in com.android.systemui.communal.data.repository.CommunalSettingsRepositoryImpl
|
/frameworks/base/core/java/android/widget/ |
D | Spinner.java | 373 return mPopup.getBackground(); in getPopupBackground() 623 measureContentWidth(getAdapter(), getBackground())), in onMeasure() 1124 public Drawable getBackground(); in getBackground() method 1198 public Drawable getBackground() { in getBackground() method in Spinner.DialogPopup 1251 final Drawable background = getBackground(); in computeContentWidth() 1266 (SpinnerAdapter) mAdapter, getBackground()); in computeContentWidth()
|