Searched refs:searchState (Results 1 – 2 of 2) sorted by relevance
230 final SearchState searchState = new SearchState(); in createSearchState() local231 searchState.queryLength = adapter.getQueryString() == null in createSearchState()233 searchState.numPartitions = adapter.getPartitionCount(); in createSearchState()253 searchState.numResults = numResults; in createSearchState()258 searchState.selectedPartition = adapter.getPartitionForPosition(selectedPosition); in createSearchState()259 searchState.selectedIndexInPartition = adapter.getOffsetInPartition(selectedPosition); in createSearchState()260 final Cursor cursor = adapter.getCursor(searchState.selectedPartition); in createSearchState()261 searchState.numResultsInSelectedPartition = in createSearchState()267 for (int i = 0; i < searchState.selectedPartition; i++) { in createSearchState()270 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