Searched refs:time (Results 51 - 75 of 162) sorted by relevance

1234567

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DExpandableBinaryDictionary.java46 * dictionary at the same time.
73 * A static map of update controllers, each of which records the time of accesses to a single
75 * the filename and the value is the shared dictionary time recorder associated with that
185 * dynamic dictionary has negative effects on memory space and computation time.
303 // Run GC after currently existing time sensitive operations.
571 final long time = SystemClock.uptimeMillis();
572 mPerInstanceDictionaryUpdateController.mLastUpdateRequestTime = time;
573 mFilenameDictionaryUpdateController.mLastUpdateRequestTime = time;
575 Log.d(TAG, "Reload request: " + mFilename + ": request=" + time + " update="
613 // file at the same time
[all...]
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/
H A Dforgetting_curve_utils.cpp46 mCurrentTime = time(0);
119 if (headerPolicy->getLastDecayedTime() + DECAY_INTERVAL_SECONDS < time(0)) {
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/makedict/
H A DFusionDictionaryTest.java101 final long time = System.currentTimeMillis();
102 prepare(time);
/packages/apps/Calendar/src/com/android/calendar/
H A DOtherPreferences.java43 // time the file was created.
205 Log.d(TAG, "Set time for unknown listener: "+mListenerId);
218 Time time = new Time();
219 time.hour = hourOfDay;
220 time.minute = minute;
223 return time.format(format);
246 // Value was not known ahead of time, so the default value will be set.
H A DDayFragment.java143 long time = getSelectedTimeInMillis();
144 if (time != -1) {
145 outState.putLong(BUNDLE_KEY_RESTORE_TIME, time);
175 // The view hasn't been set yet. Just save the time and use it later.
182 // How does goTo time compared to what's already displaying?
213 * Returns the selected time in milliseconds. The milliseconds are measured
215 * time.
217 * @return the selected time in milliseconds
267 // TODO support a range of time
/packages/apps/Calendar/src/com/android/calendar/widget/
H A DCalendarAppWidgetProvider.java134 Time time = new Time(Utils.getTimeZone(context, null));
135 time.setToNow();
136 long millis = time.toMillis(true);
137 final String dayOfWeek = DateUtils.getDayOfWeekString(time.weekDay + 1,
153 .setData(Uri.parse("content://com.android.calendar/time/" + millis));
201 * If the go to time is 0, then calendar will be launched without a starting time.
203 * @param goToTime time that calendar should take the user to, or 0 to
204 * indicate no specific start time.
/packages/apps/Calendar/src/com/android/calendar/month/
H A DSimpleDayPickerFragment.java51 * reduced number of days, or display an arbitrary number of weeks at a time. By
92 // highlighted time
99 // disposable variable used for time calculations
169 // Ensure we're in the correct time zone
355 * selected time.
364 * This moves to the specified time in the view. If the time is not already
366 * the time is at the top of the view. If the new time is already in view
367 * the list will not be scrolled unless forceScroll is true. This time ma
378 goTo(long time, boolean animate, boolean setSelected, boolean forceScroll) argument
561 setMonthDisplayed(Time time, boolean updateHighlight) argument
[all...]
H A DMonthByWeekFragment.java87 // The minimum time between requeries of the data if the db is
180 // -1 to ensure we get all day events from any time zone
184 // +1 to ensure we get all day events from any time zone
245 // Synchronized the loading time of the month's events with the animation of the
456 protected void setMonthDisplayed(Time time, boolean updateHighlight) { argument
457 super.setMonthDisplayed(time, updateHighlight);
460 if (time.year == mDesiredDay.year && time.month == mDesiredDay.month) {
465 mSelectedDay.set(time);
466 mAdapter.setSelectedDay(time);
[all...]
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
H A DCalendarProvider2Test.java177 * start and end time, whether it is an all-day event, and so on) are
299 Time time = new Time(DEFAULT_TIMEZONE);
300 time.parse3339(startDate);
301 begin = time.toMillis(false /* use isDst */);
302 time.parse3339(endDate);
303 end = time.toMillis(false /* use isDst */);
323 Time time = new Time(DEFAULT_TIMEZONE);
324 time.parse3339(startDate);
325 begin = time.toMillis(false /* use isDst */);
326 time
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/provider/
H A DAlarm.java230 // Creates a default alarm at the current time.
300 public AlarmInstance createInstanceAfter(Calendar time) { argument
302 nextInstanceTime.set(Calendar.YEAR, time.get(Calendar.YEAR));
303 nextInstanceTime.set(Calendar.MONTH, time.get(Calendar.MONTH));
304 nextInstanceTime.set(Calendar.DAY_OF_MONTH, time.get(Calendar.DAY_OF_MONTH));
310 // If we are still behind the passed in time, then add a day
311 if (nextInstanceTime.getTimeInMillis() <= time.getTimeInMillis()) {
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarDatabaseHelper.java658 // sync time in UTC
1472 private static boolean fixAllDayTime(Time time, String timezone, Long timeInMillis) { argument
1473 time.set(timeInMillis);
1474 if(time.hour != 0 || time.minute != 0 || time.second != 0) {
1475 time.hour = 0;
1476 time.minute = 0;
1477 time.second = 0;
2541 Time time
[all...]
/packages/apps/Email/src/com/android/email/service/
H A DAttachmentDownloadService.java64 // Minimum wait time before retrying a download that failed due to connection error
68 // Maximum time to retry for connection errors.
71 // Our idle time, waiting for notifications; this is something of a failsafe
177 final long time; field in class:AttachmentDownloadService.DownloadRequest
199 time = SystemClock.elapsedRealtime();
207 time = newTime;
236 * priority are compared by the time the request was created (older requests come first)
245 if (req1.time == req2.time) {
248 res = (req1.time > req
[all...]
/packages/apps/Camera/tests/src/com/android/camera/stress/
H A DShotToShotLatency.java78 private void sleep(long time) { argument
80 Thread.sleep(time);
/packages/apps/Camera2/tests/src/com/android/camera/stress/
H A DShotToShotLatency.java78 private void sleep(long time) { argument
80 Thread.sleep(time);
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
H A DOverScrollerSGV.java239 * @param extend Additional time to scroll in milliseconds.
302 long time = AnimationUtils.currentAnimationTimeMillis();
303 // Any scroller can be used for time, since they were started
305 final long elapsedTime = time - mScrollerX.mStartTime;
522 * Returns the time elapsed since the beginning of the scrolling.
524 * @return The elapsed time in milliseconds.
529 final long time = AnimationUtils.currentAnimationTimeMillis();
531 return (int) (time - startTime);
563 // Animation starting time, in system milliseconds
712 final long time
[all...]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DServiceProxy.java190 long time = System.currentTimeMillis();
202 (System.currentTimeMillis() - time) + "ms");
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DOverScroller.java237 * @param extend Additional time to scroll in milliseconds.
300 long time = AnimationUtils.currentAnimationTimeMillis();
301 // Any scroller can be used for time, since they were started
303 final long elapsedTime = time - mScrollerX.mStartTime;
520 * Returns the time elapsed since the beginning of the scrolling.
522 * @return The elapsed time in milliseconds.
527 final long time = AnimationUtils.currentAnimationTimeMillis();
529 return (int) (time - startTime);
561 // Animation starting time, in system milliseconds
713 final long time
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DDictionaryService.java82 * We are waked around midnight, local time. We want to wake between midnight and 6 am,
83 * roughly. So use a random time between 0 and this delay.
88 * How long we consider a "very long time". If no update took place in this time,
104 // the single thread to time out after WORKER_THREAD_TIMEOUT_SECONDS = 15 seconds, allowing
105 // the process to be reclaimed by the system any time after that if it's not doing
132 * - Check last update time and possibly schedule an update of the data for later.
175 // at midnight local time, but it may happen if the user changes the date
206 // from sleep, but fires the next time the device actually wakes for any
212 * Utility method to decide whether the last update is older than a certain time
216 isLastUpdateAtLeastThisOld(final Context context, final long time) argument
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
H A DLogStatement.java175 public boolean outputToLocked(final JsonWriter jsonWriter, final Long time, argument
185 jsonWriter.name(UPTIME_KEY).value(time);
/packages/services/Telephony/src/com/android/phone/
H A DEmergencyCallbackModeService.java182 String time = String.format("%d:%02d", minutes, (millisUntilFinished % 60000) / 1000);
184 R.plurals.phone_in_ecm_notification_time, minutes).toString(), time);
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DCommonControllerOverlay.java338 public void onScrubbingMove(int time) { argument
339 mListener.onSeekMove(time);
343 public void onScrubbingEnd(int time, int trimStartTime, int trimEndTime) { argument
344 mListener.onSeekEnd(time, trimStartTime, trimEndTime);
H A DTrimVideo.java173 // This updates the time bar display (if necessary). It is called by
174 // mProgressChecker and also from places where the time bar needs
221 // when the time interval is too short or too close to the origin.
302 public void onSeekMove(int time) { argument
303 mVideoView.seekTo(time);
307 public void onSeekEnd(int time, int start, int end) { argument
308 mVideoView.seekTo(time);
/packages/apps/Settings/src/com/android/settings/net/
H A DNetworkPolicyEditor.java151 final Time time = new Time();
152 time.setToNow();
153 cycleDay = time.monthDay;
154 cycleTimezone = time.timezone;
/packages/experimental/RpcPerformance/
H A Drpcperftest.cpp23 #include <time.h>
/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DAlertAdapter.java127 Time time = new Time(tz);
128 time.set(startMillis);
129 boolean isDST = time.isDst != 0;

Completed in 2371 milliseconds

1234567