/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationViewHierarchyManager.java | 37 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 …]
|
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 | 44 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/ |
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 | 74 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/ |
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() 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 …]
|
D | NotificationSwipeHelper.java | 33 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 …]
|
D | NotificationStackScrollLayout.java | 120 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 …]
|
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 | 31 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 | 32 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/ |
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 | 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()
|
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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ExpandableNotificationRow.java | 118 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 …]
|
D | NotificationGutsManager.java | 140 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/ |
D | StatusBarRemoteInputCallback.java | 48 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/ |
D | NotificationStackScrollLayoutTest.java | 71 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()
|