Home
last modified time | relevance | path

Searched refs:t2 (Results 1 – 22 of 22) sorted by relevance

/packages/apps/TV/src/com/android/tv/recommendation/
DRoutineWatchEvaluator.java158 ProgramTime t2 = ProgramTime.createFromProgram(p2); in calculateTimeMatchScore() local
160 double dupTimeScore = calculateOverlappedIntervalScore(t1, t2); in calculateTimeMatchScore()
164 double recall = dupTimeScore / (t2.endTimeOfDayInSec - t2.startTimeOfDayInSec); in calculateTimeMatchScore()
169 static double calculateOverlappedIntervalScore(ProgramTime t1, ProgramTime t2) { in calculateOverlappedIntervalScore() argument
170 if (t1.dayChanged && !t2.dayChanged) { in calculateOverlappedIntervalScore()
172 return calculateOverlappedIntervalScore(t2, t1); in calculateOverlappedIntervalScore()
180 Math.min(t1.endTimeOfDayInSec, t2.endTimeOfDayInSec) in calculateOverlappedIntervalScore()
181 - Math.max(t1.startTimeOfDayInSec, t2.startTimeOfDayInSec)); in calculateOverlappedIntervalScore()
183 sameDay = (t1.weekDay == t2.weekDay); in calculateOverlappedIntervalScore()
184 } else if (t1.dayChanged != t2.dayChanged) { in calculateOverlappedIntervalScore()
[all …]
/packages/apps/Gallery/tests/src/com/android/camera/
DBitmapManagerUnitTests.java124 DecodeThread t2 = new DecodeThread(); in testThreadDecoding() local
126 mBitmapManager.cancelThreadDecoding(t2, mContext.getContentResolver()); in testThreadDecoding()
128 t2.start(); in testThreadDecoding()
132 t2.join(); in testThreadDecoding()
137 assertFalse(mBitmapManager.canThreadDecoding(t2)); in testThreadDecoding()
138 assertNull(t2.getBitmap()); in testThreadDecoding()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DSlidingWindowTest.java29 private static <T> boolean sameContents(Iterator<T> t1, Iterator<T> t2) { in sameContents() argument
31 if (!t2.hasNext()) { in sameContents()
35 T e2 = t2.next(); in sameContents()
40 return !t2.hasNext(); in sameContents()
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DRoutineWatchEvaluatorTest.java63 private static ScoredItem score(String t1, String t2) { in score() argument
64 return new ScoredItem(t1, t2); in score()
283 int expectedSeconds, boolean overlappedOnSameDay, ProgramTime t1, ProgramTime t2) { in assertOverlappedIntervalScore() argument
292 RoutineWatchEvaluator.calculateOverlappedIntervalScore(t1, t2)); in assertOverlappedIntervalScore()
296 RoutineWatchEvaluator.calculateOverlappedIntervalScore(t2, t1)); in assertOverlappedIntervalScore()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DHermiteInterpolator.java157 final float t2 = t * t; in interpolate() local
158 mInterpolatedX = (k1 * mP1X + t * mSlope1X) * omt2 + (k2 * mP2X - omt * mSlope2X) * t2; in interpolate()
159 mInterpolatedY = (k1 * mP1Y + t * mSlope1Y) * omt2 + (k2 * mP2Y - omt * mSlope2Y) * t2; in interpolate()
/packages/apps/DeskClock/src/com/android/deskclock/
DAsyncRingtonePlayer.java323 } catch (Throwable t2) {
325 LOGGER.e("Failed to play fallback ringtone", t2);
526 } catch (Throwable t2) {
528 LOGGER.e("Failed to play fallback ringtone", t2);
/packages/apps/Browser2/src/org/chromium/webview_shell/
DStartupTimeActivity.java26 long t2 = SystemClock.elapsedRealtime(); in onCreate() local
27 android.util.Log.i("WebViewShell", "WebViewStartupTimeMillis=" + (t2 - t1)); in onCreate()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DOverScroller.java843 final float t2 = t * t; in update() local
845 distance = sign * mOver * (3.0f * t2 - 2.0f * t * t2); in update()
846 mCurrVelocity = sign * mOver * 6.0f * (- t + t2); in update()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DBaseOverview.java119 (t1, t2) -> Integer.compare(t1.getVisibleBounds().width(), in getCurrentTask()
120 t2.getVisibleBounds().width())); in getCurrentTask()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DOverScroller.java942 final float t2 = t * t; in update() local
944 distance = sign * mOver * (3.0f * t2 - 2.0f * t * t2); in update()
945 mCurrVelocity = sign * mOver * 6.0f * (- t + t2); in update()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_rob_image_homography.cpp77 double t2,frac; in db_RobImageHomography_Statistics() local
79 t2=thresh*thresh; in db_RobImageHomography_Statistics()
82 … i+=(db_SquaredInhomogenousHomographyError(xp_i+(c<<1),H,x_i+(c<<1))*one_over_scale2<=t2)?1:0; in db_RobImageHomography_Statistics()
284 double *t1,*t2; in db_RobImageHomographyFetchJacobian() local
291 t2=JtJ_temp_ref[t]; in db_RobImageHomographyFetchJacobian()
294 t1[j]=t2[fetch_vector[j]]; in db_RobImageHomographyFetchJacobian()
Ddb_metrics.h326 double temp_valueE, t2; variable
338 t2=1.0/(thresh*thresh*thresh*thresh);
349 isinlier=((temp_valueE<=t2)?1:0);
/packages/apps/DevCamera/src/com/android/devcamera/
DMediaSaver.java126 long t2 = SystemClock.uptimeMillis(); in saveJpeg() local
129 jpegData.length, file, (t1 - t0) * 0.001, (t2 - t1) * 0.001) ); in saveJpeg()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DAccountPreferenceController.java536 public int compare(AccountTypePreference t1, AccountTypePreference t2) { in getAccountTypePreferences()
537 int result = t1.getSummary().toString().compareTo(t2.getSummary().toString()); in getAccountTypePreferences()
539 ? result : t1.getTitle().toString().compareTo(t2.getTitle().toString()); in getAccountTypePreferences()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountPreferenceController.java536 public int compare(AccountTypePreference t1, AccountTypePreference t2) { in getAccountTypePreferences()
537 int result = t1.getSummary().toString().compareTo(t2.getSummary().toString()); in getAccountTypePreferences()
539 ? result : t1.getTitle().toString().compareTo(t2.getTitle().toString()); in getAccountTypePreferences()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseWrapper.java109 final long t2 = System.currentTimeMillis(); in printTiming() local
110 final long delta = t2 - t1; in printTiming()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DGeometryMathUtils.java113 float t2 = b0 - d0; in lineIntersect() local
121 float u = (t3 * t4 + t5 * t2) / denom; in lineIntersect()
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/
DgenPCLm.cpp995 ubyte *head, *tail, t0, t1, t2; in prepImageForBacksideDuplex() local
1001 t2 = *(head + 2); in prepImageForBacksideDuplex()
1006 *tail = t2; in prepImageForBacksideDuplex()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp787 std::thread t2([&, this]() { in TEST_F() local
825 t2.join(); in TEST_F()
4331 std::thread t2([&listen_addr2, &hints, &dns2, this]() { in TEST_F() local
4345 t2.join(); in TEST_F()
/packages/apps/TV/tuner/tests/assets/
Dcapture_kqed.ts7855 �u�t2�`د�G�1��u�Jd_�$�}k�n톔��zԜ��|�{����" p����B�d�ؔ�u�֙:%0����X�Z��J0��s�M7ab$ �…
17011 …��"46���8뻠�AB���{��ŏ��?X�o���:E��g\X�����~u/�?��cT@�'�T5`Ղ�:��A�}Y��9t2 $��ġ�c�#� �r��2 …
24336 …z��@@m��m����UmG�1hv2�Ό��Њ�ل0*|����Qb�!�C@�6,��䗺ah$���LG{/|�t2��o� �wc+����B֟�E�…
30277 ;Q�t2������������њK�h�52����d#@'�e��dS@R�rTq��ncd�7k���@�%|���m��)$����ёt�����z����CXK��…
32956 �Jc��QNDp7` 0`�W�}��3S�Ν��T.�Y �Z#`��2�~D�'P�R� k����N�t2&2�G�I��w �I����4���:��%…
33231 lM�g���?��z˴q���-�C��;��GUi��>����q�D�E������U�&_� V�|��uрQ�[I)S|����]t2�JbJ �������N�:��P…
34564 C�Iţ�G�a��a�0����B���ȴ�$4��4�A�'I�),G�1� ��� ���)�v���t2��vQ�������BMʳ�V�T�jI����myr�…
36019 �M���=w��]���]�^�@C�}���)��� ���>g�4�O���D@��t2�:�N�g��_�p���
36743 C�(1E( ��P &�d�4����%�H��7��VW?؆G�18������VRz�hDBNe�������$zX���j),�t2 ��wD_��A�…
39184 J�� 72����t2=11_��1Y(�Ah��~��a�lu$)����,�H�6w��b�b���*��M?���g������J�&����o��G�A��Y_…
[all …]
/packages/apps/DocumentsUI/tests/res/raw/
Dimages_tar579 �z�x���+j�%��G<���M.-�m��ʑԚX�2Z������Ͽ�4���uL���t2��b@�w c=;R"3�#P_�60��#+|�s�c�x�G�j�qV��m?…
981 …��by�B����OG��.���u4h*K�|!OR��9�U2�"�p6���9���,e�U� ��h��,��� �p{f�Ći�t2¬���V�������I9�d�*+x…
2906 �"v�; �����:iةP>t2���
4197 �rہ$�ңE,��R�ǯ4�Bc�FX�>��2� ��>_�)��Ԝ��Tt2`<��J�錁����@��,��y��70�2H�Y�A��Jlpl�\�$��…
4446 �`cڻ;���.�J#�t2�����^u�D[�
4584 ��t�� �~A�1��x��j��fam(t2�~=�|����⟉�����̼ �}Ap��O�����
9099 …���I=�Ǭ�HC2l�U��J|��*� H��_��.n���)�f'�z��߯z���ŘA%��$���FǠ���G�{ �t2#H�n9���$�*n179���S�…
9919 (;���|[�Mc3Ƴ�s��b�q7k4�+ʪ�~�{v<w��v���K��!�����{Vh��A�A?���5�t��k� y<��%3ž�����t2|��Q��ץP…
11501 U��9=x5N��Z7���s* ebO��W%��"��i�n7eNA'��Z�l� �eة6��d[��JA���犂t2������W#i��h�wW�;W����������…
11514 ��TmrK��)�n�t2�nsޠy�0Ϛj��3�U#��GsL��s��4�l�n%�F;
[all …]
/packages/inputmethods/LatinIME/dictionaries/
Dfi_wordlist.combined.gz1dictionary=main:fi,locale=fi,description=Suomi,date=1393228135, ...