update cmsdk api files to latest version
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
This commit is contained in:
parent
ffbabf1dbd
commit
70d33c2827
342
cmsdk/api/5.txt
342
cmsdk/api/5.txt
@ -196,6 +196,38 @@ package cyanogenmod.app {
|
||||
field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.app.CustomTileListenerService";
|
||||
}
|
||||
|
||||
public class LiveLockScreenInfo implements android.os.Parcelable {
|
||||
ctor public LiveLockScreenInfo(android.content.ComponentName, int);
|
||||
ctor public LiveLockScreenInfo();
|
||||
method public cyanogenmod.app.LiveLockScreenInfo clone();
|
||||
method public int describeContents();
|
||||
method public void writeToParcel(android.os.Parcel, int);
|
||||
field public static final android.os.Parcelable.Creator<cyanogenmod.app.LiveLockScreenInfo> CREATOR;
|
||||
field public static final int PRIORITY_DEFAULT = 0; // 0x0
|
||||
field public static final int PRIORITY_HIGH = 1; // 0x1
|
||||
field public static final int PRIORITY_LOW = -1; // 0xffffffff
|
||||
field public static final int PRIORITY_MAX = 2; // 0x2
|
||||
field public static final int PRIORITY_MIN = -2; // 0xfffffffe
|
||||
field public android.content.ComponentName component;
|
||||
field public int priority;
|
||||
}
|
||||
|
||||
public static class LiveLockScreenInfo.Builder {
|
||||
ctor public LiveLockScreenInfo.Builder();
|
||||
method public cyanogenmod.app.LiveLockScreenInfo build();
|
||||
method public cyanogenmod.app.LiveLockScreenInfo.Builder setComponent(android.content.ComponentName);
|
||||
method public cyanogenmod.app.LiveLockScreenInfo.Builder setPriority(int);
|
||||
}
|
||||
|
||||
public class LiveLockScreenManager {
|
||||
method public void cancel(int);
|
||||
method public cyanogenmod.app.LiveLockScreenInfo getDefaultLiveLockScreen();
|
||||
method public static cyanogenmod.app.LiveLockScreenManager getInstance(android.content.Context);
|
||||
method public void setDefaultLiveLockScreen(cyanogenmod.app.LiveLockScreenInfo);
|
||||
method public boolean show(int, cyanogenmod.app.LiveLockScreenInfo);
|
||||
field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.app.LiveLockScreenManagerService";
|
||||
}
|
||||
|
||||
public class PartnerInterface {
|
||||
method public java.lang.String getCurrentHotwordPackageName();
|
||||
method public static cyanogenmod.app.PartnerInterface getInstance(android.content.Context);
|
||||
@ -395,7 +427,7 @@ package cyanogenmod.externalviews {
|
||||
|
||||
protected abstract class KeyguardExternalViewProviderService.Provider {
|
||||
ctor protected KeyguardExternalViewProviderService.Provider(android.os.Bundle);
|
||||
method protected final void collapseNotificationPanel();
|
||||
method protected final deprecated void collapseNotificationPanel();
|
||||
method protected android.os.Bundle getOptions();
|
||||
method protected void onAttach();
|
||||
method protected abstract void onBouncerShowing(boolean);
|
||||
@ -403,11 +435,13 @@ package cyanogenmod.externalviews {
|
||||
method protected void onDetach();
|
||||
method protected abstract void onKeyguardDismissed();
|
||||
method protected abstract void onKeyguardShowing(boolean);
|
||||
method protected void onLockscreenSlideOffsetChanged(float);
|
||||
method protected abstract void onScreenTurnedOff();
|
||||
method protected abstract void onScreenTurnedOn();
|
||||
method protected final boolean requestDismiss();
|
||||
method protected final boolean requestDismissAndStartActivity(android.content.Intent);
|
||||
method protected final void setInteractivity(boolean);
|
||||
method protected final void slideLockscreenIn();
|
||||
}
|
||||
|
||||
}
|
||||
@ -532,8 +566,8 @@ package cyanogenmod.os {
|
||||
public class Build {
|
||||
ctor public Build();
|
||||
method public static java.lang.String getNameForSDKInt(int);
|
||||
field public static final java.lang.String CYANOGENMOD_DISPLAY_VERSION = "ro.cm.display.version";
|
||||
field public static final java.lang.String CYANOGENMOD_VERSION = "ro.cm.version";
|
||||
field public static final java.lang.String CYANOGENMOD_DISPLAY_VERSION;
|
||||
field public static final java.lang.String CYANOGENMOD_VERSION;
|
||||
field public static final java.lang.String UNKNOWN = "unknown";
|
||||
}
|
||||
|
||||
@ -551,6 +585,16 @@ package cyanogenmod.os {
|
||||
field public static final int ELDERBERRY = 5; // 0x5
|
||||
}
|
||||
|
||||
public final class Concierge {
|
||||
method public static cyanogenmod.os.Concierge.ParcelInfo prepareParcel(android.os.Parcel);
|
||||
method public static cyanogenmod.os.Concierge.ParcelInfo receiveParcel(android.os.Parcel);
|
||||
}
|
||||
|
||||
public static final class Concierge.ParcelInfo {
|
||||
method public void complete();
|
||||
method public int getParcelVersion();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package cyanogenmod.platform {
|
||||
@ -563,7 +607,10 @@ package cyanogenmod.platform {
|
||||
ctor public Manifest.permission();
|
||||
field public static final java.lang.String ACCESS_APP_SUGGESTIONS = "cyanogenmod.permission.ACCESS_APP_SUGGESTIONS";
|
||||
field public static final java.lang.String ACCESS_THEME_MANAGER = "cyanogenmod.permission.ACCESS_THEME_MANAGER";
|
||||
field public static final java.lang.String ACCESS_WEATHER_MANAGER = "cyanogenmod.permission.ACCESS_WEATHER_MANAGER";
|
||||
field public static final java.lang.String BIND_WEATHER_PROVIDER_SERVICE = "cyanogenmod.permission.BIND_WEATHER_PROVIDER_SERVICE";
|
||||
field public static final java.lang.String HARDWARE_ABSTRACTION_ACCESS = "cyanogenmod.permission.HARDWARE_ABSTRACTION_ACCESS";
|
||||
field public static final java.lang.String LIVE_LOCK_SCREEN_MANAGER_ACCESS = "cyanogenmod.permission.LIVE_LOCK_SCREEN_MANAGER_ACCESS";
|
||||
field public static final java.lang.String MANAGE_ALARMS = "cyanogenmod.permission.MANAGE_ALARMS";
|
||||
field public static final java.lang.String MANAGE_PERSISTENT_STORAGE = "cyanogenmod.permission.MANAGE_PERSISTENT_STORAGE";
|
||||
field public static final java.lang.String MODIFY_MSIM_PHONE_STATE = "cyanogenmod.permission.MODIFY_MSIM_PHONE_STATE";
|
||||
@ -574,13 +621,17 @@ package cyanogenmod.platform {
|
||||
field public static final java.lang.String PROTECTED_APP = "cyanogenmod.permission.PROTECTED_APP";
|
||||
field public static final java.lang.String PUBLISH_CUSTOM_TILE = "cyanogenmod.permission.PUBLISH_CUSTOM_TILE";
|
||||
field public static final java.lang.String READ_ALARMS = "cyanogenmod.permission.READ_ALARMS";
|
||||
field public static final java.lang.String READ_DATAUSAGE = "cyanogenmod.permission.READ_DATAUSAGE";
|
||||
field public static final java.lang.String READ_MSIM_PHONE_STATE = "cyanogenmod.permission.READ_MSIM_PHONE_STATE";
|
||||
field public static final java.lang.String READ_THEMES = "cyanogenmod.permission.READ_THEMES";
|
||||
field public static final java.lang.String THIRD_PARTY_KEYGUARD = "android.permission.THIRD_PARTY_KEYGUARD";
|
||||
field public static final java.lang.String READ_WEATHER = "cyanogenmod.permission.READ_WEATHER";
|
||||
field public static final java.lang.String THIRD_PARTY_KEYGUARD = "cyanogenmod.permission.THIRD_PARTY_KEYGUARD";
|
||||
field public static final java.lang.String WRITE_ALARMS = "cyanogenmod.permission.WRITE_ALARMS";
|
||||
field public static final java.lang.String WRITE_DATAUSAGE = "cyanogenmod.permission.WRITE_DATAUSAGE";
|
||||
field public static final java.lang.String WRITE_SECURE_SETTINGS = "cyanogenmod.permission.WRITE_SECURE_SETTINGS";
|
||||
field public static final java.lang.String WRITE_SETTINGS = "cyanogenmod.permission.WRITE_SETTINGS";
|
||||
field public static final java.lang.String WRITE_THEMES = "cyanogenmod.permission.WRITE_THEMES";
|
||||
field public static final java.lang.String WRITE_WEATHER = "cyanogenmod.permission.WRITE_WEATHER";
|
||||
}
|
||||
|
||||
public final class R {
|
||||
@ -742,6 +793,7 @@ package cyanogenmod.providers {
|
||||
|
||||
public final class CMSettings {
|
||||
ctor public CMSettings();
|
||||
field public static final java.lang.String ACTION_DATA_USAGE = "cyanogenmod.settings.ACTION_DATA_USAGE";
|
||||
field public static final java.lang.String AUTHORITY = "cmsettings";
|
||||
}
|
||||
|
||||
@ -765,6 +817,7 @@ package cyanogenmod.providers {
|
||||
method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String);
|
||||
field public static final android.net.Uri CONTENT_URI;
|
||||
field public static final java.lang.String SYS_PROP_CM_SETTING_VERSION = "sys.cm_settings_global_version";
|
||||
field public static final java.lang.String WEATHER_TEMPERATURE_UNIT = "weather_temperature_unit";
|
||||
}
|
||||
|
||||
public static final class CMSettings.Secure extends android.provider.Settings.NameValueTable {
|
||||
@ -890,6 +943,39 @@ package cyanogenmod.providers {
|
||||
field public static final java.lang.String ZEN_PRIORITY_ALLOW_LIGHTS = "zen_priority_allow_lights";
|
||||
}
|
||||
|
||||
public final class DataUsageContract {
|
||||
ctor public DataUsageContract();
|
||||
field public static final java.lang.String ACTIVE = "active";
|
||||
field public static final android.net.Uri BASE_CONTENT_URI;
|
||||
field public static final java.lang.String BYTES = "bytes";
|
||||
field public static final int COLUMN_OF_ACTIVE = 3; // 0x3
|
||||
field public static final int COLUMN_OF_BYTES = 5; // 0x5
|
||||
field public static final int COLUMN_OF_ENABLE = 2; // 0x2
|
||||
field public static final int COLUMN_OF_EXTRA = 10; // 0xa
|
||||
field public static final int COLUMN_OF_FAST_AVG = 8; // 0x8
|
||||
field public static final int COLUMN_OF_FAST_SAMPLES = 9; // 0x9
|
||||
field public static final int COLUMN_OF_ID = 0; // 0x0
|
||||
field public static final int COLUMN_OF_LABEL = 4; // 0x4
|
||||
field public static final int COLUMN_OF_SLOW_AVG = 6; // 0x6
|
||||
field public static final int COLUMN_OF_SLOW_SAMPLES = 7; // 0x7
|
||||
field public static final int COLUMN_OF_UID = 1; // 0x1
|
||||
field public static final java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.itemdatausage_item";
|
||||
field public static final java.lang.String CONTENT_TYPE = "vnd.android.cursor.dirdatausage_item";
|
||||
field public static final android.net.Uri CONTENT_URI;
|
||||
field public static final java.lang.String DATAUSAGE_AUTHORITY = "org.cyanogenmod.providers.datausage";
|
||||
field public static final java.lang.String DATAUSAGE_TABLE = "datausage";
|
||||
field public static final java.lang.String ENABLE = "enable";
|
||||
field public static final java.lang.String EXTRA = "extra";
|
||||
field public static final java.lang.String FAST_AVG = "fast_avg";
|
||||
field public static final java.lang.String FAST_SAMPLES = "fast_samples";
|
||||
field public static final java.lang.String LABEL = "label";
|
||||
field public static final java.lang.String[] PROJECTION_ALL;
|
||||
field public static final java.lang.String SLOW_AVG = "slow_avg";
|
||||
field public static final java.lang.String SLOW_SAMPLES = "slow_samples";
|
||||
field public static final java.lang.String UID = "uid";
|
||||
field public static final java.lang.String _ID = "_id";
|
||||
}
|
||||
|
||||
public class ThemesContract {
|
||||
ctor public ThemesContract();
|
||||
field public static final java.lang.String AUTHORITY = "com.cyanogenmod.themes";
|
||||
@ -1010,6 +1096,95 @@ package cyanogenmod.providers {
|
||||
field public static final int UPDATING = 2; // 0x2
|
||||
}
|
||||
|
||||
public class WeatherContract {
|
||||
ctor public WeatherContract();
|
||||
field public static final java.lang.String AUTHORITY = "com.cyanogenmod.weather";
|
||||
field public static final android.net.Uri AUTHORITY_URI;
|
||||
}
|
||||
|
||||
public static class WeatherContract.WeatherColumns {
|
||||
ctor public WeatherContract.WeatherColumns();
|
||||
field public static final android.net.Uri CONTENT_URI;
|
||||
field public static final android.net.Uri CURRENT_AND_FORECAST_WEATHER_URI;
|
||||
field public static final java.lang.String CURRENT_CITY = "city";
|
||||
field public static final java.lang.String CURRENT_CONDITION = "condition";
|
||||
field public static final java.lang.String CURRENT_CONDITION_CODE = "condition_code";
|
||||
field public static final java.lang.String CURRENT_HUMIDITY = "humidity";
|
||||
field public static final java.lang.String CURRENT_TEMPERATURE = "temperature";
|
||||
field public static final java.lang.String CURRENT_TEMPERATURE_UNIT = "temperature_unit";
|
||||
field public static final java.lang.String CURRENT_TIMESTAMP = "timestamp";
|
||||
field public static final android.net.Uri CURRENT_WEATHER_URI;
|
||||
field public static final java.lang.String CURRENT_WIND_DIRECTION = "wind_direction";
|
||||
field public static final java.lang.String CURRENT_WIND_SPEED = "wind_speed";
|
||||
field public static final java.lang.String CURRENT_WIND_SPEED_UNIT = "wind_speed_unit";
|
||||
field public static final java.lang.String FORECAST_CONDITION = "forecast_condition";
|
||||
field public static final java.lang.String FORECAST_CONDITION_CODE = "forecast_condition_code";
|
||||
field public static final java.lang.String FORECAST_HIGH = "forecast_high";
|
||||
field public static final java.lang.String FORECAST_LOW = "forecast_low";
|
||||
field public static final android.net.Uri FORECAST_WEATHER_URI;
|
||||
field public static final java.lang.String TODAYS_HIGH_TEMPERATURE = "todays_high";
|
||||
field public static final java.lang.String TODAYS_LOW_TEMPERATURE = "todays_low";
|
||||
}
|
||||
|
||||
public static final class WeatherContract.WeatherColumns.TempUnit {
|
||||
field public static final int CELSIUS = 1; // 0x1
|
||||
field public static final int FAHRENHEIT = 2; // 0x2
|
||||
}
|
||||
|
||||
public static final class WeatherContract.WeatherColumns.WeatherCode {
|
||||
field public static final int BLOWING_SNOW = 14; // 0xe
|
||||
field public static final int BLUSTERY = 22; // 0x16
|
||||
field public static final int CLEAR_NIGHT = 30; // 0x1e
|
||||
field public static final int CLOUDY = 25; // 0x19
|
||||
field public static final int COLD = 24; // 0x18
|
||||
field public static final int DRIZZLE = 9; // 0x9
|
||||
field public static final int DUST = 18; // 0x12
|
||||
field public static final int FAIR_DAY = 33; // 0x21
|
||||
field public static final int FAIR_NIGHT = 32; // 0x20
|
||||
field public static final int FOGGY = 19; // 0x13
|
||||
field public static final int FREEZING_DRIZZLE = 8; // 0x8
|
||||
field public static final int FREEZING_RAIN = 10; // 0xa
|
||||
field public static final int HAIL = 16; // 0x10
|
||||
field public static final int HAZE = 20; // 0x14
|
||||
field public static final int HEAVY_SNOW = 39; // 0x27
|
||||
field public static final int HOT = 35; // 0x23
|
||||
field public static final int HURRICANE = 2; // 0x2
|
||||
field public static final int ISOLATED_THUNDERSHOWERS = 44; // 0x2c
|
||||
field public static final int ISOLATED_THUNDERSTORMS = 36; // 0x24
|
||||
field public static final int LIGHT_SNOW_SHOWERS = 13; // 0xd
|
||||
field public static final int MIXED_RAIN_AND_HAIL = 34; // 0x22
|
||||
field public static final int MIXED_RAIN_AND_SLEET = 6; // 0x6
|
||||
field public static final int MIXED_RAIN_AND_SNOW = 5; // 0x5
|
||||
field public static final int MIXED_SNOW_AND_SLEET = 7; // 0x7
|
||||
field public static final int MOSTLY_CLOUDY_DAY = 27; // 0x1b
|
||||
field public static final int MOSTLY_CLOUDY_NIGHT = 26; // 0x1a
|
||||
field public static final int NOT_AVAILABLE = 3200; // 0xc80
|
||||
field public static final int PARTLY_CLOUDY = 41; // 0x29
|
||||
field public static final int PARTLY_CLOUDY_DAY = 29; // 0x1d
|
||||
field public static final int PARTLY_CLOUDY_NIGHT = 28; // 0x1c
|
||||
field public static final int SCATTERED_SHOWERS = 38; // 0x26
|
||||
field public static final int SCATTERED_SNOW_SHOWERS = 40; // 0x28
|
||||
field public static final int SCATTERED_THUNDERSTORMS = 37; // 0x25
|
||||
field public static final int SEVERE_THUNDERSTORMS = 3; // 0x3
|
||||
field public static final int SHOWERS = 11; // 0xb
|
||||
field public static final int SLEET = 17; // 0x11
|
||||
field public static final int SMOKY = 21; // 0x15
|
||||
field public static final int SNOW = 15; // 0xf
|
||||
field public static final int SNOW_FLURRIES = 12; // 0xc
|
||||
field public static final int SNOW_SHOWERS = 43; // 0x2b
|
||||
field public static final int SUNNY = 31; // 0x1f
|
||||
field public static final int THUNDERSHOWER = 42; // 0x2a
|
||||
field public static final int THUNDERSTORMS = 4; // 0x4
|
||||
field public static final int TORNADO = 0; // 0x0
|
||||
field public static final int TROPICAL_STORM = 1; // 0x1
|
||||
field public static final int WINDY = 23; // 0x17
|
||||
}
|
||||
|
||||
public static final class WeatherContract.WeatherColumns.WindSpeedUnit {
|
||||
field public static final int KPH = 1; // 0x1
|
||||
field public static final int MPH = 2; // 0x2
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package cyanogenmod.themes {
|
||||
@ -1073,7 +1248,7 @@ package cyanogenmod.themes {
|
||||
public class ThemeManager {
|
||||
method public deprecated void addClient(cyanogenmod.themes.ThemeManager.ThemeChangeListener);
|
||||
method public void applyDefaultTheme();
|
||||
method public static cyanogenmod.themes.ThemeManager getInstance();
|
||||
method public static cyanogenmod.themes.ThemeManager getInstance(android.content.Context);
|
||||
method public cyanogenmod.themes.ThemeChangeRequest.RequestType getLastThemeChangeRequestType();
|
||||
method public long getLastThemeChangeTime();
|
||||
method public int getProgress();
|
||||
@ -1091,7 +1266,7 @@ package cyanogenmod.themes {
|
||||
method public void requestThemeChange(java.util.Map<java.lang.String, java.lang.String>);
|
||||
method public void requestThemeChange(java.util.Map<java.lang.String, java.lang.String>, boolean);
|
||||
method public void requestThemeChange(cyanogenmod.themes.ThemeChangeRequest, boolean);
|
||||
method public void unregisterProcessingListener(cyanogenmod.themes.ThemeManager.ThemeChangeListener);
|
||||
method public void unregisterProcessingListener(cyanogenmod.themes.ThemeManager.ThemeProcessingListener);
|
||||
method public void unregisterThemeChangeListener(cyanogenmod.themes.ThemeManager.ThemeChangeListener);
|
||||
}
|
||||
|
||||
@ -1122,3 +1297,158 @@ package cyanogenmod.util {
|
||||
|
||||
}
|
||||
|
||||
package cyanogenmod.weather {
|
||||
|
||||
public class CMWeatherManager {
|
||||
method public void cancelRequest(int);
|
||||
method public java.lang.String getActiveWeatherServiceProviderLabel();
|
||||
method public static cyanogenmod.weather.CMWeatherManager getInstance(android.content.Context);
|
||||
method public int lookupCity(java.lang.String, cyanogenmod.weather.CMWeatherManager.LookupCityRequestListener);
|
||||
method public void registerWeatherServiceProviderChangeListener(cyanogenmod.weather.CMWeatherManager.WeatherServiceProviderChangeListener);
|
||||
method public int requestWeatherUpdate(android.location.Location, cyanogenmod.weather.CMWeatherManager.WeatherUpdateRequestListener);
|
||||
method public int requestWeatherUpdate(cyanogenmod.weather.WeatherLocation, cyanogenmod.weather.CMWeatherManager.WeatherUpdateRequestListener);
|
||||
method public void unregisterWeatherServiceProviderChangeListener(cyanogenmod.weather.CMWeatherManager.WeatherServiceProviderChangeListener);
|
||||
}
|
||||
|
||||
public static abstract interface CMWeatherManager.LookupCityRequestListener {
|
||||
method public abstract void onLookupCityRequestCompleted(int, java.util.List<cyanogenmod.weather.WeatherLocation>);
|
||||
}
|
||||
|
||||
public static final class CMWeatherManager.RequestStatus {
|
||||
field public static final int ALREADY_IN_PROGRESS = -3; // 0xfffffffd
|
||||
field public static final int COMPLETED = 1; // 0x1
|
||||
field public static final int FAILED = -1; // 0xffffffff
|
||||
field public static final int NO_MATCH_FOUND = -4; // 0xfffffffc
|
||||
field public static final int SUBMITTED_TOO_SOON = -2; // 0xfffffffe
|
||||
}
|
||||
|
||||
public static abstract interface CMWeatherManager.WeatherServiceProviderChangeListener {
|
||||
method public abstract void onWeatherServiceProviderChanged(java.lang.String);
|
||||
}
|
||||
|
||||
public static abstract interface CMWeatherManager.WeatherUpdateRequestListener {
|
||||
method public abstract void onWeatherRequestCompleted(int, cyanogenmod.weather.WeatherInfo);
|
||||
}
|
||||
|
||||
public final class RequestInfo implements android.os.Parcelable {
|
||||
method public int describeContents();
|
||||
method public java.lang.String getCityName();
|
||||
method public android.location.Location getLocation();
|
||||
method public int getRequestType();
|
||||
method public int getTemperatureUnit();
|
||||
method public cyanogenmod.weather.WeatherLocation getWeatherLocation();
|
||||
method public void writeToParcel(android.os.Parcel, int);
|
||||
field public static final android.os.Parcelable.Creator<cyanogenmod.weather.RequestInfo> CREATOR;
|
||||
field public static final int TYPE_LOOKUP_CITY_NAME_REQ = 3; // 0x3
|
||||
field public static final int TYPE_WEATHER_BY_GEO_LOCATION_REQ = 1; // 0x1
|
||||
field public static final int TYPE_WEATHER_BY_WEATHER_LOCATION_REQ = 2; // 0x2
|
||||
}
|
||||
|
||||
public final class WeatherInfo implements android.os.Parcelable {
|
||||
method public int describeContents();
|
||||
method public java.lang.String getCity();
|
||||
method public int getConditionCode();
|
||||
method public java.util.List<cyanogenmod.weather.WeatherInfo.DayForecast> getForecasts();
|
||||
method public double getHumidity();
|
||||
method public double getTemperature();
|
||||
method public int getTemperatureUnit();
|
||||
method public long getTimestamp();
|
||||
method public double getTodaysHigh();
|
||||
method public double getTodaysLow();
|
||||
method public double getWindDirection();
|
||||
method public double getWindSpeed();
|
||||
method public int getWindSpeedUnit();
|
||||
method public void writeToParcel(android.os.Parcel, int);
|
||||
field public static final android.os.Parcelable.Creator<cyanogenmod.weather.WeatherInfo> CREATOR;
|
||||
}
|
||||
|
||||
public static class WeatherInfo.Builder {
|
||||
ctor public WeatherInfo.Builder(java.lang.String, double, int);
|
||||
method public cyanogenmod.weather.WeatherInfo build();
|
||||
method public cyanogenmod.weather.WeatherInfo.Builder setForecast(java.util.List<cyanogenmod.weather.WeatherInfo.DayForecast>);
|
||||
method public cyanogenmod.weather.WeatherInfo.Builder setHumidity(double);
|
||||
method public cyanogenmod.weather.WeatherInfo.Builder setTimestamp(long);
|
||||
method public cyanogenmod.weather.WeatherInfo.Builder setTodaysHigh(double);
|
||||
method public cyanogenmod.weather.WeatherInfo.Builder setTodaysLow(double);
|
||||
method public cyanogenmod.weather.WeatherInfo.Builder setWeatherCondition(int);
|
||||
method public cyanogenmod.weather.WeatherInfo.Builder setWind(double, double, int);
|
||||
}
|
||||
|
||||
public static class WeatherInfo.DayForecast implements android.os.Parcelable {
|
||||
method public int describeContents();
|
||||
method public int getConditionCode();
|
||||
method public double getHigh();
|
||||
method public double getLow();
|
||||
method public void writeToParcel(android.os.Parcel, int);
|
||||
field public static final android.os.Parcelable.Creator<cyanogenmod.weather.WeatherInfo.DayForecast> CREATOR;
|
||||
}
|
||||
|
||||
public static class WeatherInfo.DayForecast.Builder {
|
||||
ctor public WeatherInfo.DayForecast.Builder(int);
|
||||
method public cyanogenmod.weather.WeatherInfo.DayForecast build();
|
||||
method public cyanogenmod.weather.WeatherInfo.DayForecast.Builder setHigh(double);
|
||||
method public cyanogenmod.weather.WeatherInfo.DayForecast.Builder setLow(double);
|
||||
}
|
||||
|
||||
public final class WeatherLocation implements android.os.Parcelable {
|
||||
method public int describeContents();
|
||||
method public java.lang.String getCity();
|
||||
method public java.lang.String getCityId();
|
||||
method public java.lang.String getCountry();
|
||||
method public java.lang.String getCountryId();
|
||||
method public java.lang.String getPostalCode();
|
||||
method public java.lang.String getState();
|
||||
method public void writeToParcel(android.os.Parcel, int);
|
||||
field public static final android.os.Parcelable.Creator<cyanogenmod.weather.WeatherLocation> CREATOR;
|
||||
}
|
||||
|
||||
public static class WeatherLocation.Builder {
|
||||
ctor public WeatherLocation.Builder(java.lang.String, java.lang.String);
|
||||
ctor public WeatherLocation.Builder(java.lang.String);
|
||||
method public cyanogenmod.weather.WeatherLocation build();
|
||||
method public cyanogenmod.weather.WeatherLocation.Builder setCountry(java.lang.String);
|
||||
method public cyanogenmod.weather.WeatherLocation.Builder setCountryId(java.lang.String);
|
||||
method public cyanogenmod.weather.WeatherLocation.Builder setPostalCode(java.lang.String);
|
||||
method public cyanogenmod.weather.WeatherLocation.Builder setState(java.lang.String);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package cyanogenmod.weatherservice {
|
||||
|
||||
public final class ServiceRequest {
|
||||
method public void complete(cyanogenmod.weatherservice.ServiceRequestResult);
|
||||
method public void fail();
|
||||
method public cyanogenmod.weather.RequestInfo getRequestInfo();
|
||||
method public void reject(int);
|
||||
}
|
||||
|
||||
public final class ServiceRequestResult implements android.os.Parcelable {
|
||||
method public int describeContents();
|
||||
method public java.util.List<cyanogenmod.weather.WeatherLocation> getLocationLookupList();
|
||||
method public cyanogenmod.weather.WeatherInfo getWeatherInfo();
|
||||
method public void writeToParcel(android.os.Parcel, int);
|
||||
field public static final android.os.Parcelable.Creator<cyanogenmod.weatherservice.ServiceRequestResult> CREATOR;
|
||||
}
|
||||
|
||||
public static class ServiceRequestResult.Builder {
|
||||
ctor public ServiceRequestResult.Builder();
|
||||
ctor public ServiceRequestResult.Builder(cyanogenmod.weather.WeatherInfo);
|
||||
ctor public ServiceRequestResult.Builder(java.util.List<cyanogenmod.weather.WeatherLocation>);
|
||||
method public cyanogenmod.weatherservice.ServiceRequestResult build();
|
||||
}
|
||||
|
||||
public abstract class WeatherProviderService extends android.app.Service {
|
||||
ctor public WeatherProviderService();
|
||||
method protected final void attachBaseContext(android.content.Context);
|
||||
method public final android.os.IBinder onBind(android.content.Intent);
|
||||
method protected void onConnected();
|
||||
method protected void onDisconnected();
|
||||
method protected abstract void onRequestCancelled(cyanogenmod.weatherservice.ServiceRequest);
|
||||
method protected abstract void onRequestSubmitted(cyanogenmod.weatherservice.ServiceRequest);
|
||||
field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.weatherservice.WeatherProviderService";
|
||||
field public static final java.lang.String SERVICE_META_DATA = "cyanogenmod.weatherservice";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
1567
cmsdk/api/6.txt
Normal file
1567
cmsdk/api/6.txt
Normal file
File diff suppressed because it is too large
Load Diff
1552
cmsdk/api/7.txt
Normal file
1552
cmsdk/api/7.txt
Normal file
File diff suppressed because it is too large
Load Diff
@ -196,6 +196,38 @@ package cyanogenmod.app {
|
||||
field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.app.CustomTileListenerService";
|
||||
}
|
||||
|
||||
public class LiveLockScreenInfo implements android.os.Parcelable {
|
||||
ctor public LiveLockScreenInfo(android.content.ComponentName, int);
|
||||
ctor public LiveLockScreenInfo();
|
||||
method public cyanogenmod.app.LiveLockScreenInfo clone();
|
||||
method public int describeContents();
|
||||
method public void writeToParcel(android.os.Parcel, int);
|
||||
field public static final android.os.Parcelable.Creator<cyanogenmod.app.LiveLockScreenInfo> CREATOR;
|
||||
field public static final int PRIORITY_DEFAULT = 0; // 0x0
|
||||
field public static final int PRIORITY_HIGH = 1; // 0x1
|
||||
field public static final int PRIORITY_LOW = -1; // 0xffffffff
|
||||
field public static final int PRIORITY_MAX = 2; // 0x2
|
||||
field public static final int PRIORITY_MIN = -2; // 0xfffffffe
|
||||
field public android.content.ComponentName component;
|
||||
field public int priority;
|
||||
}
|
||||
|
||||
public static class LiveLockScreenInfo.Builder {
|
||||
ctor public LiveLockScreenInfo.Builder();
|
||||
method public cyanogenmod.app.LiveLockScreenInfo build();
|
||||
method public cyanogenmod.app.LiveLockScreenInfo.Builder setComponent(android.content.ComponentName);
|
||||
method public cyanogenmod.app.LiveLockScreenInfo.Builder setPriority(int);
|
||||
}
|
||||
|
||||
public class LiveLockScreenManager {
|
||||
method public void cancel(int);
|
||||
method public cyanogenmod.app.LiveLockScreenInfo getDefaultLiveLockScreen();
|
||||
method public static cyanogenmod.app.LiveLockScreenManager getInstance(android.content.Context);
|
||||
method public void setDefaultLiveLockScreen(cyanogenmod.app.LiveLockScreenInfo);
|
||||
method public boolean show(int, cyanogenmod.app.LiveLockScreenInfo);
|
||||
field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.app.LiveLockScreenManagerService";
|
||||
}
|
||||
|
||||
public class PartnerInterface {
|
||||
method public java.lang.String getCurrentHotwordPackageName();
|
||||
method public static cyanogenmod.app.PartnerInterface getInstance(android.content.Context);
|
||||
@ -395,7 +427,7 @@ package cyanogenmod.externalviews {
|
||||
|
||||
protected abstract class KeyguardExternalViewProviderService.Provider {
|
||||
ctor protected KeyguardExternalViewProviderService.Provider(android.os.Bundle);
|
||||
method protected final void collapseNotificationPanel();
|
||||
method protected final deprecated void collapseNotificationPanel();
|
||||
method protected android.os.Bundle getOptions();
|
||||
method protected void onAttach();
|
||||
method protected abstract void onBouncerShowing(boolean);
|
||||
@ -403,11 +435,13 @@ package cyanogenmod.externalviews {
|
||||
method protected void onDetach();
|
||||
method protected abstract void onKeyguardDismissed();
|
||||
method protected abstract void onKeyguardShowing(boolean);
|
||||
method protected void onLockscreenSlideOffsetChanged(float);
|
||||
method protected abstract void onScreenTurnedOff();
|
||||
method protected abstract void onScreenTurnedOn();
|
||||
method protected final boolean requestDismiss();
|
||||
method protected final boolean requestDismissAndStartActivity(android.content.Intent);
|
||||
method protected final void setInteractivity(boolean);
|
||||
method protected final void slideLockscreenIn();
|
||||
}
|
||||
|
||||
}
|
||||
@ -532,8 +566,8 @@ package cyanogenmod.os {
|
||||
public class Build {
|
||||
ctor public Build();
|
||||
method public static java.lang.String getNameForSDKInt(int);
|
||||
field public static final java.lang.String CYANOGENMOD_DISPLAY_VERSION = "ro.cm.display.version";
|
||||
field public static final java.lang.String CYANOGENMOD_VERSION = "ro.cm.version";
|
||||
field public static final java.lang.String CYANOGENMOD_DISPLAY_VERSION;
|
||||
field public static final java.lang.String CYANOGENMOD_VERSION;
|
||||
field public static final java.lang.String UNKNOWN = "unknown";
|
||||
}
|
||||
|
||||
@ -551,6 +585,16 @@ package cyanogenmod.os {
|
||||
field public static final int ELDERBERRY = 5; // 0x5
|
||||
}
|
||||
|
||||
public final class Concierge {
|
||||
method public static cyanogenmod.os.Concierge.ParcelInfo prepareParcel(android.os.Parcel);
|
||||
method public static cyanogenmod.os.Concierge.ParcelInfo receiveParcel(android.os.Parcel);
|
||||
}
|
||||
|
||||
public static final class Concierge.ParcelInfo {
|
||||
method public void complete();
|
||||
method public int getParcelVersion();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package cyanogenmod.platform {
|
||||
@ -563,7 +607,10 @@ package cyanogenmod.platform {
|
||||
ctor public Manifest.permission();
|
||||
field public static final java.lang.String ACCESS_APP_SUGGESTIONS = "cyanogenmod.permission.ACCESS_APP_SUGGESTIONS";
|
||||
field public static final java.lang.String ACCESS_THEME_MANAGER = "cyanogenmod.permission.ACCESS_THEME_MANAGER";
|
||||
field public static final java.lang.String ACCESS_WEATHER_MANAGER = "cyanogenmod.permission.ACCESS_WEATHER_MANAGER";
|
||||
field public static final java.lang.String BIND_WEATHER_PROVIDER_SERVICE = "cyanogenmod.permission.BIND_WEATHER_PROVIDER_SERVICE";
|
||||
field public static final java.lang.String HARDWARE_ABSTRACTION_ACCESS = "cyanogenmod.permission.HARDWARE_ABSTRACTION_ACCESS";
|
||||
field public static final java.lang.String LIVE_LOCK_SCREEN_MANAGER_ACCESS = "cyanogenmod.permission.LIVE_LOCK_SCREEN_MANAGER_ACCESS";
|
||||
field public static final java.lang.String MANAGE_ALARMS = "cyanogenmod.permission.MANAGE_ALARMS";
|
||||
field public static final java.lang.String MANAGE_PERSISTENT_STORAGE = "cyanogenmod.permission.MANAGE_PERSISTENT_STORAGE";
|
||||
field public static final java.lang.String MODIFY_MSIM_PHONE_STATE = "cyanogenmod.permission.MODIFY_MSIM_PHONE_STATE";
|
||||
@ -574,13 +621,17 @@ package cyanogenmod.platform {
|
||||
field public static final java.lang.String PROTECTED_APP = "cyanogenmod.permission.PROTECTED_APP";
|
||||
field public static final java.lang.String PUBLISH_CUSTOM_TILE = "cyanogenmod.permission.PUBLISH_CUSTOM_TILE";
|
||||
field public static final java.lang.String READ_ALARMS = "cyanogenmod.permission.READ_ALARMS";
|
||||
field public static final java.lang.String READ_DATAUSAGE = "cyanogenmod.permission.READ_DATAUSAGE";
|
||||
field public static final java.lang.String READ_MSIM_PHONE_STATE = "cyanogenmod.permission.READ_MSIM_PHONE_STATE";
|
||||
field public static final java.lang.String READ_THEMES = "cyanogenmod.permission.READ_THEMES";
|
||||
field public static final java.lang.String THIRD_PARTY_KEYGUARD = "android.permission.THIRD_PARTY_KEYGUARD";
|
||||
field public static final java.lang.String READ_WEATHER = "cyanogenmod.permission.READ_WEATHER";
|
||||
field public static final java.lang.String THIRD_PARTY_KEYGUARD = "cyanogenmod.permission.THIRD_PARTY_KEYGUARD";
|
||||
field public static final java.lang.String WRITE_ALARMS = "cyanogenmod.permission.WRITE_ALARMS";
|
||||
field public static final java.lang.String WRITE_DATAUSAGE = "cyanogenmod.permission.WRITE_DATAUSAGE";
|
||||
field public static final java.lang.String WRITE_SECURE_SETTINGS = "cyanogenmod.permission.WRITE_SECURE_SETTINGS";
|
||||
field public static final java.lang.String WRITE_SETTINGS = "cyanogenmod.permission.WRITE_SETTINGS";
|
||||
field public static final java.lang.String WRITE_THEMES = "cyanogenmod.permission.WRITE_THEMES";
|
||||
field public static final java.lang.String WRITE_WEATHER = "cyanogenmod.permission.WRITE_WEATHER";
|
||||
}
|
||||
|
||||
public final class R {
|
||||
@ -742,6 +793,7 @@ package cyanogenmod.providers {
|
||||
|
||||
public final class CMSettings {
|
||||
ctor public CMSettings();
|
||||
field public static final java.lang.String ACTION_DATA_USAGE = "cyanogenmod.settings.ACTION_DATA_USAGE";
|
||||
field public static final java.lang.String AUTHORITY = "cmsettings";
|
||||
}
|
||||
|
||||
@ -765,6 +817,7 @@ package cyanogenmod.providers {
|
||||
method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String);
|
||||
field public static final android.net.Uri CONTENT_URI;
|
||||
field public static final java.lang.String SYS_PROP_CM_SETTING_VERSION = "sys.cm_settings_global_version";
|
||||
field public static final java.lang.String WEATHER_TEMPERATURE_UNIT = "weather_temperature_unit";
|
||||
}
|
||||
|
||||
public static final class CMSettings.Secure extends android.provider.Settings.NameValueTable {
|
||||
@ -890,6 +943,39 @@ package cyanogenmod.providers {
|
||||
field public static final java.lang.String ZEN_PRIORITY_ALLOW_LIGHTS = "zen_priority_allow_lights";
|
||||
}
|
||||
|
||||
public final class DataUsageContract {
|
||||
ctor public DataUsageContract();
|
||||
field public static final java.lang.String ACTIVE = "active";
|
||||
field public static final android.net.Uri BASE_CONTENT_URI;
|
||||
field public static final java.lang.String BYTES = "bytes";
|
||||
field public static final int COLUMN_OF_ACTIVE = 3; // 0x3
|
||||
field public static final int COLUMN_OF_BYTES = 5; // 0x5
|
||||
field public static final int COLUMN_OF_ENABLE = 2; // 0x2
|
||||
field public static final int COLUMN_OF_EXTRA = 10; // 0xa
|
||||
field public static final int COLUMN_OF_FAST_AVG = 8; // 0x8
|
||||
field public static final int COLUMN_OF_FAST_SAMPLES = 9; // 0x9
|
||||
field public static final int COLUMN_OF_ID = 0; // 0x0
|
||||
field public static final int COLUMN_OF_LABEL = 4; // 0x4
|
||||
field public static final int COLUMN_OF_SLOW_AVG = 6; // 0x6
|
||||
field public static final int COLUMN_OF_SLOW_SAMPLES = 7; // 0x7
|
||||
field public static final int COLUMN_OF_UID = 1; // 0x1
|
||||
field public static final java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.itemdatausage_item";
|
||||
field public static final java.lang.String CONTENT_TYPE = "vnd.android.cursor.dirdatausage_item";
|
||||
field public static final android.net.Uri CONTENT_URI;
|
||||
field public static final java.lang.String DATAUSAGE_AUTHORITY = "org.cyanogenmod.providers.datausage";
|
||||
field public static final java.lang.String DATAUSAGE_TABLE = "datausage";
|
||||
field public static final java.lang.String ENABLE = "enable";
|
||||
field public static final java.lang.String EXTRA = "extra";
|
||||
field public static final java.lang.String FAST_AVG = "fast_avg";
|
||||
field public static final java.lang.String FAST_SAMPLES = "fast_samples";
|
||||
field public static final java.lang.String LABEL = "label";
|
||||
field public static final java.lang.String[] PROJECTION_ALL;
|
||||
field public static final java.lang.String SLOW_AVG = "slow_avg";
|
||||
field public static final java.lang.String SLOW_SAMPLES = "slow_samples";
|
||||
field public static final java.lang.String UID = "uid";
|
||||
field public static final java.lang.String _ID = "_id";
|
||||
}
|
||||
|
||||
public class ThemesContract {
|
||||
ctor public ThemesContract();
|
||||
field public static final java.lang.String AUTHORITY = "com.cyanogenmod.themes";
|
||||
@ -1010,6 +1096,95 @@ package cyanogenmod.providers {
|
||||
field public static final int UPDATING = 2; // 0x2
|
||||
}
|
||||
|
||||
public class WeatherContract {
|
||||
ctor public WeatherContract();
|
||||
field public static final java.lang.String AUTHORITY = "com.cyanogenmod.weather";
|
||||
field public static final android.net.Uri AUTHORITY_URI;
|
||||
}
|
||||
|
||||
public static class WeatherContract.WeatherColumns {
|
||||
ctor public WeatherContract.WeatherColumns();
|
||||
field public static final android.net.Uri CONTENT_URI;
|
||||
field public static final android.net.Uri CURRENT_AND_FORECAST_WEATHER_URI;
|
||||
field public static final java.lang.String CURRENT_CITY = "city";
|
||||
field public static final java.lang.String CURRENT_CONDITION = "condition";
|
||||
field public static final java.lang.String CURRENT_CONDITION_CODE = "condition_code";
|
||||
field public static final java.lang.String CURRENT_HUMIDITY = "humidity";
|
||||
field public static final java.lang.String CURRENT_TEMPERATURE = "temperature";
|
||||
field public static final java.lang.String CURRENT_TEMPERATURE_UNIT = "temperature_unit";
|
||||
field public static final java.lang.String CURRENT_TIMESTAMP = "timestamp";
|
||||
field public static final android.net.Uri CURRENT_WEATHER_URI;
|
||||
field public static final java.lang.String CURRENT_WIND_DIRECTION = "wind_direction";
|
||||
field public static final java.lang.String CURRENT_WIND_SPEED = "wind_speed";
|
||||
field public static final java.lang.String CURRENT_WIND_SPEED_UNIT = "wind_speed_unit";
|
||||
field public static final java.lang.String FORECAST_CONDITION = "forecast_condition";
|
||||
field public static final java.lang.String FORECAST_CONDITION_CODE = "forecast_condition_code";
|
||||
field public static final java.lang.String FORECAST_HIGH = "forecast_high";
|
||||
field public static final java.lang.String FORECAST_LOW = "forecast_low";
|
||||
field public static final android.net.Uri FORECAST_WEATHER_URI;
|
||||
field public static final java.lang.String TODAYS_HIGH_TEMPERATURE = "todays_high";
|
||||
field public static final java.lang.String TODAYS_LOW_TEMPERATURE = "todays_low";
|
||||
}
|
||||
|
||||
public static final class WeatherContract.WeatherColumns.TempUnit {
|
||||
field public static final int CELSIUS = 1; // 0x1
|
||||
field public static final int FAHRENHEIT = 2; // 0x2
|
||||
}
|
||||
|
||||
public static final class WeatherContract.WeatherColumns.WeatherCode {
|
||||
field public static final int BLOWING_SNOW = 14; // 0xe
|
||||
field public static final int BLUSTERY = 22; // 0x16
|
||||
field public static final int CLEAR_NIGHT = 30; // 0x1e
|
||||
field public static final int CLOUDY = 25; // 0x19
|
||||
field public static final int COLD = 24; // 0x18
|
||||
field public static final int DRIZZLE = 9; // 0x9
|
||||
field public static final int DUST = 18; // 0x12
|
||||
field public static final int FAIR_DAY = 33; // 0x21
|
||||
field public static final int FAIR_NIGHT = 32; // 0x20
|
||||
field public static final int FOGGY = 19; // 0x13
|
||||
field public static final int FREEZING_DRIZZLE = 8; // 0x8
|
||||
field public static final int FREEZING_RAIN = 10; // 0xa
|
||||
field public static final int HAIL = 16; // 0x10
|
||||
field public static final int HAZE = 20; // 0x14
|
||||
field public static final int HEAVY_SNOW = 39; // 0x27
|
||||
field public static final int HOT = 35; // 0x23
|
||||
field public static final int HURRICANE = 2; // 0x2
|
||||
field public static final int ISOLATED_THUNDERSHOWERS = 44; // 0x2c
|
||||
field public static final int ISOLATED_THUNDERSTORMS = 36; // 0x24
|
||||
field public static final int LIGHT_SNOW_SHOWERS = 13; // 0xd
|
||||
field public static final int MIXED_RAIN_AND_HAIL = 34; // 0x22
|
||||
field public static final int MIXED_RAIN_AND_SLEET = 6; // 0x6
|
||||
field public static final int MIXED_RAIN_AND_SNOW = 5; // 0x5
|
||||
field public static final int MIXED_SNOW_AND_SLEET = 7; // 0x7
|
||||
field public static final int MOSTLY_CLOUDY_DAY = 27; // 0x1b
|
||||
field public static final int MOSTLY_CLOUDY_NIGHT = 26; // 0x1a
|
||||
field public static final int NOT_AVAILABLE = 3200; // 0xc80
|
||||
field public static final int PARTLY_CLOUDY = 41; // 0x29
|
||||
field public static final int PARTLY_CLOUDY_DAY = 29; // 0x1d
|
||||
field public static final int PARTLY_CLOUDY_NIGHT = 28; // 0x1c
|
||||
field public static final int SCATTERED_SHOWERS = 38; // 0x26
|
||||
field public static final int SCATTERED_SNOW_SHOWERS = 40; // 0x28
|
||||
field public static final int SCATTERED_THUNDERSTORMS = 37; // 0x25
|
||||
field public static final int SEVERE_THUNDERSTORMS = 3; // 0x3
|
||||
field public static final int SHOWERS = 11; // 0xb
|
||||
field public static final int SLEET = 17; // 0x11
|
||||
field public static final int SMOKY = 21; // 0x15
|
||||
field public static final int SNOW = 15; // 0xf
|
||||
field public static final int SNOW_FLURRIES = 12; // 0xc
|
||||
field public static final int SNOW_SHOWERS = 43; // 0x2b
|
||||
field public static final int SUNNY = 31; // 0x1f
|
||||
field public static final int THUNDERSHOWER = 42; // 0x2a
|
||||
field public static final int THUNDERSTORMS = 4; // 0x4
|
||||
field public static final int TORNADO = 0; // 0x0
|
||||
field public static final int TROPICAL_STORM = 1; // 0x1
|
||||
field public static final int WINDY = 23; // 0x17
|
||||
}
|
||||
|
||||
public static final class WeatherContract.WeatherColumns.WindSpeedUnit {
|
||||
field public static final int KPH = 1; // 0x1
|
||||
field public static final int MPH = 2; // 0x2
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package cyanogenmod.themes {
|
||||
@ -1073,7 +1248,7 @@ package cyanogenmod.themes {
|
||||
public class ThemeManager {
|
||||
method public deprecated void addClient(cyanogenmod.themes.ThemeManager.ThemeChangeListener);
|
||||
method public void applyDefaultTheme();
|
||||
method public static cyanogenmod.themes.ThemeManager getInstance();
|
||||
method public static cyanogenmod.themes.ThemeManager getInstance(android.content.Context);
|
||||
method public cyanogenmod.themes.ThemeChangeRequest.RequestType getLastThemeChangeRequestType();
|
||||
method public long getLastThemeChangeTime();
|
||||
method public int getProgress();
|
||||
@ -1091,7 +1266,7 @@ package cyanogenmod.themes {
|
||||
method public void requestThemeChange(java.util.Map<java.lang.String, java.lang.String>);
|
||||
method public void requestThemeChange(java.util.Map<java.lang.String, java.lang.String>, boolean);
|
||||
method public void requestThemeChange(cyanogenmod.themes.ThemeChangeRequest, boolean);
|
||||
method public void unregisterProcessingListener(cyanogenmod.themes.ThemeManager.ThemeChangeListener);
|
||||
method public void unregisterProcessingListener(cyanogenmod.themes.ThemeManager.ThemeProcessingListener);
|
||||
method public void unregisterThemeChangeListener(cyanogenmod.themes.ThemeManager.ThemeChangeListener);
|
||||
}
|
||||
|
||||
@ -1122,3 +1297,158 @@ package cyanogenmod.util {
|
||||
|
||||
}
|
||||
|
||||
package cyanogenmod.weather {
|
||||
|
||||
public class CMWeatherManager {
|
||||
method public void cancelRequest(int);
|
||||
method public java.lang.String getActiveWeatherServiceProviderLabel();
|
||||
method public static cyanogenmod.weather.CMWeatherManager getInstance(android.content.Context);
|
||||
method public int lookupCity(java.lang.String, cyanogenmod.weather.CMWeatherManager.LookupCityRequestListener);
|
||||
method public void registerWeatherServiceProviderChangeListener(cyanogenmod.weather.CMWeatherManager.WeatherServiceProviderChangeListener);
|
||||
method public int requestWeatherUpdate(android.location.Location, cyanogenmod.weather.CMWeatherManager.WeatherUpdateRequestListener);
|
||||
method public int requestWeatherUpdate(cyanogenmod.weather.WeatherLocation, cyanogenmod.weather.CMWeatherManager.WeatherUpdateRequestListener);
|
||||
method public void unregisterWeatherServiceProviderChangeListener(cyanogenmod.weather.CMWeatherManager.WeatherServiceProviderChangeListener);
|
||||
}
|
||||
|
||||
public static abstract interface CMWeatherManager.LookupCityRequestListener {
|
||||
method public abstract void onLookupCityRequestCompleted(int, java.util.List<cyanogenmod.weather.WeatherLocation>);
|
||||
}
|
||||
|
||||
public static final class CMWeatherManager.RequestStatus {
|
||||
field public static final int ALREADY_IN_PROGRESS = -3; // 0xfffffffd
|
||||
field public static final int COMPLETED = 1; // 0x1
|
||||
field public static final int FAILED = -1; // 0xffffffff
|
||||
field public static final int NO_MATCH_FOUND = -4; // 0xfffffffc
|
||||
field public static final int SUBMITTED_TOO_SOON = -2; // 0xfffffffe
|
||||
}
|
||||
|
||||
public static abstract interface CMWeatherManager.WeatherServiceProviderChangeListener {
|
||||
method public abstract void onWeatherServiceProviderChanged(java.lang.String);
|
||||
}
|
||||
|
||||
public static abstract interface CMWeatherManager.WeatherUpdateRequestListener {
|
||||
method public abstract void onWeatherRequestCompleted(int, cyanogenmod.weather.WeatherInfo);
|
||||
}
|
||||
|
||||
public final class RequestInfo implements android.os.Parcelable {
|
||||
method public int describeContents();
|
||||
method public java.lang.String getCityName();
|
||||
method public android.location.Location getLocation();
|
||||
method public int getRequestType();
|
||||
method public int getTemperatureUnit();
|
||||
method public cyanogenmod.weather.WeatherLocation getWeatherLocation();
|
||||
method public void writeToParcel(android.os.Parcel, int);
|
||||
field public static final android.os.Parcelable.Creator<cyanogenmod.weather.RequestInfo> CREATOR;
|
||||
field public static final int TYPE_LOOKUP_CITY_NAME_REQ = 3; // 0x3
|
||||
field public static final int TYPE_WEATHER_BY_GEO_LOCATION_REQ = 1; // 0x1
|
||||
field public static final int TYPE_WEATHER_BY_WEATHER_LOCATION_REQ = 2; // 0x2
|
||||
}
|
||||
|
||||
public final class WeatherInfo implements android.os.Parcelable {
|
||||
method public int describeContents();
|
||||
method public java.lang.String getCity();
|
||||
method public int getConditionCode();
|
||||
method public java.util.List<cyanogenmod.weather.WeatherInfo.DayForecast> getForecasts();
|
||||
method public double getHumidity();
|
||||
method public double getTemperature();
|
||||
method public int getTemperatureUnit();
|
||||
method public long getTimestamp();
|
||||
method public double getTodaysHigh();
|
||||
method public double getTodaysLow();
|
||||
method public double getWindDirection();
|
||||
method public double getWindSpeed();
|
||||
method public int getWindSpeedUnit();
|
||||
method public void writeToParcel(android.os.Parcel, int);
|
||||
field public static final android.os.Parcelable.Creator<cyanogenmod.weather.WeatherInfo> CREATOR;
|
||||
}
|
||||
|
||||
public static class WeatherInfo.Builder {
|
||||
ctor public WeatherInfo.Builder(java.lang.String, double, int);
|
||||
method public cyanogenmod.weather.WeatherInfo build();
|
||||
method public cyanogenmod.weather.WeatherInfo.Builder setForecast(java.util.List<cyanogenmod.weather.WeatherInfo.DayForecast>);
|
||||
method public cyanogenmod.weather.WeatherInfo.Builder setHumidity(double);
|
||||
method public cyanogenmod.weather.WeatherInfo.Builder setTimestamp(long);
|
||||
method public cyanogenmod.weather.WeatherInfo.Builder setTodaysHigh(double);
|
||||
method public cyanogenmod.weather.WeatherInfo.Builder setTodaysLow(double);
|
||||
method public cyanogenmod.weather.WeatherInfo.Builder setWeatherCondition(int);
|
||||
method public cyanogenmod.weather.WeatherInfo.Builder setWind(double, double, int);
|
||||
}
|
||||
|
||||
public static class WeatherInfo.DayForecast implements android.os.Parcelable {
|
||||
method public int describeContents();
|
||||
method public int getConditionCode();
|
||||
method public double getHigh();
|
||||
method public double getLow();
|
||||
method public void writeToParcel(android.os.Parcel, int);
|
||||
field public static final android.os.Parcelable.Creator<cyanogenmod.weather.WeatherInfo.DayForecast> CREATOR;
|
||||
}
|
||||
|
||||
public static class WeatherInfo.DayForecast.Builder {
|
||||
ctor public WeatherInfo.DayForecast.Builder(int);
|
||||
method public cyanogenmod.weather.WeatherInfo.DayForecast build();
|
||||
method public cyanogenmod.weather.WeatherInfo.DayForecast.Builder setHigh(double);
|
||||
method public cyanogenmod.weather.WeatherInfo.DayForecast.Builder setLow(double);
|
||||
}
|
||||
|
||||
public final class WeatherLocation implements android.os.Parcelable {
|
||||
method public int describeContents();
|
||||
method public java.lang.String getCity();
|
||||
method public java.lang.String getCityId();
|
||||
method public java.lang.String getCountry();
|
||||
method public java.lang.String getCountryId();
|
||||
method public java.lang.String getPostalCode();
|
||||
method public java.lang.String getState();
|
||||
method public void writeToParcel(android.os.Parcel, int);
|
||||
field public static final android.os.Parcelable.Creator<cyanogenmod.weather.WeatherLocation> CREATOR;
|
||||
}
|
||||
|
||||
public static class WeatherLocation.Builder {
|
||||
ctor public WeatherLocation.Builder(java.lang.String, java.lang.String);
|
||||
ctor public WeatherLocation.Builder(java.lang.String);
|
||||
method public cyanogenmod.weather.WeatherLocation build();
|
||||
method public cyanogenmod.weather.WeatherLocation.Builder setCountry(java.lang.String);
|
||||
method public cyanogenmod.weather.WeatherLocation.Builder setCountryId(java.lang.String);
|
||||
method public cyanogenmod.weather.WeatherLocation.Builder setPostalCode(java.lang.String);
|
||||
method public cyanogenmod.weather.WeatherLocation.Builder setState(java.lang.String);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package cyanogenmod.weatherservice {
|
||||
|
||||
public final class ServiceRequest {
|
||||
method public void complete(cyanogenmod.weatherservice.ServiceRequestResult);
|
||||
method public void fail();
|
||||
method public cyanogenmod.weather.RequestInfo getRequestInfo();
|
||||
method public void reject(int);
|
||||
}
|
||||
|
||||
public final class ServiceRequestResult implements android.os.Parcelable {
|
||||
method public int describeContents();
|
||||
method public java.util.List<cyanogenmod.weather.WeatherLocation> getLocationLookupList();
|
||||
method public cyanogenmod.weather.WeatherInfo getWeatherInfo();
|
||||
method public void writeToParcel(android.os.Parcel, int);
|
||||
field public static final android.os.Parcelable.Creator<cyanogenmod.weatherservice.ServiceRequestResult> CREATOR;
|
||||
}
|
||||
|
||||
public static class ServiceRequestResult.Builder {
|
||||
ctor public ServiceRequestResult.Builder();
|
||||
ctor public ServiceRequestResult.Builder(cyanogenmod.weather.WeatherInfo);
|
||||
ctor public ServiceRequestResult.Builder(java.util.List<cyanogenmod.weather.WeatherLocation>);
|
||||
method public cyanogenmod.weatherservice.ServiceRequestResult build();
|
||||
}
|
||||
|
||||
public abstract class WeatherProviderService extends android.app.Service {
|
||||
ctor public WeatherProviderService();
|
||||
method protected final void attachBaseContext(android.content.Context);
|
||||
method public final android.os.IBinder onBind(android.content.Intent);
|
||||
method protected void onConnected();
|
||||
method protected void onDisconnected();
|
||||
method protected abstract void onRequestCancelled(cyanogenmod.weatherservice.ServiceRequest);
|
||||
method protected abstract void onRequestSubmitted(cyanogenmod.weatherservice.ServiceRequest);
|
||||
field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.weatherservice.WeatherProviderService";
|
||||
field public static final java.lang.String SERVICE_META_DATA = "cyanogenmod.weatherservice";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
1567
cmsdk/system-api/6.txt
Normal file
1567
cmsdk/system-api/6.txt
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user