Searched refs:CursorView (Results 1 – 7 of 7) sorted by relevance
22 interface CursorView<out E> : Cursor { interface34 fun <E> Cursor.viewBy(readRow: Cursor.() -> E): CursorView<E> = in readRow()35 object : CursorView<E>, Cursor by this@viewBy { in readRow()40 fun <E> CursorView<E>.startAt(newStartIndex: Int): CursorView<E> = in startAt()41 object : CursorView<E>, Cursor by (this@startAt as Cursor).startAt(newStartIndex) { in startAt()46 fun <E> CursorView<E>.limit(count: Int): CursorView<E> = in limit()47 object : CursorView<E>, Cursor by (this@limit as Cursor).limit(count) { in limit()52 operator fun <E> CursorView<E>.get(idx: Int): E? = if (moveToPosition(idx)) readRow() else null in get()55 fun <E> CursorView<E>.asSequence(): Sequence<E?> = sequence { in get()
22 interface PagedCursor<out E> : CursorView<Sequence<E?>> {28 fun <E> CursorView<E>.paged(pageSize: Int): PagedCursor<E> = in paged()
19 import com.android.intentresolver.util.cursor.CursorView23 suspend fun getCursor(): CursorView<T>? in interface()
29 import com.android.intentresolver.util.cursor.CursorView in <lambda>()47 override suspend fun getCursor(): CursorView<CursorRow?>? = withCancellationSignal { signal -> in <lambda>()
38 import com.android.intentresolver.util.cursor.CursorView in <lambda>()95 val cursor: CursorView<CursorRow?> = in <lambda>()
38 import com.android.intentresolver.util.cursor.CursorView96 override suspend fun getCursor(): CursorView<CursorRow?> = in complete()
34 import com.android.intentresolver.util.cursor.CursorView in <lambda>()71 suspend fun launch(uriCursor: CursorView<CursorRow?>, initialPreviews: Iterable<PreviewModel>) { in <lambda>()