Home
last modified time | relevance | path

Searched refs:day (Results 1 – 11 of 11) sorted by relevance

/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/
DLocationDataManager.java50 String day = Utils.getHashedDay(calendar); in getPoints() local
52 if (mPointsMap.get(day) == null) { in getPoints()
55 mPointsMap.put(day, points); in getPoints()
58 return mPointsMap.get(day); in getPoints()
67 String day = Utils.getHashedDay(calendar); in clearPoints() local
68 mPointsMap.remove(day); in clearPoints()
69 return mDbHelper.delete(day); in clearPoints()
86 mPointsMap.put(entry.day, points); in addPoint()
/development/samples/browseable/SpeedTracker/Shared/src/com.example.android.wearable.speedtracker.common/
DUtils.java31 public static String getHashedDay(Calendar day) { in getHashedDay() argument
32 return day.get(Calendar.YEAR) + "-" + day.get(Calendar.DAY_OF_YEAR); in getHashedDay()
DLocationEntry.java30 public String day; field in LocationEntry
36 this.day = Utils.getHashedDay(calendar); in LocationEntry()
/development/scripts/
Dadd3prf.py88 year, month, day = "", "", ""
99 day = match.group(2)
103 year, month, day = match.group(1), match.group(2), match.group(3)
104 if year and month and day:
105 print("### Reuse date in METADATA:", year, month, day)
106 return int(year), int(month), int(day)
108 return today.year, today.month, today.day
117 year, month, day = get_metadata_date()
124 license_comment=license_comment, year=year, month=month, day=day))
Daday8 day = int(build[3:5])
14 return datetime.date(year, month + 1, 1) + datetime.timedelta(days=day - 1)
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/
DWeatherWidgetService.java73 String day = "Unknown Day"; in getViewAt() local
79 day = mCursor.getString(dayColIndex); in getViewAt()
87 rv.setTextViewText(R.id.widget_item, String.format(formatStr, temp, day)); in getViewAt()
92 extras.putString(WeatherWidgetProvider.EXTRA_DAY_ID, day); in getViewAt()
DWeatherDataProvider.java39 String day; field in WeatherDataPoint
43 day = d; in WeatherDataPoint()
98 c.addRow(new Object[]{ new Integer(i), data.day, new Integer(data.degrees) }); in query()
DWeatherWidgetProvider.java144 final String day = intent.getStringExtra(EXTRA_DAY_ID); in onReceive() local
146 Toast.makeText(ctx, String.format(formatStr, day), Toast.LENGTH_SHORT).show(); in onReceive()
/development/tools/repo_diff/service/repodiff/utils/
Dtime.go15 year, month, day := t.Unix(int64(timestamp), 0).Date()
16 return fmt.Sprintf("%04d-%02d-%02d", year, month, day)
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/db/
DLocationDbHelper.java92 values.put(COLUMN_NAME_DAY, entry.day); in insert()
113 String day = Utils.getHashedDay(calendar); in read() local
123 new String[]{day}, // The values for the WHERE clause in read()
150 public final int delete(String day) { in delete() argument
154 String[] selectionArgs = {day}; in delete()
/development/samples/SearchableDictionary/res/raw/
Ddefinitions.txt841 resurrection - n. (New Testament) the rising of Christ on the third day after the Crucifixion