Searched defs:t2 (Results 1 - 5 of 5) sorted by relevance

/packages/apps/TV/src/com/android/tv/recommendation/
H A DRoutineWatchEvaluator.java154 ProgramTime t2 = ProgramTime.createFromProgram(p2);
156 double dupTimeScore = calculateOverlappedIntervalScore(t1, t2);
160 double recall = dupTimeScore / (t2.endTimeOfDayInSec - t2.startTimeOfDayInSec);
165 static double calculateOverlappedIntervalScore(ProgramTime t1, ProgramTime t2) { argument
166 if (t1.dayChanged && !t2.dayChanged) {
168 return calculateOverlappedIntervalScore(t2, t1);
173 double score = Math.max(0, Math.min(t1.endTimeOfDayInSec, t2.endTimeOfDayInSec)
174 - Math.max(t1.startTimeOfDayInSec, t2.startTimeOfDayInSec));
176 sameDay = (t1.weekDay == t2
[all...]
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
H A DRoutineWatchEvaluatorTest.java55 private static ScoredItem score(String t1, String t2) { argument
56 return new ScoredItem(t1, t2);
217 ProgramTime t1, ProgramTime t2) {
224 mEvaluator.calculateOverlappedIntervalScore(t1, t2));
226 mEvaluator.calculateOverlappedIntervalScore(t2, t1));
216 assertOverlappedIntervalScore(int expectedSeconds, boolean overlappedOnSameDay, ProgramTime t1, ProgramTime t2) argument
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
H A Ddb_metrics.h326 double temp_valueE, t2; local
338 t2=1.0/(thresh*thresh*thresh*thresh);
349 isinlier=((temp_valueE<=t2)?1:0);
H A Ddb_rob_image_homography.cpp77 double t2,frac; local
79 t2=thresh*thresh;
82 i+=(db_SquaredInhomogenousHomographyError(xp_i+(c<<1),H,x_i+(c<<1))*one_over_scale2<=t2)?1:0;
284 double *t1,*t2; local
291 t2=JtJ_temp_ref[t];
294 t1[j]=t2[fetch_vector[j]];
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...

Completed in 200 milliseconds