com.xtremelabs.robolectric.shadows
Class ShadowMapView
java.lang.Object
com.xtremelabs.robolectric.shadows.ShadowView
com.xtremelabs.robolectric.shadows.ShadowViewGroup
com.xtremelabs.robolectric.shadows.ShadowMapView
@Implements(value=com.google.android.maps.MapView.class)
public class ShadowMapView
- extends ShadowViewGroup
Constructor Summary |
ShadowMapView(com.google.android.maps.MapView mapView)
|
Methods inherited from class com.xtremelabs.robolectric.shadows.ShadowView |
__constructor__, __constructor__, clearWasInvalidated, dump, dumpFirstPart, dumpIndent, getBackgroundResourceId, getBottom, getContext, getHeight, getId, getLayoutParams, getLeft, getMeasuredWidth, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getParent, getResources, getRight, getRootView, getTag, getTag, getTop, getVisibility, getWidth, inflate, invalidate, isClickable, isEnabled, isFocusable, isFocusableInTouchMode, isFocused, isSelected, layout, performClick, requestFocus, requestFocus, setBackgroundResource, setBottom, setClickable, setEnabled, setFocusable, setFocusableInTouchMode, setFocused, setId, setLayoutParams, setLeft, setOnClickListener, setOnFocusChangeListener, setOnKeyListener, setOnTouchListener, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setRight, setSelected, setTag, setTag, setTop, setViewFocus, setVisibility, wasInvalidated |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShadowMapView
public ShadowMapView(com.google.android.maps.MapView mapView)
__constructor__
public void __constructor__(android.content.Context context,
java.lang.String title)
toE6
public static int toE6(double d)
fromE6
public static double fromE6(int i)
setSatellite
@Implementation
public void setSatellite(boolean satelliteOn)
isSatellite
@Implementation
public boolean isSatellite()
canCoverCenter
@Implementation
public boolean canCoverCenter()
getController
@Implementation
public com.google.android.maps.MapController getController()
getZoomButtonsController
@Implementation
public android.widget.ZoomButtonsController getZoomButtonsController()
setBuiltInZoomControls
@Implementation
public void setBuiltInZoomControls(boolean useBuiltInZoomMapControls)
getProjection
@Implementation
public com.google.android.maps.Projection getProjection()
getOverlays
@Implementation
public java.util.List<com.google.android.maps.Overlay> getOverlays()
getMapCenter
@Implementation
public com.google.android.maps.GeoPoint getMapCenter()
getLatitudeSpan
@Implementation
public int getLatitudeSpan()
getLongitudeSpan
@Implementation
public int getLongitudeSpan()
getZoomLevel
@Implementation
public int getZoomLevel()
dispatchTouchEvent
@Implementation
public boolean dispatchTouchEvent(android.view.MotionEvent event)
- Overrides:
dispatchTouchEvent
in class ShadowView
preLoad
@Implementation
public void preLoad()
getMapController
public com.google.android.maps.MapController getMapController()
getShadowMapController
public ShadowMapController getShadowMapController()
getUseBuiltInZoomMapControls
public boolean getUseBuiltInZoomMapControls()
isPreLoadWasCalled
public boolean isPreLoadWasCalled()
isCanCoverCenter
public boolean isCanCoverCenter()
setLatitudeSpan
public void setLatitudeSpan(int latitudeSpan)
setLongitudeSpan
public void setLongitudeSpan(int longitudeSpan)
setCanCoverCenter
public void setCanCoverCenter(boolean canCoverCenter)