/developers/build/prebuilts/gradle/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...] |
/developers/samples/android/wearable/wear/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...] |
/development/samples/browseable/Geofencing/Application/src/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...] |
/frameworks/base/services/core/java/com/android/server/location/ |
GeofenceManager.java | 28 import android.location.Geofence; 119 public void addFence(LocationRequest request, Geofence geofence, PendingIntent intent, 122 Slog.d(TAG, "addFence: request=" + request + ", geofence=" + geofence 126 GeofenceState state = new GeofenceState(geofence, 132 if (geofence.equals(w.mFence) && intent.equals(w.mIntent)) { 143 public void removeFence(Geofence fence, PendingIntent intent) { 234 * The geofence update loop. This function removes expired fences, then tests the most 261 Slog.d(TAG, "skipping geofence processing for blacklisted app: [all...] |
/frameworks/base/location/java/android/location/ |
ILocationManager.aidl | 23 import android.location.Geofence; 45 void requestGeofence(in LocationRequest request, in Geofence geofence, 47 void removeGeofence(in Geofence fence, in PendingIntent intent, String packageName);
|
/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:__anon41336 [all...] |
/frameworks/base/services/core/jni/ |
com_android_server_location_FlpHardwareProvider.cpp | 307 * Helper function to unwrap Geofence structures from the Java Runtime calls. 312 Geofence& geofence) { 316 geofence.geofence_id = env->CallIntMethod(geofenceRequestObject, getId); 320 // the same notion of geofence types 325 geofence.data->type = type; 326 GeofenceCircle& circle = geofence.data->geofence.circle; 343 GeofenceOptions* options = geofence.options; 864 Geofence* geofences = new Geofence[geofenceRequestsCount] [all...] |
/frameworks/base/services/core/java/com/android/server/ |
LocationManagerService.java | 62 import android.location.Geofence; 507 // bind to geofence provider 516 Slog.e(TAG, "Unable to bind FLP Geofence proxy."); [all...] |
/external/chromium_org/third_party/android_platform/webview/ |
frameworks.jar | |