Home
last modified time | relevance | path

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

/aosp12/frameworks/ex/common/java/com/android/common/widget/
H A DCompositeCursorAdapter.java36 boolean hasHeader; field in CompositeCursorAdapter.Partition
44 this.hasHeader = hasHeader; in Partition()
55 return hasHeader; in getHasHeader()
179 if (partition.hasHeader) { in ensureCacheValid()
194 public boolean hasHeader(int partition) { in hasHeader() method in CompositeCursorAdapter
195 return mPartitions.get(partition).hasHeader; in hasHeader()
266 if (partition.hasHeader) { in getOffsetInPartition()
318 if (mPartitions.get(i).hasHeader) { in getItemViewType()
429 if (mPartition.hasHeader) { in getItem()
457 if (mPartition.hasHeader) { in getItemId()
[all …]
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/
H A 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()
/aosp12/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/javatests/com/android/libraries/rcs/simpleclient/protocol/sip/
H A DSipUtilsTest.java129 assertThat(request.hasHeader("Conversation-ID")).isTrue(); in buildInvite_returnExpectedInviteMessage()
130 assertThat(request.hasHeader("Contribution-ID")).isTrue(); in buildInvite_returnExpectedInviteMessage()
131 assertThat(request.hasHeader("Accept-Contact")).isTrue(); in buildInvite_returnExpectedInviteMessage()
132 assertThat(request.hasHeader("Security-Verify")).isTrue(); in buildInvite_returnExpectedInviteMessage()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardStatusView.java106 final boolean hasHeader = mKeyguardSlice.hasHeader(); in onSliceContentChanged()
107 if (mShowingHeader == hasHeader) { in onSliceContentChanged()
110 mShowingHeader = hasHeader; in onSliceContentChanged()
H A DKeyguardSliceViewController.java213 boolean hasHeader = in showSlice()
223 mClickActions = mView.showSlice(hasHeader ? headerContent : null, subItems); in showSlice()
H A DKeyguardSliceView.java122 public boolean hasHeader() { in hasHeader() method in KeyguardSliceView
/aosp12/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
H A DXmpDepthDecode.java268 private static boolean hasHeader(byte[] data, String header) { in hasHeader() method in XmpDepthDecode
298 if (hasHeader(header, XMP_EXTENSION_HEADER) && skipExtendedContent) { in readSection()
347 if (hasHeader(section.data, XMP_HEADER)) { in parseFirstValidXMPSection()
375 if (hasHeader(section.data, extendedHeader)) { in checkExtendedSectionExists()
400 if (hasHeader(section.data, extendedHeader)) { in parseExtendedXMPSections()
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
H A DCitySelectionActivity.kt269 val headerCount = if (hasHeader()) 1 else 0
274 if (hasHeader()) {
351 return if (hasHeader() && position == 0) {
384 if (hasHeader()) {
489 private fun hasHeader(): Boolean { regex
510 if (hasHeader()) {
/aosp12/packages/apps/Contacts/src/com/android/contacts/list/
H A DDirectoryPartition.java45 public DirectoryPartition(boolean showIfEmpty, boolean hasHeader) { in DirectoryPartition() argument
46 super(showIfEmpty, hasHeader); in DirectoryPartition()
H A DPinnedHeaderListAdapter.java61 return getPinnedPartitionHeadersEnabled() && hasHeader(partition) in isPinnedPartitionHeaderVisible()
71 if (hasHeader(partition)) { in getPinnedHeaderView()
H A DIndexerListAdapter.java185 if (hasHeader(mIndexedPartition)) { in configurePinnedHeaders()
H A DJoinContactListAdapter.java124 public void configureDefaultPartition(boolean showIfEmpty, boolean hasHeader) { in configureDefaultPartition() argument
H A DContactEntryListAdapter.java587 public void configureDefaultPartition(boolean showIfEmpty, boolean hasHeader) { in configureDefaultPartition() argument
600 setHasHeader(defaultPartitionIndex, hasHeader); in configureDefaultPartition()
H A DContactListAdapter.java338 if (hasHeader(partitionIndex)) { in getSelectedContactPosition()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardSliceViewTest.java89 Assert.assertFalse("View should not have a header", mKeyguardSliceView.hasHeader()); in hasHeader_readsSliceData()
95 Assert.assertTrue("View should have a header", mKeyguardSliceView.hasHeader()); in hasHeader_readsSliceData()
/aosp12/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/
H A DDetailAdapter.java70 default boolean hasHeader() { in hasHeader() method
/aosp12/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
H A DRetrieveConf.java205 return mPduHeaders.hasHeader(PduHeaders.RETRIEVE_STATUS) ? in getRetrieveStatus()
H A DPduHeaders.java740 public boolean hasHeader(int field) { in hasHeader() method in PduHeaders
H A DPduParser.java146 int retrieveStatus = mHeaders.hasHeader(PduHeaders.RETRIEVE_STATUS) ? in parse()
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
H A DKotlinUtils.kt142 hasHeader: Boolean
149 if (hasHeader) {