Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationIconContainer.java38 import com.android.systemui.statusbar.StatusBarIconView;
161 private StatusBarIconView mIsolatedIcon;
291 if (child instanceof StatusBarIconView) { in onViewAdded()
292 ((StatusBarIconView) child).setDozing(mDozing, false, 0); in onViewAdded()
300 if (!(child instanceof StatusBarIconView)) { in isReplacingIcon()
303 StatusBarIconView iconView = (StatusBarIconView) child; in isReplacingIcon()
320 if (child instanceof StatusBarIconView) { in onViewRemoved()
322 final StatusBarIconView icon = (StatusBarIconView) child; in onViewRemoved()
323 … if (areAnimationsEnabled(icon) && icon.getVisibleState() != StatusBarIconView.STATE_HIDDEN in onViewRemoved()
337 icon.setVisibleState(StatusBarIconView.STATE_HIDDEN, true /* animate */, in onViewRemoved()
[all …]
DNotificationIconAreaController.java27 import com.android.systemui.statusbar.StatusBarIconView;
71 private StatusBarIconView mCenteredIconView;
343 private void updateIconsForLayout(Function<NotificationEntry, StatusBarIconView> function, in updateIconsForLayout()
347 ArrayList<StatusBarIconView> toShow = new ArrayList<>( in updateIconsForLayout()
358 StatusBarIconView iconView = function.apply(ent); in updateIconsForLayout()
374 if (!(child instanceof StatusBarIconView)) { in updateIconsForLayout()
379 StatusBarIconView removedIcon = (StatusBarIconView) child; in updateIconsForLayout()
382 StatusBarIconView candidate = toShow.get(j); in updateIconsForLayout()
422 StatusBarIconView v = toShow.get(i); in updateIconsForLayout()
438 StatusBarIconView expected = toShow.get(i); in updateIconsForLayout()
[all …]
DStatusBarIconController.java43 import com.android.systemui.statusbar.StatusBarIconView;
259 protected StatusBarIconView addIcon(int index, String slot, boolean blocked, in addIcon()
261 StatusBarIconView view = onCreateStatusBarIconView(slot, blocked); in addIcon()
291 private StatusBarIconView onCreateStatusBarIconView(String slot, boolean blocked) { in onCreateStatusBarIconView()
292 return new StatusBarIconView(mContext, slot, null, blocked); in onCreateStatusBarIconView()
346 StatusBarIconView view = (StatusBarIconView) mGroup.getChildAt(viewIndex); in onSetIcon()
DDemoStatusIcons.java34 import com.android.systemui.statusbar.StatusBarIconView;
172 if (!(child instanceof StatusBarIconView)) { in updateSlot()
175 StatusBarIconView v = (StatusBarIconView) child; in updateSlot()
198 StatusBarIconView v = new StatusBarIconView(getContext(), slot, null, false); in updateSlot()
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.java34 import com.android.systemui.statusbar.StatusBarIconView;
78 (manager.getViewAt(0) instanceof StatusBarIconView)); in testCallOnAdd_forManager()
116 protected StatusBarIconView addIcon(int index, String slot, boolean blocked, in addIcon()
118 StatusBarIconView mock = mock(StatusBarIconView.class); in addIcon()
151 protected StatusBarIconView addIcon(int index, String slot, boolean blocked, in addIcon()
153 StatusBarIconView mock = mock(StatusBarIconView.class); in addIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntry.java56 import com.android.systemui.statusbar.StatusBarIconView;
95 public StatusBarIconView icon;
96 public StatusBarIconView expandedIcon;
97 public StatusBarIconView centeredIcon;
98 public StatusBarIconView aodIcon;
318 icon = new StatusBarIconView(context, in createIcons()
323 expandedIcon = new StatusBarIconView(context, in createIcons()
328 aodIcon = new StatusBarIconView(context, in createIcons()
339 StatusBarIconView.contentDescForNotification(context, n)); in createIcons()
358 centeredIcon = new StatusBarIconView(context, in createIcons()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java63 public class StatusBarIconView extends AnimatedImageView implements StatusIconDisplayable { class
87 private static final Property<StatusBarIconView, Float> ICON_APPEAR_AMOUNT
88 = new FloatProperty<StatusBarIconView>("iconAppearAmount") {
91 public void setValue(StatusBarIconView object, float value) {
96 public Float get(StatusBarIconView object) {
100 private static final Property<StatusBarIconView, Float> DOT_APPEAR_AMOUNT
101 = new FloatProperty<StatusBarIconView>("dot_appear_amount") {
104 public void setValue(StatusBarIconView object, float value) {
109 public Float get(StatusBarIconView object) {
163 public StatusBarIconView(Context context, String slot, StatusBarNotification sbn) { in StatusBarIconView() method in StatusBarIconView
[all …]
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()
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;
49 private StatusBarIconView mDotView;
120 mDotView = new StatusBarIconView(mContext, mSlot, null); in initDotView()
DNotificationShelf.java338 StatusBarIconView icon = expandableRow.getEntry().expandedIcon; in updateAppearance()
435 StatusBarIconView icon = row.getEntry().expandedIcon;
447 StatusBarIconView icon = row.getEntry().expandedIcon;
536 StatusBarIconView icon = row.getEntry().expandedIcon;
626 StatusBarIconView icon = row.getEntry().expandedIcon;
683 StatusBarIconView icon = row.getEntry().expandedIcon;
749 if (!noIcon && shelfColor != StatusBarIconView.NO_COLOR) {
758 private NotificationIconContainer.IconState getIconState(StatusBarIconView icon) {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DStatusBarIconViewTest.java64 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.java30 import com.android.systemui.statusbar.StatusBarIconView;
456 StatusBarIconView icon = entry.icon; in processAnimationEvents()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationEntryManagerTest.java76 import com.android.systemui.statusbar.StatusBarIconView;
243 mEntry.expandedIcon = mock(StatusBarIconView.class); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRow.java85 import com.android.systemui.statusbar.StatusBarIconView;
595 StatusBarIconView expandedIcon = mEntry.expandedIcon; in updateShelfIconColor()
599 int color = StatusBarIconView.NO_COLOR; in updateShelfIconColor()