Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/search2/
DDatabaseResultLoader.java175 private List<SearchResult> firstWordQuery(String[] matchColumns, int baseRank) { in firstWordQuery() argument
180 return query(whereClause, selection, baseRank); in firstWordQuery()
191 private List<SearchResult> secondaryWordQuery(String[] matchColumns, int baseRank) { in secondaryWordQuery() argument
196 return query(whereClause, selection, baseRank); in secondaryWordQuery()
206 private List<SearchResult> anyWordQuery(String[] matchColumns, int baseRank) { in anyWordQuery() argument
210 return query(whereClause, selection, baseRank); in anyWordQuery()
221 private List<SearchResult> query(String whereClause, String[] selection, int baseRank) { in query() argument
226 return mConverter.convertCursor(mSiteMapManager, resultCursor, baseRank); in query()
DCursorToSearchResultConverter.java104 Cursor cursorResults, int baseRank) { in convertCursor() argument
113 contextMap, cursorResults, baseRank); in convertCursor()
123 Map<String, Context> contextMap, Cursor cursor, int baseRank) { in buildSingleSearchResultFromCursor() argument
155 final int rank = getRank(title, breadcrumbs, baseRank, key); in buildSingleSearchResultFromCursor()
262 private int getRank(String title, List<String> crumbs, int baseRank, String key) { in getRank() argument
264 if (prioritySettings.contains(key) && baseRank < DatabaseResultLoader.BASE_RANKS[1]) { in getRank()
268 return baseRank + 2; in getRank()
270 return baseRank; in getRank()