Home | History | Annotate | Download | only in location

Lines Matching refs:Geofence

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) {
109 return Geofence.createCircle(latitude, longitude, radius);
112 public Geofence[] newArray(int size) {
113 return new Geofence[size];
142 return String.format("Geofence[%s %.6f, %.6f %.0fm]",
169 if (!(obj instanceof Geofence))
171 Geofence other = (Geofence) obj;