Home
last modified time | relevance | path

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

12345

/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationViewHierarchyManager.java249 ExpandableNotificationRow row = (ExpandableNotificationRow) child; in updateNotificationViews()
297 if (!(child instanceof ExpandableNotificationRow)) { in updateNotificationViews()
306 ExpandableNotificationRow targetChild = toShow.get(j); in updateNotificationViews()
356 if (!(view instanceof ExpandableNotificationRow)) { in addNotificationChildrenAndSort()
361 ExpandableNotificationRow parent = (ExpandableNotificationRow) view; in addNotificationChildrenAndSort()
401 if (!(view instanceof ExpandableNotificationRow)) { in removeNotificationChildren()
406 ExpandableNotificationRow parent = (ExpandableNotificationRow) view; in removeNotificationChildren()
454 Stack<ExpandableNotificationRow> stack = new Stack<>(); in updateRowStatesInternal()
457 if (!(child instanceof ExpandableNotificationRow)) { in updateRowStatesInternal()
460 stack.push((ExpandableNotificationRow) child); in updateRowStatesInternal()
[all …]
H A DNotificationGroupingUtil.java57 public Object extractData(ExpandableNotificationRow row) {
85 private final ExpandableNotificationRow mRow;
89 public NotificationGroupingUtil(ExpandableNotificationRow row) { in NotificationGroupingUtil()
139 ExpandableNotificationRow row = notificationChildren.get(i); in updateChildrenAppearance()
147 ExpandableNotificationRow row = notificationChildren.get(i); in updateChildrenAppearance()
156 private void sanitizeTopLineViews(ExpandableNotificationRow row) { in sanitizeTopLineViews()
224 public void restoreChildNotification(ExpandableNotificationRow row) { in restoreChildNotification()
236 private final ExpandableNotificationRow mParentRow;
261 public void compareToGroupParent(ExpandableNotificationRow row) { in compareToGroupParent()
280 public void apply(ExpandableNotificationRow row) { in apply()
[all …]
H A DNotificationShelf.java273 if (child instanceof ExpandableNotificationRow) { in updateAppearance()
274 ExpandableNotificationRow expandableRow = (ExpandableNotificationRow) child; in updateAppearance()
341 if (!(child instanceof ExpandableNotificationRow) in updateAppearance()
345 ExpandableNotificationRow row = (ExpandableNotificationRow) child; in updateAppearance()
360 && anv instanceof ExpandableNotificationRow
361 && ((ExpandableNotificationRow) anv).isHeadsUp();
437 private void updateIconClipAmount(ExpandableNotificationRow row) {
659 if (!(view instanceof ExpandableNotificationRow)) {
662 ExpandableNotificationRow row = (ExpandableNotificationRow) view;
671 || (view instanceof ExpandableNotificationRow
[all …]
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
H A DNotificationBlockingHelperManagerTest.java106 ExpandableNotificationRow row = createBlockableRowSpy(); in testDismissCurrentBlockingHelper_withDetachedBlockingHelperRow()
119 ExpandableNotificationRow row = createBlockableRowSpy(); in testDismissCurrentBlockingHelper_withAttachedBlockingHelperRow()
132 ExpandableNotificationRow row = createBlockableRowSpy(); in testPerhapsShowBlockingHelper_shown()
144 ExpandableNotificationRow groupRow = createBlockableGroupRowSpy(10); in testPerhapsShowBlockingHelper_notShownForMultiChannelGroup()
178 ExpandableNotificationRow groupRow = createBlockableGroupRowSpy(1); in testPerhapsShowBlockingHelper_shownForOnlyChildNotification()
196 ExpandableNotificationRow row = createBlockableRowSpy(); in testPerhapsShowBlockingHelper_notShownDueToNeutralUserSentiment()
207 ExpandableNotificationRow row = createBlockableRowSpy(); in testPerhapsShowBlockingHelper_notShownDueToPositiveUserSentiment()
217 ExpandableNotificationRow row = createBlockableRowSpy(); in testPerhapsShowBlockingHelper_notShownDueToShadeVisibility()
229 ExpandableNotificationRow row = createBlockableRowSpy(); in testPerhapsShowBlockingHelper_notShownDueToNonblockability()
255 ExpandableNotificationRow row = createBlockableRowSpy(); in testBlockingHelperShowAndDismiss()
[all …]
H A DNotificationTestHelper.java107 private ExpandableNotificationRow mRow;
174 public ExpandableNotificationRow createRow() throws Exception { in createRow()
220 ExpandableNotificationRow row = createGroupSummary(GROUP_KEY); in createGroup()
229 public ExpandableNotificationRow createGroup() throws Exception { in createGroup()
244 public ExpandableNotificationRow createBubble() in createBubble()
277 public ExpandableNotificationRow createBubbleInGroup() in createBubbleInGroup()
354 private ExpandableNotificationRow createRow( in createRow()
422 private ExpandableNotificationRow generateRow( in generateRow()
433 private ExpandableNotificationRow generateRow( in generateRow()
443 mRow = (ExpandableNotificationRow) inflater.inflate( in generateRow()
[all …]
H A DExpandableNotificationRowTest.java69 private ExpandableNotificationRow mGroupRow;
147 ExpandableNotificationRow row = mNotificationTestHelper.createRow(); in testAboveShelfChangedListenerCalled()
156 ExpandableNotificationRow row = mNotificationTestHelper.createRow(); in testAboveShelfChangedListenerCalledPinned()
196 ExpandableNotificationRow.LongPressListener listener = in testSetDismissed_longPressListenerRemoved()
197 mock(ExpandableNotificationRow.LongPressListener.class); in testSetDismissed_longPressListenerRemoved()
240 ExpandableNotificationRow.CoordinateOnClickListener l = mock( in testFeedbackOnClick()
274 List<ExpandableNotificationRow> childRows = in testGetNumUniqueChildren_multiChannel()
278 for (ExpandableNotificationRow childRow : childRows) { in testGetNumUniqueChildren_multiChannel()
310 ExpandableNotificationRow row = in testGetIsNonblockable()
318 ExpandableNotificationRow row = in testGetIsNonblockable_oemLocked()
[all …]
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
H A DAboveShelfObserverTest.java29 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
56 ExpandableNotificationRow row = mNotificationTestHelper.createRow(); in setUp()
67 ExpandableNotificationRow row = (ExpandableNotificationRow) mHostLayout.getChildAt(0); in testObserverChangesWhenGoingAbove()
75 ExpandableNotificationRow row = (ExpandableNotificationRow) mHostLayout.getChildAt(0); in testObserverChangesWhenGoingBelow()
84 ExpandableNotificationRow row = (ExpandableNotificationRow) mHostLayout.getChildAt(0); in testStaysAboveWhenOneGoesAway()
86 row = (ExpandableNotificationRow) mHostLayout.getChildAt(1); in testStaysAboveWhenOneGoesAway()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DExpandableNotificationRowController.java61 private final ExpandableNotificationRow mView;
75 private final ExpandableNotificationRow.OnExpandClickListener mOnExpandClickListener;
78 private final ExpandableNotificationRow.ExpansionLogger mExpansionLogger =
80 private final ExpandableNotificationRow.CoordinateOnClickListener mOnFeedbackClickListener;
93 ExpandableNotificationRow view, in ExpandableNotificationRowController()
107 ExpandableNotificationRow.OnExpandClickListener onExpandClickListener, in ExpandableNotificationRowController()
237 ExpandableNotificationRow childView = (ExpandableNotificationRow) child.getView(); in addChildAt()
239 mView.addChildNotification((ExpandableNotificationRow) child.getView()); in addChildAt()
245 ExpandableNotificationRow childView = (ExpandableNotificationRow) child.getView(); in moveChildTo()
252 ExpandableNotificationRow childView = (ExpandableNotificationRow) child.getView(); in removeChild()
[all …]
H A DExpandableNotificationRowDragController.java80 ExpandableNotificationRow enr = null; in startDragAndDrop()
81 if (view instanceof ExpandableNotificationRow) { in startDragAndDrop()
82 enr = (ExpandableNotificationRow) view; in startDragAndDrop()
149 if (view instanceof ExpandableNotificationRow) { in getDraggedViewDragListener()
150 ExpandableNotificationRow enr = (ExpandableNotificationRow) view; in getDraggedViewDragListener()
161 if (view instanceof ExpandableNotificationRow) { in getDraggedViewDragListener()
162 ExpandableNotificationRow enr = (ExpandableNotificationRow) view; in getDraggedViewDragListener()
H A DExpandableNotificationRow.java258 private ExpandableNotificationRow mNotificationParent;
442 List<ExpandableNotificationRow> notificationChildren = in setIconAnimationRunning()
839 public ExpandableNotificationRow getNotificationParent() {
1327 List<ExpandableNotificationRow> notificationChildren =
1331 ExpandableNotificationRow row = clonedList.get(i);
3304 if (view instanceof ExpandableNotificationRow) {
3305 ExpandableNotificationRow row = (ExpandableNotificationRow) view;
3325 if (view instanceof ExpandableNotificationRow) {
3326 ExpandableNotificationRow row = (ExpandableNotificationRow) view;
3335 if (child instanceof ExpandableNotificationRow) {
[all …]
H A DNotificationGutsManager.java207 final NotificationChannel channel, ExpandableNotificationRow row) { in startAppNotificationSettingsActivity()
234 ExpandableNotificationRow row) { in startAppOpsSettingsActivity()
255 private boolean bindGuts(final ExpandableNotificationRow row) { in bindGuts()
261 protected boolean bindGuts(final ExpandableNotificationRow row, in bindGuts()
318 final ExpandableNotificationRow row, in initializeSnoozeView()
338 final ExpandableNotificationRow row, in initializeFeedbackInfo()
357 final ExpandableNotificationRow row, in initializeNotificationInfo()
410 final ExpandableNotificationRow row, in initializePartialConversationNotificationInfo()
451 final ExpandableNotificationRow row, in initializeConversationNotificationInfo()
601 if (!(view instanceof ExpandableNotificationRow)) { in openGutsInternal()
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DNotificationClicker.java26 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
46 private ExpandableNotificationRow.OnDragSuccessListener mOnDragSuccessListener =
47 new ExpandableNotificationRow.OnDragSuccessListener() {
67 if (!(v instanceof ExpandableNotificationRow)) { in onClick()
75 final ExpandableNotificationRow row = (ExpandableNotificationRow) v; in onClick()
110 private boolean isMenuVisible(ExpandableNotificationRow row) { in isMenuVisible()
117 public void register(ExpandableNotificationRow row, StatusBarNotification sbn) { in register()
H A DNotificationActivityStarter.java24 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
32 void onNotificationClicked(StatusBarNotification sbn, ExpandableNotificationRow row); in onNotificationClicked()
36 ExpandableNotificationRow row); in startNotificationGutsIntent()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationStackScrollLayout.java1025 ExpandableNotificationRow row = (ExpandableNotificationRow) view; in getSpeedBumpIndex()
1555 ExpandableNotificationRow row = (ExpandableNotificationRow) v;
1564 ExpandableNotificationRow row = (ExpandableNotificationRow) v;
2686 ExpandableNotificationRow row = (ExpandableNotificationRow) view; in focusNextViewIfFocused()
2801 ExpandableNotificationRow row = (ExpandableNotificationRow) child; in isChildInInvisibleGroup()
2933 ExpandableNotificationRow row = (ExpandableNotificationRow) child; in onViewAddedInternal()
3013 ExpandableNotificationRow row = (ExpandableNotificationRow) child; in updateAnimationState()
4013 ExpandableNotificationRow row = (ExpandableNotificationRow) child; in updateChronometerForChild()
4054 ExpandableNotificationRow row = (ExpandableNotificationRow) view; in updateScrollPositionOnExpandInBottom()
5048 ExpandableNotificationRow row = (ExpandableNotificationRow) view; in shouldHideParent()
[all …]
H A DNotificationChildrenContainer.java83 private ExpandableNotificationRow mContainingNotification;
215 ExpandableNotificationRow child = mAttachedChildren.get(i); in onMeasure()
292 public void removeNotification(ExpandableNotificationRow row) {
444 public List<ExpandableNotificationRow> getAttachedChildren() {
464 ExpandableNotificationRow child = mAttachedChildren.get(i);
465 ExpandableNotificationRow desiredChild = childOrder.get(i);
488 ExpandableNotificationRow child = mAttachedChildren.get(i);
543 ExpandableNotificationRow child = mAttachedChildren.get(i);
837 public ExpandableNotificationRow getViewAtPosition(float y) {
871 public ExpandableNotificationRow getContainingNotification() {
[all …]
H A DStackScrollAlgorithm.java138 if (v instanceof ExpandableNotificationRow) { in getNotificationChildrenStates()
139 ExpandableNotificationRow row = (ExpandableNotificationRow) v; in getNotificationChildrenStates()
267 if (v instanceof ExpandableNotificationRow) { in initAlgorithmState()
268 ExpandableNotificationRow row = (ExpandableNotificationRow) v; in initAlgorithmState()
390 if (!(child instanceof ExpandableNotificationRow)) { in hasOngoingNotifs()
393 final ExpandableNotificationRow row = (ExpandableNotificationRow) child; in hasOngoingNotifs()
569 if (!(child instanceof ExpandableNotificationRow)) { in updatePulsingStates()
572 ExpandableNotificationRow row = (ExpandableNotificationRow) child; in updatePulsingStates()
598 ExpandableNotificationRow topHeadsUpEntry = null; in updateHeadsUpStates()
601 if (!(child instanceof ExpandableNotificationRow)) { in updateHeadsUpStates()
[all …]
H A DStackStateAnimator.java31 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
365 if (changingView instanceof ExpandableNotificationRow in processAnimationEvents()
366 && event.viewAfterChangingView instanceof ExpandableNotificationRow) { in processAnimationEvents()
367 ExpandableNotificationRow changingRow = in processAnimationEvents()
368 (ExpandableNotificationRow) changingView; in processAnimationEvents()
369 ExpandableNotificationRow nextRow = in processAnimationEvents()
370 (ExpandableNotificationRow) event.viewAfterChangingView; in processAnimationEvents()
401 ExpandableNotificationRow row = (ExpandableNotificationRow) event.mChangingView; in processAnimationEvents()
431 if (changingView instanceof ExpandableNotificationRow) { in processAnimationEvents()
432 ExpandableNotificationRow row = (ExpandableNotificationRow) changingView; in processAnimationEvents()
H A DNotificationStackScrollLayoutController.java349 if (view instanceof ExpandableNotificationRow) {
350 ExpandableNotificationRow row = (ExpandableNotificationRow) view;
365 if (row instanceof ExpandableNotificationRow) {
375 if (row instanceof ExpandableNotificationRow) {
376 ExpandableNotificationRow notificationRow = (ExpandableNotificationRow) row;
468 ExpandableNotificationRow row = (ExpandableNotificationRow) view;
501 ExpandableNotificationRow row = (ExpandableNotificationRow) child;
533 ExpandableNotificationRow row = (ExpandableNotificationRow) animView;
821 ExpandableNotificationRow row = entry.getRow(); in isInVisibleLocation()
1258 final ExpandableNotificationRow row = (ExpandableNotificationRow) child; in hasNotifications()
[all …]
H A DAmbientState.java30 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
81 private ExpandableNotificationRow mTrackedHeadsUpRow;
508 if (view instanceof ExpandableNotificationRow) { in isDozingAndNotPulsing()
509 return isDozingAndNotPulsing((ExpandableNotificationRow) view); in isDozingAndNotPulsing()
517 public boolean isDozingAndNotPulsing(ExpandableNotificationRow row) { in isDozingAndNotPulsing()
580 public void setTrackedHeadsUpRow(ExpandableNotificationRow row) { in setTrackedHeadsUpRow()
588 public ExpandableNotificationRow getTrackedHeadsUpRow() { in getTrackedHeadsUpRow()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/
H A DNotificationRowBinderImpl.java36 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
125 ExpandableNotificationRow row = entry.getRow(); in inflateViews()
158 private void bindRow(NotificationEntry entry, ExpandableNotificationRow row) { in bindRow()
182 ExpandableNotificationRow row = entry.getRow(); in onNotificationRankingUpdated()
206 ExpandableNotificationRow row) { in updateRow()
219 ExpandableNotificationRow row, in inflateContentViews()
252 void onBindRow(ExpandableNotificationRow row); in onBindRow()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationStackScrollLayoutTest.java64 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
323 ExpandableNotificationRow row = mock(ExpandableNotificationRow.class); in testUpdateFooter_remoteInput()
375 ExpandableNotificationRow row = mock(ExpandableNotificationRow.class); in testUpdateFooter_oneNonClearableNotification()
398 ExpandableNotificationRow row = mock(ExpandableNotificationRow.class); in testUpdateFooter_atEnd()
476 ExpandableNotificationRow row = mock(ExpandableNotificationRow.class); in testAddNotificationUpdatesSpeedBumpIndex()
492 ExpandableNotificationRow row = mock(ExpandableNotificationRow.class); in testAddAmbientNotificationNoSpeedBumpUpdate()
508 ExpandableNotificationRow row = mock(ExpandableNotificationRow.class); in testRemoveNotificationUpdatesSpeedBump()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DLSShadeTransitionLogger.kt25 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow
37 val entry = (startingChild as? ExpandableNotificationRow)?.entry
52 val entry = (startingChild as? ExpandableNotificationRow)?.entry
61 val entry = (startingChild as? ExpandableNotificationRow)?.entry
70 val entry = (startingChild as? ExpandableNotificationRow)?.entry
H A DHeadsUpTouchHelper.java25 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
43 private ExpandableNotificationRow mPickedChild;
79 if (child instanceof ExpandableNotificationRow) { in onInterceptTouchEvent()
80 ExpandableNotificationRow pickedChild = (ExpandableNotificationRow) child; in onInterceptTouchEvent()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/dagger/
H A DExpandableNotificationRowComponent.java26 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
54 Builder expandableNotificationRow(ExpandableNotificationRow view); in expandableNotificationRow()
58 Builder onExpandClickListener(ExpandableNotificationRow.OnExpandClickListener presenter); in onExpandClickListener()
78 abstract ActivatableNotificationView bindExpandableView(ExpandableNotificationRow view); in bindExpandableView()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
H A DNotificationMediaTemplateViewWrapper.java23 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
33 ExpandableNotificationRow row) { in NotificationMediaTemplateViewWrapper()
42 public void onContentUpdated(ExpandableNotificationRow row) { in onContentUpdated()

12345