Home
last modified time | relevance | path

Searched defs:time (Results 1 – 25 of 158) sorted by relevance

1234567

/packages/apps/Messaging/src/com/android/messaging/util/
DDates.java65 public static CharSequence getRelativeTimeSpanString(final long time) { in getRelativeTimeSpanString()
84 public static CharSequence getConversationTimeString(final long time) { in getConversationTimeString()
88 public static CharSequence getMessageTimeString(final long time) { in getMessageTimeString()
92 public static CharSequence getWidgetTimeString(final long time, final boolean abbreviated) { in getWidgetTimeString()
96 public static CharSequence getFastScrollPreviewTimeString(final long time) { in getFastScrollPreviewTimeString()
100 public static CharSequence getMessageDetailsTimeString(final long time) { in getMessageDetailsTimeString()
113 private static CharSequence getTimeString(final long time, final boolean abbreviated, in getTimeString()
127 public static CharSequence getTimestamp(final long time, final long now, in getTimestamp()
161 private static CharSequence getTodayTimeStamp(final long time, final int flags) { in getTodayTimeStamp()
166 private static CharSequence getExplicitFormattedTime(final long time, final int flags, in getExplicitFormattedTime()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/
DInputPointersTests.java59 final int time = i * 4; in testAdd() local
67 final int time = i * 4; in testAdd() local
82 final int time = i * 4; in testAddAt() local
90 final int time = i * 4; in testAddAt() local
105 final int time = i * 4; in testSet() local
124 final int time = i * 4; in testCopy() local
152 final int time = i; in testAppend() local
168 final int time = i * 4 + dstLength; in testAppend() local
221 final int time = i; in testAppendResizableIntArray() local
236 final int time = i * 2 + dstLength; in testAppendResizableIntArray() local
[all …]
/packages/apps/Contacts/src/com/android/contacts/util/concurrent/
DFuturesUtil.java25 public static <V> ListenableFuture<V> withTimeout(final ListenableFuture<V> future, long time, in withTimeout()
38 public static <V> ListenableFuture<V> withTimeout(final ListenableFuture<V> future, long time, in withTimeout()
/packages/apps/TV/tests/unit/src/com/android/tv/data/
DWatchedHistoryManagerTest.java75 long time = System.currentTimeMillis(); in testLogChannelViewStop() local
93 long time = System.currentTimeMillis(); in testCircularHistoryQueue() local
125 long time = System.currentTimeMillis(); in testEncodeDecodeWatchedRecord() local
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/
DGarageModeSettingsFragment.java97 int time[] = CarApiUtil.decodeGarageTimeSetting( in refreshUI() local
156 private void updateGarageTime(String time) { in updateGarageTime()
158 KEY_GARAGE_MODE_WAKE_UP_TIME, time); in updateGarageTime() local
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
DCarSensorManagerTest.java268 long time = SystemClock.elapsedRealtimeNanos(); in injectIgnitionStateAndAssert() local
287 long time = SystemClock.elapsedRealtimeNanos(); in testIgnitionEvents_Bad() local
326 long time = SystemClock.elapsedRealtimeNanos(); in testGear() local
342 long time = SystemClock.elapsedRealtimeNanos(); in injectGearEventAndAssert() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureStrokeRecognitionPoints.java180 public void duplicateLastPointWith(final int time) { in duplicateLastPointWith()
206 private void appendPoint(final int x, final int y, final int time) { in appendPoint()
222 private void updateMajorEvent(final int x, final int y, final int time) { in updateMajorEvent()
232 private int detectFastMove(final int x, final int y, final int time) { in detectFastMove()
272 public boolean addEventPoint(final int x, final int y, final int time, in addEventPoint()
292 private void updateIncrementalRecognitionSize(final int x, final int y, final int time) { in updateIncrementalRecognitionSize()
/packages/apps/Camera2/src/com/android/camera/stats/profiler/
DProfileBase.java54 long time = System.nanoTime(); in mark() local
61 long time = System.nanoTime(); in stop() local
68 long time = System.nanoTime(); in stop() local
/packages/inputmethods/LatinIME/native/jni/src/utils/
Dprofiler.h39 for (const auto &time : mTimes) { in ~Profiler() local
66 timespec time; in getTimeInMicroSec() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryUtilsTest.java166 final long time = mBatteryUtils.getProcessTimeMs(BatteryUtils.StatusType.FOREGROUND, mUid, in testGetProcessTimeMs_typeForeground_timeCorrect() local
174 final long time = mBatteryUtils.getProcessTimeMs(BatteryUtils.StatusType.BACKGROUND, mUid, in testGetProcessTimeMs_typeBackground_timeCorrect() local
182 final long time = mBatteryUtils.getProcessTimeMs(BatteryUtils.StatusType.ALL, mUid, in testGetProcessTimeMs_typeAll_timeCorrect() local
190 final long time = mBatteryUtils.getProcessTimeMs(BatteryUtils.StatusType.ALL, null, in testGetProcessTimeMs_uidNull_returnZero() local
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DControllerOverlay.java26 void onSeekMove(int time); in onSeekMove()
27 void onSeekEnd(int time, int trimStartTime, int trimEndTime); in onSeekEnd()
DMovieControllerOverlay.java175 public void onScrubbingMove(int time) { in onScrubbingMove()
181 public void onScrubbingEnd(int time, int trimStartTime, int trimEndTime) { in onScrubbingEnd()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
DSaveImage.java318 private void updateExifData(ExifInterface exif, long time) { in updateExifData()
358 long time = System.currentTimeMillis(); in processAndSaveImage() local
370 long time = System.currentTimeMillis(); in processAndSaveImage() local
420 long time = System.currentTimeMillis(); in processAndSaveImage() local
528 long time = System.currentTimeMillis(); in makeAndInsertUri() local
667 File file, long time, boolean deleteOriginal) { in linkNewFileToUri()
689 public static Uri updateFile(Context context, Uri sourceUri, File file, long time) { in updateFile()
696 File file, long time) { in getContentValues()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DMigrateEstimateTask.java114 final String time = DateUtils.formatDuration(timeMillis).toString(); in onPostExecute() local
118 public abstract void onPostExecute(String size, String time); in onPostExecute()
/packages/apps/Calendar/tests/src/com/android/calendar/widget/
DCalendarAppWidgetServiceTest.java81 Time time = new Time(); in setUp() local
149 Time time = new Time(); in testGetAppWidgetModel_AllDayEventLater() local
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarApiUtilTest.java28 String time = "11:20"; in testDecodeGarageTimeSetting() local
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DMockClock.java38 public void setCurrentTimeMillis(long time) { in setCurrentTimeMillis()
/packages/apps/TV/src/com/android/tv/data/
DProgramDataManager.java120 ProgramDataManager(ContentResolver contentResolver, Clock time, Looper looper, in ProgramDataManager()
296 private int getProgramIndexAt(List<Program> programs, long time) { in getProgramIndexAt()
314 private boolean isProgramPlayedAt(Program program, long time) { in isProgramPlayedAt()
444 long time = mClock.currentTimeMillis(); in ProgramsPrefetchTask() local
547 public ProgramsUpdateTask(ContentResolver contentResolver, long time) { in ProgramsUpdateTask()
606 long time) { in UpdateCurrentProgramForChannelTask()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/database/
DDeletedContactsTableUtil.java73 long time = Clock.getInstance().currentTimeMillis() - in deleteOldLogs() local
/packages/apps/DeskClock/src/com/android/deskclock/
DTimerTextController.java65 String time = Utils.getTimeString(mTextView.getContext(), hours, minutes, seconds); in setTimeString() local
/packages/apps/Email/src/com/android/email/activity/
DEventViewer.java67 long time; in onCreate() local
/packages/services/Car/car-lib/src/android/car/
DCarApiUtil.java62 public static int[] decodeGarageTimeSetting(String time) { in decodeGarageTimeSetting()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DInputPointers.java57 final int time) { in addPointerAt()
68 public void addPointer(final int x, final int y, final int pointerId, final int time) { in addPointer()
/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaWindowAdapter.java325 Time time = new Time(); in toString() local
534 private int findEventPositionNearestTime(Time time, long id) { in findEventPositionNearestTime()
561 private DayAdapterInfo getAdapterInfoByTime(Time time) { in getAdapterInfoByTime()
637 Time time = new Time(mTimeZone); in buildAgendaItemFromCursor() local
641 Time time = new Time(mTimeZone); in buildAgendaItemFromCursor() local
653 Time time = new Time(mTimeZone); in buildAgendaItemFromCursor() local
922 Time time = new Time(mTimeZone); in doQuery() local
941 Time time = new Time(mTimeZone); in formatDateString() local
1182 Time time = new Time(mTimeZone); in onQueryComplete() local
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DRoutineWatchEvaluatorTest.java114 Calendar time = Calendar.getInstance(); in testProgramTime_createFromProgram() local
244 Calendar time = Calendar.getInstance(); in todayAtHourMinSec() local
252 Calendar time = todayAtHourMin(hour, minute); in tomorrowAtHourMin() local

1234567