/frameworks/base/location/java/android/location/ |
Geofence.aidl | 19 parcelable Geofence;
|
Geofence.java | 23 * Represents a geographical boundary, also known as a geofence. 29 public final class Geofence implements Parcelable { 39 * Create a circular geofence (on a flat, horizontal plane). 44 * @return a new geofence 47 public static Geofence createCircle(double latitude, double longitude, float radius) { 48 return new Geofence(latitude, longitude, radius); 51 private Geofence(double latitude, double longitude, float radius) { 101 public static final Parcelable.Creator<Geofence> CREATOR = new Parcelable.Creator<Geofence>() { 103 public Geofence createFromParcel(Parcel in) [all...] |
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);
|
LocationManager.java | [all...] |
/developers/build/prebuilts/gradle/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/ |
SimpleGeofence.java | 19 import com.google.android.gms.location.Geofence; 22 * A single Geofence object, defined by its center and radius. 35 * @param geofenceId The Geofence's request ID. 36 * @param latitude Latitude of the Geofence's center in degrees. 37 * @param longitude Longitude of the Geofence's center in degrees. 38 * @param radius Radius of the geofence circle in meters. 39 * @param expiration Geofence expiration duration. 40 * @param transition Type of Geofence transition. 74 * Creates a Location Services Geofence object from a SimpleGeofence. 75 * @return A Geofence object [all...] |
Constants.java | 21 import com.google.android.gms.location.Geofence; 38 public static final long GEOFENCE_EXPIRATION_TIME = Geofence.NEVER_EXPIRE; 40 // Geofence parameters for the Android building on Google's main campus in Mountain View. 46 // Geofence parameters for the Yerba Buena Gardens near the Moscone Center in San Francisco. 55 // Path for the DataItem containing the last geofence id entered. 69 // The prefix for flattened geofence keys. 72 // Invalid values, used to test geofence storage when retrieving geofences.
|
MainActivity.java | 44 import com.google.android.gms.location.Geofence; 53 // Internal List of Geofence objects. In a real app, these might be provided by an API based on 55 List<Geofence> mGeofenceList; 65 // Stores the PendingIntent used to request geofence monitoring. 76 // Rather than displayng this activity, simply display a toast indicating that the geofence 92 // Instantiate a new geofence storage area. 95 mGeofenceList = new ArrayList<Geofence>(); 104 // Create internal "flattened" objects containing the geofence data. 111 Geofence.GEOFENCE_TRANSITION_ENTER | Geofence.GEOFENCE_TRANSITION_EXI [all...] |
GeofenceTransitionsIntentService.java | 33 import com.google.android.gms.location.Geofence; 41 * Listens for geofence transition changes. 76 if (Geofence.GEOFENCE_TRANSITION_ENTER == transitionType) { 79 // Get the geofence id triggered. Note that only one geofence can be triggered at a 84 // Create a DataItem with this geofence's id. The wearable can use this to create 99 } else if (Geofence.GEOFENCE_TRANSITION_EXIT == transitionType) { 100 // Delete the data item when leaving a geofence region.
|
/developers/samples/android/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/ |
SimpleGeofence.java | 19 import com.google.android.gms.location.Geofence; 22 * A single Geofence object, defined by its center and radius. 35 * @param geofenceId The Geofence's request ID. 36 * @param latitude Latitude of the Geofence's center in degrees. 37 * @param longitude Longitude of the Geofence's center in degrees. 38 * @param radius Radius of the geofence circle in meters. 39 * @param expiration Geofence expiration duration. 40 * @param transition Type of Geofence transition. 74 * Creates a Location Services Geofence object from a SimpleGeofence. 75 * @return A Geofence object [all...] |
Constants.java | 21 import com.google.android.gms.location.Geofence; 38 public static final long GEOFENCE_EXPIRATION_TIME = Geofence.NEVER_EXPIRE; 40 // Geofence parameters for the Android building on Google's main campus in Mountain View. 46 // Geofence parameters for the Yerba Buena Gardens near the Moscone Center in San Francisco. 55 // Path for the DataItem containing the last geofence id entered. 69 // The prefix for flattened geofence keys. 72 // Invalid values, used to test geofence storage when retrieving geofences.
|
MainActivity.java | 44 import com.google.android.gms.location.Geofence; 53 // Internal List of Geofence objects. In a real app, these might be provided by an API based on 55 List<Geofence> mGeofenceList; 65 // Stores the PendingIntent used to request geofence monitoring. 76 // Rather than displayng this activity, simply display a toast indicating that the geofence 92 // Instantiate a new geofence storage area. 95 mGeofenceList = new ArrayList<Geofence>(); 104 // Create internal "flattened" objects containing the geofence data. 111 Geofence.GEOFENCE_TRANSITION_ENTER | Geofence.GEOFENCE_TRANSITION_EXI [all...] |
GeofenceTransitionsIntentService.java | 33 import com.google.android.gms.location.Geofence; 41 * Listens for geofence transition changes. 76 if (Geofence.GEOFENCE_TRANSITION_ENTER == transitionType) { 79 // Get the geofence id triggered. Note that only one geofence can be triggered at a 84 // Create a DataItem with this geofence's id. The wearable can use this to create 99 } else if (Geofence.GEOFENCE_TRANSITION_EXIT == transitionType) { 100 // Delete the data item when leaving a geofence region.
|
/development/samples/browseable/Geofencing/Application/src/com.example.android.wearable.geofencing/ |
SimpleGeofence.java | 19 import com.google.android.gms.location.Geofence; 22 * A single Geofence object, defined by its center and radius. 35 * @param geofenceId The Geofence's request ID. 36 * @param latitude Latitude of the Geofence's center in degrees. 37 * @param longitude Longitude of the Geofence's center in degrees. 38 * @param radius Radius of the geofence circle in meters. 39 * @param expiration Geofence expiration duration. 40 * @param transition Type of Geofence transition. 74 * Creates a Location Services Geofence object from a SimpleGeofence. 75 * @return A Geofence object [all...] |
Constants.java | 21 import com.google.android.gms.location.Geofence; 38 public static final long GEOFENCE_EXPIRATION_TIME = Geofence.NEVER_EXPIRE; 40 // Geofence parameters for the Android building on Google's main campus in Mountain View. 46 // Geofence parameters for the Yerba Buena Gardens near the Moscone Center in San Francisco. 55 // Path for the DataItem containing the last geofence id entered. 69 // The prefix for flattened geofence keys. 72 // Invalid values, used to test geofence storage when retrieving geofences.
|
MainActivity.java | 44 import com.google.android.gms.location.Geofence; 53 // Internal List of Geofence objects. In a real app, these might be provided by an API based on 55 List<Geofence> mGeofenceList; 65 // Stores the PendingIntent used to request geofence monitoring. 76 // Rather than displayng this activity, simply display a toast indicating that the geofence 92 // Instantiate a new geofence storage area. 95 mGeofenceList = new ArrayList<Geofence>(); 104 // Create internal "flattened" objects containing the geofence data. 111 Geofence.GEOFENCE_TRANSITION_ENTER | Geofence.GEOFENCE_TRANSITION_EXI [all...] |
GeofenceTransitionsIntentService.java | 33 import com.google.android.gms.location.Geofence; 41 * Listens for geofence transition changes. 76 if (Geofence.GEOFENCE_TRANSITION_ENTER == transitionType) { 79 // Get the geofence id triggered. Note that only one geofence can be triggered at a 84 // Create a DataItem with this geofence's id. The wearable can use this to create 99 } else if (Geofence.GEOFENCE_TRANSITION_EXIT == transitionType) { 100 // Delete the data item when leaving a geofence region.
|
/frameworks/base/services/core/java/com/android/server/location/ |
GeofenceState.java | 21 import android.location.Geofence; 25 * Represents state associated with a geofence 35 public final Geofence mFence; 46 public GeofenceState(Geofence fence, long expireAt,
|
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...] |
/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...] |
/frameworks/base/docs/html/ |
gms_navtree_data.js | [all...] |
/external/chromium_org/third_party/android_platform/webview/ |
frameworks.jar | |