Home
last modified time | relevance | path

Searched refs:FLAG_CONTENT_VIEW_CONTRACTED (Results 1 – 11 of 11) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
H A DNotifRemoteViewCacheImplTest.java19 …roid.systemui.statusbar.notification.row.NotificationRowContentBinder.FLAG_CONTENT_VIEW_CONTRACTED;
73 mNotifRemoteViewCache.putCachedView(mEntry, FLAG_CONTENT_VIEW_CONTRACTED, mRemoteViews); in testPutCachedView()
76 assertTrue(mNotifRemoteViewCache.hasCachedView(mEntry, FLAG_CONTENT_VIEW_CONTRACTED)); in testPutCachedView()
80 mNotifRemoteViewCache.getCachedView(mEntry, FLAG_CONTENT_VIEW_CONTRACTED)); in testPutCachedView()
86 mNotifRemoteViewCache.putCachedView(mEntry, FLAG_CONTENT_VIEW_CONTRACTED, mRemoteViews); in testRemoveCachedView()
89 mNotifRemoteViewCache.removeCachedView(mEntry, FLAG_CONTENT_VIEW_CONTRACTED); in testRemoveCachedView()
92 assertFalse(mNotifRemoteViewCache.hasCachedView(mEntry, FLAG_CONTENT_VIEW_CONTRACTED)); in testRemoveCachedView()
98 mNotifRemoteViewCache.putCachedView(mEntry, FLAG_CONTENT_VIEW_CONTRACTED, mRemoteViews); in testClearCache()
105 assertFalse(mNotifRemoteViewCache.hasCachedView(mEntry, FLAG_CONTENT_VIEW_CONTRACTED)); in testClearCache()
H A DRowContentBindStageTest.java21 …roid.systemui.statusbar.notification.row.NotificationRowContentBinder.FLAG_CONTENT_VIEW_CONTRACTED;
79 final int flags = FLAG_CONTENT_VIEW_CONTRACTED | FLAG_CONTENT_VIEW_EXPANDED; in testRequireContentViews()
101 final int flags = FLAG_CONTENT_VIEW_CONTRACTED | FLAG_CONTENT_VIEW_EXPANDED; in testFreeContentViews()
174 final int flags = FLAG_CONTENT_VIEW_CONTRACTED | FLAG_CONTENT_VIEW_EXPANDED; in testRebindAllContentViews()
208 eq(FLAG_CONTENT_VIEW_CONTRACTED | FLAG_CONTENT_VIEW_EXPANDED), in testSetUseLowPriority()
232 eq(FLAG_CONTENT_VIEW_CONTRACTED), in testSetUseIncreasedHeight()
289 int defaultFlags = FLAG_CONTENT_VIEW_CONTRACTED | FLAG_CONTENT_VIEW_EXPANDED; in testSupersedesPreviousContentViews()
H A DNotificationContentInflaterTest.java20 …roid.systemui.statusbar.notification.row.NotificationRowContentBinder.FLAG_CONTENT_VIEW_CONTRACTED;
280 when(mCache.hasCachedView(mRow.getEntry(), FLAG_CONTENT_VIEW_CONTRACTED)) in testUsesSameViewWhenCachedPossibleToReuse()
282 when(mCache.getCachedView(mRow.getEntry(), FLAG_CONTENT_VIEW_CONTRACTED)) in testUsesSameViewWhenCachedPossibleToReuse()
290 inflateAndWait(mNotificationInflater, FLAG_CONTENT_VIEW_CONTRACTED, mRow); in testUsesSameViewWhenCachedPossibleToReuse()
301 when(mCache.hasCachedView(mRow.getEntry(), FLAG_CONTENT_VIEW_CONTRACTED)) in testInflatesNewViewWhenCachedNotPossibleToReuse()
303 when(mCache.getCachedView(mRow.getEntry(), FLAG_CONTENT_VIEW_CONTRACTED)) in testInflatesNewViewWhenCachedNotPossibleToReuse()
311 inflateAndWait(mNotificationInflater, FLAG_CONTENT_VIEW_CONTRACTED, mRow); in testInflatesNewViewWhenCachedNotPossibleToReuse()
321 inflateAndWait(mNotificationInflater, FLAG_CONTENT_VIEW_CONTRACTED, mRow); in testInflationCachesCreatedRemoteView()
326 eq(FLAG_CONTENT_VIEW_CONTRACTED), in testInflationCachesCreatedRemoteView()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DRowContentBindParams.java19 …roid.systemui.statusbar.notification.row.NotificationRowContentBinder.FLAG_CONTENT_VIEW_CONTRACTED;
48 mDirtyContentViews |= (FLAG_CONTENT_VIEW_CONTRACTED | FLAG_CONTENT_VIEW_EXPANDED); in setUseLowPriority()
62 mDirtyContentViews |= FLAG_CONTENT_VIEW_CONTRACTED; in setUseIncreasedCollapsedHeight()
162 FLAG_CONTENT_VIEW_CONTRACTED | FLAG_CONTENT_VIEW_EXPANDED;
H A DNotificationRowContentBinder.java79 FLAG_CONTENT_VIEW_CONTRACTED,
89 int FLAG_CONTENT_VIEW_CONTRACTED = 1; field
H A DNotificationContentInflater.java233 case FLAG_CONTENT_VIEW_CONTRACTED: in freeNotificationView()
236 mRemoteViewCache.removeCachedView(entry, FLAG_CONTENT_VIEW_CONTRACTED); in freeNotificationView()
273 if ((contentViews & FLAG_CONTENT_VIEW_CONTRACTED) != 0) { in cancelContentViewFrees()
296 boolean inflateContracted = (reInflateFlags & FLAG_CONTENT_VIEW_CONTRACTED) != 0 in inflateSmartReplyViews()
330 if ((reInflateFlags & FLAG_CONTENT_VIEW_CONTRACTED) != 0) { in createRemoteViews()
388 int flag = FLAG_CONTENT_VIEW_CONTRACTED; in apply()
392 remoteViewCache.getCachedView(entry, FLAG_CONTENT_VIEW_CONTRACTED)); in apply()
714 if ((reInflateFlags & FLAG_CONTENT_VIEW_CONTRACTED) != 0) { in finishIfDone()
718 remoteViewCache.putCachedView(entry, FLAG_CONTENT_VIEW_CONTRACTED, in finishIfDone()
720 } else if (remoteViewCache.hasCachedView(entry, FLAG_CONTENT_VIEW_CONTRACTED)) { in finishIfDone()
[all …]
H A DNotificationContentInflaterLogger.kt25 …droid.systemui.statusbar.notification.row.NotificationRowContentBinder.FLAG_CONTENT_VIEW_CONTRACTED
112 if (flag and FLAG_CONTENT_VIEW_CONTRACTED != 0) {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DDynamicChildBindController.java19 …droid.systemui.statusbar.notification.row.NotificationContentInflater.FLAG_CONTENT_VIEW_CONTRACTED;
106 params.markContentViewsFreeable(FLAG_CONTENT_VIEW_CONTRACTED); in freeContent()
113 params.requireContentViews(FLAG_CONTENT_VIEW_CONTRACTED); in bindContent()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
H A DDynamicChildBindControllerTest.java19 …roid.systemui.statusbar.notification.row.NotificationRowContentBinder.FLAG_CONTENT_VIEW_CONTRACTED;
88 verify(bindParams).markContentViewsFreeable(FLAG_CONTENT_VIEW_CONTRACTED); in testContentViewsOfChildrenBeyondCutoffAreFreed()
109 verify(bindParams).requireContentViews(FLAG_CONTENT_VIEW_CONTRACTED); in testContentViewsBeforeCutoffAreBound()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/
H A DNotificationRowBinderImpl.java19 …roid.systemui.statusbar.notification.row.NotificationRowContentBinder.FLAG_CONTENT_VIEW_CONTRACTED;
169 params.markContentViewsFreeable(FLAG_CONTENT_VIEW_CONTRACTED); in releaseViews()
220 params.requireContentViews(FLAG_CONTENT_VIEW_CONTRACTED); in inflateContentViews()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DAlertingNotificationManagerTest.java21 …roid.systemui.statusbar.notification.row.NotificationRowContentBinder.FLAG_CONTENT_VIEW_CONTRACTED;
105 return FLAG_CONTENT_VIEW_CONTRACTED; in getContentFlag()