Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationIconContainer.java37 import com.android.systemui.statusbar.StatusBarIconView;
159 private StatusBarIconView mIsolatedIcon;
289 if (child instanceof StatusBarIconView) { in onViewAdded()
290 ((StatusBarIconView) child).setDark(mDark, false, 0); in onViewAdded()
298 if (!(child instanceof StatusBarIconView)) { in isReplacingIcon()
301 StatusBarIconView iconView = (StatusBarIconView) child; in isReplacingIcon()
317 if (child instanceof StatusBarIconView) { in onViewRemoved()
319 final StatusBarIconView icon = (StatusBarIconView) child; in onViewRemoved()
320 if (icon.getVisibleState() != StatusBarIconView.STATE_HIDDEN in onViewRemoved()
334 icon.setVisibleState(StatusBarIconView.STATE_HIDDEN, true /* animate */, in onViewRemoved()
[all …]
DNotificationIconAreaController.java21 import com.android.systemui.statusbar.StatusBarIconView;
197 private void updateIconsForLayout(Function<NotificationData.Entry, StatusBarIconView> function, in updateIconsForLayout()
200 ArrayList<StatusBarIconView> toShow = new ArrayList<>( in updateIconsForLayout()
223 if (!(child instanceof StatusBarIconView)) { in updateIconsForLayout()
228 StatusBarIconView removedIcon = (StatusBarIconView) child; in updateIconsForLayout()
231 StatusBarIconView candidate = toShow.get(j); in updateIconsForLayout()
271 StatusBarIconView v = toShow.get(i); in updateIconsForLayout()
287 StatusBarIconView expected = toShow.get(i); in updateIconsForLayout()
303 final StatusBarIconView iv = (StatusBarIconView) mNotificationIcons.getChildAt(i); in applyNotificationIconsTint()
312 private void updateTintForIcon(StatusBarIconView v) { in updateTintForIcon()
[all …]
DDemoStatusIcons.java34 import com.android.systemui.statusbar.StatusBarIconView;
175 if (!(child instanceof StatusBarIconView)) { in updateSlot()
178 StatusBarIconView v = (StatusBarIconView) child; in updateSlot()
201 StatusBarIconView v = new StatusBarIconView(getContext(), slot, null, false); in updateSlot()
DStatusBarIconController.java41 import com.android.systemui.statusbar.StatusBarIconView;
257 protected StatusBarIconView addIcon(int index, String slot, boolean blocked, in addIcon()
259 StatusBarIconView view = onCreateStatusBarIconView(slot, blocked); in addIcon()
289 private StatusBarIconView onCreateStatusBarIconView(String slot, boolean blocked) { in onCreateStatusBarIconView()
290 return new StatusBarIconView(mContext, slot, null, blocked); in onCreateStatusBarIconView()
344 StatusBarIconView view = (StatusBarIconView) mGroup.getChildAt(viewIndex); in onSetIcon()
DStatusIconContainer.java19 import static com.android.systemui.statusbar.StatusBarIconView.STATE_ICON;
20 import static com.android.systemui.statusbar.StatusBarIconView.STATE_DOT;
21 import static com.android.systemui.statusbar.StatusBarIconView.STATE_HIDDEN;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarIconControllerTest.java36 import com.android.systemui.statusbar.StatusBarIconView;
80 (manager.getViewAt(0) instanceof StatusBarIconView)); in testCallOnAdd_forManager()
118 protected StatusBarIconView addIcon(int index, String slot, boolean blocked, in addIcon()
120 StatusBarIconView mock = mock(StatusBarIconView.class); in addIcon()
153 protected StatusBarIconView addIcon(int index, String slot, boolean blocked, in addIcon()
155 StatusBarIconView mock = mock(StatusBarIconView.class); in addIcon()
DHeadsUpManagerPhoneTest.java34 import com.android.systemui.statusbar.StatusBarIconView;
90 mEntry.expandedIcon = mock(StatusBarIconView.class); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java62 public class StatusBarIconView extends AnimatedImageView implements StatusIconDisplayable { class
83 private static final Property<StatusBarIconView, Float> ICON_APPEAR_AMOUNT
84 = new FloatProperty<StatusBarIconView>("iconAppearAmount") {
87 public void setValue(StatusBarIconView object, float value) {
92 public Float get(StatusBarIconView object) {
96 private static final Property<StatusBarIconView, Float> DOT_APPEAR_AMOUNT
97 = new FloatProperty<StatusBarIconView>("dot_appear_amount") {
100 public void setValue(StatusBarIconView object, float value) {
105 public Float get(StatusBarIconView object) {
157 public StatusBarIconView(Context context, String slot, StatusBarNotification sbn) { in StatusBarIconView() method in StatusBarIconView
[all …]
DStatusBarMobileView.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;
50 private StatusBarIconView mDotView;
119 mDotView = new StatusBarIconView(mContext, mSlot, null); in initDotView()
DStatusBarWifiView.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;
55 private StatusBarIconView mDotView;
184 mDotView = new StatusBarIconView(mContext, mSlot, null); in initDotView()
DNotificationShelf.java320 StatusBarIconView icon = row.getEntry().expandedIcon; in updateAppearance()
389 StatusBarIconView icon = row.getEntry().expandedIcon;
401 StatusBarIconView icon = row.getEntry().expandedIcon;
471 StatusBarIconView icon = row.getEntry().expandedIcon;
560 StatusBarIconView icon = row.getEntry().expandedIcon;
617 StatusBarIconView icon = row.getEntry().expandedIcon;
680 if (!noIcon && shelfColor != StatusBarIconView.NO_COLOR) {
689 private NotificationIconContainer.IconState getIconState(StatusBarIconView icon) { in getIconState()
DNotificationData.java92 public StatusBarIconView icon;
93 public StatusBarIconView expandedIcon;
188 icon = new StatusBarIconView(context, in createIcons()
193 expandedIcon = new StatusBarIconView(context, in createIcons()
202 StatusBarIconView.contentDescForNotification(context, n)); in createIcons()
241 StatusBarIconView.contentDescForNotification(context, n)); in updateIcons()
DExpandableNotificationRow.java496 StatusBarIconView expandedIcon = mEntry.expandedIcon; in updateShelfIconColor()
500 int color = StatusBarIconView.NO_COLOR; in updateShelfIconColor()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DStatusBarIconViewTest.java63 private StatusBarIconView mIconView;
88 mIconView = new StatusBarIconView(mContext, "test_slot", null); in setUp()
DNotificationEntryManagerTest.java181 mEntry.expandedIcon = mock(StatusBarIconView.class); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DStackStateAnimator.java32 import com.android.systemui.statusbar.StatusBarIconView;
489 StatusBarIconView icon = row.getEntry().icon; in processAnimationEvents()