Searched refs:isMenuSnapped (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationMenuRowTest.java | 158 when(row.isMenuSnapped()).thenReturn(true); in testIsSnappedAndOnSameSide() 170 when(row.isMenuSnapped()).thenReturn(false); in testIsSnappedAndOnSameSide() 180 when(row.isMenuSnapped()).thenReturn(false); in testIsSnappedAndOnSameSide() 333 assertTrue("before onSnapClosed, row is snapped to", row.isMenuSnapped()); in onSnapBack() 338 assertFalse("after onSnapClosed, row is not snapped to", row.isMenuSnapped()); in onSnapBack() 353 assertFalse("before onSnapOpen, row is not snapped to", row.isMenuSnapped()); in testOnSnap() 358 assertTrue("after onSnapOpen, row is snapped to", row.isMenuSnapped()); in testOnSnap() 359 assertTrue("after onSnapOpen, row is snapped on left", row.isMenuSnapped()); in testOnSnap() 371 assertTrue("before onDismiss, row is showing", row.isMenuSnapped()); in testOnDismiss() 377 assertFalse("after onDismiss, row is not showing", row.isMenuSnapped()); in testOnDismiss()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationMenuRow.java | 162 protected boolean isMenuSnapped() { in isMenuSnapped() method in NotificationMenuRow 771 return isMenuSnapped() && isMenuVisible() in isSnappedAndOnSameSide()
|