Import GingerCal 1.0 source
This commit is contained in:
commit
01f49852ab
116 files changed
+5079
No files matched your search
@@ -0,0 +1,15 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.app;
|
||||
|
||||
public class Activity extends android.view.ContextThemeWrapper {
|
||||
public Activity() { throw new RuntimeException("Stub!"); }
|
||||
protected void onCreate(android.os.Bundle savedInstanceState) { throw new RuntimeException("Stub!"); }
|
||||
protected void onResume() { throw new RuntimeException("Stub!"); }
|
||||
protected void onPause() { throw new RuntimeException("Stub!"); }
|
||||
public void setTitle(CharSequence title) { throw new RuntimeException("Stub!"); }
|
||||
public void setContentView(android.view.View view) { throw new RuntimeException("Stub!"); }
|
||||
public boolean onCreateOptionsMenu(android.view.Menu menu) { throw new RuntimeException("Stub!"); }
|
||||
public boolean onOptionsItemSelected(android.view.MenuItem item) { throw new RuntimeException("Stub!"); }
|
||||
public android.content.Intent getIntent() { throw new RuntimeException("Stub!"); }
|
||||
public void finish() { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.app;
|
||||
|
||||
public class AlarmManager {
|
||||
AlarmManager() { throw new RuntimeException("Stub!"); }
|
||||
public void set(int type, long triggerAtTime, PendingIntent operation) { throw new RuntimeException("Stub!"); }
|
||||
public void setInexactRepeating(int type, long triggerAtTime, long interval, PendingIntent operation) { throw new RuntimeException("Stub!"); }
|
||||
public void cancel(PendingIntent operation) { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.app;
|
||||
|
||||
public class AlertDialog extends Dialog {
|
||||
protected AlertDialog() { throw new RuntimeException("Stub!"); }
|
||||
public static class Builder {
|
||||
public Builder(android.content.Context context) { throw new RuntimeException("Stub!"); }
|
||||
public Builder setTitle(CharSequence title) { throw new RuntimeException("Stub!"); }
|
||||
public Builder setMessage(CharSequence message) { throw new RuntimeException("Stub!"); }
|
||||
public Builder setPositiveButton(CharSequence text, android.content.DialogInterface.OnClickListener listener) { throw new RuntimeException("Stub!"); }
|
||||
public Builder setNegativeButton(CharSequence text, android.content.DialogInterface.OnClickListener listener) { throw new RuntimeException("Stub!"); }
|
||||
public Builder setNeutralButton(CharSequence text, android.content.DialogInterface.OnClickListener listener) { throw new RuntimeException("Stub!"); }
|
||||
public Builder setItems(CharSequence[] items, android.content.DialogInterface.OnClickListener listener) { throw new RuntimeException("Stub!"); }
|
||||
public AlertDialog show() { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.app;
|
||||
|
||||
public class DatePickerDialog extends AlertDialog {
|
||||
public DatePickerDialog(android.content.Context context, OnDateSetListener callBack, int year, int monthOfYear, int dayOfMonth) { throw new RuntimeException("Stub!"); }
|
||||
public interface OnDateSetListener { void onDateSet(android.widget.DatePicker view, int year, int monthOfYear, int dayOfMonth); }
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.app;
|
||||
|
||||
public class Dialog implements android.content.DialogInterface {
|
||||
public void show() { throw new RuntimeException("Stub!"); }
|
||||
public void dismiss() { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.app;
|
||||
|
||||
public abstract class IntentService extends Service {
|
||||
public IntentService(String name) { throw new RuntimeException("Stub!"); }
|
||||
protected abstract void onHandleIntent(android.content.Intent intent);
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.app;
|
||||
|
||||
public class Notification {
|
||||
public int flags;
|
||||
public int defaults;
|
||||
public Notification(int icon, CharSequence tickerText, long when) { throw new RuntimeException("Stub!"); }
|
||||
public void setLatestEventInfo(android.content.Context context, CharSequence contentTitle, CharSequence contentText, PendingIntent contentIntent) { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.app;
|
||||
|
||||
public class NotificationManager {
|
||||
NotificationManager() { throw new RuntimeException("Stub!"); }
|
||||
public void notify(int id, Notification notification) { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.app;
|
||||
|
||||
public final class PendingIntent {
|
||||
PendingIntent() { throw new RuntimeException("Stub!"); }
|
||||
public static PendingIntent getBroadcast(android.content.Context context, int requestCode, android.content.Intent intent, int flags) { throw new RuntimeException("Stub!"); }
|
||||
public static PendingIntent getActivity(android.content.Context context, int requestCode, android.content.Intent intent, int flags) { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.app;
|
||||
|
||||
public class ProgressDialog extends AlertDialog {
|
||||
public static ProgressDialog show(android.content.Context context, CharSequence title, CharSequence message) { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.app;
|
||||
|
||||
public abstract class Service extends android.content.ContextWrapper { public Service() { super(null); throw new RuntimeException("Stub!"); } }
|
||||
@@ -0,0 +1,7 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.app;
|
||||
|
||||
public class TimePickerDialog extends AlertDialog {
|
||||
public TimePickerDialog(android.content.Context context, OnTimeSetListener callBack, int hourOfDay, int minute, boolean is24HourView) { throw new RuntimeException("Stub!"); }
|
||||
public interface OnTimeSetListener { void onTimeSet(android.widget.TimePicker view, int hourOfDay, int minute); }
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.content;
|
||||
|
||||
public abstract class BroadcastReceiver {
|
||||
public BroadcastReceiver() { throw new RuntimeException("Stub!"); }
|
||||
public abstract void onReceive(Context context, Intent intent);
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.content;
|
||||
|
||||
public final class ComponentName { private ComponentName() { throw new RuntimeException("Stub!"); } }
|
||||
@@ -0,0 +1,15 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.content;
|
||||
|
||||
public abstract class Context {
|
||||
public abstract Object getSystemService(String name);
|
||||
public abstract android.content.SharedPreferences getSharedPreferences(String name, int mode);
|
||||
public abstract android.content.res.Resources getResources();
|
||||
public abstract Context getApplicationContext();
|
||||
public abstract void startActivity(Intent intent);
|
||||
public abstract ComponentName startService(Intent service);
|
||||
public abstract void sendBroadcast(Intent intent);
|
||||
public abstract Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter);
|
||||
public abstract void unregisterReceiver(BroadcastReceiver receiver);
|
||||
public abstract String getPackageName();
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.content;
|
||||
|
||||
public class ContextWrapper extends Context {
|
||||
public ContextWrapper(Context base) { throw new RuntimeException("Stub!"); }
|
||||
public Object getSystemService(String name) { throw new RuntimeException("Stub!"); }
|
||||
public SharedPreferences getSharedPreferences(String name, int mode) { throw new RuntimeException("Stub!"); }
|
||||
public android.content.res.Resources getResources() { throw new RuntimeException("Stub!"); }
|
||||
public Context getApplicationContext() { throw new RuntimeException("Stub!"); }
|
||||
public void startActivity(Intent intent) { throw new RuntimeException("Stub!"); }
|
||||
public ComponentName startService(Intent service) { throw new RuntimeException("Stub!"); }
|
||||
public void sendBroadcast(Intent intent) { throw new RuntimeException("Stub!"); }
|
||||
public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { throw new RuntimeException("Stub!"); }
|
||||
public void unregisterReceiver(BroadcastReceiver receiver) { throw new RuntimeException("Stub!"); }
|
||||
public String getPackageName() { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.content;
|
||||
|
||||
public interface DialogInterface {
|
||||
void dismiss();
|
||||
interface OnClickListener { void onClick(DialogInterface dialog, int which); }
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.content;
|
||||
|
||||
public class Intent {
|
||||
public Intent(Context packageContext, Class<?> cls) { throw new RuntimeException("Stub!"); }
|
||||
public Intent(String action) { throw new RuntimeException("Stub!"); }
|
||||
public Intent putExtra(String name, boolean value) { throw new RuntimeException("Stub!"); }
|
||||
public Intent putExtra(String name, long value) { throw new RuntimeException("Stub!"); }
|
||||
public Intent putExtra(String name, String value) { throw new RuntimeException("Stub!"); }
|
||||
public String getStringExtra(String name) { throw new RuntimeException("Stub!"); }
|
||||
public boolean getBooleanExtra(String name, boolean defaultValue) { throw new RuntimeException("Stub!"); }
|
||||
public long getLongExtra(String name, long defaultValue) { throw new RuntimeException("Stub!"); }
|
||||
public String getAction() { throw new RuntimeException("Stub!"); }
|
||||
public Intent setAction(String action) { throw new RuntimeException("Stub!"); }
|
||||
public Intent setFlags(int flags) { throw new RuntimeException("Stub!"); }
|
||||
public Intent setPackage(String packageName) { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.content;
|
||||
|
||||
public class IntentFilter { public IntentFilter(String action) { throw new RuntimeException("Stub!"); } }
|
||||
@@ -0,0 +1,17 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.content;
|
||||
|
||||
public interface SharedPreferences {
|
||||
String getString(String key, String defValue);
|
||||
int getInt(String key, int defValue);
|
||||
long getLong(String key, long defValue);
|
||||
boolean getBoolean(String key, boolean defValue);
|
||||
Editor edit();
|
||||
interface Editor {
|
||||
Editor putString(String key, String value);
|
||||
Editor putInt(String key, int value);
|
||||
Editor putLong(String key, long value);
|
||||
Editor putBoolean(String key, boolean value);
|
||||
boolean commit();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.content.res;
|
||||
|
||||
public class Resources {
|
||||
public int getIdentifier(String name, String defType, String defPackage) { throw new RuntimeException("Stub!"); }
|
||||
public android.util.DisplayMetrics getDisplayMetrics() { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.database;
|
||||
|
||||
public interface Cursor {
|
||||
boolean moveToNext();
|
||||
String getString(int columnIndex);
|
||||
int getInt(int columnIndex);
|
||||
long getLong(int columnIndex);
|
||||
boolean isNull(int columnIndex);
|
||||
void close();
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.database.sqlite;
|
||||
|
||||
public class SQLiteDatabase {
|
||||
SQLiteDatabase() { throw new RuntimeException("Stub!"); }
|
||||
public interface CursorFactory {}
|
||||
public void execSQL(String sql) { throw new RuntimeException("Stub!"); }
|
||||
public void execSQL(String sql, Object[] bindArgs) { throw new RuntimeException("Stub!"); }
|
||||
public android.database.Cursor rawQuery(String sql, String[] selectionArgs) { throw new RuntimeException("Stub!"); }
|
||||
public void beginTransaction() { throw new RuntimeException("Stub!"); }
|
||||
public void setTransactionSuccessful() { throw new RuntimeException("Stub!"); }
|
||||
public void endTransaction() { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.database.sqlite;
|
||||
|
||||
public abstract class SQLiteOpenHelper {
|
||||
public SQLiteOpenHelper(android.content.Context context, String name, SQLiteDatabase.CursorFactory factory, int version) { throw new RuntimeException("Stub!"); }
|
||||
public abstract void onCreate(SQLiteDatabase db);
|
||||
public abstract void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion);
|
||||
public SQLiteDatabase getWritableDatabase() { throw new RuntimeException("Stub!"); }
|
||||
public SQLiteDatabase getReadableDatabase() { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.net;
|
||||
|
||||
public class ConnectivityManager { ConnectivityManager() { throw new RuntimeException("Stub!"); }
|
||||
public NetworkInfo getActiveNetworkInfo() { throw new RuntimeException("Stub!"); } }
|
||||
@@ -0,0 +1,5 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.net;
|
||||
|
||||
public class NetworkInfo { NetworkInfo() { throw new RuntimeException("Stub!"); }
|
||||
public boolean isConnected() { throw new RuntimeException("Stub!"); } }
|
||||
@@ -0,0 +1,10 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.os;
|
||||
|
||||
public abstract class AsyncTask<Params, Progress, Result> {
|
||||
public AsyncTask() { throw new RuntimeException("Stub!"); }
|
||||
protected abstract Result doInBackground(Params... params);
|
||||
protected void onPreExecute() { throw new RuntimeException("Stub!"); }
|
||||
protected void onPostExecute(Result result) { throw new RuntimeException("Stub!"); }
|
||||
public final AsyncTask<Params, Progress, Result> execute(Params... params) { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.os;
|
||||
|
||||
public final class Bundle { public Bundle() { throw new RuntimeException("Stub!"); } }
|
||||
@@ -0,0 +1,14 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.os;
|
||||
|
||||
public class PowerManager {
|
||||
PowerManager() { throw new RuntimeException("Stub!"); }
|
||||
public WakeLock newWakeLock(int flags, String tag) { throw new RuntimeException("Stub!"); }
|
||||
public class WakeLock {
|
||||
WakeLock() { throw new RuntimeException("Stub!"); }
|
||||
public void setReferenceCounted(boolean value) { throw new RuntimeException("Stub!"); }
|
||||
public void acquire(long timeout) { throw new RuntimeException("Stub!"); }
|
||||
public void release() { throw new RuntimeException("Stub!"); }
|
||||
public boolean isHeld() { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.text.format;
|
||||
|
||||
public class DateFormat { public DateFormat() { throw new RuntimeException("Stub!"); }
|
||||
public static boolean is24HourFormat(android.content.Context context) { throw new RuntimeException("Stub!"); } }
|
||||
@@ -0,0 +1,4 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.util;
|
||||
|
||||
public class DisplayMetrics { public float density; public DisplayMetrics() { throw new RuntimeException("Stub!"); } }
|
||||
@@ -0,0 +1,4 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.view;
|
||||
|
||||
public class ContextThemeWrapper extends android.content.ContextWrapper { public ContextThemeWrapper() { super(null); throw new RuntimeException("Stub!"); } }
|
||||
@@ -0,0 +1,4 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.view;
|
||||
|
||||
public interface Menu { MenuItem add(int groupId, int itemId, int order, CharSequence title); }
|
||||
@@ -0,0 +1,4 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.view;
|
||||
|
||||
public interface MenuItem { int getItemId(); MenuItem setIcon(int iconRes); }
|
||||
@@ -0,0 +1,16 @@
|
||||
// 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!"); }
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.view;
|
||||
|
||||
public abstract class ViewGroup extends View {
|
||||
public ViewGroup(android.content.Context context) { super(context); throw new RuntimeException("Stub!"); }
|
||||
public void addView(View child) { throw new RuntimeException("Stub!"); }
|
||||
public void addView(View child, LayoutParams params) { throw new RuntimeException("Stub!"); }
|
||||
public static class LayoutParams { public LayoutParams(int width, int height) { throw new RuntimeException("Stub!"); } }
|
||||
public static class MarginLayoutParams extends LayoutParams {
|
||||
public MarginLayoutParams(int width, int height) { super(width, height); throw new RuntimeException("Stub!"); }
|
||||
public void setMargins(int left, int top, int right, int bottom) { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.widget;
|
||||
|
||||
public abstract class AbsListView extends AdapterView<ListAdapter> { public AbsListView(android.content.Context context) { super(context); throw new RuntimeException("Stub!"); } }
|
||||
@@ -0,0 +1,11 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.widget;
|
||||
|
||||
public interface Adapter {
|
||||
int getCount();
|
||||
Object getItem(int position);
|
||||
long getItemId(int position);
|
||||
android.view.View getView(int position, android.view.View convertView, android.view.ViewGroup parent);
|
||||
int getItemViewType(int position);
|
||||
int getViewTypeCount();
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.widget;
|
||||
|
||||
public abstract class AdapterView<T extends Adapter> extends android.view.ViewGroup {
|
||||
public AdapterView(android.content.Context context) { super(context); throw new RuntimeException("Stub!"); }
|
||||
public interface OnItemClickListener { void onItemClick(AdapterView<?> parent, android.view.View view, int position, long id); }
|
||||
public void setOnItemClickListener(OnItemClickListener listener) { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.widget;
|
||||
|
||||
public abstract class BaseAdapter implements ListAdapter, SpinnerAdapter {
|
||||
public BaseAdapter() { throw new RuntimeException("Stub!"); }
|
||||
public void notifyDataSetChanged() { throw new RuntimeException("Stub!"); }
|
||||
public boolean areAllItemsEnabled() { throw new RuntimeException("Stub!"); }
|
||||
public boolean isEnabled(int position) { throw new RuntimeException("Stub!"); }
|
||||
public int getItemViewType(int position) { throw new RuntimeException("Stub!"); }
|
||||
public int getViewTypeCount() { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.widget;
|
||||
|
||||
public class Button extends TextView { public Button(android.content.Context context) { super(context); throw new RuntimeException("Stub!"); } }
|
||||
@@ -0,0 +1,4 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.widget;
|
||||
|
||||
public class CheckBox extends CompoundButton { public CheckBox(android.content.Context context) { super(context); throw new RuntimeException("Stub!"); } }
|
||||
@@ -0,0 +1,8 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.widget;
|
||||
|
||||
public abstract class CompoundButton extends Button {
|
||||
public CompoundButton(android.content.Context context) { super(context); throw new RuntimeException("Stub!"); }
|
||||
public void setChecked(boolean checked) { throw new RuntimeException("Stub!"); }
|
||||
public boolean isChecked() { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.widget;
|
||||
|
||||
public class DatePicker extends FrameLayout { DatePicker() { super(null); throw new RuntimeException("Stub!"); } }
|
||||
@@ -0,0 +1,4 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.widget;
|
||||
|
||||
public class EditText extends TextView { public EditText(android.content.Context context) { super(context); throw new RuntimeException("Stub!"); } }
|
||||
@@ -0,0 +1,4 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.widget;
|
||||
|
||||
public class FrameLayout extends android.view.ViewGroup { public FrameLayout(android.content.Context context) { super(context); throw new RuntimeException("Stub!"); } }
|
||||
@@ -0,0 +1,13 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.widget;
|
||||
|
||||
public class LinearLayout extends android.view.ViewGroup {
|
||||
public static final int HORIZONTAL = 0;
|
||||
public static final int VERTICAL = 1;
|
||||
public LinearLayout(android.content.Context context) { super(context); throw new RuntimeException("Stub!"); }
|
||||
public void setOrientation(int orientation) { throw new RuntimeException("Stub!"); }
|
||||
public static class LayoutParams extends android.view.ViewGroup.MarginLayoutParams {
|
||||
public LayoutParams(int width, int height) { super(width, height); throw new RuntimeException("Stub!"); }
|
||||
public LayoutParams(int width, int height, float weight) { super(width, height); throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.widget;
|
||||
|
||||
public interface ListAdapter extends Adapter { boolean areAllItemsEnabled(); boolean isEnabled(int position); }
|
||||
@@ -0,0 +1,7 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.widget;
|
||||
|
||||
public class ListView extends AbsListView {
|
||||
public ListView(android.content.Context context) { super(context); throw new RuntimeException("Stub!"); }
|
||||
public void setAdapter(ListAdapter adapter) { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.widget;
|
||||
|
||||
public class ScrollView extends FrameLayout { public ScrollView(android.content.Context context) { super(context); throw new RuntimeException("Stub!"); } }
|
||||
@@ -0,0 +1,4 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.widget;
|
||||
|
||||
public interface SpinnerAdapter extends Adapter {}
|
||||
@@ -0,0 +1,14 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.widget;
|
||||
|
||||
public class TextView extends android.view.View {
|
||||
public TextView(android.content.Context context) { super(context); throw new RuntimeException("Stub!"); }
|
||||
public final void setText(CharSequence text) { throw new RuntimeException("Stub!"); }
|
||||
public CharSequence getText() { throw new RuntimeException("Stub!"); }
|
||||
public void setTextSize(float size) { throw new RuntimeException("Stub!"); }
|
||||
public void setTextColor(int color) { throw new RuntimeException("Stub!"); }
|
||||
public final void setHint(CharSequence hint) { throw new RuntimeException("Stub!"); }
|
||||
public void setInputType(int type) { throw new RuntimeException("Stub!"); }
|
||||
public void setSingleLine(boolean singleLine) { throw new RuntimeException("Stub!"); }
|
||||
public void setMinLines(int minlines) { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.widget;
|
||||
|
||||
public class TimePicker extends FrameLayout { TimePicker() { super(null); throw new RuntimeException("Stub!"); } }
|
||||
@@ -0,0 +1,8 @@
|
||||
// Compile-only stub (API level 10 signatures). Never packaged into the APK.
|
||||
package android.widget;
|
||||
|
||||
public class Toast {
|
||||
Toast() { throw new RuntimeException("Stub!"); }
|
||||
public static Toast makeText(android.content.Context context, CharSequence text, int duration) { throw new RuntimeException("Stub!"); }
|
||||
public void show() { throw new RuntimeException("Stub!"); }
|
||||
}
|
||||
Reference in new issue
Block a user