Home
last modified time | relevance | path

Searched refs:calendar (Results 1 – 13 of 13) sorted by relevance

/development/samples/browseable/SpeedTracker/Shared/src/com.example.android.wearable.speedtracker.common/
DLocationEntry.java29 public Calendar calendar; field in LocationEntry
32 public LocationEntry(Calendar calendar, double latitude, double longitude) { in LocationEntry() argument
33 this.calendar = calendar; in LocationEntry()
36 this.day = Utils.getHashedDay(calendar); in LocationEntry()
50 if (calendar.getTimeInMillis() != that.calendar.getTimeInMillis()) { in equals()
59 return calendar.hashCode(); in hashCode()
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/
DPhoneMainActivity.java65 Calendar calendar = Calendar.getInstance(); in onClick() local
66 calendar.setTimeInMillis(System.currentTimeMillis()); in onClick()
68 calendar.get(Calendar.YEAR), in onClick()
69 calendar.get(Calendar.MONTH), calendar.get(Calendar.DAY_OF_MONTH)).show(); in onClick()
77 Calendar calendar = Calendar.getInstance(); in onDateSet() local
78 calendar.setTimeInMillis(System.currentTimeMillis()); in onDateSet()
79 calendar.set(Calendar.YEAR, year); in onDateSet()
80 calendar.set(Calendar.MONTH, monthOfYear); in onDateSet()
81 calendar.set(Calendar.DAY_OF_MONTH, dayOfMonth); in onDateSet()
82 String date = DateUtils.formatDateTime(this, calendar.getTimeInMillis(), in onDateSet()
[all …]
DLocationDataManager.java49 public final List<LocationEntry> getPoints(Calendar calendar) { in getPoints() argument
50 String day = Utils.getHashedDay(calendar); in getPoints()
54 List<LocationEntry> points = mDbHelper.read(calendar); in getPoints()
65 public final int clearPoints(Calendar calendar) { in clearPoints() argument
67 String day = Utils.getHashedDay(calendar); in clearPoints()
79 List<LocationEntry> points = getPoints(entry.calendar); in addPoint()
/development/samples/Support4Demos/src/com/example/android/supportv4/content/
DSimpleWakefulController.java58 Calendar calendar = Calendar.getInstance();
59 calendar.setTimeInMillis(System.currentTimeMillis());
60 calendar.add(Calendar.SECOND, 30);
64 am.set(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), sender);
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
DAlarm.java152 Calendar calendar = Calendar.getInstance(); in compareTo() local
153 calendar.set(Calendar.MONTH, month); in compareTo()
154 calendar.set(Calendar.DATE, date); in compareTo()
155 calendar.set(Calendar.HOUR_OF_DAY, hour); in compareTo()
156 calendar.set(Calendar.MINUTE, minute); in compareTo()
163 return calendar.compareTo(otherCal); in compareTo()
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/db/
DLocationDbHelper.java95 values.put(COLUMN_NAME_TIME, entry.calendar.getTimeInMillis()); in insert()
106 public final List<LocationEntry> read(Calendar calendar) { in read() argument
113 String day = Utils.getHashedDay(calendar); in read()
162 public final int delete(Calendar calendar) { in delete() argument
163 return delete(Utils.getHashedDay(calendar)); in delete()
DUpdateService.java85 Calendar calendar = Calendar.getInstance(); in onDataChanged() local
86 calendar.setTimeInMillis(time); in onDataChanged()
88 new LocationEntry(calendar, latitude, longitude)); in onDataChanged()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DAlarmController.java96 Calendar calendar = Calendar.getInstance();
97 calendar.setTimeInMillis(System.currentTimeMillis());
98 calendar.add(Calendar.SECOND, 30);
102 am.set(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), sender);
/development/samples/browseable/AgendaData/
D_index.jd8 Syncs calendar events to your wearable at the press of a button, using the Wearable
/development/samples/browseable/WatchFace/
D_index.jd10 opengl, calendar, steps, interactive, etc. It also includes a watch-side configuration example.
/development/tools/labpretest/
Dlabpretest.sh569 …mclock -p com.android.browser -p com.android.calculator2 -p com.android.calendar -p com.android.ca…
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/
DWearableMainActivity.java416 .putLong(Constants.KEY_TIME, entry.calendar.getTimeInMillis()); in addLocationEntry()
/development/tools/checkstyle/
Dcheckstyle.jarMETA-INF/MANIFEST.MF META-INF/ checkstyle_packages.xml sun_checks.xml com/ ...