/development/samples/browseable/SpeedTracker/Shared/src/com.example.android.wearable.speedtracker.common/ |
D | LocationEntry.java | 29 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/ |
D | PhoneMainActivity.java | 68 Calendar calendar = Calendar.getInstance(); in onClick() local 69 calendar.setTimeInMillis(System.currentTimeMillis()); in onClick() 71 calendar.get(Calendar.YEAR), in onClick() 72 calendar.get(Calendar.MONTH), calendar.get(Calendar.DAY_OF_MONTH)).show(); in onClick() 80 Calendar calendar = Calendar.getInstance(); in onDateSet() local 81 calendar.setTimeInMillis(System.currentTimeMillis()); in onDateSet() 82 calendar.set(Calendar.YEAR, year); in onDateSet() 83 calendar.set(Calendar.MONTH, monthOfYear); in onDateSet() 84 calendar.set(Calendar.DAY_OF_MONTH, dayOfMonth); in onDateSet() 85 String date = DateUtils.formatDateTime(this, calendar.getTimeInMillis(), in onDateSet() [all …]
|
D | LocationDataManager.java | 49 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/browseable/DirectBoot/src/com.example.android.directboot/alarms/ |
D | Alarm.java | 130 Calendar calendar = Calendar.getInstance(); in compareTo() local 131 calendar.set(Calendar.MONTH, month); in compareTo() 132 calendar.set(Calendar.DATE, date); in compareTo() 133 calendar.set(Calendar.HOUR_OF_DAY, hour); in compareTo() 134 calendar.set(Calendar.MINUTE, minute); in compareTo() 141 return calendar.compareTo(otherCal); in compareTo()
|
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/db/ |
D | LocationDbHelper.java | 95 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()
|
D | UpdateService.java | 85 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/ |
D | AlarmController.java | 100 Calendar calendar = Calendar.getInstance(); 101 calendar.setTimeInMillis(System.currentTimeMillis()); 102 calendar.add(Calendar.SECOND, 30); 109 am.set(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), sender); 113 AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), sender);
|
/development/samples/browseable/AgendaData/ |
D | _index.jd | 8 Syncs calendar events to your wearable at the press of a button, using the Wearable
|
/development/samples/browseable/WatchFace/ |
D | _index.jd | 10 opengl, calendar, steps, interactive, etc. It also includes a watch-side configuration example.
|
/development/tools/labpretest/ |
D | labpretest.sh | 569 …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/ |
D | WearableMainActivity.java | 418 .putLong(Constants.KEY_TIME, entry.calendar.getTimeInMillis()); in addLocationEntry()
|
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/ |
D | project.csv | 29 2018/03/02,platform/frameworks/opt/calendar,platform/frameworks/opt/calendar,Modified Projects,4,16…
|