Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
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()
DRowContentBindStageTest.java20 …roid.systemui.statusbar.notification.row.NotificationRowContentBinder.FLAG_CONTENT_VIEW_CONTRACTED;
73 final int flags = FLAG_CONTENT_VIEW_CONTRACTED | FLAG_CONTENT_VIEW_EXPANDED; in testRequireContentViews()
95 final int flags = FLAG_CONTENT_VIEW_CONTRACTED | FLAG_CONTENT_VIEW_EXPANDED; in testFreeContentViews()
107 final int flags = FLAG_CONTENT_VIEW_CONTRACTED | FLAG_CONTENT_VIEW_EXPANDED; in testRebindAllContentViews()
141 eq(FLAG_CONTENT_VIEW_CONTRACTED | FLAG_CONTENT_VIEW_EXPANDED), in testSetUseLowPriority()
165 eq(FLAG_CONTENT_VIEW_CONTRACTED), in testSetUseIncreasedHeight()
222 int defaultFlags = FLAG_CONTENT_VIEW_CONTRACTED | FLAG_CONTENT_VIEW_EXPANDED; in testSupersedesPreviousContentViews()
DNotificationContentInflaterTest.java20 …roid.systemui.statusbar.notification.row.NotificationRowContentBinder.FLAG_CONTENT_VIEW_CONTRACTED;
252 when(mCache.hasCachedView(mRow.getEntry(), FLAG_CONTENT_VIEW_CONTRACTED)) in testUsesSameViewWhenCachedPossibleToReuse()
254 when(mCache.getCachedView(mRow.getEntry(), FLAG_CONTENT_VIEW_CONTRACTED)) in testUsesSameViewWhenCachedPossibleToReuse()
262 inflateAndWait(mNotificationInflater, FLAG_CONTENT_VIEW_CONTRACTED, mRow); in testUsesSameViewWhenCachedPossibleToReuse()
273 when(mCache.hasCachedView(mRow.getEntry(), FLAG_CONTENT_VIEW_CONTRACTED)) in testInflatesNewViewWhenCachedNotPossibleToReuse()
275 when(mCache.getCachedView(mRow.getEntry(), FLAG_CONTENT_VIEW_CONTRACTED)) in testInflatesNewViewWhenCachedNotPossibleToReuse()
283 inflateAndWait(mNotificationInflater, FLAG_CONTENT_VIEW_CONTRACTED, mRow); in testInflatesNewViewWhenCachedNotPossibleToReuse()
293 inflateAndWait(mNotificationInflater, FLAG_CONTENT_VIEW_CONTRACTED, mRow); in testInflationCachesCreatedRemoteView()
298 eq(FLAG_CONTENT_VIEW_CONTRACTED), in testInflationCachesCreatedRemoteView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
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()
161 FLAG_CONTENT_VIEW_CONTRACTED | FLAG_CONTENT_VIEW_EXPANDED;
DNotificationRowContentBinder.java78 FLAG_CONTENT_VIEW_CONTRACTED,
88 int FLAG_CONTENT_VIEW_CONTRACTED = 1; field
DNotificationContentInflater.java211 case FLAG_CONTENT_VIEW_CONTRACTED: in freeNotificationView()
214 mRemoteViewCache.removeCachedView(entry, FLAG_CONTENT_VIEW_CONTRACTED); in freeNotificationView()
251 if ((contentViews & FLAG_CONTENT_VIEW_CONTRACTED) != 0) { in cancelContentViewFrees()
290 if ((reInflateFlags & FLAG_CONTENT_VIEW_CONTRACTED) != 0) { in createRemoteViews()
327 int flag = FLAG_CONTENT_VIEW_CONTRACTED; in apply()
331 remoteViewCache.getCachedView(entry, FLAG_CONTENT_VIEW_CONTRACTED)); in apply()
570 if ((reInflateFlags & FLAG_CONTENT_VIEW_CONTRACTED) != 0) { in finishIfDone()
574 remoteViewCache.putCachedView(entry, FLAG_CONTENT_VIEW_CONTRACTED, in finishIfDone()
576 } else if (remoteViewCache.hasCachedView(entry, FLAG_CONTENT_VIEW_CONTRACTED)) { in finishIfDone()
579 remoteViewCache.putCachedView(entry, FLAG_CONTENT_VIEW_CONTRACTED, in finishIfDone()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DDynamicChildBindControllerTest.java19 …roid.systemui.statusbar.notification.row.NotificationRowContentBinder.FLAG_CONTENT_VIEW_CONTRACTED;
86 verify(bindParams).markContentViewsFreeable(FLAG_CONTENT_VIEW_CONTRACTED); in testContentViewsOfChildrenBeyondCutoffAreFreed()
107 verify(bindParams).requireContentViews(FLAG_CONTENT_VIEW_CONTRACTED); in testContentViewsBeforeCutoffAreBound()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DAlertingNotificationManagerTest.java20 …roid.systemui.statusbar.notification.row.NotificationRowContentBinder.FLAG_CONTENT_VIEW_CONTRACTED;
103 return FLAG_CONTENT_VIEW_CONTRACTED; in getContentFlag()