Searched refs:searchState (Results 1 – 2 of 2) sorted by relevance
226 final SearchState searchState = new SearchState(); in createSearchState() local227 searchState.queryLength = adapter.getQueryString() == null in createSearchState()229 searchState.numPartitions = adapter.getPartitionCount(); in createSearchState()249 searchState.numResults = numResults; in createSearchState()254 searchState.selectedPartition = adapter.getPartitionForPosition(selectedPosition); in createSearchState()255 searchState.selectedIndexInPartition = adapter.getOffsetInPartition(selectedPosition); in createSearchState()256 final Cursor cursor = adapter.getCursor(searchState.selectedPartition); in createSearchState()257 searchState.numResultsInSelectedPartition = in createSearchState()263 for (int i = 0; i < searchState.selectedPartition; i++) { in createSearchState()266 selectedIndex += searchState.selectedIndexInPartition; in createSearchState()[all …]
56 public static void logSearchEvent(SearchState searchState) { in logSearchEvent() argument59 logger.logSearchEventImpl(searchState); in logSearchEvent()110 public abstract void logSearchEventImpl(SearchState searchState); in logSearchEventImpl() argument