Import GingerCal 1.0 source

This commit is contained in:
xocko committed 2026-10-15 16:35:05 +02:00
commit 01f49852ab
116 files changed
+5079

No files matched your search

@@ -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);
}
+4
View File
@@ -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!"); } }
+15
View File
@@ -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();
}
+16
View File
@@ -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); }
}
+17
View File
@@ -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!"); }
}
+4
View File
@@ -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();
}
}
+7
View File
@@ -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!"); }
}