/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
RecurrenceProcessorTest.java | 25 import android.text.format.Time; 37 private static String[] getFormattedDates(long[] dates, Time time) { 41 time.set(date); 42 out[i] = time.format2445(); 89 Time dtstart = new Time(tz); 90 Time rangeStart = new Time(tz); 91 Time rangeEnd = new Time(tz) [all...] |
RRuleTest.java | 27 import android.text.format.Time; 45 private static String[] getFormattedDates(long[] dates, Time time, boolean truncate) { 49 time.set(date); 51 out[i] = time.format2445().substring(0, 8); // Just YYMMDD 53 out[i] = time.format2445().substring(0, 15); // YYMMDDThhmmss 85 * @param tz The time zone. UTC is used if null is passed in. 98 Time dtstart = new Time(tz); 99 Time rangeStart = new Time(tz) [all...] |
/packages/apps/Calendar/src/com/android/calendar/event/ |
EditEventActivity.java | 29 import android.text.format.Time; 141 info.endTime = new Time(); 143 info.endTime.timezone = Time.TIMEZONE_UTC; 148 info.startTime = new Time(); 150 info.startTime.timezone = Time.TIMEZONE_UTC;
|
/external/pdfium/xfa/src/fgas/src/localization/ |
fx_datetime.cpp | 127 #include <time.h>
128 #include <sys/time.h>
367 m_DateTime.Time.sTime.hour = hour;
368 m_DateTime.Time.sTime.minute = minute;
369 m_DateTime.Time.sTime.second = second;
370 m_DateTime.Time.sTime.millisecond = millisecond;
378 m_DateTime.Time.sTime.minute = ut.GetMinute();
379 m_DateTime.Time.sTime.second = ut.GetSecond();
380 m_DateTime.Time.sTime.millisecond = ut.GetMillisecond();
386 (int64_t)m_DateTime.Time.sTime.minute * g_FXMillisecondsPerMinute + [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/ |
UtilsTests.java | 33 import android.text.format.Time; 94 private static final String DEFAULT_TIMEZONE = Time.getCurrentTimezone(); 143 Time.getCurrentTimezone()); 148 Time t = new Time(timezone); 188 setTimezone(Time.getCurrentTimezone()); 203 Utils.getWeeksSinceEpochFromJulianDay(JULIAN_DAYS[i], Time.MONDAY)); 205 Utils.getWeeksSinceEpochFromJulianDay(JULIAN_DAYS[i], Time.SUNDAY)); 207 Utils.getWeeksSinceEpochFromJulianDay(JULIAN_DAYS[i], Time.SATURDAY)); 270 // No Events in time fram [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarViewAdapter.java | 24 import android.text.format.Time; 66 // The current selected event's time, used to calculate the date and day of the week 75 private Handler mMidnightHandler = null; // Used to run a time update every midnight 78 // Updates time specific variables (time-zone, today's Julian day). 100 // Sets time specific variables and starts a thread for midnight updates 107 // Sets the time zone and today's Julian day to be used by the adapter. 111 Time time = new Time(mTimeZone) local 125 Time time = new Time(mTimeZone); local [all...] |
Utils.java | 49 import android.text.format.Time; 105 public static final int MONDAY_BEFORE_JULIAN_EPOCH = Time.EPOCH_JULIAN_DAY - 3; 128 // reasons, as it's what PreferenceManager assigned the first time the file 264 * Writes a new home time zone to the db. Updates the home time zone in the 265 * db asynchronously and updates the local cache. Sending a time zone of 266 * **tbd** will cause it to be set to the device's time zone. null or empty 270 * @param timeZone The time zone to set Calendar to, or **tbd** 277 * Gets the time zone that Calendar should be displayed in This is a helper 278 * method to get the appropriate time zone for Calendar. If this is th 1385 Time time = new Time(timezone); local [all...] |
/packages/apps/Calendar/src/com/android/calendar/month/ |
MonthByWeekAdapter.java | 23 import android.text.format.Time; 52 protected Time mTempTime; 53 protected Time mToday; 73 long mClickTime; // Used to calculate minimum click animation time 74 // Used to insure minimal time for seeing the click animation before switching views 76 // Minimal time for a down touch action before stating the click animation, this insures that 108 mToday = new Time(mHomeTimeZone); 110 mTempTime = new Time(mHomeTimeZone); 122 public void setSelectedDay(Time selectedTime) { 126 Time.getJulianDay(millis, mSelectedDay.gmtoff), mFirstDayOfWeek) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/extensions/ |
XInput2.h | 192 Time time; member in struct:__anon37948 215 Time time; member in struct:__anon37950 232 Time time; member in struct:__anon37951 247 Time time; member in struct:__anon37952 272 Time time; member in struct:__anon37953 288 Time time; member in struct:__anon37954 318 Time time; member in struct:__anon37955 331 Time time; member in struct:__anon37956 348 Time time; member in struct:__anon37957 [all...] |
XInput.h | 209 Time time; /* milliseconds */ member in struct:__anon37886 241 Time time; /* milliseconds */ member in struct:__anon37887 274 Time time; /* milliseconds */ member in struct:__anon37888 309 Time time; member in struct:__anon37889 332 Time time; member in struct:__anon37890 369 Time time; member in struct:__anon37892 422 Time time; member in struct:__anon37896 443 Time time; member in struct:__anon37897 466 Time time; member in struct:__anon37898 482 Time time; member in struct:__anon37899 874 Time time; member in struct:__anon37925 [all...] |
xtestproto.h | 33 #define Time CARD32 97 Time time B32; 121 #undef Time
|
/system/update_engine/update_manager/ |
real_shill_provider_unittest.cc | 21 #include <base/time/time.h> 36 using base::Time; 83 // These methods generate fixed timestamps for use in faking the current time. 84 Time InitTime() { 85 Time::Exploded now_exp; 94 return Time::FromLocalExploded(now_exp); 97 Time ConnChangedTime() { 124 // |service_path|. Sets the fake connection change time in 127 Time* conn_change_time_p) [all...] |
real_updater_provider.cc | 25 #include <base/time/time.h> 34 using base::Time; 86 // A variable reporting the time when a last update check was issued. 87 class LastCheckedTimeVariable : public UpdaterVariableBase<Time> { 90 : UpdaterVariableBase<Time>(name, kVariableModePoll, system_state) {} 93 const Time* GetValue(TimeDelta /* timeout */, string* errmsg) override { 98 return new Time(Time::FromTimeT(raw.last_checked_time())); 222 // A variable reporting the point in time an update last completed in th [all...] |
/system/update_engine/ |
payload_state.cc | 39 using base::Time; 405 LOG(INFO) << "No backoff expiry time has been set. " 410 if (backoff_expiry_time_ < Time::Now()) { 411 LOG(INFO) << "The backoff expiry time (" 433 // Update the payload attempt number for full payloads and the backoff time. 481 LOG(INFO) << "Resetting backoff expiry time as payload backoff is disabled"; 482 SetBackoffExpiryTime(Time()); 487 SetBackoffExpiryTime(Time()); 505 // We don't want all retries to happen exactly at the same time when 510 LOG(INFO) << "Incrementing the backoff expiry time by [all...] |
metrics_utils.cc | 21 #include <base/time/time.h> 27 using base::Time; 267 Time now = system_state->clock()->GetWallclockTime(); 270 Time stored_time = Time::FromInternalValue(stored_value); 272 LOG(ERROR) << "Stored time-stamp used for " << state_variable_key 282 LOG(ERROR) << "Error storing time-stamp in " << state_variable_key; 293 Time now = system_state->clock()->GetMonotonicTime(); 295 Time stored_time = Time::FromInternalValue(*storage) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/extensions/ |
XInput.h | 209 Time time; /* milliseconds */ member in struct:__anon39746 241 Time time; /* milliseconds */ member in struct:__anon39747 274 Time time; /* milliseconds */ member in struct:__anon39748 309 Time time; member in struct:__anon39749 332 Time time; member in struct:__anon39750 369 Time time; member in struct:__anon39752 422 Time time; member in struct:__anon39756 443 Time time; member in struct:__anon39757 466 Time time; member in struct:__anon39758 482 Time time; member in struct:__anon39759 874 Time time; member in struct:__anon39785 [all...] |
xtestproto.h | 33 #define Time CARD32 97 Time time B32; 121 #undef Time
|
/external/libweave/src/ |
access_black_list_manager_impl_unittest.cc | 51 .WillRepeatedly(Return(base::Time::FromTimeT(1412121212))); 63 {1, 2, 3}, {3, 4, 5}, base::Time::FromTimeT(1419999999), 85 manager_->Block({7, 7, 7}, {8, 8, 8}, base::Time::FromTimeT(1419990000), {}); 89 manager_->Block({}, {}, base::Time::FromTimeT(1400000000), 105 {8, 8, 8}, base::Time::FromTimeT(1419990000), {}); 108 manager_->Block({99}, {8, 8, 8}, base::Time::FromTimeT(1419990000), 149 base::Time::FromTimeT(1419990000), {});
|
/frameworks/base/core/java/android/hardware/hdmi/ |
HdmiTimerRecordSources.java | 40 * <li>[Start Time] 143 * Creates {@link Duration} for time value. 150 public static Time timeOf(int hour, int minute) { 152 return new Time(hour, minute); 187 * Base class for time-related information. 214 * Place holder for time value. 218 public static final class Time extends TimeUnit { 219 private Time(int hour, int minute) { 259 * @param startTime start time in {@link Time} [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
DataUsageController.java | 32 import android.text.format.Time; 110 private static Time addMonth(Time t, int months) { 111 final Time rt = new Time(t); 147 final Time nowTime = new Time(policy.cycleTimezone); 149 final Time policyTime = new Time(nowTime);
|
/development/samples/AndroidBeamDemo/src/com/example/android/beam/ |
Beam.java | 32 import android.text.format.Time; 73 Time time = new Time(); local 74 time.setToNow(); 76 "Beam Time: " + time.format("%H:%M:%S"));
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
AgendaFragment.java | 27 import android.text.format.Time; 60 private final Time mTime; 77 // Tracks the time of the top visible view in order to send UPDATE_TITLE messages to the action 94 // timeMillis - time of first event to show 98 mTime = new Time(); 99 mLastHandledEventTime = new Time(); 135 Log.d(TAG, "Restoring time to " + mTime.toString()); 271 // specific event and not just the time. 324 // The view hasn't been set yet. Just save the time and use it 332 // Make sure that on the first time the event info is shown to recreate i [all...] |
AgendaWindowAdapter.java | 33 import android.text.format.Time; 60 - At rotation and launch time, the initial position is not set properly. This code is calling 238 Time goToTime; 298 * The begin and end times of an AgendaItem should always be in local time, even if the event 299 * is all day. buildAgendaItemFromCursor() converts each event to local time. 323 // Static class, so the time in this toString will not reflect the 325 Time time = new Time(); local 327 time.setJulianDay(start) 637 Time time = new Time(mTimeZone); local 641 Time time = new Time(mTimeZone); local 653 Time time = new Time(mTimeZone); local 922 Time time = new Time(mTimeZone); local 941 Time time = new Time(mTimeZone); local 1182 Time time = new Time(mTimeZone); local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/ |
XKBlib.h | 40 Time time; /* milliseconds */ member in struct:_XkbAnyEvent 50 Time time; /* milliseconds */ member in struct:_XkbNewKeyboardNotify 68 Time time; /* milliseconds */ member in struct:_XkbMapNotifyEvent 97 Time time; /* milliseconds */ member in struct:_XkbStateNotifyEvent 126 Time time; /* milliseconds * member in struct:_XkbControlsNotify 144 Time time; \/* milliseconds *\/ member in struct:_XkbIndicatorNotify 156 Time time; \/* milliseconds *\/ member in struct:_XkbNamesNotify 178 Time time; \/* milliseconds *\/ member in struct:_XkbCompatMapNotify 192 Time time; \/* milliseconds *\/ member in struct:_XkbBellNotify 210 Time time; \/* milliseconds *\/ member in struct:_XkbActionMessage 227 Time time; \/* milliseconds *\/ member in struct:_XkbAccessXNotify 241 Time time; \/* milliseconds *\/ member in struct:_XkbExtensionDeviceNotify [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/ |
XKBlib.h | 38 Time time; /* milliseconds */ member in struct:_XkbAnyEvent 48 Time time; /* milliseconds */ member in struct:_XkbNewKeyboardNotify 66 Time time; /* milliseconds */ member in struct:_XkbMapNotifyEvent 95 Time time; /* milliseconds */ member in struct:_XkbStateNotifyEvent 124 Time time; /* milliseconds * member in struct:_XkbControlsNotify 142 Time time; \/* milliseconds *\/ member in struct:_XkbIndicatorNotify 154 Time time; \/* milliseconds *\/ member in struct:_XkbNamesNotify 176 Time time; \/* milliseconds *\/ member in struct:_XkbCompatMapNotify 190 Time time; \/* milliseconds *\/ member in struct:_XkbBellNotify 208 Time time; \/* milliseconds *\/ member in struct:_XkbActionMessage 225 Time time; \/* milliseconds *\/ member in struct:_XkbAccessXNotify 239 Time time; \/* milliseconds *\/ member in struct:_XkbExtensionDeviceNotify [all...] |