Home
last modified time | relevance | path

Searched refs:StatusBarIconView (Results 1 – 18 of 18) 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>()
245 iconView: StatusBarIconView in <lambda>()
303 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;
298 if (child instanceof StatusBarIconView) { in onViewAdded()
299 ((StatusBarIconView) child).setDozing(mDozing, false, 0); in onViewAdded()
307 if (!(child instanceof StatusBarIconView)) { in isReplacingIcon()
310 StatusBarIconView iconView = (StatusBarIconView) child; in isReplacingIcon()
327 if (child instanceof StatusBarIconView) { in onViewRemoved()
329 final StatusBarIconView icon = (StatusBarIconView) child; in onViewRemoved()
330 … if (areAnimationsEnabled(icon) && icon.getVisibleState() != StatusBarIconView.STATE_HIDDEN in onViewRemoved()
344 icon.setVisibleState(StatusBarIconView.STATE_HIDDEN, true /* animate */, in onViewRemoved()
[all …]
DNotificationIconAreaController.java30 import com.android.systemui.statusbar.StatusBarIconView;
73 private StatusBarIconView mCenteredIconView;
380 private void updateIconsForLayout(Function<NotificationEntry, StatusBarIconView> function, in updateIconsForLayout()
384 ArrayList<StatusBarIconView> toShow = new ArrayList<>( in updateIconsForLayout()
395 StatusBarIconView iconView = function.apply(ent); in updateIconsForLayout()
411 if (!(child instanceof StatusBarIconView)) { in updateIconsForLayout()
416 StatusBarIconView removedIcon = (StatusBarIconView) child; in updateIconsForLayout()
419 StatusBarIconView candidate = toShow.get(j); in updateIconsForLayout()
459 StatusBarIconView v = toShow.get(i); in updateIconsForLayout()
475 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.java44 import com.android.systemui.statusbar.StatusBarIconView;
269 protected StatusBarIconView addIcon(int index, String slot, boolean blocked, in addIcon()
271 StatusBarIconView view = onCreateStatusBarIconView(slot, blocked); in addIcon()
301 private StatusBarIconView onCreateStatusBarIconView(String slot, boolean blocked) { in onCreateStatusBarIconView()
302 return new StatusBarIconView(mContext, slot, null, blocked); in onCreateStatusBarIconView()
356 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;
637 public @Nullable StatusBarIconView getShelfIcon() { in getShelfIcon()
DExpandableNotificationRow.java81 import com.android.systemui.statusbar.StatusBarIconView;
597 StatusBarIconView expandedIcon = mEntry.getIcons().getShelfIcon(); in updateShelfIconColor()
601 int color = StatusBarIconView.NO_COLOR; in updateShelfIconColor()
2131 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.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) {
164 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.java333 StatusBarIconView icon = expandableRow.getEntry().getIcons().getShelfIcon(); in updateAppearance()
433 StatusBarIconView icon = row.getEntry().getIcons().getShelfIcon();
445 StatusBarIconView icon = row.getEntry().getIcons().getShelfIcon();
534 StatusBarIconView icon = view.getShelfIcon();
673 StatusBarIconView icon = view.getShelfIcon();
748 StatusBarIconView icon = row.getShelfIcon();
838 if (!noIcon && shelfColor != StatusBarIconView.NO_COLOR) {
847 private NotificationIconContainer.IconState getIconState(StatusBarIconView icon) { in getIconState()
/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;
457 StatusBarIconView icon = entry.getIcons().getStatusBarIcon(); in processAnimationEvents()
458 final StatusBarIconView centeredIcon = entry.getIcons().getCenteredIcon(); in processAnimationEvents()