Home
last modified time | relevance | path

Searched refs:LocationEntry (Results 1 – 6 of 6) sorted by relevance

/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/
DLocationDataManager.java19 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()
DPhoneMainActivity.java36 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/
DLocationEntry.java25 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/
DLocationDbHelper.java27 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()
DUpdateService.java37 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/
DWearableMainActivity.java49 import com.example.android.wearable.speedtracker.common.LocationEntry;
297 LocationEntry entry = new LocationEntry(mCalendar, latitude, longitude); in addLocationEntry()