35 lines
2.2 KiB
Java
35 lines
2.2 KiB
Java
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
|
package android.view;
|
|
|
|
public class View {
|
|
public static final int VISIBLE = 0;
|
|
public static final int GONE = 8;
|
|
public View(android.content.Context context) { throw new RuntimeException("Stub!"); }
|
|
public interface OnClickListener { void onClick(View v); }
|
|
public void setOnClickListener(OnClickListener l) { throw new RuntimeException("Stub!"); }
|
|
public void setPadding(int left, int top, int right, int bottom) { throw new RuntimeException("Stub!"); }
|
|
public void setBackgroundColor(int color) { throw new RuntimeException("Stub!"); }
|
|
public void setVisibility(int visibility) { throw new RuntimeException("Stub!"); }
|
|
public Object getTag() { throw new RuntimeException("Stub!"); }
|
|
public void setTag(Object tag) { throw new RuntimeException("Stub!"); }
|
|
public void setEnabled(boolean enabled) { throw new RuntimeException("Stub!"); }
|
|
public final ViewParent getParent() { throw new RuntimeException("Stub!"); }
|
|
public final int getWidth() { throw new RuntimeException("Stub!"); }
|
|
public final int getHeight() { throw new RuntimeException("Stub!"); }
|
|
public void invalidate() { throw new RuntimeException("Stub!"); }
|
|
protected void onDraw(android.graphics.Canvas canvas) { throw new RuntimeException("Stub!"); }
|
|
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { throw new RuntimeException("Stub!"); }
|
|
protected final void setMeasuredDimension(int measuredWidth, int measuredHeight) { throw new RuntimeException("Stub!"); }
|
|
public boolean onTouchEvent(MotionEvent event) { throw new RuntimeException("Stub!"); }
|
|
public boolean performHapticFeedback(int feedbackConstant) { throw new RuntimeException("Stub!"); }
|
|
public static class MeasureSpec {
|
|
public static final int UNSPECIFIED = 0;
|
|
public static final int EXACTLY = 1073741824;
|
|
public static final int AT_MOST = -2147483648;
|
|
public MeasureSpec() { throw new RuntimeException("Stub!"); }
|
|
public static int getMode(int measureSpec) { throw new RuntimeException("Stub!"); }
|
|
public static int getSize(int measureSpec) { throw new RuntimeException("Stub!"); }
|
|
}
|
|
public void setBackgroundResource(int resid) { throw new RuntimeException("Stub!"); }
|
|
}
|