HomeSort by relevance Sort by last modified time
    Searched refs:day (Results 1 - 25 of 988) 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);
  /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);
  /external/swiftshader/third_party/LLVM/utils/
parseNLT.pl 12 $day = $2;
23 { print "\n$day $mon $year $prefix/$output"; }
34 { print "\n$day $mon $year $prefix/$output"; $output = ""; }
importNLT.pl 25 ($day, $mon, $year, $prog, $gccas, $bc, $llccompile, $llcbetacompile, $jitcompile,
30 ('$prog', STR_TO_DATE('$day $mon $year', '\%d \%M \%Y'), 'gccas', $gccas)") || die DBI->errstr;
35 ('$prog', STR_TO_DATE('$day $mon $year', '\%d \%M \%Y'), 'bytecode', $bc)") || die DBI->errstr;
40 ('$prog', STR_TO_DATE('$day $mon $year', '\%d \%M \%Y'), 'llc-compile', $llccompile)") || die DBI->errstr;
45 ('$prog', STR_TO_DATE('$day $mon $year', '\%d \%M \%Y'), 'llc-beta-compile', $llcbetacompile)") || die DBI->errstr;
50 ('$prog', STR_TO_DATE('$day $mon $year', '\%d \%M \%Y'), 'jit-compile', $jitcompile)") || die DBI->errstr;
55 ('$prog', STR_TO_DATE('$day $mon $year', '\%d \%M \%Y'), 'machine-code', $mc)") || die DBI->errstr;
60 ('$prog', STR_TO_DATE('$day $mon $year', '\%d \%M \%Y'), 'gcc', $gcc)") || die DBI->errstr;
65 ('$prog', STR_TO_DATE('$day $mon $year', '\%d \%M \%Y'), 'llc', $llc)") || die DBI->errstr;
70 ('$prog', STR_TO_DATE('$day $mon $year', '\%d \%M \%Y'), 'llc-beta', $llcbeta)") || die DBI->errstr
    [all...]
  /external/pdfium/fxjs/
JS_Define.cpp 79 int Day(double t) {
98 int day = Day(t); local
99 return day - DayFromYear(year);
103 int day = DayWithinYear(t); local
105 if (0 <= day && day < 31)
107 if (31 <= day && day < 59 + IsLeapYear(year))
109 if ((59 + IsLeapYear(year)) <= day && day < (90 + IsLeapYear(year))
134 int day = DayWithinYear(t); local
    [all...]
  /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...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/
unbirthday.py 5 # that weren't your birthday. (The day you were born is not counted).
34 day = int(sys.argv[3])
36 day = int(raw_input('And on what day of that month? (1-31) '))
41 if not (1 <= day <= maxday):
42 print 'There are no', day, 'days in that month!'
45 bdaytuple = (year, month, day)
66 if bdaytuple < (y, month, day) <= todaytuple:
78 def format((year, month, day)):
79 return '%d %s %d' % (day, calendar.month_name[month], year)
    [all...]
  /external/python/cpython2/Demo/scripts/
unbirthday.py 5 # that weren't your birthday. (The day you were born is not counted).
34 day = int(sys.argv[3])
36 day = int(raw_input('And on what day of that month? (1-31) '))
41 if not (1 <= day <= maxday):
42 print 'There are no', day, 'days in that month!'
45 bdaytuple = (year, month, day)
66 if bdaytuple < (y, month, day) <= todaytuple:
78 def format((year, month, day)):
79 return '%d %s %d' % (day, calendar.month_name[month], year
    [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 10 print "Usage: tzone [year month day hour minute]\n";
22 my $day = 0;
28 ($year, $month, $day, $hour, $minute) = @ARGV;
29 print "The date we are using is: $month-$day-$year $hour:$minute.\n";
54 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/time/
MonthDay.java 91 * A month-day in the ISO-8601 calendar system, such as {@code --12-03}.
94 * of a month and day-of-month. Any field that can be derived from a month and day,
100 * Since a {@code MonthDay} does not possess a year, the leap day of
143 * The day-of-month.
145 private final int day; field in class:MonthDay
149 * Obtains the current month-day from the system clock in the default time-zone.
152 * time-zone to obtain the current month-day.
157 * @return the current month-day using the system clock and default time-zone, not null
164 * Obtains the current month-day from the system clock in the specified time-zone
541 int day = Math.min(this.day, month.maxLength()); local
    [all...]
  /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/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 38 int day; member in class:timestamp
49 ok = sscanf(buffer, "%d-%d %d:%d:%d.%d ", &month, &day, &hour,
61 ((day < T.day) ||
62 ((day == T.day) &&
  /cts/tests/autofillservice/src/android/autofillservice/cts/
AbstractDatePickerActivity.java 76 private void updateOutputWithDate(int year, int month, int day) {
77 final String date = year + "/" + month + "/" + day;
96 void expectAutoFill(String output, int year, int month, int day) {
97 mExpectation = new FillExpectation(output, year, month, day);
125 void setDate(int year, int month, int day) {
126 syncRunOnUiThread(() -> mDatePicker.updateDate(year, month, day));
147 private FillExpectation(String output, int year, int month, int day) {
150 dateListener = new OneTimeDateListener("datePicker", mDatePicker, year, month, day);

Completed in 2316 milliseconds

1 2 3 4 5 6 7 8 91011>>