Home
last modified time | relevance | path

Searched refs:ExpandableNotificationRow (Results 1 – 25 of 87) sorted by relevance

1234

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationViewHierarchyManager.java37 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
68 private final HashMap<ExpandableNotificationRow, List<ExpandableNotificationRow>>
141 ArrayList<ExpandableNotificationRow> toShow = new ArrayList<>(activeNotifications.size()); in updateNotificationViews()
175 List<ExpandableNotificationRow> orderedChildren = in updateNotificationViews()
187 ArrayList<ExpandableNotificationRow> viewsToRemove = new ArrayList<>(); in updateNotificationViews()
190 if (!toShow.contains(child) && child instanceof ExpandableNotificationRow) { in updateNotificationViews()
191 ExpandableNotificationRow row = (ExpandableNotificationRow) child; in updateNotificationViews()
196 viewsToRemove.add((ExpandableNotificationRow) child); in updateNotificationViews()
201 for (ExpandableNotificationRow viewToRemove : viewsToRemove) { in updateNotificationViews()
237 if (!(child instanceof ExpandableNotificationRow)) { in updateNotificationViews()
[all …]
DNotificationHeaderUtil.java30 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
46 public Object extractData(ExpandableNotificationRow row) {
97 private final ExpandableNotificationRow mRow;
101 public NotificationHeaderUtil(ExpandableNotificationRow row) { in NotificationHeaderUtil()
144 List<ExpandableNotificationRow> notificationChildren = mRow.getNotificationChildren(); in updateChildrenHeaderAppearance()
155 ExpandableNotificationRow row = notificationChildren.get(i); in updateChildrenHeaderAppearance()
163 ExpandableNotificationRow row = notificationChildren.get(i); in updateChildrenHeaderAppearance()
172 private void sanitizeHeaderViews(ExpandableNotificationRow row) { in sanitizeHeaderViews()
239 public void restoreNotificationHeader(ExpandableNotificationRow row) { in restoreNotificationHeader()
250 private final ExpandableNotificationRow mParentRow;
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationTestHelper.java44 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
70 private ExpandableNotificationRow mRow;
86 public ExpandableNotificationRow createRow() throws Exception { in createRow()
98 public ExpandableNotificationRow createRow(String pkg, int uid, UserHandle userHandle) in createRow()
110 public ExpandableNotificationRow createRow(Notification notification) throws Exception { in createRow()
122 public ExpandableNotificationRow createRow(@InflationFlag int extraInflationFlags) in createRow()
131 public ExpandableNotificationRow createGroup(int numChildren) throws Exception { in createGroup()
132 ExpandableNotificationRow row = createGroupSummary(GROUP_KEY); in createGroup()
134 ExpandableNotificationRow childRow = createGroupChild(GROUP_KEY); in createGroup()
141 public ExpandableNotificationRow createGroup() throws Exception { in createGroup()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationBlockingHelperManagerTest.java102 ExpandableNotificationRow row = createBlockableRowSpy(); in testDismissCurrentBlockingHelper_withDetachedBlockingHelperRow()
115 ExpandableNotificationRow row = createBlockableRowSpy(); in testDismissCurrentBlockingHelper_withAttachedBlockingHelperRow()
128 ExpandableNotificationRow row = createBlockableRowSpy(); in testPerhapsShowBlockingHelper_shown()
138 ExpandableNotificationRow groupRow = createBlockableGroupRowSpy(10); in testPerhapsShowBlockingHelper_notShownForMultiChannelGroup()
140 for (ExpandableNotificationRow childRow : groupRow.getNotificationChildren()) { in testPerhapsShowBlockingHelper_notShownForMultiChannelGroup()
154 ExpandableNotificationRow groupRow = createBlockableGroupRowSpy(10); in testPerhapsShowBlockingHelper_shownForLargeGroup()
165 ExpandableNotificationRow groupRow = createBlockableGroupRowSpy(1); in testPerhapsShowBlockingHelper_shownForOnlyChildNotification()
169 ExpandableNotificationRow childRow = groupRow.getChildrenContainer().getViewAtPosition(0); in testPerhapsShowBlockingHelper_shownForOnlyChildNotification()
180 ExpandableNotificationRow row = createBlockableRowSpy(); in testPerhapsShowBlockingHelper_notShownDueToNeutralUserSentiment()
189 ExpandableNotificationRow row = createBlockableRowSpy(); in testPerhapsShowBlockingHelper_notShownDueToPositiveUserSentiment()
[all …]
DExpandableNotificationRowTest.java74 private ExpandableNotificationRow mGroupRow;
133 ExpandableNotificationRow row = spy(mNotificationTestHelper.createRow( in testIconColorShouldBeUpdatedWhenSensitive()
142 ExpandableNotificationRow row = spy(mNotificationTestHelper.createRow()); in testIconColorShouldBeUpdatedWhenSettingDark()
149 ExpandableNotificationRow row = mNotificationTestHelper.createRow(FLAG_CONTENT_VIEW_ALL); in testFreeContentViewWhenSafe()
158 ExpandableNotificationRow row = mNotificationTestHelper.createRow(); in setNeedsRedactionSetsInflationFlag()
167 ExpandableNotificationRow row = mNotificationTestHelper.createRow(FLAG_CONTENT_VIEW_ALL); in setNeedsRedactionFreesViewWhenFalse()
178 ExpandableNotificationRow row = mNotificationTestHelper.createRow(); in testAboveShelfChangedListenerCalled()
187 ExpandableNotificationRow row = mNotificationTestHelper.createRow(); in testAboveShelfChangedListenerCalledPinned()
196 ExpandableNotificationRow row = mNotificationTestHelper.createRow(); in testAboveShelfChangedListenerCalledHeadsUpGoingAway()
204 ExpandableNotificationRow row = mNotificationTestHelper.createRow(); in testAboveShelfChangedListenerCalledWhenGoingBelow()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DAboveShelfObserverTest.java30 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
53 ExpandableNotificationRow row = mNotificationTestHelper.createRow(); in setUp()
64 ExpandableNotificationRow row = (ExpandableNotificationRow) mHostLayout.getChildAt(0); in testObserverChangesWhenGoingAbove()
72 ExpandableNotificationRow row = (ExpandableNotificationRow) mHostLayout.getChildAt(0); in testObserverChangesWhenGoingBelow()
81 ExpandableNotificationRow row = (ExpandableNotificationRow) mHostLayout.getChildAt(0); in testStaysAboveWhenOneGoesAway()
83 row = (ExpandableNotificationRow) mHostLayout.getChildAt(1); in testStaysAboveWhenOneGoesAway()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationClicker.java26 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
50 if (!(v instanceof ExpandableNotificationRow)) { in onClick()
57 final ExpandableNotificationRow row = (ExpandableNotificationRow) v; in onClick()
88 private boolean isMenuVisible(ExpandableNotificationRow row) { in isMenuVisible()
95 public void register(ExpandableNotificationRow row, StatusBarNotification sbn) { in register()
DNotificationActivityStarter.java22 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
30 void onNotificationClicked(StatusBarNotification sbn, ExpandableNotificationRow row); in onNotificationClicked()
34 ExpandableNotificationRow row); in startNotificationGutsIntent()
DAboveShelfObserver.java23 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
49 if (child instanceof ExpandableNotificationRow) { in onAboveShelfStateChanged()
50 if (((ExpandableNotificationRow) child).isAboveShelf()) { in onAboveShelfStateChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DStackScrollAlgorithm.java29 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
128 if (v instanceof ExpandableNotificationRow) { in getNotificationChildrenStates()
129 ExpandableNotificationRow row = (ExpandableNotificationRow) v; in getNotificationChildrenStates()
175 boolean isHeadsUp = (child instanceof ExpandableNotificationRow) in updateClipping()
176 && ((ExpandableNotificationRow) child).isPinned(); in updateClipping()
197 if (!(v instanceof ExpandableNotificationRow)) { in canChildBeDismissed()
200 ExpandableNotificationRow row = (ExpandableNotificationRow) v; in canChildBeDismissed()
310 if (v instanceof ExpandableNotificationRow) { in initAlgorithmState()
311 ExpandableNotificationRow row = (ExpandableNotificationRow) v; in initAlgorithmState()
314 List<ExpandableNotificationRow> children = row.getNotificationChildren(); in initAlgorithmState()
[all …]
DNotificationSwipeHelper.java33 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
126 if (currView instanceof ExpandableNotificationRow) { in onDownUpdate()
127 initializeRow((ExpandableNotificationRow) currView); in onDownUpdate()
132 protected void initializeRow(ExpandableNotificationRow row) { in initializeRow()
304 if (v instanceof ExpandableNotificationRow) { in getViewTranslationAnimator()
305 return ((ExpandableNotificationRow) v).getTranslateViewAnimator(target, listener); in getViewTranslationAnimator()
313 if (v instanceof ExpandableNotificationRow) { in setTranslation()
314 ((ExpandableNotificationRow) v).setTranslation(translate); in setTranslation()
320 if (v instanceof ExpandableNotificationRow) { in getTranslation()
321 return ((ExpandableNotificationRow) v).getTranslation(); in getTranslation()
[all …]
DNotificationStackScrollLayout.java120 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
311 private ExpandableNotificationRow.LongPressListener mLongPressListener;
338 private HashSet<Pair<ExpandableNotificationRow, Boolean>> mHeadsUpChangeAnimations
345 private final ArrayList<Pair<ExpandableNotificationRow, Boolean>> mTmpList = new ArrayList<>();
615 if (child instanceof ExpandableNotificationRow) { in updateDismissRtlSetting()
616 ((ExpandableNotificationRow) child).setDismissRtl(dismissRtl); in updateDismissRtlSetting()
698 if (!(child instanceof ExpandableNotificationRow)) { in hasActiveClearableNotifications()
701 final ExpandableNotificationRow row = (ExpandableNotificationRow) child; in hasActiveClearableNotifications()
788 if (mScrollAnchorView instanceof ExpandableNotificationRow) {
793 + ((ExpandableNotificationRow) mScrollAnchorView).getActualHeight(),
[all …]
DNotificationChildrenContainer.java39 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
68 private final List<ExpandableNotificationRow> mChildren = new ArrayList<>();
78 private ExpandableNotificationRow mContainingNotification;
202 ExpandableNotificationRow child = mChildren.get(i); in onMeasure()
250 public void addNotification(ExpandableNotificationRow row, int childIndex) { in addNotification()
270 public void removeNotification(ExpandableNotificationRow row) {
404 public List<ExpandableNotificationRow> getNotificationChildren() {
416 public boolean applyChildOrder(List<ExpandableNotificationRow> childOrder,
424 ExpandableNotificationRow child = mChildren.get(i);
425 ExpandableNotificationRow desiredChild = childOrder.get(i);
[all …]
DNotificationSectionsManager.java33 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
53 @Nullable private ExpandableNotificationRow mFirstGentleNotif;
133 if (child instanceof ExpandableNotificationRow in updateSectionBoundaries()
135 ExpandableNotificationRow row = (ExpandableNotificationRow) child; in updateSectionBoundaries()
249 if (child.getVisibility() != View.GONE && child instanceof ExpandableNotificationRow) { in getLastHighPriorityChild()
250 ExpandableNotificationRow row = (ExpandableNotificationRow) child; in getLastHighPriorityChild()
DStackStateAnimator.java31 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
370 if (changingView instanceof ExpandableNotificationRow in processAnimationEvents()
371 && event.viewAfterChangingView instanceof ExpandableNotificationRow) { in processAnimationEvents()
372 ExpandableNotificationRow changingRow = in processAnimationEvents()
373 (ExpandableNotificationRow) changingView; in processAnimationEvents()
374 ExpandableNotificationRow nextRow = in processAnimationEvents()
375 (ExpandableNotificationRow) event.viewAfterChangingView; in processAnimationEvents()
406 ExpandableNotificationRow row = (ExpandableNotificationRow) event.mChangingView; in processAnimationEvents()
450 if (changingView instanceof ExpandableNotificationRow) { in processAnimationEvents()
451 ExpandableNotificationRow row = (ExpandableNotificationRow) changingView; in processAnimationEvents()
DAmbientState.java32 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
81 private ExpandableNotificationRow mExpandingNotification;
454 if (view instanceof ExpandableNotificationRow) { in isDozingAndNotPulsing()
455 return isDozingAndNotPulsing((ExpandableNotificationRow) view); in isDozingAndNotPulsing()
463 public boolean isDozingAndNotPulsing(ExpandableNotificationRow row) { in isDozingAndNotPulsing()
471 public void setExpandingNotification(ExpandableNotificationRow row) { in setExpandingNotification()
475 public ExpandableNotificationRow getExpandingNotification() { in getExpandingNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationDecoratedCustomViewWrapper.java23 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
33 ExpandableNotificationRow row) { in NotificationDecoratedCustomViewWrapper()
38 public void onContentUpdated(ExpandableNotificationRow row) { in onContentUpdated()
DNotificationBigTextTemplateViewWrapper.java25 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
35 ExpandableNotificationRow row) { in NotificationBigTextTemplateViewWrapper()
44 public void onContentUpdated(ExpandableNotificationRow row) { in onContentUpdated()
DNotificationBigPictureTemplateViewWrapper.java27 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
35 ExpandableNotificationRow row) { in NotificationBigPictureTemplateViewWrapper()
40 public void onContentUpdated(ExpandableNotificationRow row) { in onContentUpdated()
DNotificationCustomViewWrapper.java25 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
35 protected NotificationCustomViewWrapper(Context ctx, View view, ExpandableNotificationRow row) { in NotificationCustomViewWrapper()
47 public void onContentUpdated(ExpandableNotificationRow row) { in onContentUpdated()
DNotificationMessagingTemplateViewWrapper.java26 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
38 ExpandableNotificationRow row) { in NotificationMessagingTemplateViewWrapper()
50 public void onContentUpdated(ExpandableNotificationRow row) { in onContentUpdated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRow.java118 public class ExpandableNotificationRow extends ActivatableNotificationView class
249 private ExpandableNotificationRow mNotificationParent;
311 private static final Property<ExpandableNotificationRow, Float> TRANSLATE_CONTENT =
312 new FloatProperty<ExpandableNotificationRow>("translate") {
314 public void setValue(ExpandableNotificationRow object, float value) {
319 public Float get(ExpandableNotificationRow object) {
404 List<ExpandableNotificationRow> notificationChildren = in setIconAnimationRunning()
407 ExpandableNotificationRow child = notificationChildren.get(i); in setIconAnimationRunning()
761 public void addChildNotification(ExpandableNotificationRow row) {
803 public void addChildNotification(ExpandableNotificationRow row, int childIndex) {
[all …]
DNotificationGutsManager.java140 final NotificationChannel channel, ExpandableNotificationRow row) { in startAppNotificationSettingsActivity()
155 final NotificationChannel channel, ExpandableNotificationRow row) { in startAppDetailsSettingsActivity()
167 ExpandableNotificationRow row) { in startAppOpsSettingsActivity()
183 private boolean bindGuts(final ExpandableNotificationRow row) { in bindGuts()
189 protected boolean bindGuts(final ExpandableNotificationRow row, in bindGuts()
237 final ExpandableNotificationRow row, in initializeSnoozeView()
257 final ExpandableNotificationRow row, in initializeAppOpsInfo()
283 final ExpandableNotificationRow row, in initializeNotificationInfo()
364 public ExpandableNotificationRow.LongPressListener getNotificationLongClicker() { in getNotificationLongClicker()
412 if (!(view instanceof ExpandableNotificationRow)) { in openGutsInternal()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarRemoteInputCallback.java48 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
107 public void onLockedRemoteInput(ExpandableNotificationRow row, View clicked) { in onLockedRemoteInput()
126 while (!(p instanceof ExpandableNotificationRow)) { in onWorkChallengeChanged()
133 final ExpandableNotificationRow row = (ExpandableNotificationRow) p; in onWorkChallengeChanged()
161 public void onMakeExpandedVisibleForRemoteInput(ExpandableNotificationRow row, in onMakeExpandedVisibleForRemoteInput()
176 public void onLockedWorkRemoteInput(int userId, ExpandableNotificationRow row, in onLockedWorkRemoteInput()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayoutTest.java71 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
324 ExpandableNotificationRow row = mock(ExpandableNotificationRow.class); in testUpdateFooter_remoteInput()
341 ExpandableNotificationRow row = mock(ExpandableNotificationRow.class); in testUpdateFooter_oneClearableNotification()
368 ExpandableNotificationRow row = mock(ExpandableNotificationRow.class); in testUpdateFooter_atEnd()
446 mock(ExpandableNotificationRow.LongPressListener.class)); in testOnMenuClickedLogging()
448 ExpandableNotificationRow row = mock(ExpandableNotificationRow.class, RETURNS_DEEP_STUBS); in testOnMenuClickedLogging()
465 ExpandableNotificationRow row = mock(ExpandableNotificationRow.class, RETURNS_DEEP_STUBS); in testOnMenuShownLogging()

1234