/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationViewHierarchyManager.java | 37 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow; 69 private final HashMap<ExpandableNotificationRow, List<ExpandableNotificationRow>> 145 ArrayList<ExpandableNotificationRow> toShow = new ArrayList<>(activeNotifications.size()); in updateNotificationViews() 179 List<ExpandableNotificationRow> orderedChildren = in updateNotificationViews() 191 ArrayList<ExpandableNotificationRow> viewsToRemove = new ArrayList<>(); in updateNotificationViews() 194 if (!toShow.contains(child) && child instanceof ExpandableNotificationRow) { in updateNotificationViews() 195 ExpandableNotificationRow row = (ExpandableNotificationRow) child; in updateNotificationViews() 200 viewsToRemove.add((ExpandableNotificationRow) child); in updateNotificationViews() 205 for (ExpandableNotificationRow viewToRemove : viewsToRemove) { in updateNotificationViews() 241 if (!(child instanceof ExpandableNotificationRow)) { in updateNotificationViews() [all …]
|
D | NotificationHeaderUtil.java | 30 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/ |
D | NotificationTestHelper.java | 46 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow; 73 private ExpandableNotificationRow mRow; 93 public ExpandableNotificationRow createRow() throws Exception { in createRow() 105 public ExpandableNotificationRow createRow(String pkg, int uid, UserHandle userHandle) in createRow() 117 public ExpandableNotificationRow createRow(Notification notification) throws Exception { in createRow() 129 public ExpandableNotificationRow createRow(@InflationFlag int extraInflationFlags) in createRow() 138 public ExpandableNotificationRow createGroup(int numChildren) throws Exception { in createGroup() 139 ExpandableNotificationRow row = createGroupSummary(GROUP_KEY); in createGroup() 141 ExpandableNotificationRow childRow = createGroupChild(GROUP_KEY); in createGroup() 148 public ExpandableNotificationRow createGroup() throws Exception { in createGroup() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationBlockingHelperManagerTest.java | 102 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 …]
|
D | ExpandableNotificationRowTest.java | 73 private ExpandableNotificationRow mGroupRow; 132 ExpandableNotificationRow row = spy(mNotificationTestHelper.createRow( in testIconColorShouldBeUpdatedWhenSensitive() 141 ExpandableNotificationRow row = mNotificationTestHelper.createRow(FLAG_CONTENT_VIEW_ALL); in testFreeContentViewWhenSafe() 150 ExpandableNotificationRow row = mNotificationTestHelper.createRow(); in setNeedsRedactionSetsInflationFlag() 159 ExpandableNotificationRow row = mNotificationTestHelper.createRow(FLAG_CONTENT_VIEW_ALL); in setNeedsRedactionFreesViewWhenFalse() 170 ExpandableNotificationRow row = mNotificationTestHelper.createRow(); in testAboveShelfChangedListenerCalled() 179 ExpandableNotificationRow row = mNotificationTestHelper.createRow(); in testAboveShelfChangedListenerCalledPinned() 188 ExpandableNotificationRow row = mNotificationTestHelper.createRow(); in testAboveShelfChangedListenerCalledHeadsUpGoingAway() 196 ExpandableNotificationRow row = mNotificationTestHelper.createRow(); in testAboveShelfChangedListenerCalledWhenGoingBelow() 220 ExpandableNotificationRow.LongPressListener listener = in testSetDismissed_longPressListenerRemoved() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | AboveShelfObserverTest.java | 30 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/ |
D | NotificationClicker.java | 26 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()
|
D | NotificationActivityStarter.java | 22 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow; 30 void onNotificationClicked(StatusBarNotification sbn, ExpandableNotificationRow row); in onNotificationClicked() 34 ExpandableNotificationRow row); in startNotificationGutsIntent()
|
D | AboveShelfObserver.java | 23 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/ |
D | StackScrollAlgorithm.java | 29 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow; 128 if (v instanceof ExpandableNotificationRow) { in getNotificationChildrenStates() 129 ExpandableNotificationRow row = (ExpandableNotificationRow) v; in getNotificationChildrenStates() 174 boolean isHeadsUp = (child instanceof ExpandableNotificationRow) in updateClipping() 175 && ((ExpandableNotificationRow) child).isPinned(); in updateClipping() 197 if (!(v instanceof ExpandableNotificationRow)) { in canChildBeDismissed() 200 ExpandableNotificationRow row = (ExpandableNotificationRow) v; in canChildBeDismissed() 308 if (v instanceof ExpandableNotificationRow) { in initAlgorithmState() 309 ExpandableNotificationRow row = (ExpandableNotificationRow) v; in initAlgorithmState() 312 List<ExpandableNotificationRow> children = row.getNotificationChildren(); in initAlgorithmState() [all …]
|
D | NotificationSwipeHelper.java | 34 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow; 129 if (currView instanceof ExpandableNotificationRow) { in onDownUpdate() 130 initializeRow((ExpandableNotificationRow) currView); in onDownUpdate() 135 protected void initializeRow(ExpandableNotificationRow row) { in initializeRow() 307 if (v instanceof ExpandableNotificationRow) { in getViewTranslationAnimator() 308 return ((ExpandableNotificationRow) v).getTranslateViewAnimator(target, listener); in getViewTranslationAnimator() 316 if (v instanceof ExpandableNotificationRow) { in setTranslation() 317 ((ExpandableNotificationRow) v).setTranslation(translate); in setTranslation() 323 if (v instanceof ExpandableNotificationRow) { in getTranslation() 324 return ((ExpandableNotificationRow) v).getTranslation(); in getTranslation() [all …]
|
D | NotificationStackScrollLayout.java | 118 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow; 309 private ExpandableNotificationRow.LongPressListener mLongPressListener; 336 private HashSet<Pair<ExpandableNotificationRow, Boolean>> mHeadsUpChangeAnimations 343 private final ArrayList<Pair<ExpandableNotificationRow, Boolean>> mTmpList = new ArrayList<>(); 620 if (child instanceof ExpandableNotificationRow) { in updateDismissRtlSetting() 621 ((ExpandableNotificationRow) child).setDismissRtl(dismissRtl); in updateDismissRtlSetting() 710 if (!(child instanceof ExpandableNotificationRow)) { in hasActiveClearableNotifications() 713 final ExpandableNotificationRow row = (ExpandableNotificationRow) child; in hasActiveClearableNotifications() 800 if (mScrollAnchorView instanceof ExpandableNotificationRow) { 805 + ((ExpandableNotificationRow) mScrollAnchorView).getActualHeight(), [all …]
|
D | NotificationChildrenContainer.java | 39 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 …]
|
D | NotificationSectionsManager.java | 33 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()
|
D | StackStateAnimator.java | 32 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()
|
D | AmbientState.java | 31 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow; 80 private ExpandableNotificationRow mExpandingNotification; 456 if (view instanceof ExpandableNotificationRow) { in isDozingAndNotPulsing() 457 return isDozingAndNotPulsing((ExpandableNotificationRow) view); in isDozingAndNotPulsing() 465 public boolean isDozingAndNotPulsing(ExpandableNotificationRow row) { in isDozingAndNotPulsing() 473 public void setExpandingNotification(ExpandableNotificationRow row) { in setExpandingNotification() 477 public ExpandableNotificationRow getExpandingNotification() { in getExpandingNotification()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationDecoratedCustomViewWrapper.java | 23 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow; 33 ExpandableNotificationRow row) { in NotificationDecoratedCustomViewWrapper() 38 public void onContentUpdated(ExpandableNotificationRow row) { in onContentUpdated()
|
D | NotificationBigTextTemplateViewWrapper.java | 25 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow; 35 ExpandableNotificationRow row) { in NotificationBigTextTemplateViewWrapper() 44 public void onContentUpdated(ExpandableNotificationRow row) { in onContentUpdated()
|
D | NotificationBigPictureTemplateViewWrapper.java | 27 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow; 35 ExpandableNotificationRow row) { in NotificationBigPictureTemplateViewWrapper() 40 public void onContentUpdated(ExpandableNotificationRow row) { in onContentUpdated()
|
D | NotificationMessagingTemplateViewWrapper.java | 26 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow; 38 ExpandableNotificationRow row) { in NotificationMessagingTemplateViewWrapper() 50 public void onContentUpdated(ExpandableNotificationRow row) { in onContentUpdated()
|
D | NotificationCustomViewWrapper.java | 25 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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ExpandableNotificationRow.java | 117 public class ExpandableNotificationRow extends ActivatableNotificationView class 234 private ExpandableNotificationRow mNotificationParent; 296 private static final Property<ExpandableNotificationRow, Float> TRANSLATE_CONTENT = 297 new FloatProperty<ExpandableNotificationRow>("translate") { 299 public void setValue(ExpandableNotificationRow object, float value) { 304 public Float get(ExpandableNotificationRow object) { 388 List<ExpandableNotificationRow> notificationChildren = in setIconAnimationRunning() 391 ExpandableNotificationRow child = notificationChildren.get(i); in setIconAnimationRunning() 744 public void addChildNotification(ExpandableNotificationRow row) { 786 public void addChildNotification(ExpandableNotificationRow row, int childIndex) { [all …]
|
D | NotificationGutsManager.java | 141 final NotificationChannel channel, ExpandableNotificationRow row) { in startAppNotificationSettingsActivity() 156 final NotificationChannel channel, ExpandableNotificationRow row) { in startAppDetailsSettingsActivity() 168 ExpandableNotificationRow row) { in startAppOpsSettingsActivity() 184 private boolean bindGuts(final ExpandableNotificationRow row) { in bindGuts() 190 protected boolean bindGuts(final ExpandableNotificationRow row, in bindGuts() 238 final ExpandableNotificationRow row, in initializeSnoozeView() 258 final ExpandableNotificationRow row, in initializeAppOpsInfo() 284 final ExpandableNotificationRow row, in initializeNotificationInfo() 366 public ExpandableNotificationRow.LongPressListener getNotificationLongClicker() { in getNotificationLongClicker() 414 if (!(view instanceof ExpandableNotificationRow)) { in openGutsInternal() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarRemoteInputCallback.java | 48 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow; 110 public void onLockedRemoteInput(ExpandableNotificationRow row, View clicked) { in onLockedRemoteInput() 131 while (!(p instanceof ExpandableNotificationRow)) { in onWorkChallengeChanged() 138 final ExpandableNotificationRow row = (ExpandableNotificationRow) p; in onWorkChallengeChanged() 166 public void onMakeExpandedVisibleForRemoteInput(ExpandableNotificationRow row, in onMakeExpandedVisibleForRemoteInput() 181 public void onLockedWorkRemoteInput(int userId, ExpandableNotificationRow row, in onLockedWorkRemoteInput()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayoutTest.java | 72 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow; 315 ExpandableNotificationRow row = mock(ExpandableNotificationRow.class); in testUpdateFooter_remoteInput() 332 ExpandableNotificationRow row = mock(ExpandableNotificationRow.class); in testUpdateFooter_oneClearableNotification() 359 ExpandableNotificationRow row = mock(ExpandableNotificationRow.class); in testUpdateFooter_atEnd() 437 mock(ExpandableNotificationRow.LongPressListener.class)); in testOnMenuClickedLogging() 439 ExpandableNotificationRow row = mock(ExpandableNotificationRow.class, RETURNS_DEEP_STUBS); in testOnMenuClickedLogging() 454 ExpandableNotificationRow row = mock(ExpandableNotificationRow.class, RETURNS_DEEP_STUBS); in testOnMenuShownLogging()
|