Home
last modified time | relevance | path

Searched refs:mutate (Results 1 – 25 of 84) sorted by relevance

1234

/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DCallTypeIconsView.java292 incoming = drawable.mutate(); in Resources()
298 outgoing = drawable.mutate(); in Resources()
305 missed = drawable.mutate(); in Resources()
311 voicemail = drawable.mutate(); in Resources()
316 blocked = drawable.mutate(); in Resources()
321 videoCall = drawable.mutate(); in Resources()
326 hdCall = drawable.mutate(); in Resources()
331 wifiCall = drawable.mutate(); in Resources()
336 assistedDialedCall = drawable.mutate(); in Resources()
341 rttCall = drawable.mutate(); in Resources()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DSliceContextualCardRendererTest.java150 TEST_SLICE_URI).mutate().setIsPendingDismiss(true).build(); in bindView_isPendingDismiss_shouldShowDismissalView()
161 TEST_SLICE_URI).mutate().setIsPendingDismiss(true).build(); in bindView_isPendingDismiss_shouldAddViewHolderToSet()
199 TEST_SLICE_URI).mutate().setIsPendingDismiss(true).build(); in viewClick_keepCard_shouldShowSlice()
213 TEST_SLICE_URI).mutate().setIsPendingDismiss(true).build(); in viewClick_keepCard_shouldRemoveViewHolderFromSet()
227 TEST_SLICE_URI).mutate().setIsPendingDismiss(true).build(); in viewClick_removeCard_shouldRemoveViewHolderFromSet()
259 TEST_SLICE_URI).mutate().setIsPendingDismiss(true).build(); in onStop_cardIsInDismissalView_shouldResetToSliceView()
/packages/apps/DeskClock/src/com/android/deskclock/
DAnalogClock.kt80 dial.drawable.mutate()
85 mHourHand.drawable.mutate()
90 mMinuteHand.drawable.mutate()
95 mSecondHand.drawable.mutate()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DFloatingWidgetBackgroundView.java73 mOriginalForeground.getConstantState().newDrawable().mutate()); in init()
76 mOriginalForeground.getConstantState().newDrawable().mutate(); in init()
83 mOriginalBackground.getConstantState().newDrawable().mutate()); in init()
86 mOriginalBackground.getConstantState().newDrawable().mutate(); in init()
/packages/apps/Settings/tests/unit/src/com/android/settings/homepage/contextualcards/
DContextualCardsDiffCallbackTest.java82 final ContextualCard card = getContextualCard("test1").mutate() in areContentsTheSame_sliceWithToggle_returnFalse()
91 final ContextualCard card = getContextualCard("test1").mutate() in areContentsTheSame_stickySlice_returnFalse()
100 final ContextualCard card = getContextualCard("test1").mutate() in areContentsTheSame_importantSlice_returnFalse()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DEligibleCardChecker.java103 mCard = card.mutate().setSlice(slice).build(); in isCardEligibleToDisplay()
106 mCard = card.mutate().setHasInlineAction(true).build(); in isCardEligibleToDisplay()
DContextualCardManager.java349 result.set(index - 1, previous.mutate().setViewType( in getCardsWithSuggestionViewType()
351 result.set(index, current.mutate().setViewType( in getCardsWithSuggestionViewType()
364 result.set(index, card.mutate().setViewType( in getCardsWithStickyViewType()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DExtraSettingsUtil.java82 icon.mutate().setTintList( in createIcon()
88 icon.mutate().setTintList(Themes.getAttrColorStateList(context, R.attr.iconColor)); in createIcon()
/packages/modules/Connectivity/tests/common/java/android/net/
DCaptivePortalDataTest.kt184 private fun CaptivePortalData.mutate(mutator: (CaptivePortalData.Builder) -> Unit) = in mutate() method in android.net.CaptivePortalDataTest
188 assertNotEquals(data, data.mutate(mutator)) in assertNotEqualsAfterChange()
/packages/apps/Dialer/java/com/android/dialer/voicemail/settings/
DRecordButton.java110 playArrow.mutate().setTint(color); in fixQuantumIconTint()
114 micIcon.mutate().setTint(color); in fixQuantumIconTint()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/affordance/
DSwipeButtonView.java157 Drawable drawable = getDrawable().mutate(); in updateIconColor()
438 background.mutate().setAlpha(endAlpha); in setImageAlpha()
451 background.mutate().setAlpha(alpha); in setImageAlpha()
/packages/apps/Camera2/src/com/android/camera/
DMultiToggleImageButton.java385 Drawable newDrawable = getResources().getDrawable(mImageIds[newState]).mutate(); in combine()
389 Drawable oldDrawable = getResources().getDrawable(mImageIds[oldState]).mutate(); in combine()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DFrameLayoutWithShadows.java295 shadow.mutate(); in addShadowView()
300 shadowView.setDrawableBottom(d.mutate()); in addShadowView()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DTintedDrawableSpan.java35 mDrawable = context.getDrawable(resourceId).mutate(); in TintedDrawableSpan()
/packages/apps/ThemePicker/src/com/android/customization/widget/
DDynamicAdaptiveIconDrawable.java704 public Drawable mutate() { in mutate() method in DynamicAdaptiveIconDrawable
705 if (!mMutated && super.mutate() == this) { in mutate()
710 dr.mutate(); in mutate()
/packages/apps/Settings/src/com/android/settings/users/
DUserPreference.java73 icon.mutate().setAlpha(dimmed ? ALPHA_DISABLED : ALPHA_ENABLED); in dimIcon()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/
DThemeBundle.java113 Drawable icon = mPreviewInfo.icons.get(0).getConstantState().newDrawable().mutate(); in bindThumbnailTile()
279 return mIconDrawable.getConstantState().newDrawable().mutate(); in getDrawableCopy()
/packages/apps/Camera2/src/com/android/camera/ui/
DModeIconView.java51 .getDrawable(R.drawable.mode_icon_background).mutate(); in ModeIconView()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiEntryPreference.java50 mWifiSld.mutate(); in WifiEntryPreference()
/packages/apps/Settings/src/com/android/settings/widget/
DTintDrawable.java98 getDrawable().mutate().setTintList(mTint); in applyTint()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DIconUtils.java73 icon.mutate(); in applyTintColor()
/packages/apps/Contacts/src/com/android/contacts/model/account/
DFallbackAccountType.java68 icon.mutate().setColorFilter(ContextCompat.getColor(context, in getDisplayIcon()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/interactacrossprofiles/
DInteractAcrossProfilesDetails.java182 .mutate(); in addAppTitleAndIcons()
193 .mutate(); in addAppTitleAndIcons()
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
DThemeOptionPreviewer.java279 .newDrawable().mutate()); in setTopBarIcons()
304 .newDrawable().mutate(); in setColorAndIconsSection()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DAllSetActivity.java61 ((ImageView) findViewById(R.id.icon)).getDrawable().mutate().setTint(accentColor); in onCreate()

1234