Home
last modified time | relevance | path

Searched refs:shouldShowBadge (Results 1 – 6 of 6) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DIconHelperTest.java53 assertThat(mIconHelper.shouldShowBadge(systemUser.getIdentifier())).isFalse(); in testShouldShowBadge_returnFalse_onSystemUser()
58 assertThat(mIconHelper.shouldShowBadge(managedUser.getIdentifier())).isTrue(); in testShouldShowBadge_returnTrue_onManagedUser()
65 assertThat(mIconHelper.shouldShowBadge(managedUser.getIdentifier())).isFalse(); in testShouldShowBadge_returnFalse_onManagedUser_doNotShowBadge()
72 assertThat(mIconHelper.shouldShowBadge(managedUser.getIdentifier())).isFalse(); in testShouldShowBadge_returnFalse_onManagedUser_withoutManagedUser()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DGridPhotoHolder.java102 mIconHelper.shouldShowBadge(mDoc.userId.getIdentifier()) in bindPreviewIcon()
158 if (mIconHelper.shouldShowBadge(mDoc.userId.getIdentifier())) { in bind()
DModelBackedDocumentsAdapter.java146 holder.bindBriefcaseIcon(mIconHelper.shouldShowBadge(userIdIdentifier)); in onBindViewHolder()
DGridDocumentHolder.java121 mIconHelper.shouldShowBadge(mDoc.userId.getIdentifier()) in bindPreviewIcon()
DIconHelper.java266 public boolean shouldShowBadge(int userIdIdentifier) { in shouldShowBadge() method in IconHelper
DListDocumentHolder.java134 mIconHelper.shouldShowBadge(mDoc.userId.getIdentifier()) in bindPreviewIcon()