Home
last modified time | relevance | path

Searched refs:getCursor (Results 1 – 25 of 32) sorted by relevance

12

/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DGalleryGridAdapter.java61 if (position != 0 && !getCursor().moveToPosition(position - 1)) { in getView()
66 view = newView(context, getCursor(), parent); in getView()
70 bindView(view, context, getCursor(), position); in getView()
115 Cursor extendedCursor = new MergeCursor(new Cursor[] {extraRow, getCursor()}); in insertEntries()
125 Cursor extendedCursor = new MergeCursor(new Cursor[] {extraRow, getCursor()}); in insertEntry()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DGlobalSearchLoaderTest.java162 final Cursor c = result.getCursor(); in testSearchResult_includeDirectory()
181 assertEquals(0, result.getCursor().getCount()); in testShowOrHideHiddenFiles()
185 assertEquals(2, result.getCursor().getCount()); in testShowOrHideHiddenFiles()
192 final Cursor c = result.getCursor(); in testSearchResult_isNotMovable()
223 final Cursor c = result.getCursor(); in testSearchResult_includeDirectory_excludedOtherUsers()
253 final Cursor c = result.getCursor(); in testSearchResult_includeSearchString()
287 final Cursor c = result.getCursor(); in testSearchResult_includeDifferentRoot()
319 final Cursor c = result.getCursor(); in testSearchResult_includeCurrentUserRootOnly()
357 final Cursor c = result.getCursor(); in testSearchResult_includeBothUsersRoots()
386 assertThat(result.getCursor().getCount()).isEqualTo(0); in testSearchResult_emptyCurrentUsersRoot()
DRecentsLoaderTests.java128 final Cursor c = result.getCursor(); in testDocumentsNotIncludeDirectory()
145 assertEquals(0, result.getCursor().getCount()); in testShowOrHideHiddenFiles()
149 assertEquals(2, result.getCursor().getCount()); in testShowOrHideHiddenFiles()
164 final Cursor c = result.getCursor(); in testDocumentsNotMovable()
212 assertThat(result.getCursor()).isNull(); in testLoaderOnUserWithoutPermission()
221 assertThat(result.getCursor()).isNull(); in testLoaderOnUser_quietMode()
/packages/apps/Gallery/src/com/android/camera/gallery/
DBaseImageList.java96 Cursor cursor = getCursor(); in getCount()
107 private Cursor getCursor() { in getCursor() method in BaseImageList
121 Cursor cursor = getCursor(); in getImageAt()
197 Cursor cursor = getCursor(); in getImageForUri()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/list/
DSearchAdapter.java104 ((SearchContactViewHolder) holder).bind(searchCursorManager.getCursor(position), query); in onBindViewHolder()
106 ((NearbyPlaceViewHolder) holder).bind(searchCursorManager.getCursor(position), query); in onBindViewHolder()
108 ((DirectoryContactViewHolder) holder).bind(searchCursorManager.getCursor(position), query); in onBindViewHolder()
111 searchCursorManager.getCursor(position).getString(SearchCursor.HEADER_TEXT_POSITION); in onBindViewHolder()
DSearchCursorManager.java209 SearchCursor cursor = getCursor(position); in getRowType()
234 SearchCursor getCursor(int position) { in getCursor() method in SearchCursorManager
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDirectoryLoader.java308 if (mResult != null && mResult.getCursor() != null && mObserver != null) { in onReset()
309 mResult.getCursor().unregisterContentObserver(mObserver); in onReset()
317 if (result == null || result.getCursor() == null || result.getCursor().isClosed()) { in checkIfCursorStale()
320 Cursor cursor = result.getCursor(); in checkIfCursorStale()
DMultiRootDocumentsLoader.java473 if (result == null || result.getCursor() == null || result.getCursor().isClosed()) { in checkIfCursorStale()
476 Cursor cursor = result.getCursor(); in checkIfCursorStale()
DDirectoryResult.java58 public Cursor getCursor() { in getCursor() method in DirectoryResult
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/cursor/
DPayloadToggleCursorResolverTest.kt65 val cursor = testSubject.getCursor() in <lambda>()
95 val cursor = testSubject.getCursor() in <lambda>()
126 val cursor = testSubject.getCursor() in <lambda>()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DPickerProviderMediaGenerator.java113 getCursor( in getMedia()
144 final Cursor cursor = getCursor(mAlbums, mimeTypes, sizeBytes, isLocal, pageToken); in getAlbums()
164 final Cursor cursor = getCursor(mDeletedMedia, generation, /* albumId */ STRING_DEFAULT, in getDeletedMedia()
315 private Cursor getCursor( in getCursor() method in PickerProviderMediaGenerator.MediaGenerator
372 private static Cursor getCursor(List<TestAlbum> albumList, String[] mimeTypes, in getCursor() method in PickerProviderMediaGenerator.MediaGenerator
/packages/providers/MediaProvider/apex/framework/java/android/provider/
DCmpApiVerifier.java86 verifyOnQueryMedia(result.getCursor(), verificationResult, errors); in verifyApiResult()
90 verifyOnQueryDeletedMedia(result.getCursor(), verificationResult, errors); in verifyApiResult()
94 verifyOnQueryAlbums(result.getCursor(), verificationResult, errors); in verifyApiResult()
DCmpApiResult.java61 Cursor getCursor() { in getCursor() method in CmpApiResult
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/cursor/
DCursorResolver.kt23 suspend fun getCursor(): CursorView<T>? in interface() method
DPayloadToggleCursorResolver.kt47 override suspend fun getCursor(): CursorView<CursorRow?>? = withCancellationSignal { signal -> in <lambda>() method in com.android.intentresolver.contentpreview.payloadtoggle.domain.cursor.PayloadToggleCursorResolver
/packages/modules/HealthFitness/tests/integrationtests/TestDocumentProviderApp2/src/android/healthconnect/tests/documentproviderapp2/
DTestDocumentProvider.java51 return FakeDocumentProviderRoots.INSTANCE.getCursor(); in queryRoots()
/packages/modules/HealthFitness/tests/integrationtests/TestDocumentProviderApp/src/android/healthconnect/tests/documentproviderapp/
DTestDocumentProvider.java51 return FakeDocumentProviderRoots.INSTANCE.getCursor(); in queryRoots()
/packages/modules/HealthFitness/tests/integrationtests/utils/HealthConnectDocumentProviderTestUtils/src/android/healthconnect/tests/documentprovider/utils/
DFakeDocumentProviderRoots.java45 public MatrixCursor getCursor() { in getCursor() method in FakeDocumentProviderRoots
/packages/apps/Contacts/src/com/android/contacts/list/
DHeaderEntryContactListAdapter.java63 itemView = newView(getContext(), 0, getCursor(0), 0, parent); in getView()
DContactListAdapter.java309 cursor = getCursor(partitionIndex); in getSelectedContactPosition()
356 Cursor cursor = getCursor(i); in getFirstContactUri()
DPinnedHeaderListAdapter.java85 bindHeaderView(view, partition, getCursor(partition)); in getPinnedHeaderView()
DMultiSelectContactsListFragment.java240 final Cursor cursor = adapter.getCursor(i); in createSearchState()
260 final Cursor cursor = adapter.getCursor(searchState.selectedPartition); in createSearchState()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/interactor/
DFetchPreviewsInteractor.kt46 val cursor = async { cursorResolver.getCursor() } in <lambda>()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastListActivity.java407 Cursor cursor = mAdapter.getCursor(); in getSelectedItemsRowId()
441 return mAdapter.getCursor().getCount() > 0; in hasAlertsInHistory()
485 Cursor cursor = mAdapter.getCursor(); in onContextItemSelected()
/packages/apps/Messaging/src/com/android/messaging/ui/
DCursorRecyclerAdapter.java147 public Cursor getCursor() { in getCursor() method in CursorRecyclerAdapter

12