Home
last modified time | relevance | path

Searched refs:userIdIdentifier (Results 1 – 7 of 7) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DIconHelper.java299 public boolean shouldShowBadge(int userIdIdentifier) { in shouldShowBadge() argument
303 && ActivityManager.getCurrentUser() != userIdIdentifier; in shouldShowBadge()
306 && mManagedUser.getIdentifier() == userIdIdentifier; in shouldShowBadge()
310 public String getProfileLabel(int userIdIdentifier) { in getProfileLabel() argument
312 return mUserManagerState.getUserIdToLabelMap().get(UserId.of(userIdIdentifier)); in getProfileLabel()
DModelBackedDocumentsAdapter.java148 final int userIdIdentifier = getCursorInt(cursor, RootCursorWrapper.COLUMN_USER_ID); in onBindViewHolder() local
161 holder.bindProfileIcon(mIconHelper.shouldShowBadge(userIdIdentifier), userIdIdentifier); in onBindViewHolder() local
163 holder.bindBriefcaseIcon(mIconHelper.shouldShowBadge(userIdIdentifier)); in onBindViewHolder()
DGridDirectoryHolder.java107 public void bindProfileIcon(boolean show, int userIdIdentifier) { in bindProfileIcon() argument
110 Drawable drawable = userIdToBadgeMap.get(UserId.of(userIdIdentifier)); in bindProfileIcon()
113 mIconBadge.setContentDescription(mIconHelper.getProfileLabel(userIdIdentifier)); in bindProfileIcon()
DGridPhotoHolder.java142 public void bindProfileIcon(boolean show, int userIdIdentifier) { in bindProfileIcon() argument
145 Drawable drawable = userIdToBadgeMap.get(UserId.of(userIdIdentifier)); in bindProfileIcon()
149 mIconBadge.setContentDescription(mIconHelper.getProfileLabel(userIdIdentifier)); in bindProfileIcon()
DGridDocumentHolder.java216 public void bindProfileIcon(boolean show, int userIdIdentifier) { in bindProfileIcon() argument
219 Drawable drawable = userIdToBadgeMap.get(UserId.of(userIdIdentifier)); in bindProfileIcon()
222 mIconBadge.setContentDescription(mIconHelper.getProfileLabel(userIdIdentifier)); in bindProfileIcon()
DListDocumentHolder.java212 public void bindProfileIcon(boolean show, int userIdIdentifier) { in bindProfileIcon() argument
215 Drawable drawable = userIdToBadgeMap.get(UserId.of(userIdIdentifier)); in bindProfileIcon()
218 mIconBadge.setContentDescription(mIconHelper.getProfileLabel(userIdIdentifier)); in bindProfileIcon()
DDocumentHolder.java139 public void bindProfileIcon(boolean show, int userIdIdentifier) { in bindProfileIcon() argument