Home
last modified time | relevance | path

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

123456

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRowTest.java112 ExpandableNotificationRow row = mNotificationTestHelper.createRow(); in testCanShowHeadsUp_notOnKeyguard_true()
121 ExpandableNotificationRow row = mNotificationTestHelper.createRow(); in testCanShowHeadsUp_dozing_true()
132 ExpandableNotificationRow row = mNotificationTestHelper.createRow(); in testCanShowHeadsUp_bypassEnabled_true()
143 ExpandableNotificationRow row = mNotificationTestHelper.createStickyRow(); in testCanShowHeadsUp_stickyAndNotDemoted_true()
150 ExpandableNotificationRow row = mNotificationTestHelper.createRow(); in testCanShowHeadsUp_false()
167 ExpandableNotificationRow group = mNotificationTestHelper.createGroup(); in testUpdateBackgroundColors_isRecursive()
191 ExpandableNotificationRow row = mNotificationTestHelper.createRow(); in testSetSensitiveOnNotifRowNotifiesOfHeightChange()
214 ExpandableNotificationRow group = mNotificationTestHelper.createGroup(); in testSetSensitiveOnGroupRowNotifiesOfHeightChange()
239 ExpandableNotificationRow publicRow = mNotificationTestHelper.createRow(publicNotif); in testSetSensitiveOnPublicRowDoesNotNotifyOfHeightChange()
263 private void measureAndLayout(ExpandableNotificationRow row) { in measureAndLayout()
[all …]
DNotificationTestHelper.java84 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow.ExpandableNotifica…
85 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow.OnExpandClickListe…
137 private ExpandableNotificationRow mRow;
284 public ExpandableNotificationRow createRowWithRoundness( in createRowWithRoundness()
289 ExpandableNotificationRow row = createRow(); in createRowWithRoundness()
302 public ExpandableNotificationRow createRow() throws Exception { in createRow()
314 public ExpandableNotificationRow createRow(String pkg, int uid, UserHandle userHandle) in createRow()
326 public ExpandableNotificationRow createRow(Notification notification) throws Exception { in createRow()
330 public ExpandableNotificationRow createRow(NotificationEntry entry) throws Exception { in createRow()
342 public ExpandableNotificationRow createRow(@InflationFlag int extraInflationFlags) in createRow()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DAboveShelfObserverTest.java30 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
57 ExpandableNotificationRow row = mNotificationTestHelper.createRow(); in setUp()
68 ExpandableNotificationRow row = (ExpandableNotificationRow) mHostLayout.getChildAt(0); in testObserverChangesWhenGoingAbove()
76 ExpandableNotificationRow row = (ExpandableNotificationRow) mHostLayout.getChildAt(0); in testObserverChangesWhenGoingBelow()
85 ExpandableNotificationRow row = (ExpandableNotificationRow) mHostLayout.getChildAt(0); in testStaysAboveWhenOneGoesAway()
87 row = (ExpandableNotificationRow) mHostLayout.getChildAt(1); in testStaysAboveWhenOneGoesAway()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationClicker.java27 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
46 private ExpandableNotificationRow.OnDragSuccessListener mOnDragSuccessListener =
47 new ExpandableNotificationRow.OnDragSuccessListener() {
67 if (!(v instanceof ExpandableNotificationRow)) { in onClick()
74 final ExpandableNotificationRow row = (ExpandableNotificationRow) v; in onClick()
109 private boolean isMenuVisible(ExpandableNotificationRow row) { in isMenuVisible()
116 public void register(ExpandableNotificationRow row, StatusBarNotification sbn) { in register()
DNotificationActivityStarter.java23 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
34 void onNotificationClicked(NotificationEntry entry, ExpandableNotificationRow row); in onNotificationClicked()
38 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/
DNotificationPresenter.java18 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
27 public interface NotificationPresenter extends ExpandableNotificationRow.OnExpandClickListener {
43 void onBindRow(ExpandableNotificationRow row); in onBindRow()
DNotificationGroupingUtil.java35 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
59 public Object extractData(ExpandableNotificationRow row) {
87 private final ExpandableNotificationRow mRow;
91 public NotificationGroupingUtil(ExpandableNotificationRow row) { in NotificationGroupingUtil()
130 List<ExpandableNotificationRow> notificationChildren = mRow.getAttachedChildren(); in updateChildrenAppearance()
141 ExpandableNotificationRow row = notificationChildren.get(i); in updateChildrenAppearance()
149 ExpandableNotificationRow row = notificationChildren.get(i); in updateChildrenAppearance()
158 private void sanitizeTopLineViews(ExpandableNotificationRow row) { in sanitizeTopLineViews()
169 private void sanitizeChild(View child, ExpandableNotificationRow row) { in sanitizeChild()
175 private void sanitizeTopLine(ViewGroup rowHeader, ExpandableNotificationRow row) { in sanitizeTopLine()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRowController.java82 private final ExpandableNotificationRow mView;
98 private final ExpandableNotificationRow.OnExpandClickListener mOnExpandClickListener;
102 private final ExpandableNotificationRow.CoordinateOnClickListener mOnFeedbackClickListener;
132 private final ExpandableNotificationRow.ExpandableNotificationRowLogger mLoggerCallback =
133 new ExpandableNotificationRow.ExpandableNotificationRowLogger() {
201 ExpandableNotificationRow view, in ExpandableNotificationRowController()
221 ExpandableNotificationRow.OnExpandClickListener onExpandClickListener, in ExpandableNotificationRowController()
368 ExpandableNotificationRow childView = (ExpandableNotificationRow) child.getView(); in addChildAt()
370 mView.addChildNotification((ExpandableNotificationRow) child.getView(), index); in addChildAt()
377 ExpandableNotificationRow childView = (ExpandableNotificationRow) child.getView(); in moveChildTo()
[all …]
DRowInflaterTask.java113 if (!name.equals(ExpandableNotificationRow.class.getName())) { in onCreateView()
118 final ExpandableNotificationRow row = in onCreateView()
119 new ExpandableNotificationRow(context, attrs, mEntry); in onCreateView()
148 mListener.onInflationFinished((ExpandableNotificationRow) view); in onInflateFinished()
160 void onInflationFinished(ExpandableNotificationRow row); in onInflationFinished()
DNotificationRowContentBinder.java48 @NonNull ExpandableNotificationRow row, in bindContent()
63 @NonNull ExpandableNotificationRow row); in cancelBind()
74 @NonNull ExpandableNotificationRow row, in unbindContent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DHeadsUpUtil.java26 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
74 if (!(view instanceof ExpandableNotificationRow)) { in getViewKey()
78 final ExpandableNotificationRow row = (ExpandableNotificationRow) view; in getViewKey()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java111 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
338 private final HashSet<Pair<ExpandableNotificationRow, Boolean>> mHeadsUpChangeAnimations
341 private final ArrayList<Pair<ExpandableNotificationRow, Boolean>> mTmpList = new ArrayList<>();
552 private ExpandableNotificationRow mExpandingNotificationRow;
558 private ExpandableNotificationRow mTopHeadsUpRow;
807 private void logHunSkippedForUnexpectedState(ExpandableNotificationRow enr, in logHunSkippedForUnexpectedState()
813 private void logHunAnimationSkipped(ExpandableNotificationRow enr, String reason) { in logHunAnimationSkipped()
818 private void logHunAnimationEventAdded(ExpandableNotificationRow enr, int type) { in logHunAnimationEventAdded()
1041 || !(view instanceof ExpandableNotificationRow row)) { in getSpeedBumpIndex()
1192 private void requestAnimationOnViewResize(ExpandableNotificationRow row) {
[all …]
DNotificationChildrenContainer.java54 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
90 private final List<ExpandableNotificationRow> mAttachedChildren = new ArrayList<>();
100 private ExpandableNotificationRow mContainingNotification;
255 ExpandableNotificationRow child = mAttachedChildren.get(i); in onMeasure()
326 public void addNotification(ExpandableNotificationRow row, int childIndex) { in addNotification()
360 public void removeNotification(ExpandableNotificationRow row) {
644 public List<ExpandableNotificationRow> getAttachedChildren() {
659 for (ExpandableNotificationRow child : getAttachedChildren()) {
674 ExpandableNotificationRow child = mAttachedChildren.get(i);
732 ExpandableNotificationRow child = mAttachedChildren.get(i);
[all …]
DStackStateAnimator.java37 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
377 if (changingView instanceof ExpandableNotificationRow && mLogger != null) { in processAnimationEvents()
379 isHeadsUp = ((ExpandableNotificationRow) changingView).isHeadsUp(); in processAnimationEvents()
380 key = ((ExpandableNotificationRow) changingView).getEntry().getKey(); in processAnimationEvents()
414 if (changingView instanceof ExpandableNotificationRow in processAnimationEvents()
415 && event.viewAfterChangingView instanceof ExpandableNotificationRow) { in processAnimationEvents()
416 ExpandableNotificationRow changingRow = in processAnimationEvents()
417 (ExpandableNotificationRow) changingView; in processAnimationEvents()
418 ExpandableNotificationRow nextRow = in processAnimationEvents()
419 (ExpandableNotificationRow) event.viewAfterChangingView; in processAnimationEvents()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationMediaTemplateViewWrapper.java23 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
33 ExpandableNotificationRow row) { in NotificationMediaTemplateViewWrapper()
42 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()
DNotificationDecoratedCustomViewWrapper.java24 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
58 ExpandableNotificationRow row) { in NotificationDecoratedCustomViewWrapper()
63 public void onContentUpdated(ExpandableNotificationRow row) { in onContentUpdated()
DNotificationCustomViewWrapper.java26 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
36 protected NotificationCustomViewWrapper(Context ctx, View view, ExpandableNotificationRow row) { in NotificationCustomViewWrapper()
48 public void onContentUpdated(ExpandableNotificationRow row) { in onContentUpdated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DShadeViewController.kt21 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow
136 fun addTrackingHeadsUpListener(listener: Consumer<ExpandableNotificationRow>) in addTrackingHeadsUpListener()
139 fun removeTrackingHeadsUpListener(listener: Consumer<ExpandableNotificationRow>) in addTrackingHeadsUpListener()
145 val trackedHeadsUpNotification: ExpandableNotificationRow? in addTrackingHeadsUpListener()
DShadeViewControllerEmptyImpl.kt24 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow
100 override fun addTrackingHeadsUpListener(listener: Consumer<ExpandableNotificationRow>) {} in addTrackingHeadsUpListener()
101 override fun removeTrackingHeadsUpListener(listener: Consumer<ExpandableNotificationRow>) {} in removeTrackingHeadsUpListener()
105 override val trackedHeadsUpNotification: ExpandableNotificationRow? = null
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpTouchHelper.java27 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
47 private ExpandableNotificationRow mPickedChild;
85 if (child instanceof ExpandableNotificationRow) { in onInterceptTouchEvent()
86 ExpandableNotificationRow pickedChild = (ExpandableNotificationRow) child; in onInterceptTouchEvent()
204 void setTrackedHeadsUp(ExpandableNotificationRow expandableNotificationRow);
DLSShadeTransitionLogger.kt25 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow
37 val entry = (startingChild as? ExpandableNotificationRow)?.entry in logUnSuccessfulDragDown()
52 val entry = (startingChild as? ExpandableNotificationRow)?.entry in logDragDownStarted()
61 val entry = (startingChild as? ExpandableNotificationRow)?.entry in logDraggedDownLockDownShade()
70 val entry = (startingChild as? ExpandableNotificationRow)?.entry in logDraggedDown()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java55 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
120 if (mTouchedView instanceof ExpandableNotificationRow) {
125 ((ExpandableNotificationRow) mTouchedView).doLongClickCallback(x, y);
200 if (view instanceof ExpandableNotificationRow) { in getViewTranslationAnimator()
201 return ((ExpandableNotificationRow) view).getTranslateViewAnimator(target, listener); in getViewTranslationAnimator()
307 if (mTouchedView instanceof ExpandableNotificationRow) { in onInterceptTouchEvent()
308 … NotificationMenuRowPlugin nmr = ((ExpandableNotificationRow) mTouchedView).getProvider(); in onInterceptTouchEvent()
483 if (animView instanceof ExpandableNotificationRow row) { in dismissChild()
560 if (target instanceof ExpandableNotificationRow) { in createSnapBackAnimation()
561 return PhysicsAnimator.getInstance((ExpandableNotificationRow) target).spring( in createSnapBackAnimation()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/dagger/
DExpandableNotificationRowComponent.java27 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow;
57 Builder expandableNotificationRow(ExpandableNotificationRow view); in expandableNotificationRow()
61 Builder onExpandClickListener(ExpandableNotificationRow.OnExpandClickListener presenter); in onExpandClickListener()
85 abstract ActivatableNotificationView bindExpandableView(ExpandableNotificationRow view); in bindExpandableView()

123456