Home
last modified time | relevance | path

Searched refs:StatusBarIconView (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/
DIconPack.java23 import com.android.systemui.statusbar.StatusBarIconView;
31 @Nullable private final StatusBarIconView mStatusBarIcon;
32 @Nullable private final StatusBarIconView mShelfIcon;
33 @Nullable private final StatusBarIconView mAodIcon;
34 @Nullable private final StatusBarIconView mCenteredIcon;
53 @NonNull StatusBarIconView statusBarIcon, in buildPack()
54 @NonNull StatusBarIconView shelfIcon, in buildPack()
55 @NonNull StatusBarIconView aodIcon, in buildPack()
56 @Nullable StatusBarIconView centeredIcon, in buildPack()
63 @Nullable StatusBarIconView statusBarIcon, in IconPack()
[all …]
DIconBuilder.kt21 import com.android.systemui.statusbar.StatusBarIconView
31 fun createIconView(entry: NotificationEntry): StatusBarIconView { in createIconView()
32 return StatusBarIconView( in createIconView()
39 return StatusBarIconView.contentDescForNotification(context, n) in getIconContentDescription()
DIconManager.kt30 import com.android.systemui.statusbar.StatusBarIconView in <lambda>()
240 iconView: StatusBarIconView in <lambda>()
298 iconView: StatusBarIconView, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationIconContainer.java42 import com.android.systemui.statusbar.StatusBarIconView;
168 private StatusBarIconView mIsolatedIcon;
303 if (child instanceof StatusBarIconView) { in onViewAdded()
304 ((StatusBarIconView) child).setDozing(mDozing, false, 0); in onViewAdded()
312 if (!(child instanceof StatusBarIconView)) { in isReplacingIcon()
315 StatusBarIconView iconView = (StatusBarIconView) child; in isReplacingIcon()
332 if (child instanceof StatusBarIconView) { in onViewRemoved()
334 final StatusBarIconView icon = (StatusBarIconView) child; in onViewRemoved()
335 … if (areAnimationsEnabled(icon) && icon.getVisibleState() != StatusBarIconView.STATE_HIDDEN in onViewRemoved()
349 icon.setVisibleState(StatusBarIconView.STATE_HIDDEN, true /* animate */, in onViewRemoved()
[all …]
DNotificationIconAreaController.java32 import com.android.systemui.statusbar.StatusBarIconView;
88 private StatusBarIconView mCenteredIconView;
414 private void updateIconsForLayout(Function<NotificationEntry, StatusBarIconView> function, in updateIconsForLayout()
418 ArrayList<StatusBarIconView> toShow = new ArrayList<>(mNotificationEntries.size()); in updateIconsForLayout()
426 StatusBarIconView iconView = function.apply(entry); in updateIconsForLayout()
442 if (!(child instanceof StatusBarIconView)) { in updateIconsForLayout()
447 StatusBarIconView removedIcon = (StatusBarIconView) child; in updateIconsForLayout()
450 StatusBarIconView candidate = toShow.get(j); in updateIconsForLayout()
490 StatusBarIconView v = toShow.get(i); in updateIconsForLayout()
506 StatusBarIconView expected = toShow.get(i); in updateIconsForLayout()
[all …]
DDemoStatusIcons.java35 import com.android.systemui.statusbar.StatusBarIconView;
192 if (!(child instanceof StatusBarIconView)) { in updateSlot()
195 StatusBarIconView v = (StatusBarIconView) child; in updateSlot()
218 StatusBarIconView v = new StatusBarIconView(getContext(), slot, null, false); in updateSlot()
DStatusBarIconController.java42 import com.android.systemui.statusbar.StatusBarIconView;
296 protected StatusBarIconView addIcon(int index, String slot, boolean blocked, in addIcon()
298 StatusBarIconView view = onCreateStatusBarIconView(slot, blocked); in addIcon()
328 private StatusBarIconView onCreateStatusBarIconView(String slot, boolean blocked) { in onCreateStatusBarIconView()
329 return new StatusBarIconView(mContext, slot, null, blocked); in onCreateStatusBarIconView()
384 StatusBarIconView view = (StatusBarIconView) mGroup.getChildAt(viewIndex); in onSetIcon()
DStatusIconContainer.java19 import static com.android.systemui.statusbar.StatusBarIconView.STATE_DOT;
20 import static com.android.systemui.statusbar.StatusBarIconView.STATE_HIDDEN;
21 import static com.android.systemui.statusbar.StatusBarIconView.STATE_ICON;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarIconControllerTest.java35 import com.android.systemui.statusbar.StatusBarIconView;
79 (manager.getViewAt(0) instanceof StatusBarIconView)); in testCallOnAdd_forManager()
117 protected StatusBarIconView addIcon(int index, String slot, boolean blocked, in addIcon()
119 StatusBarIconView mock = mock(StatusBarIconView.class); in addIcon()
152 protected StatusBarIconView addIcon(int index, String slot, boolean blocked, in addIcon()
154 StatusBarIconView mock = mock(StatusBarIconView.class); in addIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DDungeonRow.kt24 import com.android.systemui.statusbar.StatusBarIconView
39 (findViewById(R.id.icon) as StatusBarIconView).apply { in update()
DExpandableView.java34 import com.android.systemui.statusbar.StatusBarIconView;
620 public @Nullable StatusBarIconView getShelfIcon() { in getShelfIcon()
DExpandableNotificationRow.java86 import com.android.systemui.statusbar.StatusBarIconView;
600 StatusBarIconView expandedIcon = mEntry.getIcons().getShelfIcon(); in updateShelfIconColor()
604 int color = StatusBarIconView.NO_COLOR; in updateShelfIconColor()
2142 public @NonNull StatusBarIconView getShelfIcon() {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarWifiView.java21 import static com.android.systemui.statusbar.StatusBarIconView.STATE_DOT;
22 import static com.android.systemui.statusbar.StatusBarIconView.STATE_HIDDEN;
23 import static com.android.systemui.statusbar.StatusBarIconView.STATE_ICON;
48 private StatusBarIconView mDotView;
168 mDotView = new StatusBarIconView(mContext, mSlot, null); in initDotView()
DStatusBarIconView.java64 public class StatusBarIconView extends AnimatedImageView implements StatusIconDisplayable { class
98 private static final Property<StatusBarIconView, Float> ICON_APPEAR_AMOUNT
99 = new FloatProperty<StatusBarIconView>("iconAppearAmount") {
102 public void setValue(StatusBarIconView object, float value) {
107 public Float get(StatusBarIconView object) {
111 private static final Property<StatusBarIconView, Float> DOT_APPEAR_AMOUNT
112 = new FloatProperty<StatusBarIconView>("dot_appear_amount") {
115 public void setValue(StatusBarIconView object, float value) {
120 public Float get(StatusBarIconView object) {
175 public StatusBarIconView(Context context, String slot, StatusBarNotification sbn) { in StatusBarIconView() method in StatusBarIconView
[all …]
DStatusBarMobileView.java21 import static com.android.systemui.statusbar.StatusBarIconView.STATE_DOT;
22 import static com.android.systemui.statusbar.StatusBarIconView.STATE_HIDDEN;
23 import static com.android.systemui.statusbar.StatusBarIconView.STATE_ICON;
48 private StatusBarIconView mDotView;
132 mDotView = new StatusBarIconView(mContext, mSlot, null); in initDotView()
DNotificationShelf.java300 StatusBarIconView icon = expandableRow.getEntry().getIcons().getShelfIcon(); in updateAppearance()
443 StatusBarIconView icon = row.getEntry().getIcons().getShelfIcon();
455 StatusBarIconView icon = row.getEntry().getIcons().getShelfIcon();
619 StatusBarIconView icon = view.getShelfIcon();
663 StatusBarIconView icon = row.getShelfIcon();
693 if (row.isShowingIcon() && shelfColor != StatusBarIconView.NO_COLOR) {
701 private NotificationIconContainer.IconState getIconState(StatusBarIconView icon) { in getIconState()
DNotificationMediaManager.java410 .map(StatusBarIconView::getSourceIcon) in getMediaIcon()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DStatusBarIconViewTest.java66 private StatusBarIconView mIconView;
89 mIconView = new StatusBarIconView(mContext, "test_slot", null); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DStackStateAnimator.java29 import com.android.systemui.statusbar.StatusBarIconView;
437 StatusBarIconView icon = entry.getIcons().getStatusBarIcon(); in processAnimationEvents()
438 final StatusBarIconView centeredIcon = entry.getIcons().getCenteredIcon(); in processAnimationEvents()