Searched refs:mDistanceToCenter (Results 1 – 1 of 1) sorted by relevance
44 double mDistanceToCenter; // current distance to center of fence field in GeofenceState49 mDistanceToCenter = Double.MAX_VALUE; in GeofenceState()68 mDistanceToCenter = mLocation.distanceTo(location); in processLocation()72 boolean inside = mDistanceToCenter <= Math.max(mFence.getRadius(), location.getAccuracy()); in processLocation()92 if (Double.compare(mDistanceToCenter, Double.MAX_VALUE) == 0) { in getDistanceToBoundary()95 return Math.abs(mFence.getRadius() - mDistanceToCenter); in getDistanceToBoundary()112 return String.format("%s d=%.0f %s", mFence.toString(), mDistanceToCenter, state); in toString()