Home
last modified time | relevance | path

Searched refs:mEmptyShadeView (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationStackScrollLayoutTest.java123 @Mock private EmptyShadeView mEmptyShadeView; field in NotificationStackScrollLayoutTest
199 mStackScroller.setEmptyShadeView(mEmptyShadeView); in setUp()
354 when(mEmptyShadeView.willBeGone()).thenReturn(true); in updateEmptyView_dndSuppressing()
363 mStackScroller.setEmptyShadeView(mEmptyShadeView); in updateEmptyView_dndNotSuppressing()
364 when(mEmptyShadeView.willBeGone()).thenReturn(true); in updateEmptyView_dndNotSuppressing()
368 verify(mEmptyShadeView).setText(R.string.empty_shade_text); in updateEmptyView_dndNotSuppressing()
373 mStackScroller.setEmptyShadeView(mEmptyShadeView); in updateEmptyView_noNotificationsToDndSuppressing()
374 when(mEmptyShadeView.willBeGone()).thenReturn(true); in updateEmptyView_noNotificationsToDndSuppressing()
403 when(mEmptyShadeView.getHeight()).thenReturn(90); in testAppearFractionCalculationIsNotNegativeWhenShelfBecomesSmaller()
563 when(mEmptyShadeView.getVisibility()).thenReturn(GONE); in testUpdateFooter_oneNonClearableNotification()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationStackScrollLayout.java271 protected EmptyShadeView mEmptyShadeView; field in NotificationStackScrollLayout
4402 mEmptyShadeView.setTextColor(textColor); in updateDecorViews()
4540 if (mEmptyShadeView != null) { in setEmptyShadeView()
4541 index = indexOfChild(mEmptyShadeView); in setEmptyShadeView()
4542 removeView(mEmptyShadeView); in setEmptyShadeView()
4544 mEmptyShadeView = emptyShadeView; in setEmptyShadeView()
4545 addView(mEmptyShadeView, index); in setEmptyShadeView()
4569 mEmptyShadeView.setText(newTextRes); in updateEmptyShadeView()
4587 return mEmptyShadeView.isVisible(); in isEmptyShadeViewVisible()
4636 return mEmptyShadeView.getHeight(); in getEmptyShadeViewHeight()
[all …]