Home
last modified time | relevance | path

Searched refs:StatusBarIcon (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/statusbar/
DStatusBarIcon.java27 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 …]
DRegisterStatusBarResult.java30 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);
DStatusBarIcon.aidl19 parcelable StatusBarIcon;
DIStatusBar.aidl38 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/
DIconPack.java22 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()
DIconManager.kt30 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/
DStatusBarIconTest.java46 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()
DRegisterStatusBarResultTest.java49 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/
DStatusBarIconControllerImplTest.kt21 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 …]
DStatusBarIconControllerTest.java35 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/
DStatusBarIconViewTest.java53 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 …]
DCommandQueueTest.java48 import com.android.internal.statusbar.StatusBarIcon;
89 StatusBarIcon icon = mock(StatusBarIcon.class); in testIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarIconHolder.kt22 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()
DDemoStatusIcons.java30 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()
DNotificationIconContainer.java41 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()
DLegacyNotificationIconAreaControllerImpl.java36 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/
DStatusBarIconControllerImpl.java33 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()
DStatusBarIconController.java24 import com.android.internal.statusbar.StatusBarIcon;
52 void setIconFromTile(String slot, @Nullable StatusBarIcon icon); in setIconFromTile()
DDarkIconManager.java22 import com.android.internal.statusbar.StatusBarIcon;
91 public void onSetIcon(int viewIndex, StatusBarIcon icon) { in onSetIcon()
DIconManager.java32 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/
DFakeStatusBarIconController.java19 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/
DStatusBarIconView.java60 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/
DTileServices.java41 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/
DNotificationIconContainerViewBinder.kt29 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/
DStatusBarManagerService.java108 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()

12