/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/ |
D | IconPack.java | 23 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 …]
|
D | IconBuilder.kt | 21 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()
|
D | IconManager.kt | 31 import com.android.systemui.statusbar.StatusBarIconView in <lambda>() 248 iconView: StatusBarIconView in <lambda>() 306 iconView: StatusBarIconView, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NotificationIconContainer.java | 43 import com.android.systemui.statusbar.StatusBarIconView; 169 private StatusBarIconView mIsolatedIcon; 334 if (child instanceof StatusBarIconView) { in onViewAdded() 335 ((StatusBarIconView) child).setDozing(mDozing, false, 0); in onViewAdded() 343 if (!(child instanceof StatusBarIconView)) { in isReplacingIcon() 346 StatusBarIconView iconView = (StatusBarIconView) child; in isReplacingIcon() 363 if (child instanceof StatusBarIconView) { in onViewRemoved() 365 final StatusBarIconView icon = (StatusBarIconView) child; in onViewRemoved() 366 … if (areAnimationsEnabled(icon) && icon.getVisibleState() != StatusBarIconView.STATE_HIDDEN in onViewRemoved() 380 icon.setVisibleState(StatusBarIconView.STATE_HIDDEN, true /* animate */, in onViewRemoved() [all …]
|
D | NotificationIconAreaController.java | 34 import com.android.systemui.statusbar.StatusBarIconView; 369 private void updateIconsForLayout(Function<NotificationEntry, StatusBarIconView> function, in updateIconsForLayout() 373 ArrayList<StatusBarIconView> toShow = new ArrayList<>(mNotificationEntries.size()); in updateIconsForLayout() 380 StatusBarIconView iconView = function.apply(entry); in updateIconsForLayout() 396 if (!(child instanceof StatusBarIconView)) { in updateIconsForLayout() 401 StatusBarIconView removedIcon = (StatusBarIconView) child; in updateIconsForLayout() 404 StatusBarIconView candidate = toShow.get(j); in updateIconsForLayout() 444 StatusBarIconView v = toShow.get(i); in updateIconsForLayout() 460 StatusBarIconView expected = toShow.get(i); in updateIconsForLayout() 476 final StatusBarIconView iv = (StatusBarIconView) mNotificationIcons.getChildAt(i); in applyNotificationIconsTint() [all …]
|
D | DemoStatusIcons.java | 36 import com.android.systemui.statusbar.StatusBarIconView; 207 if (!(child instanceof StatusBarIconView)) { in updateSlot() 210 StatusBarIconView v = (StatusBarIconView) child; in updateSlot() 233 StatusBarIconView v = new StatusBarIconView(getContext(), slot, null, false); in updateSlot()
|
D | StatusBarIconController.java | 44 import com.android.systemui.statusbar.StatusBarIconView; 482 protected StatusBarIconView addIcon(int index, String slot, boolean blocked, in addIcon() 484 StatusBarIconView view = onCreateStatusBarIconView(slot, blocked); in addIcon() 570 private StatusBarIconView onCreateStatusBarIconView(String slot, boolean blocked) { in onCreateStatusBarIconView() 571 return new StatusBarIconView(mContext, slot, null, blocked); in onCreateStatusBarIconView() 636 StatusBarIconView view = (StatusBarIconView) mGroup.getChildAt(viewIndex); in onSetIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/view/ |
D | ModernStatusBarView.kt | 26 import com.android.systemui.statusbar.StatusBarIconView 27 import com.android.systemui.statusbar.StatusBarIconView.STATE_DOT 28 import com.android.systemui.statusbar.StatusBarIconView.STATE_HIDDEN 41 @StatusBarIconView.VisibleState 67 override fun setVisibleState(@StatusBarIconView.VisibleState state: Int, animate: Boolean) { in setVisibleState() 71 @StatusBarIconView.VisibleState 114 StatusBarIconView(mContext, slot, null).also { in initDotView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | StatusIconDisplayable.java | 27 default void setVisibleState(@StatusBarIconView.VisibleState int state) { in setVisibleState() 35 void setVisibleState(@StatusBarIconView.VisibleState int state, boolean animate); in setVisibleState() 38 @StatusBarIconView.VisibleState
|
D | StatusBarWifiView.java | 20 import static com.android.systemui.statusbar.StatusBarIconView.STATE_DOT; 21 import static com.android.systemui.statusbar.StatusBarIconView.STATE_HIDDEN; 22 import static com.android.systemui.statusbar.StatusBarIconView.STATE_ICON; 47 private StatusBarIconView mDotView; 58 @StatusBarIconView.VisibleState 111 public void setVisibleState(@StatusBarIconView.VisibleState int state, boolean animate) { in setVisibleState() 135 @StatusBarIconView.VisibleState 164 mDotView = new StatusBarIconView(mContext, mSlot, null); in initDotView()
|
D | StatusBarMobileView.java | 21 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; 53 private StatusBarIconView mDotView; 64 @StatusBarIconView.VisibleState 135 mDotView = new StatusBarIconView(mContext, mSlot, null); in initDotView() 272 public void setVisibleState(@StatusBarIconView.VisibleState int state, boolean animate) { in setVisibleState() 313 @StatusBarIconView.VisibleState
|
D | StatusBarIconView.java | 69 public class StatusBarIconView extends AnimatedImageView implements StatusIconDisplayable { class 107 private static final Property<StatusBarIconView, Float> ICON_APPEAR_AMOUNT 108 = new FloatProperty<StatusBarIconView>("iconAppearAmount") { 111 public void setValue(StatusBarIconView object, float value) { 116 public Float get(StatusBarIconView object) { 120 private static final Property<StatusBarIconView, Float> DOT_APPEAR_AMOUNT 121 = new FloatProperty<StatusBarIconView>("dot_appear_amount") { 124 public void setValue(StatusBarIconView object, float value) { 129 public Float get(StatusBarIconView object) { 153 @StatusBarIconView.VisibleState [all …]
|
D | NotificationShelf.java | 576 StatusBarIconView icon = row.getEntry().getIcons().getShelfIcon(); 588 StatusBarIconView icon = row.getEntry().getIcons().getShelfIcon(); 774 StatusBarIconView icon = view.getShelfIcon(); in updateIconPositioning() 818 StatusBarIconView icon = row.getShelfIcon(); in setIconTransformationAmount() 848 if (row.isShowingIcon() && shelfColor != StatusBarIconView.NO_COLOR) { in setIconTransformationAmount() 856 private NotificationIconContainer.IconState getIconState(StatusBarIconView icon) { in getIconState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/ui/binder/ |
D | WifiViewBinder.kt | 29 import com.android.systemui.statusbar.StatusBarIconView in <lambda>() 30 import com.android.systemui.statusbar.StatusBarIconView.STATE_DOT in <lambda>() 31 import com.android.systemui.statusbar.StatusBarIconView.STATE_HIDDEN in <lambda>() 32 import com.android.systemui.statusbar.StatusBarIconView.STATE_ICON in <lambda>() 62 val dotView = view.requireViewById<StatusBarIconView>(R.id.status_bar_dot) in <lambda>() 72 @StatusBarIconView.VisibleState in <lambda>() 149 override fun onVisibilityStateChanged(@StatusBarIconView.VisibleState state: Int) { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/binder/ |
D | MobileIconBinder.kt | 35 import com.android.systemui.statusbar.StatusBarIconView in <lambda>() 36 import com.android.systemui.statusbar.StatusBarIconView.STATE_DOT in <lambda>() 37 import com.android.systemui.statusbar.StatusBarIconView.STATE_HIDDEN in <lambda>() 38 import com.android.systemui.statusbar.StatusBarIconView.STATE_ICON in <lambda>() 64 val dotView = view.requireViewById<StatusBarIconView>(R.id.status_bar_dot) in <lambda>() 70 @StatusBarIconView.VisibleState in <lambda>() 186 override fun onVisibilityStateChanged(@StatusBarIconView.VisibleState state: Int) { in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarIconControllerTest.java | 42 import com.android.systemui.statusbar.StatusBarIconView; 157 (manager.getViewAt(0) instanceof StatusBarIconView)); in testCallOnAdd_forManager() 208 protected StatusBarIconView addIcon(int index, String slot, boolean blocked, in addIcon() 210 StatusBarIconView mock = mock(StatusBarIconView.class); in addIcon() 248 protected StatusBarIconView addIcon(int index, String slot, boolean blocked, in addIcon() 250 StatusBarIconView mock = mock(StatusBarIconView.class); in addIcon()
|
D | NotificationIconContainerTest.kt | 23 import com.android.systemui.statusbar.StatusBarIconView 256 private fun mockStatusBarIcon() : StatusBarIconView { in mockStatusBarIcon() 257 val iconView = mock(StatusBarIconView::class.java) in mockStatusBarIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/binder/ |
D | ModernStatusBarViewBinding.kt | 19 import com.android.systemui.statusbar.StatusBarIconView 33 fun onVisibilityStateChanged(@StatusBarIconView.VisibleState state: Int)
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/ui/view/ |
D | ModernStatusBarViewTest.kt | 24 import com.android.systemui.statusbar.StatusBarIconView.STATE_DOT 25 import com.android.systemui.statusbar.StatusBarIconView.STATE_HIDDEN 26 import com.android.systemui.statusbar.StatusBarIconView.STATE_ICON
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationShelfTest.kt | 14 import com.android.systemui.statusbar.StatusBarIconView 187 whenever(expandableView.shelfIcon).thenReturn(mock(StatusBarIconView::class.java)) in getAmountInShelf_lastViewBelowShelf_completelyInShelf() 214 whenever(expandableView.shelfIcon).thenReturn(mock(StatusBarIconView::class.java)) in getAmountInShelf_lastViewAlmostBelowShelf_completelyInShelf() 241 whenever(expandableView.shelfIcon).thenReturn(mock(StatusBarIconView::class.java)) in getAmountInShelf_lastViewHalfClippedByShelf_halfInShelf() 268 whenever(expandableView.shelfIcon).thenReturn(mock(StatusBarIconView::class.java)) in getAmountInShelf_lastViewAboveShelf_notInShelf()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/view/ |
D | ModernStatusBarMobileViewTest.kt | 30 import com.android.systemui.statusbar.StatusBarIconView 107 view.setVisibleState(StatusBarIconView.STATE_ICON, /* animate= */ false) in setVisibleState_icon_iconShownDotHidden() 127 view.setVisibleState(StatusBarIconView.STATE_DOT, /* animate= */ false) in setVisibleState_dot_iconHiddenDotShown() 147 view.setVisibleState(StatusBarIconView.STATE_HIDDEN, /* animate= */ false) in setVisibleState_hidden_iconAndDotHidden()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | StatusBarIconViewTest.java | 71 private StatusBarIconView mIconView; 94 mIconView = new StatusBarIconView(mContext, "test_slot", null); in setUp() 183 StatusBarIconView.contentDescForNotification(mContext, n); in testContentDescForNotification_invalidAi_noCrash()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/ui/view/ |
D | ModernStatusBarWifiViewTest.kt | 30 import com.android.systemui.statusbar.StatusBarIconView.STATE_DOT 31 import com.android.systemui.statusbar.StatusBarIconView.STATE_HIDDEN 32 import com.android.systemui.statusbar.StatusBarIconView.STATE_ICON
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/ui/view/ |
D | ModernStatusBarWifiView.kt | 24 import com.android.systemui.statusbar.StatusBarIconView
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/view/ |
D | ModernStatusBarMobileView.kt | 23 import com.android.systemui.statusbar.StatusBarIconView.getVisibleStateString
|