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 | 153 when(row.isMenuSnapped()).thenReturn(true); in testIsSnappedAndOnSameSide() 165 when(row.isMenuSnapped()).thenReturn(false); in testIsSnappedAndOnSameSide() 175 when(row.isMenuSnapped()).thenReturn(false); in testIsSnappedAndOnSameSide() 321 assertTrue("before onSnapClosed, row is snapped to", row.isMenuSnapped()); in onSnapBack() 326 assertFalse("after onSnapClosed, row is not snapped to", row.isMenuSnapped()); in onSnapBack() 340 assertFalse("before onSnapOpen, row is not snapped to", row.isMenuSnapped()); in testOnSnap() 345 assertTrue("after onSnapOpen, row is snapped to", row.isMenuSnapped()); in testOnSnap() 346 assertTrue("after onSnapOpen, row is snapped on left", row.isMenuSnapped()); in testOnSnap() 357 assertTrue("before onDismiss, row is showing", row.isMenuSnapped()); in testOnDismiss() 363 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 | 169 protected boolean isMenuSnapped() { in isMenuSnapped() method in NotificationMenuRow 757 return isMenuSnapped() && isMenuVisible() in isSnappedAndOnSameSide()
|