Searched refs:prevQuery (Results 1 – 4 of 4) sorted by relevance
33 String prevQuery = "prev"; in testBuilder() local60 .setPrevQuery(prevQuery) in testBuilder()70 assertThat(searchIntentStats.getPrevQuery()).isEqualTo(prevQuery); in testBuilder()80 String prevQuery = "prev"; in testBuilderCopy_allFieldsAreCopied() local107 .setPrevQuery(prevQuery) in testBuilderCopy_allFieldsAreCopied()119 assertThat(searchIntentStats1.getPrevQuery()).isEqualTo(prevQuery); in testBuilderCopy_allFieldsAreCopied()233 String prevQuery = "prev"; in testBuilder_builderReuse() local259 .setPrevQuery(prevQuery) in testBuilder_builderReuse()283 assertThat(searchIntentStats0.getPrevQuery()).isEqualTo(prevQuery); in testBuilder_builderReuse()293 assertThat(searchIntentStats1.getPrevQuery()).isEqualTo(prevQuery); in testBuilder_builderReuse()[all …]
106 String prevQuery = prevSearchAction.getQuery(); in getQueryCorrectionType() local108 int commonPrefixLength = getCommonPrefixLength(prevQuery, currQuery); in getQueryCorrectionType()111 if (commonPrefixLength <= prevQuery.length() - QUERY_ABANDONMENT_BACKSPACE_COUNT) { in getQueryCorrectionType()334 String prevQuery = prevSearchAction.getQuery(); in isIntermediateSearchAction() local337 prevQuery != null in isIntermediateSearchAction()339 && (currQuery.startsWith(prevQuery) || prevQuery.startsWith(currQuery)); in isIntermediateSearchAction()
205 public Builder setPrevQuery(@Nullable String prevQuery) { in setPrevQuery() argument207 mPrevQuery = prevQuery; in setPrevQuery()
628 String prevQuery = searchIntentStats.getPrevQuery(); in logStatsImplLocked() local634 prevQuery == null ? "" : prevQuery, in logStatsImplLocked()