Home
last modified time | relevance | path

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

/development/samples/browseable/Geofencing/Application/src/com.example.android.wearable.geofencing/
DSimpleGeofenceStore.java57 double lat = mPrefs.getFloat(getGeofenceFieldKey(id, KEY_LATITUDE), in getGeofence()
59 double lng = mPrefs.getFloat(getGeofenceFieldKey(id, KEY_LONGITUDE), in getGeofence()
61 float radius = mPrefs.getFloat(getGeofenceFieldKey(id, KEY_RADIUS), in getGeofence()
64 mPrefs.getLong(getGeofenceFieldKey(id, KEY_EXPIRATION_DURATION), in getGeofence()
66 int transitionType = mPrefs.getInt(getGeofenceFieldKey(id, KEY_TRANSITION_TYPE), in getGeofence()
89 prefs.putFloat(getGeofenceFieldKey(id, KEY_LATITUDE), (float) geofence.getLatitude()); in setGeofence()
90 prefs.putFloat(getGeofenceFieldKey(id, KEY_LONGITUDE), (float) geofence.getLongitude()); in setGeofence()
91 prefs.putFloat(getGeofenceFieldKey(id, KEY_RADIUS), geofence.getRadius()); in setGeofence()
92 prefs.putLong(getGeofenceFieldKey(id, KEY_EXPIRATION_DURATION), in setGeofence()
94 prefs.putInt(getGeofenceFieldKey(id, KEY_TRANSITION_TYPE), in setGeofence()
[all …]