Home
last modified time | relevance | path

Searched refs:t1 (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseWrapper.java107 private static void printTiming(final long t1, final String msg) { in printTiming() argument
110 final long delta = t2 - t1; in printTiming()
124 final long t1 = System.currentTimeMillis(); in beginTransaction() local
128 f.time = t1; in beginTransaction()
141 long t1 = 0; in endTransaction() local
152 t1 = System.currentTimeMillis(); in endTransaction()
161 printTiming(t1, String.format(Locale.US, in endTransaction()
180 long t1 = 0; in insertWithOnConflict() local
182 t1 = System.currentTimeMillis(); in insertWithOnConflict()
192 printTiming(t1, String.format(Locale.US, in insertWithOnConflict()
[all …]
/packages/apps/TV/src/com/android/tv/recommendation/
DRoutineWatchEvaluator.java157 ProgramTime t1 = ProgramTime.createFromProgram(p1); in calculateTimeMatchScore() local
160 double dupTimeScore = calculateOverlappedIntervalScore(t1, t2); in calculateTimeMatchScore()
163 double precision = dupTimeScore / (t1.endTimeOfDayInSec - t1.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/LegacyCamera/jni/
Dfeature_mos_jni.cpp90 double t0, t1, time_c; in Init() local
115 t1 = now_ms(); in Init()
116 time_c = t1 - t0; in Init()
168 double t0, t1, time_c; in AddFrame() local
194 double t0, t1, time_c; in Finalize() local
199 t1 = now_ms(); in Finalize()
200 time_c = t1 - t0; in Finalize()
367 double t0, t1, time_c; in Java_com_android_camera_panorama_Mosaic_setSourceImageFromGPU() local
419 double t0, t1, time_c; in Java_com_android_camera_panorama_Mosaic_setSourceImage() local
524 double t0, t1, time_c; in Java_com_android_camera_panorama_Mosaic_createMosaic() local
[all …]
Dmosaic_renderer_jni.cpp657 double t0, t1, time_c; in Java_com_android_camera_panorama_MosaicRenderer_transferGPUtoCPU() local
/packages/apps/Gallery/tests/src/com/android/camera/
DBitmapManagerUnitTests.java123 DecodeThread t1 = new DecodeThread(); in testThreadDecoding() local
125 mBitmapManager.allowThreadDecoding(t1); in testThreadDecoding()
127 t1.start(); in testThreadDecoding()
131 t1.join(); in testThreadDecoding()
135 assertTrue(mBitmapManager.canThreadDecoding(t1)); in testThreadDecoding()
136 assertNotNull(t1.getBitmap()); in testThreadDecoding()
/packages/apps/DevCamera/src/com/android/devcamera/
DMediaSaver.java87 long t1 = SystemClock.uptimeMillis(); in saveDepth() local
90 bytesWritten, file, (t1 - t0) * 0.001)); in saveDepth()
119 long t1 = SystemClock.uptimeMillis(); in saveJpeg() local
129 jpegData.length, file, (t1 - t0) * 0.001, (t2 - t1) * 0.001) ); in saveJpeg()
/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/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
30 while(t1.hasNext()) { in sameContents()
34 T e1 = t1.next(); in sameContents()
/packages/modules/DnsResolver/
Dres_stats.cpp27 int res_stats_calculate_rtt(const timespec* t1, const timespec* t0) { in res_stats_calculate_rtt() argument
30 long ms1 = t1->tv_sec * 1000 + t1->tv_nsec / 1000000; in res_stats_calculate_rtt()
Dstats.h60 int res_stats_calculate_rtt(const timespec* t1, const timespec* t0);
/packages/apps/Browser2/src/org/chromium/webview_shell/
DStartupTimeActivity.java23 long t1 = SystemClock.elapsedRealtime(); in onCreate() local
27 android.util.Log.i("WebViewShell", "WebViewStartupTimeMillis=" + (t2 - t1)); in onCreate()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DBaseOverview.java119 (t1, t2) -> Integer.compare(t1.getVisibleBounds().width(), in getCurrentTask()
/packages/modules/DnsResolver/tests/
Dresolv_stress_test.cpp80 auto t1 = std::chrono::steady_clock::now(); in RunGetAddrInfoStressTest() local
82 num_queries, std::chrono::duration<double>(t1 - t0).count()); in RunGetAddrInfoStressTest()
Dresolv_integration_test.cpp774 std::thread t1([&, this]() { in TEST_F() local
824 t1.join(); in TEST_F()
1598 std::thread t1([&hostname]() { in TEST_F() local
1614 t1.join(); in TEST_F()
4317 std::thread t1([&listen_addr1, &hints, this]() { in TEST_F() local
4349 t1.join(); in TEST_F()
/packages/modules/ExtServices/src/android/ext/services/storage/
DCacheQuotaServiceImpl.java137 public int compare(CacheQuotaHint o, CacheQuotaHint t1) {
138 long x = t1.getUsageStats().getTotalTimeInForeground();
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DMosaicFrameProcessor.java156 long t1 = System.currentTimeMillis(); in processFrame() local
157 mFrameTimestamp[mFillIn] = t1; in processFrame()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureStrokeDrawingPoints.java154 final int t1 = eventTimes.get(d1); in interpolateStrokeAndReturnStartIndexOfLastSegment() local
160 eventTimes.addAt(d1, (int)(dt * t) + t1); in interpolateStrokeAndReturnStartIndexOfLastSegment()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DWallpaperOffsetInterpolator.java231 float t1 = mInterpolator.getInterpolation(t0); in handleMessage() local
233 (mFinalOffset - mAnimationStartOffset) * t1; in handleMessage()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DGeometryMathUtils.java112 float t1 = a1 - b1; in lineIntersect() local
118 float denom = t1 * t4 - t0 * t5; in lineIntersect()
123 b0 + u * t0, b1 + u * t1 in lineIntersect()
/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/Calendar/src/com/android/calendar/
DCalendarViewAdapter.java391 Time t1 = new Time(mTimeZone); in buildWeekDate() local
394 if (t.month != t1.month) { in buildWeekDate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DSelectFromListWizardFragment.java325 public int compare(ListItem t0, ListItem t1) { in VerticalListAdapter()
326 return comparator.compare(t0, t1); in VerticalListAdapter()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_rob_image_homography.cpp284 double *t1,*t2; in db_RobImageHomographyFetchJacobian() local
290 t1=JtJ_ref[i]; in db_RobImageHomographyFetchJacobian()
294 t1[j]=t2[fetch_vector[j]]; in db_RobImageHomographyFetchJacobian()
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/
DgenPCLm.cpp995 ubyte *head, *tail, t0, t1, t2; in prepImageForBacksideDuplex() local
1000 t1 = *(head + 1); in prepImageForBacksideDuplex()
1007 *(tail - 1) = t1; in prepImageForBacksideDuplex()

12