/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | CastDrawable.java | 53 setDrawable(r.getDrawable(R.drawable.ic_cast, theme).mutate()); in inflate() 54 mFillDrawable = r.getDrawable(R.drawable.ic_cast_connected_fill, theme).mutate(); in inflate() 107 public Drawable mutate() { in mutate() method in CastDrawable 108 mFillDrawable.mutate(); in mutate() 109 return super.mutate(); in mutate()
|
D | ScreenRecordDrawable.java | 61 setDrawable(r.getDrawable(R.drawable.ic_screen_record_background, theme).mutate()); in inflate() 62 mFillDrawable = r.getDrawable(R.drawable.ic_screen_record_background, theme).mutate(); in inflate() 63 mIconDrawable = r.getDrawable(R.drawable.ic_screenrecord, theme).mutate(); in inflate() 154 public Drawable mutate() { in mutate() method in ScreenRecordDrawable 155 mFillDrawable.mutate(); in mutate() 156 return super.mutate(); in mutate()
|
/frameworks/base/services/permission/java/com/android/server/permission/access/ |
D | AccessState.kt | 74 fun mutateExternalState(): MutableExternalState = externalStateReference.mutate() in toMutable() 77 systemStateReference.mutate().apply { requestWriteMode(writeMode) } in toMutable() 79 fun mutateUserStatesNoWrite(): MutableUserStates = userStatesReference.mutate() in toMutable() 82 mutateUserStatesNoWrite().mutate(userId)?.apply { requestWriteMode(writeMode) } in toMutable() 207 fun mutateUserIds(): MutableIntSet = userIdsReference.mutate() in toMutable() 219 fun mutateAppIdPackageNames(): MutableAppIdPackageNames = appIdPackageNamesReference.mutate() in toMutable() 325 permissionGroupsReference.mutate() in toMutable() 328 permissionTreesReference.mutate() in toMutable() 330 fun mutatePermissions(): MutableIndexedMap<String, Permission> = permissionsReference.mutate() in toMutable() 457 fun mutatePackageVersions(): MutableIndexedMap<String, Int> = packageVersionsReference.mutate() in toMutable() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | HardwareBgDrawable.java | 55 context.getDrawable(drawable).mutate(), in getLayers() 56 context.getDrawable(drawable).mutate(), in getLayers() 60 context.getDrawable(drawable).mutate(), in getLayers() 62 : R.drawable.rounded_bg_bottom).mutate(), in getLayers()
|
/frameworks/base/core/java/android/widget/ |
D | ScrollBarDrawable.java | 314 d.mutate(); in propagateCurrentState() 341 public ScrollBarDrawable mutate() { in mutate() method in ScrollBarDrawable 342 if (!mMutated && super.mutate() == this) { in mutate() 344 mVerticalTrack.mutate(); in mutate() 347 mVerticalThumb.mutate(); in mutate() 350 mHorizontalTrack.mutate(); in mutate() 353 mHorizontalThumb.mutate(); in mutate()
|
/frameworks/base/services/permission/java/com/android/server/permission/access/immutable/ |
D | IntReferenceMap.kt | 67 @Suppress("ReplaceGetOrSet") fun mutate(key: Int): M? = array.get(key)?.mutate() in isEmpty() method 77 fun mutateAt(index: Int): M = array.valueAt(index).mutate() in isEmpty()
|
D | IndexedReferenceMap.kt | 67 @Suppress("ReplaceGetOrSet") fun mutate(key: K): M? = map.get(key)?.mutate() in isEmpty() method 77 fun mutateAt(index: Int): M = map.valueAt(index).mutate() in isEmpty()
|
D | MutableReference.kt | 48 fun mutate(): M { in get() method in com.android.server.permission.access.immutable.MutableReference
|
D | Immutable.md | 74 about this new instance and mutate itself to update its reference to the new child. This problem is 114 fun mutate(): M { 131 encapsulates the logic to mutate/copy a child data structure and update the reference to the new 135 `mutate()` method exposed on the mutable interface of the data structure as `mutateFoo()`. When the 156 fun mutatePermissions(): MutableIndexedMap<String, Permission> = permissionsReference.mutate() 164 the values are held by `MutableReference`s, and a `mutate(key: K): V` method would help obtain a
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/ |
D | AppIconCacheManagerTest.java | 60 doReturn(mIcon).when(mIcon).mutate(); in setUp() 75 doReturn(mIcon1).when(mIcon1).mutate(); in setUp() 79 doReturn(mIcon2).when(mIcon2).mutate(); in setUp() 83 doReturn(mIcon3).when(mIcon3).mutate(); in setUp()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ColoredIconHelper.java | 51 drawable.mutate().setColorFilter(grey, PorterDuff.Mode.SRC_ATOP); in applyGrayTint() 54 drawable.mutate().setColorFilter(originalColor, PorterDuff.Mode.SRC_ATOP); in applyGrayTint()
|
D | CachingIconView.java | 346 icon.mutate().setColorFilter(color, PorterDuff.Mode.SRC_ATOP); in setOriginalIconColor() 352 background.mutate().setColorFilter(color, PorterDuff.Mode.SRC_ATOP); in setOriginalIconColor() 354 icon.mutate().setColorFilter(mBackgroundColor, PorterDuff.Mode.SRC_ATOP); in setOriginalIconColor() 357 background.mutate().setColorFilter(mBackgroundColor, PorterDuff.Mode.SRC_ATOP); in setOriginalIconColor()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | LevelListDrawable.java | 154 public Drawable mutate() { in mutate() method in LevelListDrawable 155 if (!mMutated && super.mutate() == this) { in mutate() 156 mLevelListState.mutate(); in mutate() 192 private void mutate() { in mutate() method in LevelListDrawable.LevelListState
|
D | AnimationDrawable.java | 362 public Drawable mutate() { in mutate() method in AnimationDrawable 363 if (!mMutated && super.mutate() == this) { in mutate() 364 mAnimationState.mutate(); in mutate() 399 private void mutate() { in mutate() method in AnimationDrawable.AnimationState
|
D | StateListDrawable.java | 288 public Drawable mutate() { in mutate() method in StateListDrawable 289 if (!mMutated && super.mutate() == this) { in mutate() 290 mStateListState.mutate(); in mutate() 326 void mutate() { in mutate() method in StateListDrawable.StateListState
|
D | DrawableContainer.java | 648 public Drawable mutate() { in mutate() method in DrawableContainer 649 if (!mMutated && super.mutate() == this) { in mutate() 651 clone.mutate(); in mutate() 843 dr.mutate(); in addChild() 888 child = child.mutate(); in prepareDrawable() 1015 private void mutate() { in mutate() method in DrawableContainer.DrawableContainerState 1022 drawables[i].mutate(); in mutate()
|
D | ColorStateListDrawable.java | 220 public @NonNull Drawable mutate() { in mutate() method in ColorStateListDrawable 221 if (!mMutated && super.mutate() == this) { in mutate()
|
/frameworks/base/core/java/com/android/internal/graphics/drawable/ |
D | AnimationScaleListDrawable.java | 135 public Drawable mutate() { in mutate() method in AnimationScaleListDrawable 136 if (!mMutated && super.mutate() == this) { in mutate() 137 mAnimationScaleListState.mutate(); in mutate() 196 void mutate() { in mutate() method in AnimationScaleListDrawable.AnimationScaleListState
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/ |
D | KeyguardBlueprintViewModel.kt | 79 fun updateTransitions(data: TransitionData?, mutate: MutableSet<Transition>.() -> Unit) { in updateTransitions() 80 runningTransitions.mutate() in updateTransitions()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | ClockDrawableWrapper.java | 114 Drawable fg = themeData.mResources.getDrawable(resId).mutate(); in applyThemeData() 130 Drawable d = mThemeInfo.baseDrawableState.newDrawable().mutate(); in getMonochrome() 173 Drawable drawable = drawableProvider.apply(drawableId).mutate(); in forExtras() 208 new ColorDrawable(Color.WHITE), aid.getMonochrome().mutate())); in forExtras() 333 Drawable tintedDrawable = themeData.baseDrawableState.newDrawable().mutate(); in newIcon() 394 (AdaptiveIconDrawable) mAnimInfo.baseDrawableState.newDrawable().mutate(); in ClockIconDrawable()
|
D | UserBadgeDrawable.java | 69 mutate(); in UserBadgeDrawable() 140 mutate(); in setShouldDrawBackground()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationBackgroundView.java | 146 ((GradientDrawable) getStatefulBackgroundLayer().mutate()).setColor(newColor); in setStatefulColors() 161 mBackground.mutate(); in setCustomBackground() 188 baseLayer.mutate().setTintMode(PorterDuff.Mode.SRC_ATOP); in setTint()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | MutateDrawable.java | 46 ok.getBackground().mutate().setAlpha(127); in onCreate()
|
/frameworks/base/services/core/java/com/android/server/pm/pkg/mutate/ |
D | PackageStateWrite.java | 17 package com.android.server.pm.pkg.mutate;
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppBatteryExemptionTracker.java | 222 return result.first.mutate().add(batteryUsage).subtract(result.second).unmutate(); in getUidBatteryExemptedUsageSince() 256 batteryUsage.mutate().subtract(last.getBatteryUsage()).unmutate(), last), in addEvent() 444 mBatteryUsage = mBatteryUsage.mutate() in trimTo() 471 return totalDur != 0 ? (totalDur == inputDur ? mBatteryUsage : mBatteryUsage.mutate() in getBatteryUsage()
|