HomeSort by relevance Sort by last modified time
    Searched refs:day (Results 1 - 25 of 853) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /developers/build/prebuilts/gradle/SpeedTracker/Shared/src/main/java/com/example/android/wearable/speedtracker/common/
Utils.java 27 * Builds a simple hash for a day by concatenating year and day of year together. Note that two
28 * {@link java.util.Calendar} inputs that fall on the same day will be hashed to the same
31 public static String getHashedDay(Calendar day) {
32 return day.get(Calendar.YEAR) + "-" + day.get(Calendar.DAY_OF_YEAR);
LocationEntry.java 30 public String day; field in class:LocationEntry
36 this.day = Utils.getHashedDay(calendar);
  /developers/samples/android/wearable/wear/SpeedTracker/Shared/src/main/java/com/example/android/wearable/speedtracker/common/
Utils.java 27 * Builds a simple hash for a day by concatenating year and day of year together. Note that two
28 * {@link java.util.Calendar} inputs that fall on the same day will be hashed to the same
31 public static String getHashedDay(Calendar day) {
32 return day.get(Calendar.YEAR) + "-" + day.get(Calendar.DAY_OF_YEAR);
LocationEntry.java 30 public String day; field in class:LocationEntry
36 this.day = Utils.getHashedDay(calendar);
  /development/samples/browseable/SpeedTracker/Shared/src/com.example.android.wearable.speedtracker.common/
Utils.java 27 * Builds a simple hash for a day by concatenating year and day of year together. Note that two
28 * {@link java.util.Calendar} inputs that fall on the same day will be hashed to the same
31 public static String getHashedDay(Calendar day) {
32 return day.get(Calendar.YEAR) + "-" + day.get(Calendar.DAY_OF_YEAR);
LocationEntry.java 30 public String day; field in class:LocationEntry
36 this.day = Utils.getHashedDay(calendar);
  /device/htc/flounder/gps/bcm/
gps.bcm47521.conf 2 XTRA_SERVER_1=http://gllto1.glpals.com/7day/v3/latest/lto2.dat
3 XTRA_SERVER_2=http://gllto2.glpals.com/7day/v3/latest/lto2.dat
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
SimpleMonthView.java 31 public void drawMonthDay(Canvas canvas, int year, int month, int day,
33 if (mSelectedDay == day) {
38 // If we have a mindate or maxdate, gray out the day number if it's outside the range.
39 if (isOutOfRange(year, month, day)) {
41 } else if (mHasToday && mToday == day) {
46 canvas.drawText(String.format("%d", day), x, y, mMonthNumPaint);
MonthAdapter.java 55 int day; field in class:MonthAdapter.CalendarDay
68 day = calendar.get(Calendar.DAY_OF_MONTH);
71 public CalendarDay(int year, int month, int day) {
72 setDay(year, month, day);
78 day = date.day;
81 public void setDay(int year, int month, int day) {
84 this.day = day;
102 day = calendar.get(Calendar.DAY_OF_MONTH)
    [all...]
MonthView.java 52 * A calendar-like view displaying a specified month and the appropriate selectable day numbers
83 * Which day the week should start on. {@link Time#SUNDAY} through
141 // The Julian day of the first day displayed by this item
143 // The month of the first day in this week
145 // The month of the last day in this week
157 // Which day is selected [0-6] or -1 if no day is selected
159 // Which day is today [0-6] or -1 if no day is toda
267 final int day = getDayFromLocation(event.getX(), event.getY()); local
380 final int day = i + 1; local
534 final int day = getInternalDayFromLocation(x, y); local
557 int day = column - findDayOffset() + 1; local
661 final int day = mTouchHelper.getFocusedVirtualView(); local
722 final int day = getDayFromLocation(x, y); local
    [all...]
DayPickerView.java 178 public boolean goTo(CalendarDay day, boolean animate, boolean setSelected, boolean forceScroll) {
180 // Set the selected day
182 mSelectedDay.set(day);
185 mTempDay.set(day);
186 final int position = (day.year - mController.getMinYear())
187 * MonthAdapter.MONTHS_IN_YEAR + day.month;
219 // Check if the selected day is now outside of our visible range
400 * {@code day} is {@code null}.
402 * @param day The date that should receive accessibility focus
405 private boolean restoreAccessibilityFocus(CalendarDay day) {
477 CalendarDay day = new CalendarDay(year, month, 1); local
    [all...]
  /external/v8/test/cctest/
test-date.cc 48 int year, month, day; local
49 YearMonthDayFromDays(days, &year, &month, &day);
50 Rule* rule = FindRuleFor(year, month, day, time_in_day_sec);
60 Rule* FindRuleFor(int year, int month, int day, int time_in_day_sec) {
63 if (Match(&rules_[i], year, month, day, time_in_day_sec)) {
70 bool Match(Rule* rule, int year, int month, int day, int time_in_day_sec) {
75 if (rule->start_month == month && start_day > day) return false;
76 if (rule->start_month == month && start_day == day &&
80 if (rule->end_month == month && end_day < day) return false;
81 if (rule->end_month == month && end_day == day &
    [all...]
  /developers/build/prebuilts/gradle/SpeedTracker/Application/src/main/java/com/example/android/wearable/speedtracker/
LocationDataManager.java 45 * objects for the day that the {@link java.util.Calendar} object points at. Internally it uses
50 String day = Utils.getHashedDay(calendar); local
52 if (mPointsMap.get(day) == null) {
53 // there is no cache for this day, so lets get it from DB
55 mPointsMap.put(day, points);
58 return mPointsMap.get(day);
62 * Clears the data for the day that the {@link java.util.Calendar} object falls on. This method
67 String day = Utils.getHashedDay(calendar); local
68 mPointsMap.remove(day);
69 return mDbHelper.delete(day);
    [all...]
  /developers/samples/android/wearable/wear/SpeedTracker/Application/src/main/java/com/example/android/wearable/speedtracker/
LocationDataManager.java 45 * objects for the day that the {@link java.util.Calendar} object points at. Internally it uses
50 String day = Utils.getHashedDay(calendar); local
52 if (mPointsMap.get(day) == null) {
53 // there is no cache for this day, so lets get it from DB
55 mPointsMap.put(day, points);
58 return mPointsMap.get(day);
62 * Clears the data for the day that the {@link java.util.Calendar} object falls on. This method
67 String day = Utils.getHashedDay(calendar); local
68 mPointsMap.remove(day);
69 return mDbHelper.delete(day);
    [all...]
  /development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/
LocationDataManager.java 45 * objects for the day that the {@link java.util.Calendar} object points at. Internally it uses
50 String day = Utils.getHashedDay(calendar); local
52 if (mPointsMap.get(day) == null) {
53 // there is no cache for this day, so lets get it from DB
55 mPointsMap.put(day, points);
58 return mPointsMap.get(day);
62 * Clears the data for the day that the {@link java.util.Calendar} object falls on. This method
67 String day = Utils.getHashedDay(calendar); local
68 mPointsMap.remove(day);
69 return mDbHelper.delete(day);
    [all...]
  /development/scripts/
aday 8 day = int(build[3:5])
14 return datetime.date(year, month + 1, 1) + datetime.timedelta(days=day - 1)
  /external/icu/icu4c/source/test/compat/
tzone.pl 8 print "Usage: tzone [year month day hour minute]\n";
20 my $day = 0;
26 ($year, $month, $day, $hour, $minute) = @ARGV;
27 print "The date we are using is: $month-$day-$year $hour:$minute.\n";
52 my @result = `./tzdate $year $month $day $hour $minute $USECURRENT`;
  /frameworks/base/core/java/android/util/
MonthDisplayHelper.java 44 * @param weekStartDay What day of the week the week should start.
85 * @return The first day of the month using a constants such as
102 * box. For example, if the calendar is set to display the first day of
132 * @return The day at a particular row, column
140 int day = 7 * row + column - mOffset + 1; local
142 return (day > mNumDaysInMonth) ?
143 day - mNumDaysInMonth : day;
147 * @return Which row day is in.
149 public int getRowOf(int day) {
189 int day = 7 * row + column - mOffset + 1; local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
SimpleDate.java 26 * Represents a date (year, month, day)
31 public int day; // DD field in class:SimpleDate
49 this.day = sCalendarInstance.get(Calendar.DATE);
62 result = prime * result + day;
86 if (day != other.day) {
102 return this.day - other.getDay();
108 return day;
  /libcore/ojluni/src/main/java/java/sql/
Date.java 45 * year, month, and day.
52 * @param day 1 to 31
56 public Date(int year, int month, int day) {
57 super(year, month, day);
134 int day = Integer.parseInt(dd); local
136 if ((month >= 1 && month <= MAX_MONTH) && (day >= 1 && day <= MAX_DAY)) {
137 d = new Date(year - 1900, month - 1, day);
158 int day = super.getDate(); local
167 buf[8] = Character.forDigit(day/10,10)
    [all...]
  /external/chromium-trace/catapult/third_party/Paste/paste/util/
dateinterval.py 20 day = hour*24 variable
21 week = day*7
22 month = day*30
23 year = day*365
28 'd': day,
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
XMPDateTimeImpl.java 36 private int day = 0; field in class:XMPDateTimeImpl
82 this.day = intCalendar.get(Calendar.DAY_OF_MONTH);
104 this.day = calendar.get(Calendar.DAY_OF_MONTH);
177 return day;
184 public void setDay(int day)
186 if (day < 1)
188 this.day = 1;
190 else if (day > 31)
192 this.day = 31;
196 this.day = day
    [all...]
  /system/core/logcat/tests/
logcat_benchmark.cpp 35 int day; member in class:timestamp
48 &month, &day, &hour, &minute, &second, &millisecond) == 6;
62 && ((day < T.day)
63 || ((day == T.day)
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/
DateTime.java 36 private final int day; field in class:DateTime
42 public DateTime(String yearString, int month, int day, int hour, int minute, int second, int timeZone) {
44 this.date = convertToDate(year, month, day, hour, minute, second, timeZone);
46 this.day = day;
69 public static Date convertToDate(int year, int month, int day, int hour, int minute, int second, int timeZone) {
71 c.set(year, month - 1, day, hour, minute, second);
95 return day;
  /packages/services/Telephony/src/org/apache/james/mime4j/field/datetime/
DateTime.java 36 private final int day; field in class:DateTime
42 public DateTime(String yearString, int month, int day, int hour, int minute, int second, int timeZone) {
44 this.date = convertToDate(year, month, day, hour, minute, second, timeZone);
46 this.day = day;
69 public static Date convertToDate(int year, int month, int day, int hour, int minute, int second, int timeZone) {
71 c.set(year, month - 1, day, hour, minute, second);
95 return day;

Completed in 1072 milliseconds

1 2 3 4 5 6 7 8 91011>>