Home
last modified time | relevance | path

Searched refs:hasCachedView (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotifRemoteViewCacheImplTest.java76 assertTrue(mNotifRemoteViewCache.hasCachedView(mEntry, FLAG_CONTENT_VIEW_CONTRACTED)); in testPutCachedView()
92 assertFalse(mNotifRemoteViewCache.hasCachedView(mEntry, FLAG_CONTENT_VIEW_CONTRACTED)); in testRemoveCachedView()
105 assertFalse(mNotifRemoteViewCache.hasCachedView(mEntry, FLAG_CONTENT_VIEW_CONTRACTED)); in testClearCache()
106 assertFalse(mNotifRemoteViewCache.hasCachedView(mEntry, FLAG_CONTENT_VIEW_EXPANDED)); in testClearCache()
DNotificationContentInflaterTest.java274 when(mCache.hasCachedView(mRow.getEntry(), FLAG_CONTENT_VIEW_CONTRACTED)) in testUsesSameViewWhenCachedPossibleToReuse()
295 when(mCache.hasCachedView(mRow.getEntry(), FLAG_CONTENT_VIEW_CONTRACTED)) in testInflatesNewViewWhenCachedNotPossibleToReuse()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotifRemoteViewCache.java38 boolean hasCachedView(NotificationEntry entry, @InflationFlag int flag); in hasCachedView() method
DNotifRemoteViewCacheImpl.java47 public boolean hasCachedView(NotificationEntry entry, @InflationFlag int flag) { in hasCachedView() method in NotifRemoteViewCacheImpl
DNotificationContentInflater.java587 } else if (remoteViewCache.hasCachedView(entry, FLAG_CONTENT_VIEW_CONTRACTED)) { in finishIfDone()
604 } else if (remoteViewCache.hasCachedView(entry, FLAG_CONTENT_VIEW_EXPANDED)) { in finishIfDone()
626 } else if (remoteViewCache.hasCachedView(entry, FLAG_CONTENT_VIEW_HEADS_UP)) { in finishIfDone()
647 } else if (remoteViewCache.hasCachedView(entry, FLAG_CONTENT_VIEW_PUBLIC)) { in finishIfDone()