Home
last modified time | relevance | path

Searched refs:CursorBackedSuggestionExtras (Results 1 – 2 of 2) sorted by relevance

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DCursorBackedSuggestionExtras.kt25 class CursorBackedSuggestionExtras class
32 fun createExtrasIfNecessary(cursor: Cursor?, position: Int): CursorBackedSuggestionExtras? { in createExtrasIfNecessary()
34 CursorBackedSuggestionExtras.Companion.getExtraColumns(cursor) in createExtrasIfNecessary()
36 CursorBackedSuggestionExtras(cursor, position, extraColumns) in createExtrasIfNecessary()
48 Log.e(CursorBackedSuggestionExtras.Companion.TAG, "getColumnNames() failed, ", ex) in getCursorColumns()
54 val columns: Array<String>? = CursorBackedSuggestionExtras.Companion.getCursorColumns(cursor) in cursorContainsExtras()
57 if (!CursorBackedSuggestionExtras.Companion.DEFAULT_COLUMNS.contains(cursorColumn)) { in cursorContainsExtras()
68 CursorBackedSuggestionExtras.Companion.getCursorColumns(cursor) ?: return null in getExtraColumns()
71 if (!CursorBackedSuggestionExtras.Companion.DEFAULT_COLUMNS.contains(cursorColumn)) { in getExtraColumns()
82 CursorBackedSuggestionExtras.Companion.DEFAULT_COLUMNS.addAll(
[all …]
DCursorBackedSourceResult.kt53 else CursorBackedSuggestionExtras.createExtrasIfNecessary(mCursor, position)!!
56 get() = if (mCursor == null) null else CursorBackedSuggestionExtras.getExtraColumns(mCursor)!!