Home
last modified time | relevance | path

Searched refs:toE6 (Results 1 – 2 of 2) sorted by relevance

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DMapViewTest.java15 import static com.xtremelabs.robolectric.shadows.ShadowMapView.toE6;
83 assertThat(mapView.getMapCenter(), equalTo(new GeoPoint(toE6(26), toE6(24)))); in dispatchTouchEvents_shouldDragMapByCorrectAmount()
94 assertThat(mapView.getMapCenter(), equalTo(new GeoPoint(toE6(26), toE6(24)))); in dispatchTouchEvents_shouldDragMapByCorrectAmountInMultipleSteps()
105 assertThat(mapView.getMapCenter(), equalTo(new GeoPoint(toE6(25), toE6(25)))); in dispatchTouchEvents_shouldMoveBackToCenterOnCancel()
111 mapView.getController().setCenter(new GeoPoint(toE6(25), toE6(25))); in initMapForDrag()
112 mapView.getController().zoomToSpan(toE6(50), toE6(50)); in initMapForDrag()
122 mapView.getController().setCenter(new GeoPoint(toE6(centerLat), toE6(centerLng))); in getProjection_fromPixels_shouldPerformCorrectTranslations()
123 mapView.getController().zoomToSpan(toE6(spanLat), toE6(spanLng)); in getProjection_fromPixels_shouldPerformCorrectTranslations()
127 equalTo(new GeoPoint(toE6(21), toE6(1)))); in getProjection_fromPixels_shouldPerformCorrectTranslations()
129 equalTo(new GeoPoint(toE6(11), toE6(16)))); in getProjection_fromPixels_shouldPerformCorrectTranslations()
[all …]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowMapView.java55 public static int toE6(double d) { in toE6() method in ShadowMapView