Skip to content

Instantly share code, notes, and snippets.

@papamitra
Created June 27, 2010 07:20
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/454727 to your computer and use it in GitHub Desktop.
Save papamitra/454727 to your computer and use it in GitHub Desktop.
// MapView(Dummy)
package com.google.android.maps;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.os.Bundle;
import android.util.AttributeSet;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewGroup.LayoutParams;
import android.widget.ZoomButtonsController;
import java.util.List;
public class MapView extends ViewGroup
{
public MapView(Context paramContext, String paramString)
{
super(paramContext);
}
public MapView(Context paramContext, AttributeSet paramAttributeSet)
{
super(paramContext);
}
public MapView(Context paramContext, AttributeSet paramAttributeSet, int paramInt)
{
super(paramContext);
}
protected void onSizeChanged(int paramInt1, int paramInt2, int paramInt3, int paramInt4)
{
throw new RuntimeException("stub");
}
protected void onDetachedFromWindow() { throw new RuntimeException("stub"); }
public void computeScroll() { throw new RuntimeException("stub"); }
public boolean isOpaque() { throw new RuntimeException("stub"); }
protected final void onDraw(Canvas paramCanvas) { throw new RuntimeException("stub"); }
protected final void onMeasure(int paramInt1, int paramInt2) { throw new RuntimeException("stub"); }
public void onWindowFocusChanged(boolean paramBoolean) { throw new RuntimeException("stub"); }
public void onFocusChanged(boolean paramBoolean, int paramInt, Rect paramRect) { throw new RuntimeException("stub"); }
public boolean onKeyDown(int paramInt, KeyEvent paramKeyEvent) { throw new RuntimeException("stub"); }
public boolean onKeyUp(int paramInt, KeyEvent paramKeyEvent) { throw new RuntimeException("stub"); }
public boolean onTrackballEvent(MotionEvent paramMotionEvent) { throw new RuntimeException("stub"); }
public boolean onTouchEvent(MotionEvent paramMotionEvent) { throw new RuntimeException("stub"); }
protected LayoutParams generateDefaultLayoutParams() { throw new RuntimeException("stub"); }
protected void onLayout(boolean paramBoolean, int paramInt1, int paramInt2, int paramInt3, int paramInt4) { throw new RuntimeException("stub"); }
public ViewGroup.LayoutParams generateLayoutParams(AttributeSet paramAttributeSet) { throw new RuntimeException("stub"); }
protected boolean checkLayoutParams(ViewGroup.LayoutParams paramLayoutParams) { throw new RuntimeException("stub"); }
protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams paramLayoutParams) { throw new RuntimeException("stub"); }
public void displayZoomControls(boolean paramBoolean) { throw new RuntimeException("stub"); }
public boolean canCoverCenter() { throw new RuntimeException("stub"); }
public void preLoad() { throw new RuntimeException("stub"); }
public int getZoomLevel() { throw new RuntimeException("stub"); }
public void setSatellite(boolean paramBoolean) { throw new RuntimeException("stub"); }
public boolean isSatellite() { throw new RuntimeException("stub"); }
public void setTraffic(boolean paramBoolean) { throw new RuntimeException("stub"); }
public boolean isTraffic() { throw new RuntimeException("stub"); }
public void setStreetView(boolean paramBoolean) { throw new RuntimeException("stub"); }
public boolean isStreetView() { throw new RuntimeException("stub"); }
public GeoPoint getMapCenter() { throw new RuntimeException("stub"); }
public MapController getController() { throw new RuntimeException("stub"); }
public final List<Overlay> getOverlays() { throw new RuntimeException("stub"); }
public int getLatitudeSpan() { throw new RuntimeException("stub"); }
public int getLongitudeSpan() { throw new RuntimeException("stub"); }
public void setReticleDrawMode(ReticleDrawMode paramReticleDrawMode) { throw new RuntimeException("stub"); }
public int getMaxZoomLevel() { throw new RuntimeException("stub"); }
public void onSaveInstanceState(Bundle paramBundle) { throw new RuntimeException("stub"); }
public void onRestoreInstanceState(Bundle paramBundle) { throw new RuntimeException("stub"); }
@Deprecated
public View getZoomControls() { throw new RuntimeException("stub"); }
public ZoomButtonsController getZoomButtonsController() { throw new RuntimeException("stub"); }
public void setBuiltInZoomControls(boolean paramBoolean) { throw new RuntimeException("stub"); }
public Projection getProjection() { throw new RuntimeException("stub"); }
public static class LayoutParams extends ViewGroup.LayoutParams { public static final int MODE_MAP = 0;
public static final int MODE_VIEW = 1;
public int mode;
public GeoPoint point;
public int x;
public int y;
public int alignment;
public static final int LEFT = 3;
public static final int RIGHT = 5;
public static final int TOP = 48;
public static final int BOTTOM = 80;
public static final int CENTER_HORIZONTAL = 1;
public static final int CENTER_VERTICAL = 16;
public static final int CENTER = 17;
public static final int TOP_LEFT = 51;
public static final int BOTTOM_CENTER = 81;
public LayoutParams(int paramInt1, int paramInt2, GeoPoint paramGeoPoint, int paramInt3) { super(paramInt1, paramInt2);}
public LayoutParams(int paramInt1, int paramInt2, GeoPoint paramGeoPoint, int paramInt3, int paramInt4, int paramInt5) { super(paramInt1, paramInt2); }
public LayoutParams(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5) { super(paramInt1, paramInt2);}
public LayoutParams(Context paramContext, AttributeSet paramAttributeSet) { super(paramContext, paramAttributeSet);}
public LayoutParams(ViewGroup.LayoutParams paramLayoutParams) { super(paramLayoutParams); }
public String debug(String paramString) { throw new RuntimeException("stub"); }
}
public static enum ReticleDrawMode
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment