/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 | 21 …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()
|
D | NotificationContentInflaterTest.java | 20 …roid.systemui.statusbar.notification.row.NotificationRowContentBinder.FLAG_CONTENT_VIEW_CONTRACTED; 291 when(mCache.hasCachedView(mRow.getEntry(), FLAG_CONTENT_VIEW_CONTRACTED)) in testUsesSameViewWhenCachedPossibleToReuse() 293 when(mCache.getCachedView(mRow.getEntry(), FLAG_CONTENT_VIEW_CONTRACTED)) in testUsesSameViewWhenCachedPossibleToReuse() 301 inflateAndWait(mNotificationInflater, FLAG_CONTENT_VIEW_CONTRACTED, mRow); in testUsesSameViewWhenCachedPossibleToReuse() 312 when(mCache.hasCachedView(mRow.getEntry(), FLAG_CONTENT_VIEW_CONTRACTED)) in testInflatesNewViewWhenCachedNotPossibleToReuse() 314 when(mCache.getCachedView(mRow.getEntry(), FLAG_CONTENT_VIEW_CONTRACTED)) in testInflatesNewViewWhenCachedNotPossibleToReuse() 322 inflateAndWait(mNotificationInflater, FLAG_CONTENT_VIEW_CONTRACTED, mRow); in testInflatesNewViewWhenCachedNotPossibleToReuse() 332 inflateAndWait(mNotificationInflater, FLAG_CONTENT_VIEW_CONTRACTED, mRow); in testInflationCachesCreatedRemoteView() 337 eq(FLAG_CONTENT_VIEW_CONTRACTED), in testInflationCachesCreatedRemoteView()
|
D | NotificationRowContentBinderImplTest.kt | 299 NotificationRowContentBinder.FLAG_CONTENT_VIEW_CONTRACTED in <lambda>() 306 NotificationRowContentBinder.FLAG_CONTENT_VIEW_CONTRACTED in <lambda>() 318 NotificationRowContentBinder.FLAG_CONTENT_VIEW_CONTRACTED, in <lambda>() 337 NotificationRowContentBinder.FLAG_CONTENT_VIEW_CONTRACTED in <lambda>() 344 NotificationRowContentBinder.FLAG_CONTENT_VIEW_CONTRACTED in <lambda>() 356 NotificationRowContentBinder.FLAG_CONTENT_VIEW_CONTRACTED, in <lambda>() 373 NotificationRowContentBinder.FLAG_CONTENT_VIEW_CONTRACTED, in <lambda>() 381 eq(NotificationRowContentBinder.FLAG_CONTENT_VIEW_CONTRACTED), in <lambda>()
|
D | NotifLayoutInflaterFactoryTest.kt | 28 …droid.systemui.statusbar.notification.row.NotificationRowContentBinder.FLAG_CONTENT_VIEW_CONTRACTED in <lambda>() 54 createReplacementViewFactory("TextView", FLAG_CONTENT_VIEW_CONTRACTED) { context, _ -> in <lambda>()
|
/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 setUseMinimized() 65 mDirtyContentViews |= FLAG_CONTENT_VIEW_CONTRACTED; in setUseIncreasedCollapsedHeight() 165 FLAG_CONTENT_VIEW_CONTRACTED | FLAG_CONTENT_VIEW_EXPANDED;
|
D | NotificationRowContentBinder.java | 85 FLAG_CONTENT_VIEW_CONTRACTED, 98 int FLAG_CONTENT_VIEW_CONTRACTED = 1; field
|
D | NotificationContentInflater.java | 275 case FLAG_CONTENT_VIEW_CONTRACTED: in freeNotificationView() 278 mRemoteViewCache.removeCachedView(entry, FLAG_CONTENT_VIEW_CONTRACTED); in freeNotificationView() 324 if ((contentViews & FLAG_CONTENT_VIEW_CONTRACTED) != 0) { in cancelContentViewFrees() 351 boolean inflateContracted = (reInflateFlags & FLAG_CONTENT_VIEW_CONTRACTED) != 0 in inflateSmartReplyViews() 387 if ((reInflateFlags & FLAG_CONTENT_VIEW_CONTRACTED) != 0) { in createRemoteViews() 443 notifLayoutInflaterFactoryProvider.provide(row, FLAG_CONTENT_VIEW_CONTRACTED)); in setNotifsViewsInflaterFactory() 477 int flag = FLAG_CONTENT_VIEW_CONTRACTED; in apply() 481 remoteViewCache.getCachedView(entry, FLAG_CONTENT_VIEW_CONTRACTED)); in apply() 878 if ((reInflateFlags & FLAG_CONTENT_VIEW_CONTRACTED) != 0) { 882 remoteViewCache.putCachedView(entry, FLAG_CONTENT_VIEW_CONTRACTED, [all …]
|
D | NotificationRowContentBinderImpl.kt | 50 …droid.systemui.statusbar.notification.row.NotificationRowContentBinder.FLAG_CONTENT_VIEW_CONTRACTED in <lambda>() 257 FLAG_CONTENT_VIEW_CONTRACTED -> in <lambda>() 262 remoteViewCache.removeCachedView(entry, FLAG_CONTENT_VIEW_CONTRACTED) in <lambda>() 310 if (contentViews and FLAG_CONTENT_VIEW_CONTRACTED != 0) { in <lambda>() 597 (reInflateFlags and FLAG_CONTENT_VIEW_CONTRACTED != 0 && in <lambda>() 714 if (reInflateFlags and FLAG_CONTENT_VIEW_CONTRACTED != 0) { in <lambda>() 786 it.layoutInflaterFactory = provider.provide(row, FLAG_CONTENT_VIEW_CONTRACTED) in <lambda>() 817 var flag = FLAG_CONTENT_VIEW_CONTRACTED in <lambda>() 822 oldView = remoteViewCache.getCachedView(entry, FLAG_CONTENT_VIEW_CONTRACTED) in <lambda>() 1365 if (reInflateFlags and FLAG_CONTENT_VIEW_CONTRACTED != 0) { in <lambda>() [all …]
|
D | NotificationRowContentBinderLogger.kt | 25 …droid.systemui.statusbar.notification.row.NotificationRowContentBinder.FLAG_CONTENT_VIEW_CONTRACTED 135 if (flag and FLAG_CONTENT_VIEW_CONTRACTED != 0) { in flagToString()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | DynamicChildBindController.java | 19 …roid.systemui.statusbar.notification.row.NotificationRowContentBinder.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; 92 verify(bindParams).markContentViewsFreeable(FLAG_CONTENT_VIEW_CONTRACTED); in testContentViewsOfChildrenBeyondCutoffAreFreed() 113 verify(bindParams).requireContentViews(FLAG_CONTENT_VIEW_CONTRACTED); in testContentViewsBeforeCutoffAreBound()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/policy/ |
D | TestableHeadsUpManager.java | 19 …roid.systemui.statusbar.notification.row.NotificationRowContentBinder.FLAG_CONTENT_VIEW_CONTRACTED; 66 return FLAG_CONTENT_VIEW_CONTRACTED; in getContentFlag()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/ |
D | NotificationRowBinderImpl.java | 20 …roid.systemui.statusbar.notification.row.NotificationRowContentBinder.FLAG_CONTENT_VIEW_CONTRACTED; 181 params.markContentViewsFreeable(FLAG_CONTENT_VIEW_CONTRACTED); in releaseViews() 252 params.requireContentViews(FLAG_CONTENT_VIEW_CONTRACTED); in inflateContentViews()
|