Searched refs:LocationEntry (Results 1 – 6 of 6) sorted by relevance
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/ |
D | LocationDataManager.java | 19 import com.example.android.wearable.speedtracker.common.LocationEntry; 34 private final Map<String, List<LocationEntry>> mPointsMap = 35 new HashMap<String, List<LocationEntry>>(); 49 public final List<LocationEntry> getPoints(Calendar calendar) { in getPoints() 54 List<LocationEntry> points = mDbHelper.read(calendar); in getPoints() 77 public final void addPoint(LocationEntry entry) { in addPoint() 79 List<LocationEntry> points = getPoints(entry.calendar); in addPoint() 83 points = new ArrayList<LocationEntry>(); in addPoint()
|
D | PhoneMainActivity.java | 36 import com.example.android.wearable.speedtracker.common.LocationEntry; 104 List<LocationEntry> entries = dataManager.getPoints(params[0]); in showTrack() 108 for (LocationEntry entry : entries) { in showTrack()
|
/development/samples/browseable/SpeedTracker/Shared/src/com.example.android.wearable.speedtracker.common/ |
D | LocationEntry.java | 25 public class LocationEntry { class 32 public LocationEntry(Calendar calendar, double latitude, double longitude) { in LocationEntry() method in LocationEntry 48 LocationEntry that = (LocationEntry) o; in equals()
|
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/db/ |
D | LocationDbHelper.java | 27 import com.example.android.wearable.speedtracker.common.LocationEntry; 83 public final long insert(LocationEntry entry) { in insert() 106 public final List<LocationEntry> read(Calendar calendar) { in read() 129 List<LocationEntry> result = new ArrayList<LocationEntry>(); in read() 136 LocationEntry entry = new LocationEntry(cal, cursor.getDouble(1), in read()
|
D | UpdateService.java | 37 import com.example.android.wearable.speedtracker.common.LocationEntry; 88 new LocationEntry(calendar, latitude, longitude)); in onDataChanged()
|
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/ |
D | WearableMainActivity.java | 49 import com.example.android.wearable.speedtracker.common.LocationEntry; 297 LocationEntry entry = new LocationEntry(mCalendar, latitude, longitude); in addLocationEntry()
|