Home
last modified time | relevance | path

Searched refs:ThumbnailScore (Results 1 – 24 of 24) sorted by relevance

/external/chromium/chrome/common/
Dthumbnail_score.cc13 const TimeDelta ThumbnailScore::kUpdateThumbnailTime = TimeDelta::FromDays(1);
14 const double ThumbnailScore::kThumbnailMaximumBoringness = 0.94;
16 const double ThumbnailScore::kThumbnailInterestingEnoughBoringness = 0.70;
17 const double ThumbnailScore::kThumbnailDegradePerHour = 0.01;
37 ThumbnailScore::ThumbnailScore() in ThumbnailScore() function in ThumbnailScore
45 ThumbnailScore::ThumbnailScore(double score, bool clipping, bool top) in ThumbnailScore() function in ThumbnailScore
53 ThumbnailScore::ThumbnailScore(double score, bool clipping, bool top, in ThumbnailScore() function in ThumbnailScore
62 ThumbnailScore::~ThumbnailScore() { in ~ThumbnailScore()
65 bool ThumbnailScore::Equals(const ThumbnailScore& rhs) const { in Equals()
76 std::string ThumbnailScore::ToString() const { in ToString()
[all …]
Dthumbnail_score_unittest.cc12 ThumbnailScore nothing_good(0.5, false, false, now); in TEST()
13 ThumbnailScore not_at_top(0.5, false, true, now); in TEST()
14 ThumbnailScore bad_clipping(0.5, true, false, now); in TEST()
15 ThumbnailScore life_is_awesome(0.5, true, true, now); in TEST()
32 ThumbnailScore oldie_but_goodie(0.1, true, true, last_year); in TEST()
33 ThumbnailScore newie_but_crappie(0.9, true, true, now); in TEST()
42 ThumbnailScore no_redirects(0.5, true, true, now); in TEST()
44 ThumbnailScore some_redirects(0.5, true, true, now); in TEST()
51 ThumbnailScore lotsa_redirects(0.4, true, true, now); in TEST()
57 ThumbnailScore score; in TEST()
[all …]
Dthumbnail_score.h13 struct ThumbnailScore { struct
17 ThumbnailScore();
21 ThumbnailScore(double score, bool clipping, bool top);
24 ThumbnailScore(double score, bool clipping, bool top,
26 ~ThumbnailScore();
29 bool Equals(const ThumbnailScore& rhs) const;
93 bool ShouldReplaceThumbnailWith(const ThumbnailScore& current, argument
94 const ThumbnailScore& replacement);
Drender_messages.h98 IPC_STRUCT_TRAITS_BEGIN(ThumbnailScore)
291 ThumbnailScore /* score */,
/external/chromium/chrome/browser/history/
Dtop_sites.h62 const ThumbnailScore& score);
85 virtual bool GetPageThumbnailScore(const GURL& url, ThumbnailScore* score);
90 bool GetTemporaryPageThumbnailScore(const GURL& url, ThumbnailScore* score);
208 const ThumbnailScore& score);
214 const ThumbnailScore& score);
228 const ThumbnailScore& score);
Dthumbnail_database.h21 struct ThumbnailScore;
77 const ThumbnailScore& score,
90 bool ThumbnailScoreForId(URLID id, ThumbnailScore* score);
Dtop_sites_unittest.cc497 ThumbnailScore low_score(1.0, true, true, now); in TEST_F()
498 ThumbnailScore medium_score(0.5, true, true, now); in TEST_F()
499 ThumbnailScore high_score(0.0, true, true, now); in TEST_F()
532 ThumbnailScore low_score(1.0, true, true, now); in TEST_F()
533 ThumbnailScore medium_score(0.5, true, true, now); in TEST_F()
534 ThumbnailScore high_score(0.0, true, true, now); in TEST_F()
567 ThumbnailScore score(0.5, true, true, base::Time::Now()); in TEST_F()
631 ThumbnailScore())); in TEST_F()
658 ThumbnailScore())); in TEST_F()
692 asdf_url, asdf_thumbnail, ThumbnailScore())); in TEST_F()
[all …]
Dtop_sites_cache.h37 const ThumbnailScore& score);
50 bool GetPageThumbnailScore(const GURL& url, ThumbnailScore* score);
Dtop_sites_cache.cc29 const ThumbnailScore& score) { in SetPageThumbnail()
51 ThumbnailScore* score) { in GetPageThumbnailScore()
Dtop_sites.cc187 const ThumbnailScore& score) { in SetPageThumbnail()
254 ThumbnailScore* score) { in GetPageThumbnailScore()
261 ThumbnailScore* score) { in GetTemporaryPageThumbnailScore()
309 ThumbnailScore()); in FinishHistoryMigration()
524 const ThumbnailScore& score) { in SetPageThumbnailNoDB()
535 ThumbnailScore new_score_with_redirects(score); in SetPageThumbnailNoDB()
553 const ThumbnailScore& score) { in SetPageThumbnailEncoded()
601 const ThumbnailScore& score) { in AddTemporaryThumbnail()
Dthumbnail_database.cc241 const ThumbnailScore& score, in SetPageThumbnail()
250 ThumbnailScore current_score; in SetPageThumbnail()
333 ThumbnailScore* score) { in ThumbnailScoreForId()
354 *score = ThumbnailScore(current_boring_score, current_clipping, in ThumbnailScoreForId()
Dhistory_backend.h30 struct ThumbnailScore;
193 const ThumbnailScore& score);
Dtop_sites_database.cc177 const ThumbnailScore& score = thumbnail.thumbnail_score; in UpdatePageThumbnail()
209 const ThumbnailScore& score = thumbnail.thumbnail_score; in AddPageThumbnail()
Dhistory.h41 struct ThumbnailScore;
386 const ThumbnailScore& score);
Dhistory_types.h607 ThumbnailScore thumbnail_score;
Dhistory.cc435 const ThumbnailScore& score) { in SetPageThumbnail()
Dexpire_history_backend_unittest.cc231 ThumbnailScore score(0.25, true, true, Time::Now()); in AddExampleData()
Dhistory_backend_unittest.cc271 ThumbnailScore score(0.25, true, true); in TEST_F()
Dhistory_backend.cc1488 const ThumbnailScore& score) { in SetPageThumbnail()
/external/chromium/chrome/browser/tab_contents/
Dthumbnail_generator_unittest.cc299 virtual bool GetPageThumbnailScore(const GURL& url, ThumbnailScore* score) { in GetPageThumbnailScore()
300 std::map<std::string, ThumbnailScore>::const_iterator iter = in GetPageThumbnailScore()
311 void AddKnownURL(const GURL& url, const ThumbnailScore& score) { in AddKnownURL()
318 std::map<std::string, ThumbnailScore> known_url_map_;
352 ThumbnailScore bad_score; in TEST()
368 ThumbnailScore good_score; in TEST()
Dthumbnail_generator.cc455 ThumbnailScore score; in UpdateThumbnailIfNecessary()
482 ThumbnailScore current_score; in ShouldUpdateThumbnail()
488 ThumbnailScore temporary_score; in ShouldUpdateThumbnail()
Dtab_contents.h117 struct ThumbnailScore;
958 const ThumbnailScore& score);
/external/chromium/chrome/browser/ui/tab_contents/
Dtab_contents_wrapper.h158 const ThumbnailScore& score,
Dtab_contents_wrapper.cc310 const ThumbnailScore& score, in OnMsgThumbnail()