Searched refs:RankingStrategy (Results 1 – 5 of 5) sorted by relevance
92 private static ScoringSpecProto.RankingStrategy.Code toProtoRankingStrategy( in toProtoRankingStrategy()93 @SearchSpec.RankingStrategy int rankingStrategyCode) { in toProtoRankingStrategy()96 return ScoringSpecProto.RankingStrategy.Code.NONE; in toProtoRankingStrategy()98 return ScoringSpecProto.RankingStrategy.Code.DOCUMENT_SCORE; in toProtoRankingStrategy()100 return ScoringSpecProto.RankingStrategy.Code.CREATION_TIMESTAMP; in toProtoRankingStrategy()102 return ScoringSpecProto.RankingStrategy.Code.RELEVANCE_SCORE; in toProtoRankingStrategy()104 return ScoringSpecProto.RankingStrategy.Code.USAGE_TYPE1_COUNT; in toProtoRankingStrategy()106 return ScoringSpecProto.RankingStrategy.Code.USAGE_TYPE1_LAST_USED_TIMESTAMP; in toProtoRankingStrategy()108 return ScoringSpecProto.RankingStrategy.Code.USAGE_TYPE2_COUNT; in toProtoRankingStrategy()110 return ScoringSpecProto.RankingStrategy.Code.USAGE_TYPE2_LAST_USED_TIMESTAMP; in toProtoRankingStrategy()
98 @SearchSpec.RankingStrategy private final int mNativeRankingStrategy;233 @SearchSpec.RankingStrategy408 public Builder setRankingStrategy(@SearchSpec.RankingStrategy int rankingStrategy) { in setRankingStrategy()
119 public @interface RankingStrategy {} annotation in SearchSpec249 public @RankingStrategy int getRankingStrategy() { in getRankingStrategy()324 private @RankingStrategy int mRankingStrategy = RANKING_STRATEGY_NONE;447 public Builder setRankingStrategy(@RankingStrategy int rankingStrategy) { in setRankingStrategy()
224 int nativeRankingStrategy = ScoringSpecProto.RankingStrategy.Code.CREATION_TIMESTAMP_VALUE; in testAppSearchLoggerHelper_testCopyNativeStats_search()242 ScoringSpecProto.RankingStrategy.Code.forNumber( in testAppSearchLoggerHelper_testCopyNativeStats_search()
11145 // Needs to be sync with RankingStrategy.Code in google3/third_party/icing/proto/scoring.proto