Home
last modified time | relevance | path

Searched refs:lat (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/location/
DLocationFudger.java209 double lat = coarse.getLatitude(); in createCoarseLocked() local
213 lat = wrapLatitude(lat); in createCoarseLocked()
226 lon += metersToDegreesLongitude(mOffsetLongitudeMeters, lat); in createCoarseLocked()
227 lat += metersToDegreesLatitude(mOffsetLatitudeMeters); in createCoarseLocked()
232 lat = wrapLatitude(lat); in createCoarseLocked()
246 lat = Math.round(lat / latGranularity) * latGranularity; in createCoarseLocked()
247 double lonGranularity = metersToDegreesLongitude(mGridSizeInMeters, lat); in createCoarseLocked()
251 lat = wrapLatitude(lat); in createCoarseLocked()
255 coarse.setLatitude(lat); in createCoarseLocked()
305 private static double wrapLatitude(double lat) { in wrapLatitude() argument
[all …]
/frameworks/base/telephony/java/android/telephony/
DCellIdentityCdma.java93 int nid, int sid, int bid, int lon, int lat, String alphal, String alphas) { in CellIdentityCdma() argument
98 lat = inRangeOrUnavailable(lat, LATITUDE_MIN, LATITUDE_MAX); in CellIdentityCdma()
101 if (!isNullIsland(lat, lon)) { in CellIdentityCdma()
103 mLatitude = lat; in CellIdentityCdma()
144 private boolean isNullIsland(int lat, int lon) { in isNullIsland() argument
145 return Math.abs(lat) <= 1 && Math.abs(lon) <= 1; in isNullIsland()
/frameworks/base/tests/JankBench/app/src/main/jni/
DBench.cpp270 double lat = dt / (loops * mMemLoopCount); in runMemoryLatencyTest() local
271 __android_log_print(ANDROID_LOG_INFO, "bench", "latency ret %f", lat); in runMemoryLatencyTest()
281 return (float)lat; in runMemoryLatencyTest()
/frameworks/base/tests/LargeAssetTest/src/com/android/largeassettest/
DLargeAssetTest.java44 setContentView(R.layout.lat); in onCreate()