/external/chromium_org/chrome/browser/history/ |
scored_history_match.cc | 421 for (int days_ago = 0; days_ago < kDaysToPrecomputeRecencyScoresFor; 422 days_ago++) { 424 if (days_ago <= 4) { 426 } else if (days_ago <= 14) { 429 unnormalized_recency_score = 70 + (14 - days_ago) * (100 - 70) / (14 - 4); 430 } else if (days_ago <= 31) { 433 unnormalized_recency_score = 50 + (31 - days_ago) * (70 - 50) / (31 - 14); 434 } else if (days_ago <= 90) { 437 unnormalized_recency_score = 30 + (90 - days_ago) * (50 - 30) / (90 - 30) [all...] |
history_querying_unittest.cc | 28 const int days_ago; member in struct:history::__anon7584::TestEntry 174 now - (test_entries[i].days_ago * TimeDelta::FromDays(1));
|
history_types.cc | 250 void QueryOptions::SetRecentDayRange(int days_ago) { 252 begin_time = end_time - base::TimeDelta::FromDays(days_ago);
|
visitsegment_database.cc | 439 int days_ago = (now - timeslot).InDays(); local 440 float recency_boost = 1.0f + (2.0f * (1.0f / (1.0f + days_ago/7.0f)));
|
history_types.h | 448 // Sets the query time to the last |days_ago| days to the present time. 449 void SetRecentDayRange(int days_ago);
|
/external/chromium_org/chrome/browser/extensions/activity_log/ |
fullstream_ui_policy.h | 79 const int days_ago);
|
activity_log_policy.cc | 141 int days_ago, 145 if (days_ago == 0) { 149 base::Time early_time = Util::AddDays(morning_midnight, -days_ago);
|
counting_policy.h | 61 const int days_ago);
|
fullstream_ui_policy.cc | 123 const int days_ago) { 128 DCHECK_GE(days_ago, 0); 138 Util::ComputeDatabaseTimeBounds(Now(), days_ago, &early_bound, &late_bound); local
|
activity_log_policy.h | 120 // cover a time range days_ago days in the past, relative to the specified 123 int days_ago,
|
counting_policy.cc | 378 const int days_ago) { 383 DCHECK_GE(days_ago, 0); 393 Util::ComputeDatabaseTimeBounds(Now(), days_ago, &early_bound, &late_bound); local
|
/external/chromium/chrome/browser/history/ |
visitsegment_database.cc | 273 int days_ago = (now - timeslot).InDays(); local 282 float recency_boost = 1.0f + (2.0f * (1.0f / (1.0f + days_ago/7.0f)));
|
history_querying_unittest.cc | 27 const int days_ago; member in struct:history::__anon4633::TestEntry 104 now - (test_entries[i].days_ago * TimeDelta::FromDays(1));
|
history_types.cc | 301 void QueryOptions::SetRecentDayRange(int days_ago) { 303 begin_time = end_time - base::TimeDelta::FromDays(days_ago);
|
history_types.h | 495 // Sets the query time to the last |days_ago| days to the present time. 496 void SetRecentDayRange(int days_ago);
|