Searched refs:Time (Results 1 - 25 of 42) 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/jni/
H A DTime.cpp8 dump(const Time& t)
21 Time::Time() function in class:android::Time
44 Time::compare(Time& a, Time& b)
81 Time::switchTimezone(const char* timezone)
88 Time::format(const char *format, const struct strftime_locale *locale) const
114 Time::format2445(short* buf, bool hasTime) const
154 Time
[all...]
H A DTimeUtils.h31 * This class is the core implementation of the android.util.Time java
38 class Time class in namespace:android
57 static int compare(Time& a, Time& b);
59 Time();
H A Dandroid_text_format_Time.cpp61 static inline bool java2time(JNIEnv* env, Time* t, jobject o)
83 static inline void time2java(JNIEnv* env, jobject o, const Time &t)
111 Time t;
126 Time t;
145 Time a, b;
153 int result = Time::compare(a, b);
163 Time t;
200 Time t;
315 Time t;
329 Time
[all...]
/frameworks/base/core/java/android/util/
H A DLocalLog.java19 import android.text.format.Time;
34 private Time mNow;
39 mNow = new Time();
/frameworks/base/core/java/android/net/
H A DNetworkPolicyManager.java21 import static android.text.format.Time.MONTH_DAY;
30 import android.text.format.Time;
161 final Time now = new Time(policy.cycleTimezone);
165 final Time cycle = new Time(now);
169 if (Time.compare(cycle, now) >= 0) {
172 final Time lastMonth = new Time(now);
191 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/base/core/java/android/text/format/
H A DTime.java28 * {@link java.util.GregorianCalendar} classes. An instance of the Time class represents
33 public class Time { class
114 * The timezone for this Time. Should not be null.
160 * Construct a Time object in the timezone named by the string
165 public Time(String timezone) { method in class:Time
178 * Construct a Time object in the default timezone. The time is initialized to
181 public Time() { method in class:Time
186 * A copy constructor. Construct a Time object by copying the given
187 * Time object. No normalization occurs.
191 public Time(Tim method in class:Time
[all...]
H A DDateUtils.java78 * and pass in {@link Time#TIMEZONE_UTC Time.TIMEZONE_UTC} for the timeZone instead.
302 * Time spans in the past are formatted like "42 minutes ago".
303 * Time spans in the future are formatted like "in 42 minutes".
319 * Time spans in the past are formatted like "42 minutes ago". Time spans in
472 Time startTime = new Time();
474 int startDay = Time.getJulianDay(day, startTime.gmtoff);
476 Time currentTim
[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;
80 * This assumes that the week containing the {@link Time#EPOCH_JULIAN_DAY}
92 * Returns the week since {@link Time#EPOCH_JULIAN_DAY} (Jan 1, 1970)
96 * week since {@link Time#EPOCH_JULIAN_DAY} that day occurs in, starting
101 * see {@link Time#SUNDAY}
105 int diff = Time.THURSDAY - firstDayOfWeek;
109 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/av/media/libstagefright/codecs/common/include/
H A DvoType.h168 VO_S64 Time; /*!< The time of the buffer */ member in struct:__anon658
/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;
93 mCalendar = new Time();
117 // The time zone may have changed while the receiver wasn't registered, so update the Time
118 mCalendar = new Time();
245 mCalendar = new Time(TimeZone.getTimeZone(tz).getID());
254 private void updateContentDescription(Time time) {
H A DDateTimeView.java26 import android.text.format.Time;
95 Time t = new Time();
113 Time t = new Time();
/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());
H A DTimeZoneInfo.java23 import android.text.format.Time;
53 private Time recycledTime = new 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;
362 Time time = new Time();
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DSimpleMonthView.java32 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}
347 final Time today = new Time(Time.getCurrentTimezone());
389 private boolean sameDay(int day, Time toda
[all...]

Completed in 1281 milliseconds

12