Skip to content

Instantly share code, notes, and snippets.

@papamitra
Created June 27, 2010 07:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save papamitra/454723 to your computer and use it in GitHub Desktop.
Save papamitra/454723 to your computer and use it in GitHub Desktop.
// MapController(Dummy)
package com.google.android.maps;
import android.view.KeyEvent;
import android.view.View;
public final class MapController implements android.view.View.OnKeyListener {
MapController(MapView mapView) {
}
public void animateTo(GeoPoint point){
}
public void animateTo(GeoPoint point, android.os.Message message){
}
public void animateTo(GeoPoint point, java.lang.Runnable runnable){
}
@Override
public boolean onKey(View v, int keyCode, KeyEvent event) {
throw new RuntimeException("stub");
}
public void scrollBy(int x, int y){
}
public void setCenter(GeoPoint point) {
}
public int setZoom(int zoomLevel) {
throw new RuntimeException("stub");
}
public void stopAnimation(boolean jumpToFinish){
}
public void stopPanning(){
}
public boolean zoomIn() {
throw new RuntimeException("stub");
}
public boolean zoomInFixing(int xPixel, int yPixel) {
throw new RuntimeException("stub");
}
public boolean zoomOut() {
throw new RuntimeException("stub");
}
public boolean zoomOutFixing(int xPixel, int yPixel) {
throw new RuntimeException("stub");
}
public void zoomToSpan(int latSpanE6, int lonSpanE6){
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment