Searched refs:coarse (Results 1 – 4 of 4) sorted by relevance
150 Location coarse = new Location(fine); in createCoarse() local153 coarse.removeBearing(); in createCoarse()154 coarse.removeSpeed(); in createCoarse()155 coarse.removeAltitude(); in createCoarse()156 coarse.setExtras(null); in createCoarse()158 double latitude = wrapLatitude(coarse.getLatitude()); in createCoarse()159 double longitude = wrapLongitude(coarse.getLongitude()); in createCoarse()176 coarse.setLatitude(latitude); in createCoarse()177 coarse.setLongitude(longitude); in createCoarse()178 coarse.setAccuracy(Math.max(mAccuracyM, coarse.getAccuracy())); in createCoarse()[all …]
79 Location coarse = mFudger.createCoarse(fine); in testCoarsen() local81 assertThat(coarse).isNotNull(); in testCoarsen()82 assertThat(coarse).isNotSameInstanceAs(fine); in testCoarsen()83 assertThat(coarse.hasBearing()).isFalse(); in testCoarsen()84 assertThat(coarse.hasSpeed()).isFalse(); in testCoarsen()85 assertThat(coarse.hasAltitude()).isFalse(); in testCoarsen()86 assertThat(coarse.getAccuracy()).isEqualTo(ACCURACY_M); in testCoarsen()87 assertThat(coarse.distanceTo(fine)).isGreaterThan(1F); in testCoarsen()88 assertThat(coarse).isNearby(fine, MAX_COARSE_FUDGE_DISTANCE_M); in testCoarsen()98 Location coarse = mFudger.createCoarse(fine); in testCoarsen_Consistent() local[all …]
328 Location coarse = mManager.getLastLocation(new LastLocationRequest.Builder().build(), in testGetLastLocation_Coarse() local330 assertThat(coarse).isNotEqualTo(loc); in testGetLastLocation_Coarse()331 assertThat(coarse).isNearby(loc, 5000); in testGetLastLocation_Coarse()
11973 // Deprecated as too coarse grained to be useful. Will be replaced