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/ |
D | NotifRemoteViewCacheImplTest.java | 19 …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()
|
D | RowContentBindStageTest.java | 20 …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()
|
D | NotificationContentInflaterTest.java | 20 …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/ |
D | RowContentBindParams.java | 19 …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;
|
D | NotificationRowContentBinder.java | 78 FLAG_CONTENT_VIEW_CONTRACTED, 88 int FLAG_CONTENT_VIEW_CONTRACTED = 1; field
|
D | NotificationContentInflater.java | 211 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/ |
D | DynamicChildBindController.java | 19 …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/ |
D | DynamicChildBindControllerTest.java | 19 …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/ |
D | AlertingNotificationManagerTest.java | 20 …roid.systemui.statusbar.notification.row.NotificationRowContentBinder.FLAG_CONTENT_VIEW_CONTRACTED; 103 return FLAG_CONTENT_VIEW_CONTRACTED; in getContentFlag()
|