Home
last modified time | relevance | path

Searched refs:hasHeader (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/
DCompositeAdapter.java37 public Partition(final boolean showIfEmpty, final boolean hasHeader, in Partition() argument
40 this.mHasHeader = hasHeader; in Partition()
51 public boolean hasHeader() { in hasHeader() method in CompositeAdapter.Partition
150 if (mPartitions[i].hasHeader() && in getPartitionAtPosition()
202 if (partition.hasHeader() && offset == 0 && in getItem()
224 if (partition.hasHeader() && offset == 0 && in getItemId()
246 if (partition.hasHeader() && offset == 0 && in isEnabled()
268 if (partition.hasHeader() && in getView()
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
DCitySelectionActivity.kt270 val headerCount = if (hasHeader()) 1 else 0 in getCount()
275 if (hasHeader()) { in getItem()
352 return if (hasHeader() && position == 0) { in getItemViewType()
385 if (hasHeader()) { in getSections()
490 private fun hasHeader(): Boolean { in hasHeader() method in com.android.deskclock.worldclock.CitySelectionActivity.CityAdapter
511 if (hasHeader()) { in getShowIndex()
DCitySelectionActivity.java307 final int headerCount = hasHeader() ? 1 : 0; in getCount()
313 if (hasHeader()) { in getItem()
400 return hasHeader() && position == 0 ? VIEW_TYPE_SELECTED_CITIES_HEADER : VIEW_TYPE_CITY; in getItemViewType()
432 if (hasHeader()) { in getSections()
546 private boolean hasHeader() { in hasHeader() method in CitySelectionActivity.CityAdapter
569 if (hasHeader()) { in getShowIndex()
/packages/apps/Contacts/src/com/android/contacts/list/
DDirectoryPartition.java45 public DirectoryPartition(boolean showIfEmpty, boolean hasHeader) { in DirectoryPartition() argument
46 super(showIfEmpty, hasHeader); in DirectoryPartition()
DPinnedHeaderListAdapter.java61 return getPinnedPartitionHeadersEnabled() && hasHeader(partition) in isPinnedPartitionHeaderVisible()
71 if (hasHeader(partition)) { in getPinnedHeaderView()
DContactEntryListAdapter.java587 public void configureDefaultPartition(boolean showIfEmpty, boolean hasHeader) { in configureDefaultPartition() argument
600 setHasHeader(defaultPartitionIndex, hasHeader); in configureDefaultPartition()
DIndexerListAdapter.java185 if (hasHeader(mIndexedPartition)) { in configurePinnedHeaders()
DJoinContactListAdapter.java124 public void configureDefaultPartition(boolean showIfEmpty, boolean hasHeader) { in configureDefaultPartition() argument
DContactListAdapter.java338 if (hasHeader(partitionIndex)) { in getSelectedContactPosition()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DFloatingHeaderView.java366 public void setContentVisibility(boolean hasHeader, boolean hasAllAppsContent, in setContentVisibility() argument
369 row.setContentVisibility(hasHeader, hasAllAppsContent, setter, headerFade, allAppsFade); in setContentVisibility()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DRetrieveConf.java205 return mPduHeaders.hasHeader(PduHeaders.RETRIEVE_STATUS) ? in getRetrieveStatus()
DPduHeaders.java740 public boolean hasHeader(int field) { in hasHeader() method in PduHeaders
DPduParser.java146 int retrieveStatus = mHeaders.hasHeader(PduHeaders.RETRIEVE_STATUS) ? in parse()