Searched refs:Time (Results 1 - 25 of 44) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/text/format/
H A DTimeTest.java21 import android.text.format.Time;
31 Time t = new Time(Time.TIMEZONE_UTC);
180 Time local = new Time("America/Los_Angeles");
271 Time t = new Time(Time.TIMEZONE_UTC);
279 Time
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkPolicyManager.java21 import static android.text.format.Time.MONTH_DAY;
30 import android.text.format.Time;
195 final Time now = new Time(policy.cycleTimezone);
199 final Time cycle = new Time(now);
203 if (Time.compare(cycle, now) >= 0) {
206 final Time lastMonth = new Time(now);
225 final Time no
[all...]
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DRecurrenceProcessor.java20 import android.text.format.Time;
28 private Time mIterator = new Time(Time.TIMEZONE_UTC);
29 private Time mUntil = new Time(Time.TIMEZONE_UTC);
31 private Time mGenerated = new Time(Time
[all...]
H A DEventRecurrence.java20 import android.text.format.Time;
49 public Time startDate; // set by setStartDate(), not parse()
159 public void setStartDate(Time date) {
195 case Time.SUNDAY:
197 case Time.MONDAY:
199 case Time.TUESDAY:
201 case Time.WEDNESDAY:
203 case Time.THURSDAY:
205 case Time.FRIDAY:
207 case Time
[all...]
H A DRecurrenceSet.java23 import android.text.format.Time;
153 String tz = Time.TIMEZONE_UTC;
159 Time time = new Time(tz);
200 Time start = new Time(tzidParam == null ? Time.TIMEZONE_UTC : tzid);
207 tzid = Time.TIMEZONE_UTC;
229 start.timezone = Time.TIMEZONE_UTC;
290 Time dtstartTim
[all...]
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/
H A DUtils.java24 import android.text.format.Time;
34 public static final int MONDAY_BEFORE_JULIAN_EPOCH = Time.EPOCH_JULIAN_DAY - 3;
87 * This assumes that the week containing the {@link Time#EPOCH_JULIAN_DAY}
99 * Returns the week since {@link Time#EPOCH_JULIAN_DAY} (Jan 1, 1970)
103 * week since {@link Time#EPOCH_JULIAN_DAY} that day occurs in, starting
108 * see {@link Time#SUNDAY}
112 int diff = Time.THURSDAY - firstDayOfWeek;
116 int refDay = Time.EPOCH_JULIAN_DAY - diff;
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DTimeStatsAggregator.java19 import android.text.format.Time;
30 // import android.text.format.Time;
34 public static final String TIME_OF_WEEK = "Time of Week";
36 public static final String TIME_OF_DAY = "Time of Day";
85 Log.e(TAG, "There is no Time feature called " + featureName);
109 case Time.SATURDAY:
111 case Time.SUNDAY:
113 case Time.MONDAY:
115 case Time.TUESDAY:
117 case Time
[all...]
/frameworks/opt/telephony/src/java/android/telephony/
H A DSmsCbEtwsInfo.java21 import android.text.format.Time;
155 Time time = new Time(Time.TIMEZONE_UTC);
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
H A DRecurrenceProcessorTest.java25 import android.text.format.Time;
37 private static String[] getFormattedDates(long[] dates, Time time) {
89 Time dtstart = new Time(tz);
90 Time rangeStart = new Time(tz);
91 Time rangeEnd = new Time(tz);
92 Time outCal = new Time(t
[all...]
H A DRRuleTest.java27 import android.text.format.Time;
45 private static String[] getFormattedDates(long[] dates, Time time, boolean truncate) {
98 Time dtstart = new Time(tz);
99 Time rangeStart = new Time(tz);
100 Time rangeEnd = new Time(tz);
101 Time outCal = new Time(t
[all...]
/frameworks/base/core/java/android/hardware/hdmi/
H A DHdmiTimerRecordSources.java40 * <li>[Start Time]
150 public static Time timeOf(int hour, int minute) {
152 return new Time(hour, minute);
218 public static final class Time extends TimeUnit { class in class:HdmiTimerRecordSources
219 private Time(int hour, int minute) { method in class:HdmiTimerRecordSources.Time
259 * @param startTime start time in {@link Time}
272 public static TimerInfo timerInfoOf(int dayOfMonth, int monthOfYear, Time startTime,
299 * <li>[Start Time]
320 * Time of day.
323 private final Time mStartTim
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DMobileDataControllerImpl.java39 import android.text.format.Time;
100 private static Time addMonth(Time t, int months) {
101 final Time rt = new Time(t);
128 final Time nowTime = new Time(policy.cycleTimezone);
130 final Time policyTime = new Time(nowTime);
/frameworks/base/core/java/android/text/format/
H A DTime.java30 * {@link java.util.GregorianCalendar} classes. An instance of the Time class represents
55 public class Time { class
136 * The timezone for this Time. Should not be null.
166 * Construct a Time object in the timezone named by the string
171 public Time(String timezoneId) { method in class:Time
179 * Construct a Time object in the default timezone. The time is initialized to
182 public Time() { method in class:Time
187 * A copy constructor. Construct a Time object by copying the given
188 * Time object. No normalization occurs.
192 public Time(Tim method in class:Time
[all...]
H A DDateUtils.java79 * and pass in {@link Time#TIMEZONE_UTC Time.TIMEZONE_UTC} for the timeZone instead.
256 * Time spans in the past are formatted like "42 minutes ago".
257 * Time spans in the future are formatted like "in 42 minutes".
273 * Time spans in the past are formatted like "42 minutes ago". Time spans in
426 Time startTime = new Time();
428 int startDay = Time.getJulianDay(day, startTime.gmtoff);
430 Time currentTim
[all...]
/frameworks/av/media/libstagefright/codecs/common/include/
H A DvoType.h168 VO_S64 Time; /*!< The time of the buffer */ member in struct:__anon429
/frameworks/base/core/java/com/android/internal/http/
H A DHttpDateTime.java19 import android.text.format.Time;
118 Time time = new Time(Time.TIMEZONE_UTC);
/frameworks/base/core/java/android/widget/
H A DAnalogClock.java29 import android.text.format.Time;
46 private Time mCalendar;
96 mCalendar = new Time();
128 // The time zone may have changed while the receiver wasn't registered, so update the Time
129 mCalendar = new Time();
256 mCalendar = new Time(TimeZone.getTimeZone(tz).getID());
265 private void updateContentDescription(Time time) {
H A DDateTimeView.java26 import android.text.format.Time;
99 Time t = new Time();
117 Time t = new Time();
H A DSimpleMonthView.java32 import android.text.format.Time;
338 final Time today = new Time(Time.getCurrentTimezone());
409 private boolean sameDay(int day, Time today) {
435 Time.getCurrentTimezone()).toString();
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZonePickerUtils.java25 import android.text.format.Time;
57 * display name (e.g. Pacific Time GMT-7).
83 Time time = new Time(tz.getID());
/frameworks/base/core/java/android/util/
H A DLocalLog.java19 import android.text.format.Time;
/frameworks/base/sax/tests/saxtests/src/android/sax/
H A DSafeSaxTest.java29 import android.text.format.Time;
228 video.dateAdded = new Time(Time.TIMEZONE_UTC);
475 video.dateAdded = new Time(Time.TIMEZONE_UTC);
535 public Time dateAdded;
/frameworks/ex/common/java/com/android/common/
H A DOperationScheduler.java21 import android.text.format.Time;
364 Time time = new Time();
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DMonthAdapter.java21 import android.text.format.Time;
52 private Time time;
89 time = new Time();
H A DMonthView.java33 import android.text.format.Time;
78 * This sets one of the days in this view as selected {@link Time#SUNDAY}
79 * through {@link Time#SATURDAY}.
83 * Which day the week should start on. {@link Time#SUNDAY} through
84 * {@link Time#SATURDAY}.
93 * Which month is currently in focus, as defined by {@link Time#month}
362 final Time today = new Time(Time.getCurrentTimezone());
408 private boolean sameDay(int day, Time toda
[all...]

Completed in 567 milliseconds

12