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;
160 private StatusBarIconView mIsolatedIcon;
290 if (child instanceof StatusBarIconView) { in onViewAdded()
291 ((StatusBarIconView) child).setDark(mDark, false, 0); in onViewAdded()
299 if (!(child instanceof StatusBarIconView)) { in isReplacingIcon()
302 StatusBarIconView iconView = (StatusBarIconView) child; in isReplacingIcon()
319 if (child instanceof StatusBarIconView) { in onViewRemoved()
321 final StatusBarIconView icon = (StatusBarIconView) child; in onViewRemoved()
322 if (mAnimationsEnabled && icon.getVisibleState() != StatusBarIconView.STATE_HIDDEN in onViewRemoved()
336 icon.setVisibleState(StatusBarIconView.STATE_HIDDEN, true /* animate */, in onViewRemoved()
[all …]
DNotificationIconAreaController.java26 import com.android.systemui.statusbar.StatusBarIconView;
63 private StatusBarIconView mCenteredIconView;
300 private void updateIconsForLayout(Function<NotificationEntry, StatusBarIconView> function, in updateIconsForLayout()
304 ArrayList<StatusBarIconView> toShow = new ArrayList<>( in updateIconsForLayout()
314 StatusBarIconView iconView = function.apply(ent); in updateIconsForLayout()
330 if (!(child instanceof StatusBarIconView)) { in updateIconsForLayout()
335 StatusBarIconView removedIcon = (StatusBarIconView) child; in updateIconsForLayout()
338 StatusBarIconView candidate = toShow.get(j); in updateIconsForLayout()
378 StatusBarIconView v = toShow.get(i); in updateIconsForLayout()
394 StatusBarIconView expected = toShow.get(i); in updateIconsForLayout()
[all …]
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()
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()
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/
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.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) {
162 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;
49 private StatusBarIconView mDotView;
120 mDotView = new StatusBarIconView(mContext, mSlot, null); in initDotView()
DNotificationShelf.java360 StatusBarIconView icon = expandableRow.getEntry().expandedIcon; in updateAppearance()
453 StatusBarIconView icon = row.getEntry().expandedIcon;
465 StatusBarIconView icon = row.getEntry().expandedIcon;
550 StatusBarIconView icon = row.getEntry().expandedIcon;
640 StatusBarIconView icon = row.getEntry().expandedIcon;
697 StatusBarIconView icon = row.getEntry().expandedIcon;
762 if (!noIcon && shelfColor != StatusBarIconView.NO_COLOR) {
771 private NotificationIconContainer.IconState getIconState(StatusBarIconView icon) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntry.java57 import com.android.systemui.statusbar.StatusBarIconView;
96 public StatusBarIconView icon;
97 public StatusBarIconView expandedIcon;
98 public StatusBarIconView centeredIcon;
344 icon = new StatusBarIconView(context, in createIcons()
349 expandedIcon = new StatusBarIconView(context, in createIcons()
359 StatusBarIconView.contentDescForNotification(context, n)); in createIcons()
377 centeredIcon = new StatusBarIconView(context, in createIcons()
417 StatusBarIconView.contentDescForNotification(context, n)); in updateIcons()
/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;
455 StatusBarIconView icon = row.getEntry().icon; in processAnimationEvents()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationEntryManagerTest.java75 import com.android.systemui.statusbar.StatusBarIconView;
241 mEntry.expandedIcon = mock(StatusBarIconView.class); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRow.java87 import com.android.systemui.statusbar.StatusBarIconView;
617 StatusBarIconView expandedIcon = mEntry.expandedIcon; in updateShelfIconColor()
621 int color = StatusBarIconView.NO_COLOR; in updateShelfIconColor()