Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/contactsfragment/
DContactsAdapter.java138 boolean showHeader = position == 0 || !header.equals(getHeaderString(position - 1)); in onBindViewHolder()
139 contactViewHolder.bind(header, name, contactUri, getContactId(cursor), showHeader); in onBindViewHolder()
165 boolean showHeader = in refreshHeaders()
167 int visibility = showHeader ? View.VISIBLE : View.INVISIBLE; in refreshHeaders()
DContactViewHolder.java65 String headerText, String displayName, Uri contactUri, long contactId, boolean showHeader) { in bind() argument
73 header.setVisibility(showHeader ? View.VISIBLE : View.INVISIBLE); in bind()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/
DContactListViewHolder.java77 public void bind(Contact contact, boolean showHeader, String header, Integer sortMethod) { in bind() argument
80 ViewUtils.setVisible(mHeaderView, showHeader); in bind()
81 if (showHeader) { in bind()
DContactListAdapter.java97 boolean showHeader = position == 0 in onBindViewHolderImpl()
99 holder.bind(contact, showHeader, header, mSortMethod); in onBindViewHolderImpl()
DContactDetailsAdapter.java77 boolean showHeader = mContext.getResources() in setContact()
80 if (showHeader || contact == null) { in setContact()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsSettings.java298 adapter.showHeader(profilesSize > 1); in addTab()
615 public void showHeader(boolean showHeader) { in showHeader() argument
616 mHeaderView.setVisibility(showHeader ? View.VISIBLE : View.GONE); in showHeader()