Home
last modified time | relevance | path

Searched refs:cal (Results 1 – 3 of 3) sorted by relevance

/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/db/
DLocationDbHelper.java134 Calendar cal = Calendar.getInstance(); in read() local
135 cal.setTimeInMillis(cursor.getLong(2)); in read()
136 LocationEntry entry = new LocationEntry(cal, cursor.getDouble(1), in read()
/development/samples/MySampleRss/src/com/example/codelab/rssexample/
DRssService.java205 GregorianCalendar cal = new GregorianCalendar(); in parseRssDocPubDate() local
206 cal.setTimeInMillis(0); in parseRssDocPubDate()
214 cal.setTime(pubDate.parse(m.group(1))); in parseRssDocPubDate()
219 return cal; in parseRssDocPubDate()
/development/samples/browseable/AppUsageStatistics/src/com.example.android.appusagestatistics/
DAppUsageStatisticsFragment.java138 Calendar cal = Calendar.getInstance(); in getUsageStatistics() local
139 cal.add(Calendar.YEAR, -1); in getUsageStatistics()
142 .queryUsageStats(intervalType, cal.getTimeInMillis(), in getUsageStatistics()