Searched refs:baseRank (Results 1 – 2 of 2) sorted by relevance
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/ |
D | CursorToSearchResultConverter.java | 83 public Set<SearchResult> convertCursor(Cursor cursorResults, int baseRank, in convertCursor() argument 93 contextMap, cursorResults, baseRank); in convertCursor() 123 Map<String, Context> contextMap, Cursor cursor, int baseRank) { in buildSingleSearchResultFromCursor() argument 141 final int rank = getRank(title, baseRank, key); in buildSingleSearchResultFromCursor() 211 private int getRank(String title, int baseRank, String key) { in getRank() argument 213 if (prioritySettings.contains(key) && baseRank < BASE_RANKS[1]) { in getRank() 217 return baseRank + 1; in getRank() 219 return baseRank; in getRank()
|
D | DatabaseResultTask.java | 172 private Set<SearchResult> firstWordQuery(String[] matchColumns, int baseRank) { in firstWordQuery() argument 177 return query(whereClause, selection, baseRank); in firstWordQuery() 188 private Set<SearchResult> secondaryWordQuery(String[] matchColumns, int baseRank) { in secondaryWordQuery() argument 193 return query(whereClause, selection, baseRank); in secondaryWordQuery() 204 private Set<SearchResult> anyWordQuery(String[] matchColumns, int baseRank) { in anyWordQuery() argument 208 return query(whereClause, selection, baseRank); in anyWordQuery() 219 private Set<SearchResult> query(String whereClause, String[] selection, int baseRank) { in query() argument 225 return mConverter.convertCursor(resultCursor, baseRank, mSiteMapManager); in query()
|