Searched refs:mapCenter (Results 1 – 2 of 2) sorted by relevance
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowMapView.java | 31 GeoPoint mapCenter = new GeoPoint(10, 10); field in ShadowMapView 111 …point.y = scaleDegree(geoPoint.getLatitudeE6(), bottom, top, mapCenter.getLatitudeE6(), latitudeSp… in getProjection() 112 …point.x = scaleDegree(geoPoint.getLongitudeE6(), left, right, mapCenter.getLongitudeE6(), longitud… in getProjection() 117 …int lat = scalePixel(y, bottom, -realMapView.getHeight(), mapCenter.getLatitudeE6(), latitudeSpan); in getProjection() 118 … int lng = scalePixel(x, left, realMapView.getWidth(), mapCenter.getLongitudeE6(), longitudeSpan); in getProjection() 152 return mapCenter; in getMapCenter() 220 Point center = getProjection().toPixels(mapCenter, null); in moveByPixels() 222 mapCenter = getProjection().fromPixels(center.x, center.y); in moveByPixels()
|
D | ShadowMapController.java | 32 shadowMapView.mapCenter = geoPoint; in setCenter()
|