/frameworks/base/core/java/com/android/internal/statusbar/ |
D | StatusBarIcon.java | 27 public class StatusBarIcon implements Parcelable { class 49 public StatusBarIcon(UserHandle user, String resPackage, Icon icon, int iconLevel, int number, in StatusBarIcon() method in StatusBarIcon 67 public StatusBarIcon(String iconPackage, UserHandle user, in StatusBarIcon() method in StatusBarIcon 87 public StatusBarIcon clone() { in clone() 88 StatusBarIcon that = new StatusBarIcon(this.user, this.pkg, this.icon, in clone() 97 public StatusBarIcon(Parcel in) { in StatusBarIcon() method in StatusBarIcon 130 public static final Parcelable.Creator<StatusBarIcon> CREATOR 131 = new Parcelable.Creator<StatusBarIcon>() 133 public StatusBarIcon createFromParcel(Parcel parcel) 135 return new StatusBarIcon(parcel); [all …]
|
D | RegisterStatusBarResult.java | 30 public final ArrayMap<String, StatusBarIcon> mIcons; 46 public RegisterStatusBarResult(ArrayMap<String, StatusBarIcon> icons, int disabledFlags1, in RegisterStatusBarResult() 99 final ArrayMap<String, StatusBarIcon> icons = 100 source.createTypedArrayMap(StatusBarIcon.CREATOR);
|
D | StatusBarIcon.aidl | 19 parcelable StatusBarIcon;
|
D | IStatusBar.aidl | 38 import com.android.internal.statusbar.StatusBarIcon; 44 void setIcon(String slot, in StatusBarIcon icon); in setIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/ |
D | IconPack.java | 22 import com.android.internal.statusbar.StatusBarIcon; 35 @Nullable private StatusBarIcon mSmallIconDescriptor; 36 @Nullable private StatusBarIcon mAppIconDescriptor; 37 @Nullable private StatusBarIcon mPeopleAvatarDescriptor; 98 StatusBarIcon getSmallIconDescriptor() { in getSmallIconDescriptor() 102 void setSmallIconDescriptor(@Nullable StatusBarIcon smallIconDescriptor) { in setSmallIconDescriptor() 107 StatusBarIcon getPeopleAvatarDescriptor() { in getPeopleAvatarDescriptor() 111 void setPeopleAvatarDescriptor(@Nullable StatusBarIcon peopleAvatarDescriptor) { in setPeopleAvatarDescriptor() 116 StatusBarIcon getAppIconDescriptor() { in getAppIconDescriptor() 120 void setAppIconDescriptor(@Nullable StatusBarIcon appIconDescriptor) { in setAppIconDescriptor()
|
D | IconManager.kt | 30 import com.android.internal.statusbar.StatusBarIcon in <lambda>() 206 private fun getIconDescriptors(entry: NotificationEntry): Pair<StatusBarIcon, StatusBarIcon> { in <lambda>() 218 private fun getIconDescriptor(entry: NotificationEntry, redact: Boolean): StatusBarIcon { in <lambda>() 227 val (icon: Icon?, type: StatusBarIcon.Type) = in <lambda>() 229 createPeopleAvatar(entry) to StatusBarIcon.Type.PeopleAvatar in <lambda>() 233 n.smallIcon to StatusBarIcon.Type.MaybeMonochromeAppIcon in <lambda>() 235 n.smallIcon to StatusBarIcon.Type.NotifSmallIcon in <lambda>() 249 ): StatusBarIcon? { in <lambda>() 264 private fun cacheIconDescriptor(entry: NotificationEntry, descriptor: StatusBarIcon) { in <lambda>() 271 StatusBarIcon.Type.PeopleAvatar -> entry.icons.peopleAvatarDescriptor = descriptor in <lambda>() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/statusbar/ |
D | StatusBarIconTest.java | 46 final StatusBarIcon original = new StatusBarIcon(dummyIconPackageName, dummyUserHandle, in testParcelable() 48 StatusBarIcon.Type.SystemIcon); in testParcelable() 50 final StatusBarIcon copy = clone(original); in testParcelable() 61 private StatusBarIcon clone(StatusBarIcon original) { in clone() 67 return StatusBarIcon.CREATOR.createFromParcel(parcel); in clone()
|
D | RegisterStatusBarResultTest.java | 49 final ArrayMap<String, StatusBarIcon> iconMap = new ArrayMap<>(); in testParcelable() 50 iconMap.put(dumyIconKey, new StatusBarIcon("com.android.internal.statusbar.test", in testParcelable() 52 StatusBarIcon.Type.SystemIcon)); in testParcelable()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ui/ |
D | StatusBarIconControllerImplTest.kt | 21 import com.android.internal.statusbar.StatusBarIcon in <lambda>() 82 StatusBarIcon( in <lambda>() 89 StatusBarIcon.Type.SystemIcon, in <lambda>() 111 StatusBarIcon( in <lambda>() 118 StatusBarIcon.Type.SystemIcon, in <lambda>() 238 StatusBarIcon( in <lambda>() 245 StatusBarIcon.Type.SystemIcon, in <lambda>() 277 StatusBarIcon( in <lambda>() 284 StatusBarIcon.Type.SystemIcon, in <lambda>() 290 StatusBarIcon( in <lambda>() [all …]
|
D | StatusBarIconControllerTest.java | 35 import com.android.internal.statusbar.StatusBarIcon; 126 StatusBarIconHolder holder = StatusBarIconHolder.fromIcon(mock(StatusBarIcon.class)); in testCallOnAdd_forManager() 158 StatusBarIcon icon) { in addIcon() 186 StatusBarIcon icon) { in addIcon()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | StatusBarIconViewTest.java | 53 import com.android.internal.statusbar.StatusBarIcon; 76 private StatusBarIcon mStatusBarIcon = mock(StatusBarIcon.class); 99 mStatusBarIcon = new StatusBarIcon(UserHandle.ALL, "mockPackage", in setUp() 101 StatusBarIcon.Type.SystemIcon); in setUp() 141 StatusBarIcon largeIcon = new StatusBarIcon(UserHandle.ALL, "mockPackage", in testGiantImageNotAllowed() 142 icon, 0, 0, "", StatusBarIcon.Type.SystemIcon); in testGiantImageNotAllowed() 155 StatusBarIcon largeIcon = new StatusBarIcon(UserHandle.ALL, "mockPackage", in testNullNotifInfo() 156 icon, 0, 0, "", StatusBarIcon.Type.SystemIcon); in testNullNotifInfo() 175 StatusBarIcon largeIcon = new StatusBarIcon(UserHandle.ALL, "mockPackage", in testNullIcon() 176 icon, 0, 0, "", StatusBarIcon.Type.SystemIcon); in testNullIcon() [all …]
|
D | CommandQueueTest.java | 48 import com.android.internal.statusbar.StatusBarIcon; 89 StatusBarIcon icon = mock(StatusBarIcon.class); in testIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarIconHolder.kt | 22 import com.android.internal.statusbar.StatusBarIcon 32 var icon: StatusBarIcon? = null 114 fun fromIcon(icon: StatusBarIcon?): StatusBarIconHolder { in fromIcon() 151 StatusBarIcon( in fromCallIndicatorState() 158 StatusBarIcon.Type.SystemIcon, in fromCallIndicatorState()
|
D | DemoStatusIcons.java | 30 import com.android.internal.statusbar.StatusBarIcon; 211 StatusBarIcon icon = v.getStatusBarIcon(); in updateSlot() 226 StatusBarIcon icon = new StatusBarIcon(iconPkg, UserHandle.SYSTEM, iconId, 0, 0, "Demo", in updateSlot() 227 StatusBarIcon.Type.SystemIcon); in updateSlot()
|
D | NotificationIconContainer.java | 41 import com.android.internal.statusbar.StatusBarIcon; 161 private ArrayMap<String, StatusBarIcon> mReplacingIcons; 162 private ArrayMap<String, ArrayList<StatusBarIcon>> mReplacingIconsLegacy; 374 StatusBarIcon replacedIcon = mReplacingIcons.get(groupKey); in isReplacingIcon() 380 ArrayList<StatusBarIcon> statusBarIcons = mReplacingIconsLegacy.get(groupKey); in isReplacingIcon() 382 StatusBarIcon replacedIcon = statusBarIcons.get(0); in isReplacingIcon() 757 public void setReplacingIconsLegacy(ArrayMap<String, ArrayList<StatusBarIcon>> replacingIcons) { in setReplacingIconsLegacy() 762 public void setReplacingIcons(ArrayMap<String, StatusBarIcon> replacingIcons) { in setReplacingIcons()
|
D | LegacyNotificationIconAreaControllerImpl.java | 36 import com.android.internal.statusbar.StatusBarIcon; 391 ArrayMap<String, ArrayList<StatusBarIcon>> replacingIcons = new ArrayMap<>(); in updateIconsForLayout() 415 ArrayList<StatusBarIcon> statusBarIcons = replacingIcons.get(removedGroupKey); in updateIconsForLayout() 428 ArrayList<StatusBarIcon> statusBarIcons = replacingIcons.get(key); in updateIconsForLayout()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ui/ |
D | StatusBarIconControllerImpl.java | 33 import com.android.internal.statusbar.StatusBarIcon; 229 StatusBarIcon icon = new StatusBarIcon(UserHandle.SYSTEM, mContext.getPackageName(), in setIcon() 231 contentDescription, StatusBarIcon.Type.SystemIcon); in setIcon() 296 holder.setIcon(new StatusBarIcon(UserHandle.SYSTEM, mContext.getPackageName(), in setCallStrengthIcons() 298 state.callStrengthDescription, StatusBarIcon.Type.SystemIcon)); in setCallStrengthIcons() 321 holder.setIcon(new StatusBarIcon(UserHandle.SYSTEM, mContext.getPackageName(), in setNoCallingIcons() 323 state.noCallingDescription, StatusBarIcon.Type.SystemIcon)); in setNoCallingIcons() 333 public void setIcon(String slot, StatusBarIcon icon) { 345 public void setIconFromTile(String slot, StatusBarIcon icon) { in setIconFromTile() 354 private void setExternalIcon(String slot, StatusBarIcon icon) { in setExternalIcon()
|
D | StatusBarIconController.java | 24 import com.android.internal.statusbar.StatusBarIcon; 52 void setIconFromTile(String slot, @Nullable StatusBarIcon icon); in setIconFromTile()
|
D | DarkIconManager.java | 22 import com.android.internal.statusbar.StatusBarIcon; 91 public void onSetIcon(int viewIndex, StatusBarIcon icon) { in onSetIcon()
|
D | IconManager.java | 32 import com.android.internal.statusbar.StatusBarIcon; 160 StatusBarIcon icon) { in addIcon() 257 public void onSetIcon(int viewIndex, StatusBarIcon icon) { in onSetIcon()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/ |
D | FakeStatusBarIconController.java | 19 import com.android.internal.statusbar.StatusBarIcon; 48 public void setIconFromTile(String slot, StatusBarIcon icon) { in setIconFromTile()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | StatusBarIconView.java | 60 import com.android.internal.statusbar.StatusBarIcon; 149 private StatusBarIcon mIcon; 407 public boolean set(StatusBarIcon icon) { in set() 483 Drawable getIcon(StatusBarIcon icon) { in getIcon() 500 Context context, StatusBarIcon statusBarIcon) { in getIcon() 540 StatusBarIcon statusBarIcon) { in maybeGetMonochromeAppIcon() 542 && statusBarIcon.type == StatusBarIcon.Type.MaybeMonochromeAppIcon) { in maybeGetMonochromeAppIcon() 558 public StatusBarIcon getStatusBarIcon() { in getStatusBarIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | TileServices.java | 41 import com.android.internal.statusbar.StatusBarIcon; 333 final StatusBarIcon statusIcon = icon != null in updateStatusIcon() 334 ? new StatusBarIcon(userHandle, packageName, icon, 0, 0, in updateStatusIcon() 335 contentDescription, StatusBarIcon.Type.SystemIcon) in updateStatusIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/ui/viewbinder/ |
D | NotificationIconContainerViewBinder.kt | 29 import com.android.internal.statusbar.StatusBarIcon in <lambda>() 226 val replacingIcons: ArrayMap<String, StatusBarIcon> = in <lambda>() 346 replacements: ArrayMap<String, StatusBarIcon>, in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/statusbar/ |
D | StatusBarManagerService.java | 108 import com.android.internal.statusbar.StatusBarIcon; 169 private final ArrayMap<String, StatusBarIcon> mIcons = new ArrayMap<>(); 1298 StatusBarIcon icon = new StatusBarIcon(iconPackage, UserHandle.SYSTEM, iconId, in setIcon() 1299 iconLevel, 0, contentDescription, StatusBarIcon.Type.SystemIcon); in setIcon() 1318 StatusBarIcon icon = mIcons.get(slot); in setIconVisibility() 1555 final ArrayMap<String, StatusBarIcon> icons; in registerStatusBar() 2559 final StatusBarIcon icon = mIcons.get(slot); in dump()
|