OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:geofence
(Results
1 - 3
of
3
) sorted by null
/developers/samples/android/wearable/wear/Geofencing/Application/src/main/java/com/example/android/geofencing/
SimpleGeofenceStore.java
33
* Storage for
geofence
values, implemented in SharedPreferences.
50
* Returns a stored
geofence
by its id, or returns null if it's not found.
51
* @param id The ID of a stored
geofence
.
55
// Get the latitude for the
geofence
identified by id, or INVALID_FLOAT_VALUE if it doesn't
81
* Save a
geofence
.
82
* @param
geofence
The SimpleGeofence with the values you want to save in SharedPreferences.
84
public void setGeofence(String id, SimpleGeofence
geofence
) {
88
// Write the
Geofence
values to SharedPreferences.
89
prefs.putFloat(getGeofenceFieldKey(id, KEY_LATITUDE), (float)
geofence
.getLatitude());
90
prefs.putFloat(getGeofenceFieldKey(id, KEY_LONGITUDE), (float)
geofence
.getLongitude())
[
all
...]
/development/samples/wearable/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/
SimpleGeofenceStore.java
33
* Storage for
geofence
values, implemented in SharedPreferences.
50
* Returns a stored
geofence
by its id, or returns null if it's not found.
51
* @param id The ID of a stored
geofence
.
55
// Get the latitude for the
geofence
identified by id, or INVALID_FLOAT_VALUE if it doesn't
81
* Save a
geofence
.
82
* @param
geofence
The SimpleGeofence with the values you want to save in SharedPreferences.
84
public void setGeofence(String id, SimpleGeofence
geofence
) {
88
// Write the
Geofence
values to SharedPreferences.
89
prefs.putFloat(getGeofenceFieldKey(id, KEY_LATITUDE), (float)
geofence
.getLatitude());
90
prefs.putFloat(getGeofenceFieldKey(id, KEY_LONGITUDE), (float)
geofence
.getLongitude())
[
all
...]
/hardware/libhardware/include/hardware/
fused_location.h
432
* There are 3 states associated with a
Geofence
: Inside, Outside, Unknown.
449
* Inside state: We are 95% confident that the user is inside the
geofence
.
450
* Outside state: We are 95% confident that the user is outside the
geofence
465
* whether it is inside or outside the
geofence
. If the accuracy remains the
472
* outside the
Geofence
. It moves to Unknown state only after the expiry of the
475
* The
geofence
callback needs to be triggered for the ENTERED and EXITED
477
* (Inside state) or exited (Outside state) the
Geofence
. An implementation
488
* appropriate (ENTERED or EXITED) transition for every
Geofence
it knows about.
494
* UNKNOWN transition described above is per
geofence
.
505
* The callback associated with the
geofence
621
}
geofence
;
member in struct:__anon40422
[
all
...]
Completed in 96 milliseconds