Searched refs:calendar (Results 1 - 9 of 9) sorted by relevance

/development/samples/browseable/SpeedTracker/Shared/src/com.example.android.wearable.speedtracker.common/
H A DLocationEntry.java29 public Calendar calendar; field in class:LocationEntry
32 public LocationEntry(Calendar calendar, double latitude, double longitude) { argument
33 this.calendar = calendar;
36 this.day = Utils.getHashedDay(calendar);
50 if (calendar.getTimeInMillis() != that.calendar.getTimeInMillis()) {
59 return calendar.hashCode();
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/
H A DPhoneMainActivity.java64 Calendar calendar = Calendar.getInstance();
65 calendar.setTimeInMillis(System.currentTimeMillis());
67 calendar.get(Calendar.YEAR),
68 calendar.get(Calendar.MONTH), calendar.get(Calendar.DAY_OF_MONTH)).show();
76 Calendar calendar = Calendar.getInstance();
77 calendar.setTimeInMillis(System.currentTimeMillis());
78 calendar.set(Calendar.YEAR, year);
79 calendar.set(Calendar.MONTH, monthOfYear);
80 calendar
94 showTrack(Calendar calendar) argument
[all...]
H A DLocationDataManager.java49 public final List<LocationEntry> getPoints(Calendar calendar) { argument
50 String day = Utils.getHashedDay(calendar);
54 List<LocationEntry> points = mDbHelper.read(calendar);
65 public final int clearPoints(Calendar calendar) { argument
67 String day = Utils.getHashedDay(calendar);
79 List<LocationEntry> points = getPoints(entry.calendar);
/development/samples/Support4Demos/src/com/example/android/supportv4/content/
H A 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/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/db/
H A DLocationDbHelper.java95 values.put(COLUMN_NAME_TIME, entry.calendar.getTimeInMillis());
104 * there are no such items. This method looks at the day that the calendar argument points at.
106 public final List<LocationEntry> read(Calendar calendar) { argument
113 String day = Utils.getHashedDay(calendar);
162 public final int delete(Calendar calendar) { argument
163 return delete(Utils.getHashedDay(calendar));
H A DUpdateService.java85 Calendar calendar = Calendar.getInstance();
86 calendar.setTimeInMillis(time);
88 new LocationEntry(calendar, latitude, longitude));
/development/samples/ApiDemos/src/com/example/android/apis/app/
H A 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/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/
H A DWearableMainActivity.java303 .putLong(Constants.KEY_TIME, entry.calendar.getTimeInMillis());
/development/tools/labpretest/
H A Dlabpretest.sh569 $ADB -s $device shell monkey -p com.android.alarmclock -p com.android.browser -p com.android.calculator2 -p com.android.calendar -p com.android.camera -p com.android.contacts -p com.google.android.gm -p com.android.im -p com.android.launcher -p com.google.android.apps.maps -p com.android.mms -p com.android.music -p com.android.phone -p com.android.settings -p com.google.android.street -p com.android.vending -p com.google.android.youtube -p com.android.email -p com.google.android.voicesearch -c android.intent.category.LAUNCHER --ignore-security-exceptions -s $seed $MEVENTS

Completed in 96 milliseconds