blob: 40d6fa5e3f6a5d1607bf8ac1ba7c54393e0700b7 [file] [log] [blame]
Matt Garnes51c39ba2015-07-29 17:19:03 -07001package cyanogenmod.alarmclock {
2
3 public final class ClockContract {
4 field public static final java.lang.String AUTHORITY = "com.android.deskclock";
5 }
6
7 public static abstract interface ClockContract.AlarmSettingColumns {
8 field public static final java.lang.String INCREASING_VOLUME = "incvol";
9 field public static final java.lang.String LABEL = "label";
10 field public static final java.lang.String NO_RINGTONE;
11 field public static final android.net.Uri NO_RINGTONE_URI;
12 field public static final java.lang.String PROFILE = "profile";
13 field public static final java.lang.String RINGTONE = "ringtone";
14 field public static final java.lang.String VIBRATE = "vibrate";
15 }
16
17 public static abstract interface ClockContract.AlarmsColumns implements cyanogenmod.alarmclock.ClockContract.AlarmSettingColumns {
18 field public static final android.net.Uri CONTENT_URI;
19 field public static final java.lang.String DAYS_OF_WEEK = "daysofweek";
20 field public static final java.lang.String DELETE_AFTER_USE = "delete_after_use";
21 field public static final java.lang.String ENABLED = "enabled";
22 field public static final java.lang.String HOUR = "hour";
23 field public static final java.lang.String MINUTES = "minutes";
24 }
25
26 public static abstract interface ClockContract.CitiesColumns {
27 field public static final java.lang.String CITY_ID = "city_id";
28 field public static final java.lang.String CITY_NAME = "city_name";
29 field public static final android.net.Uri CONTENT_URI;
30 field public static final java.lang.String TIMEZONE_NAME = "timezone_name";
31 field public static final java.lang.String TIMEZONE_OFFSET = "timezone_offset";
32 }
33
34 public static abstract interface ClockContract.InstancesColumns implements cyanogenmod.alarmclock.ClockContract.AlarmSettingColumns {
35 field public static final java.lang.String ALARM_ID = "alarm_id";
36 field public static final java.lang.String ALARM_STATE = "alarm_state";
37 field public static final android.net.Uri CONTENT_URI;
38 field public static final java.lang.String DAY = "day";
39 field public static final int DISMISSED_STATE = 7; // 0x7
40 field public static final int FIRED_STATE = 5; // 0x5
41 field public static final int HIDE_NOTIFICATION_STATE = 2; // 0x2
42 field public static final int HIGH_NOTIFICATION_STATE = 3; // 0x3
43 field public static final java.lang.String HOUR = "hour";
44 field public static final int LOW_NOTIFICATION_STATE = 1; // 0x1
45 field public static final java.lang.String MINUTES = "minutes";
46 field public static final int MISSED_STATE = 6; // 0x6
47 field public static final java.lang.String MONTH = "month";
48 field public static final int POWER_OFF_ALARM_STATE = -1; // 0xffffffff
Adnan Begovicb4b13212016-01-06 16:41:25 -080049 field public static final int PREDISMISSED_STATE = 8; // 0x8
Matt Garnes51c39ba2015-07-29 17:19:03 -070050 field public static final int SILENT_STATE = 0; // 0x0
51 field public static final int SNOOZE_STATE = 4; // 0x4
52 field public static final java.lang.String YEAR = "year";
53 }
54
55 public class CyanogenModAlarmClock {
56 ctor public CyanogenModAlarmClock();
Matt Garnes7820e6d2015-08-05 18:16:21 -070057 method public static android.content.Intent createAlarmIntent(android.content.Context);
Matt Garnes51c39ba2015-07-29 17:19:03 -070058 field public static final java.lang.String ACTION_SET_ALARM_ENABLED = "cyanogenmod.alarmclock.SET_ALARM_ENABLED";
59 field public static final java.lang.String EXTRA_ALARM_ID = "cyanogenmod.intent.extra.alarmclock.ID";
60 field public static final java.lang.String EXTRA_ENABLED = "cyanogenmod.intent.extra.alarmclock.ENABLED";
61 field public static final java.lang.String MODIFY_ALARMS_PERMISSION = "cyanogenmod.alarmclock.permission.MODIFY_ALARMS";
62 field public static final java.lang.String READ_ALARMS_PERMISSION = "cyanogenmod.alarmclock.permission.READ_ALARMS";
Matt Garnes51c39ba2015-07-29 17:19:03 -070063 }
64
65}
66
Adnan Begovic273f2db2015-05-28 19:47:47 -070067package cyanogenmod.app {
68
69 public class CMStatusBarManager {
70 method public static cyanogenmod.app.CMStatusBarManager getInstance(android.content.Context);
71 method public void publishTile(int, cyanogenmod.app.CustomTile);
72 method public void publishTile(java.lang.String, int, cyanogenmod.app.CustomTile);
73 method public void publishTileAsUser(java.lang.String, int, cyanogenmod.app.CustomTile, android.os.UserHandle);
74 method public void removeTile(int);
75 method public void removeTile(java.lang.String, int);
76 method public void removeTileAsUser(java.lang.String, int, android.os.UserHandle);
Adnan Begovic273f2db2015-05-28 19:47:47 -070077 }
78
Joao Figueiredo7f503352015-08-06 23:59:02 +010079 public class CMTelephonyManager {
80 method public static cyanogenmod.app.CMTelephonyManager getInstance(android.content.Context);
81 method public java.util.List<android.telephony.SubscriptionInfo> getSubInformation();
82 method public boolean isDataConnectionEnabled();
83 method public boolean isDataConnectionSelectedOnSub(int);
84 method public boolean isSubActive(int);
85 method public void setDataConnectionState(boolean);
86 method public void setDefaultPhoneSub(int);
87 method public void setDefaultSmsSub(int);
88 method public void setSubState(int, boolean);
89 field public static final int ASK_FOR_SUBSCRIPTION_ID = 0; // 0x0
90 }
91
Adnan Begovic273f2db2015-05-28 19:47:47 -070092 public class CustomTile implements android.os.Parcelable {
93 ctor public CustomTile(android.os.Parcel);
94 ctor public CustomTile();
95 method public cyanogenmod.app.CustomTile clone();
96 method public int describeContents();
97 method public void writeToParcel(android.os.Parcel, int);
98 field public static final android.os.Parcelable.Creator<cyanogenmod.app.CustomTile> CREATOR;
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -070099 field public static final int PSEUDO_GRID_ITEM_MAX_COUNT = 9; // 0x9
Adnan Begovic32905402015-07-22 13:34:09 -0700100 field public boolean collapsePanel;
Adnan Begovic273f2db2015-05-28 19:47:47 -0700101 field public java.lang.String contentDescription;
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700102 field public android.app.PendingIntent deleteIntent;
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700103 field public cyanogenmod.app.CustomTile.ExpandedStyle expandedStyle;
Adnan Begovic273f2db2015-05-28 19:47:47 -0700104 field public int icon;
105 field public java.lang.String label;
106 field public android.app.PendingIntent onClick;
107 field public android.net.Uri onClickUri;
Adnan Begovicebf0f552016-01-18 11:26:08 -0800108 field public android.app.PendingIntent onLongClick;
Adnan Begovic273f2db2015-05-28 19:47:47 -0700109 field public android.content.Intent onSettingsClick;
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700110 field public android.graphics.Bitmap remoteIcon;
Adnan Begovic99716042015-09-01 16:26:28 -0700111 field public boolean sensitiveData;
Adnan Begovic273f2db2015-05-28 19:47:47 -0700112 }
113
114 public static class CustomTile.Builder {
115 ctor public CustomTile.Builder(android.content.Context);
116 method public cyanogenmod.app.CustomTile build();
Adnan Begovic99716042015-09-01 16:26:28 -0700117 method public cyanogenmod.app.CustomTile.Builder hasSensitiveData(boolean);
Adnan Begovic273f2db2015-05-28 19:47:47 -0700118 method public cyanogenmod.app.CustomTile.Builder setContentDescription(java.lang.String);
119 method public cyanogenmod.app.CustomTile.Builder setContentDescription(int);
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700120 method public cyanogenmod.app.CustomTile.Builder setDeleteIntent(android.app.PendingIntent);
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700121 method public cyanogenmod.app.CustomTile.Builder setExpandedStyle(cyanogenmod.app.CustomTile.ExpandedStyle);
Adnan Begovic273f2db2015-05-28 19:47:47 -0700122 method public cyanogenmod.app.CustomTile.Builder setIcon(int);
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700123 method public cyanogenmod.app.CustomTile.Builder setIcon(android.graphics.Bitmap);
Adnan Begovic273f2db2015-05-28 19:47:47 -0700124 method public cyanogenmod.app.CustomTile.Builder setLabel(java.lang.String);
125 method public cyanogenmod.app.CustomTile.Builder setLabel(int);
126 method public cyanogenmod.app.CustomTile.Builder setOnClickIntent(android.app.PendingIntent);
127 method public cyanogenmod.app.CustomTile.Builder setOnClickUri(android.net.Uri);
Adnan Begovicebf0f552016-01-18 11:26:08 -0800128 method public cyanogenmod.app.CustomTile.Builder setOnLongClickIntent(android.app.PendingIntent);
Adnan Begovic273f2db2015-05-28 19:47:47 -0700129 method public cyanogenmod.app.CustomTile.Builder setOnSettingsClickIntent(android.content.Intent);
Adnan Begovic32905402015-07-22 13:34:09 -0700130 method public cyanogenmod.app.CustomTile.Builder shouldCollapsePanel(boolean);
Adnan Begovic273f2db2015-05-28 19:47:47 -0700131 }
132
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700133 public static class CustomTile.ExpandedGridItem extends cyanogenmod.app.CustomTile.ExpandedItem {
134 ctor public CustomTile.ExpandedGridItem();
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700135 method public void setExpandedGridItemBitmap(android.graphics.Bitmap);
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700136 method public void setExpandedGridItemDrawable(int);
137 method public void setExpandedGridItemOnClickIntent(android.app.PendingIntent);
138 method public void setExpandedGridItemTitle(java.lang.String);
139 }
140
141 public static class CustomTile.ExpandedItem implements android.os.Parcelable {
142 ctor protected CustomTile.ExpandedItem(android.os.Parcel);
143 method public int describeContents();
144 method public void writeToParcel(android.os.Parcel, int);
145 field public static final android.os.Parcelable.Creator<cyanogenmod.app.CustomTile.ExpandedItem> CREATOR;
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700146 field public android.graphics.Bitmap itemBitmapResource;
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700147 field public int itemDrawableResourceId;
148 field public java.lang.String itemSummary;
149 field public java.lang.String itemTitle;
150 field public android.app.PendingIntent onClickPendingIntent;
151 }
152
153 public static class CustomTile.ExpandedListItem extends cyanogenmod.app.CustomTile.ExpandedItem {
154 ctor public CustomTile.ExpandedListItem();
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700155 method public void setExpandedListItemBitmap(android.graphics.Bitmap);
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700156 method public void setExpandedListItemDrawable(int);
157 method public void setExpandedListItemOnClickIntent(android.app.PendingIntent);
158 method public void setExpandedListItemSummary(java.lang.String);
159 method public void setExpandedListItemTitle(java.lang.String);
160 }
161
162 public static class CustomTile.ExpandedStyle implements android.os.Parcelable {
163 method public int describeContents();
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700164 method public android.widget.RemoteViews getContentViews();
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700165 method public cyanogenmod.app.CustomTile.ExpandedItem[] getExpandedItems();
166 method public int getStyle();
167 method public void writeToParcel(android.os.Parcel, int);
168 field public static final android.os.Parcelable.Creator<cyanogenmod.app.CustomTile.ExpandedStyle> CREATOR;
169 field public static final int GRID_STYLE = 0; // 0x0
170 field public static final int LIST_STYLE = 1; // 0x1
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700171 field public static final int REMOTE_STYLE = 2; // 0x2
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700172 }
173
174 public static class CustomTile.GridExpandedStyle extends cyanogenmod.app.CustomTile.ExpandedStyle {
175 ctor public CustomTile.GridExpandedStyle();
176 method public void setGridItems(java.util.ArrayList<cyanogenmod.app.CustomTile.ExpandedGridItem>);
177 }
178
179 public static class CustomTile.ListExpandedStyle extends cyanogenmod.app.CustomTile.ExpandedStyle {
180 ctor public CustomTile.ListExpandedStyle();
181 method public void setListItems(java.util.ArrayList<cyanogenmod.app.CustomTile.ExpandedListItem>);
182 }
183
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700184 public static class CustomTile.RemoteExpandedStyle extends cyanogenmod.app.CustomTile.ExpandedStyle {
185 ctor public CustomTile.RemoteExpandedStyle();
186 method public void setRemoteViews(android.widget.RemoteViews);
187 }
188
Adnan Begovic273f2db2015-05-28 19:47:47 -0700189 public class CustomTileListenerService extends android.app.Service {
190 ctor public CustomTileListenerService();
191 method public android.os.IBinder onBind(android.content.Intent);
192 method public void onCustomTilePosted(cyanogenmod.app.StatusBarPanelCustomTile);
193 method public void onCustomTileRemoved(cyanogenmod.app.StatusBarPanelCustomTile);
194 method public void onListenerConnected();
195 method public final void removeCustomTile(java.lang.String, java.lang.String, int);
196 field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.app.CustomTileListenerService";
197 }
198
d34dbfa500d2016-03-08 09:14:34 -0800199 public class LiveLockScreenInfo implements android.os.Parcelable {
200 ctor public LiveLockScreenInfo(android.content.ComponentName, int);
201 ctor public LiveLockScreenInfo();
202 method public cyanogenmod.app.LiveLockScreenInfo clone();
203 method public int describeContents();
204 method public void writeToParcel(android.os.Parcel, int);
205 field public static final android.os.Parcelable.Creator<cyanogenmod.app.LiveLockScreenInfo> CREATOR;
206 field public static final int PRIORITY_DEFAULT = 0; // 0x0
207 field public static final int PRIORITY_HIGH = 1; // 0x1
208 field public static final int PRIORITY_LOW = -1; // 0xffffffff
209 field public static final int PRIORITY_MAX = 2; // 0x2
210 field public static final int PRIORITY_MIN = -2; // 0xfffffffe
211 field public android.content.ComponentName component;
212 field public int priority;
213 }
214
215 public static class LiveLockScreenInfo.Builder {
216 ctor public LiveLockScreenInfo.Builder();
217 method public cyanogenmod.app.LiveLockScreenInfo build();
218 method public cyanogenmod.app.LiveLockScreenInfo.Builder setComponent(android.content.ComponentName);
219 method public cyanogenmod.app.LiveLockScreenInfo.Builder setPriority(int);
220 }
221
222 public class LiveLockScreenManager {
223 method public void cancel(int);
224 method public cyanogenmod.app.LiveLockScreenInfo getDefaultLiveLockScreen();
225 method public static cyanogenmod.app.LiveLockScreenManager getInstance(android.content.Context);
226 method public void setDefaultLiveLockScreen(cyanogenmod.app.LiveLockScreenInfo);
227 method public boolean show(int, cyanogenmod.app.LiveLockScreenInfo);
228 field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.app.LiveLockScreenManagerService";
229 }
230
Matt Garnes087f2b52015-09-03 15:54:29 -0700231 public class PartnerInterface {
232 method public java.lang.String getCurrentHotwordPackageName();
233 method public static cyanogenmod.app.PartnerInterface getInstance(android.content.Context);
234 method public void rebootDevice();
235 method public void setAirplaneModeEnabled(boolean);
236 method public void setMobileDataEnabled(boolean);
237 method public boolean setZenMode(int);
Adnan Begovicb4b13212016-01-06 16:41:25 -0800238 method public boolean setZenModeWithDuration(int, long);
Matt Garnes087f2b52015-09-03 15:54:29 -0700239 method public void shutdownDevice();
240 field public static final java.lang.String MODIFY_NETWORK_SETTINGS_PERMISSION = "cyanogenmod.permission.MODIFY_NETWORK_SETTINGS";
241 field public static final java.lang.String MODIFY_SOUND_SETTINGS_PERMISSION = "cyanogenmod.permission.MODIFY_SOUND_SETTINGS";
242 field public static final int ZEN_MODE_IMPORTANT_INTERRUPTIONS = 1; // 0x1
243 field public static final int ZEN_MODE_NO_INTERRUPTIONS = 2; // 0x2
244 field public static final int ZEN_MODE_OFF = 0; // 0x0
245 }
246
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700247 public final class Profile implements android.os.Parcelable {
248 ctor public Profile(java.lang.String);
249 method public void addSecondaryUuid(java.util.UUID);
250 method public int compareTo(java.lang.Object);
251 method public int describeContents();
252 method public cyanogenmod.profiles.AirplaneModeSettings getAirplaneMode();
253 method public cyanogenmod.profiles.BrightnessSettings getBrightness();
Roman Birgc46e0ff2016-02-10 18:59:16 -0800254 method public cyanogenmod.profiles.ConnectionSettings getConnectionSettingWithSubId(int);
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700255 method public java.util.Collection<cyanogenmod.profiles.ConnectionSettings> getConnectionSettings();
256 method public int getDozeMode();
257 method public int getExpandedDesktopMode();
258 method public java.lang.String getName();
Adnan Begoviccdf4d0d2016-02-10 18:14:35 -0800259 method public int getNotificationLightMode();
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700260 method public int getProfileType();
261 method public cyanogenmod.profiles.RingModeSettings getRingMode();
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700262 method public cyanogenmod.profiles.LockSettings getScreenLockMode();
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700263 method public java.util.UUID[] getSecondaryUuids();
264 method public cyanogenmod.profiles.ConnectionSettings getSettingsForConnection(int);
265 method public cyanogenmod.profiles.StreamSettings getSettingsForStream(int);
266 method public java.util.Collection<cyanogenmod.profiles.StreamSettings> getStreamSettings();
267 method public int getTriggerState(int, java.lang.String);
268 method public java.util.ArrayList<cyanogenmod.app.Profile.ProfileTrigger> getTriggersFromType(int);
269 method public java.util.UUID getUuid();
270 method public boolean isConditionalType();
271 method public void setAirplaneMode(cyanogenmod.profiles.AirplaneModeSettings);
272 method public void setBrightness(cyanogenmod.profiles.BrightnessSettings);
273 method public void setConnectionSettings(cyanogenmod.profiles.ConnectionSettings);
274 method public void setDozeMode(int);
275 method public void setExpandedDesktopMode(int);
276 method public void setName(java.lang.String);
Adnan Begoviccdf4d0d2016-02-10 18:14:35 -0800277 method public void setNotificationLightMode(int);
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700278 method public void setProfileType(int);
279 method public void setRingMode(cyanogenmod.profiles.RingModeSettings);
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700280 method public void setScreenLockMode(cyanogenmod.profiles.LockSettings);
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700281 method public void setSecondaryUuids(java.util.List<java.util.UUID>);
282 method public void setStreamSettings(cyanogenmod.profiles.StreamSettings);
283 method public void setTrigger(cyanogenmod.app.Profile.ProfileTrigger);
284 method public void writeToParcel(android.os.Parcel, int);
285 }
286
287 public static class Profile.DozeMode {
288 ctor public Profile.DozeMode();
289 field public static final int DEFAULT = 0; // 0x0
290 field public static final int DISABLE = 2; // 0x2
291 field public static final int ENABLE = 1; // 0x1
292 }
293
294 public static class Profile.ExpandedDesktopMode {
295 ctor public Profile.ExpandedDesktopMode();
296 field public static final int DEFAULT = 0; // 0x0
297 field public static final int DISABLE = 2; // 0x2
298 field public static final int ENABLE = 1; // 0x1
299 }
300
301 public static class Profile.LockMode {
302 ctor public Profile.LockMode();
303 field public static final int DEFAULT = 0; // 0x0
304 field public static final int DISABLE = 2; // 0x2
305 field public static final int INSECURE = 1; // 0x1
306 }
307
Adnan Begoviccdf4d0d2016-02-10 18:14:35 -0800308 public static class Profile.NotificationLightMode {
309 ctor public Profile.NotificationLightMode();
310 field public static final int DEFAULT = 0; // 0x0
311 field public static final int DISABLE = 2; // 0x2
312 field public static final int ENABLE = 1; // 0x1
313 }
314
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700315 public static class Profile.ProfileTrigger implements android.os.Parcelable {
Adnan Begovic8481cec2015-08-04 16:45:26 -0700316 ctor public Profile.ProfileTrigger(int, java.lang.String, int, java.lang.String);
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700317 method public int describeContents();
318 method public java.lang.String getId();
319 method public java.lang.String getName();
320 method public int getState();
321 method public int getType();
322 method public void writeToParcel(android.os.Parcel, int);
323 }
324
325 public static class Profile.TriggerState {
326 ctor public Profile.TriggerState();
327 field public static final int DISABLED = 2; // 0x2
328 field public static final int ON_A2DP_CONNECT = 3; // 0x3
329 field public static final int ON_A2DP_DISCONNECT = 4; // 0x4
330 field public static final int ON_CONNECT = 0; // 0x0
331 field public static final int ON_DISCONNECT = 1; // 0x1
332 }
333
334 public static class Profile.TriggerType {
335 ctor public Profile.TriggerType();
336 field public static final int BLUETOOTH = 1; // 0x1
337 field public static final int WIFI = 0; // 0x0
338 }
339
340 public static class Profile.Type {
341 ctor public Profile.Type();
342 field public static final int CONDITIONAL = 1; // 0x1
343 field public static final int TOGGLE = 0; // 0x0
344 }
345
346 public class ProfileManager {
347 method public void addProfile(cyanogenmod.app.Profile);
348 method public cyanogenmod.app.Profile getActiveProfile();
349 method public static cyanogenmod.app.ProfileManager getInstance(android.content.Context);
350 method public deprecated cyanogenmod.app.Profile getProfile(java.lang.String);
351 method public cyanogenmod.app.Profile getProfile(java.util.UUID);
352 method public java.lang.String[] getProfileNames();
353 method public cyanogenmod.app.Profile[] getProfiles();
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800354 method public boolean isProfilesEnabled();
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700355 method public boolean profileExists(java.lang.String);
356 method public boolean profileExists(java.util.UUID);
357 method public void removeProfile(cyanogenmod.app.Profile);
358 method public void resetAll();
359 method public deprecated void setActiveProfile(java.lang.String);
360 method public void setActiveProfile(java.util.UUID);
361 method public void updateProfile(cyanogenmod.app.Profile);
Adnan Begovicce52da62015-07-17 13:20:27 -0700362 field public static final java.lang.String ACTION_PROFILE_PICKER = "cyanogenmod.platform.intent.action.PROFILE_PICKER";
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700363 field public static final java.lang.String EXTRA_LAST_PROFILE_NAME = "lastName";
Roman Birg45f57c52016-03-17 15:29:22 -0700364 field public static final java.lang.String EXTRA_LAST_PROFILE_UUID = "lastUuid";
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700365 field public static final java.lang.String EXTRA_PROFILES_STATE = "profile_state";
366 field public static final java.lang.String EXTRA_PROFILE_DIALOG_THEME = "cyanogenmod.platform.intent.extra.profile.DIALOG_THEME";
Adnan Begovica276a412015-07-21 11:56:26 -0700367 field public static final java.lang.String EXTRA_PROFILE_EXISTING_UUID = "cyanogenmod.platform.extra.profile.EXISTING_UUID";
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700368 field public static final java.lang.String EXTRA_PROFILE_NAME = "name";
369 field public static final java.lang.String EXTRA_PROFILE_PICKED_UUID = "cyanogenmod.platform.intent.extra.profile.PICKED_UUID";
Adnan Begovica276a412015-07-21 11:56:26 -0700370 field public static final java.lang.String EXTRA_PROFILE_SHOW_NONE = "cyanogenmod.platform.intent.extra.profile.SHOW_NONE";
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700371 field public static final java.lang.String EXTRA_PROFILE_TITLE = "cyanogenmod.platform.intent.extra.profile.TITLE";
372 field public static final java.lang.String EXTRA_PROFILE_UUID = "uuid";
373 field public static final java.lang.String INTENT_ACTION_PROFILE_SELECTED = "cyanogenmod.platform.intent.action.PROFILE_SELECTED";
374 field public static final java.lang.String INTENT_ACTION_PROFILE_UPDATED = "cyanogenmod.platform.intent.action.PROFILE_UPDATED";
375 field public static final java.util.UUID NO_PROFILE;
376 field public static final java.lang.String PROFILES_STATE_CHANGED_ACTION = "cyanogenmod.platform.app.profiles.PROFILES_STATE_CHANGED";
377 field public static final int PROFILES_STATE_DISABLED = 0; // 0x0
378 field public static final int PROFILES_STATE_ENABLED = 1; // 0x1
379 }
380
Adnan Begovic273f2db2015-05-28 19:47:47 -0700381 public class StatusBarPanelCustomTile implements android.os.Parcelable {
Adnan Begovicf1f9f252015-06-22 20:34:55 -0700382 ctor public StatusBarPanelCustomTile(java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, int, int, cyanogenmod.app.CustomTile, android.os.UserHandle);
383 ctor public StatusBarPanelCustomTile(java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, int, int, cyanogenmod.app.CustomTile, android.os.UserHandle, long);
Adnan Begovic273f2db2015-05-28 19:47:47 -0700384 ctor public StatusBarPanelCustomTile(android.os.Parcel);
385 method public cyanogenmod.app.StatusBarPanelCustomTile clone();
386 method public int describeContents();
387 method public cyanogenmod.app.CustomTile getCustomTile();
388 method public int getId();
389 method public java.lang.String getKey();
390 method public java.lang.String getPackage();
391 method public long getPostTime();
392 method public java.lang.String getTag();
393 method public android.os.UserHandle getUser();
394 method public int getUserId();
395 method public void writeToParcel(android.os.Parcel, int);
396 field public static final android.os.Parcelable.Creator<cyanogenmod.app.StatusBarPanelCustomTile> CREATOR;
397 }
398
399}
400
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800401package cyanogenmod.content {
402
403 public class Intent {
404 ctor public Intent();
405 field public static final java.lang.String ACTION_PROTECTED = "cyanogenmod.intent.action.PACKAGE_PROTECTED";
406 field public static final java.lang.String ACTION_PROTECTED_CHANGED = "cyanogenmod.intent.action.PROTECTED_COMPONENT_UPDATE";
d34db3ea2852016-02-23 09:58:53 -0800407 field public static final java.lang.String ACTION_THEME_INSTALLED = "cyanogenmod.intent.action.THEME_INSTALLED";
408 field public static final java.lang.String ACTION_THEME_REMOVED = "cyanogenmod.intent.action.THEME_REMOVED";
409 field public static final java.lang.String ACTION_THEME_UPDATED = "cyanogenmod.intent.action.THEME_UPDATED";
410 field public static final java.lang.String CATEGORY_THEME_PACKAGE_INSTALLED_STATE_CHANGE = "cyanogenmod.intent.category.THEME_PACKAGE_INSTALL_STATE_CHANGE";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800411 field public static final java.lang.String EXTRA_PROTECTED_COMPONENTS = "cyanogenmod.intent.extra.PACKAGE_PROTECTED_COMPONENTS";
412 field public static final java.lang.String EXTRA_PROTECTED_STATE = "cyanogenmod.intent.extra.PACKAGE_PROTECTED_STATE";
d34db3ea2852016-02-23 09:58:53 -0800413 field public static final java.lang.String URI_SCHEME_PACKAGE = "package";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800414 }
415
416}
417
Adnan Begovicb4b13212016-01-06 16:41:25 -0800418package cyanogenmod.externalviews {
419
420 public abstract class KeyguardExternalViewProviderService extends android.app.Service {
421 ctor public KeyguardExternalViewProviderService();
422 method protected abstract cyanogenmod.externalviews.KeyguardExternalViewProviderService.Provider createExternalView(android.os.Bundle);
423 method public final android.os.IBinder onBind(android.content.Intent);
Adnan Begovic588c05a2016-01-22 17:34:47 -0800424 field public static final java.lang.String META_DATA = "cyanogenmod.externalviews.keyguard";
425 field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.externalviews.KeyguardExternalViewProviderService";
Adnan Begovicb4b13212016-01-06 16:41:25 -0800426 }
427
428 protected abstract class KeyguardExternalViewProviderService.Provider {
429 ctor protected KeyguardExternalViewProviderService.Provider(android.os.Bundle);
d34d16d3dc62016-04-07 12:59:28 -0700430 method protected final deprecated void collapseNotificationPanel();
Adnan Begovicb4b13212016-01-06 16:41:25 -0800431 method protected android.os.Bundle getOptions();
432 method protected void onAttach();
433 method protected abstract void onBouncerShowing(boolean);
434 method protected abstract android.view.View onCreateView();
435 method protected void onDetach();
436 method protected abstract void onKeyguardDismissed();
437 method protected abstract void onKeyguardShowing(boolean);
Danesh Md5490532016-03-31 20:33:18 -0700438 method protected void onLockscreenSlideOffsetChanged(float);
Adnan Begovicb4b13212016-01-06 16:41:25 -0800439 method protected abstract void onScreenTurnedOff();
440 method protected abstract void onScreenTurnedOn();
441 method protected final boolean requestDismiss();
442 method protected final boolean requestDismissAndStartActivity(android.content.Intent);
443 method protected final void setInteractivity(boolean);
Danesh Md5490532016-03-31 20:33:18 -0700444 method protected final void slideLockscreenIn();
Adnan Begovicb4b13212016-01-06 16:41:25 -0800445 }
446
447}
448
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700449package cyanogenmod.hardware {
450
451 public final class CMHardwareManager {
Adnan Begovic9f381bc2015-09-09 17:29:30 -0700452 method public boolean deletePersistentObject(java.lang.String);
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700453 method public boolean get(int);
454 method public cyanogenmod.hardware.DisplayMode getCurrentDisplayMode();
455 method public cyanogenmod.hardware.DisplayMode getDefaultDisplayMode();
456 method public int[] getDisplayColorCalibration();
457 method public int getDisplayColorCalibrationDefault();
458 method public int getDisplayColorCalibrationMax();
459 method public int getDisplayColorCalibrationMin();
460 method public deprecated int[] getDisplayGammaCalibration(int);
461 method public deprecated int getDisplayGammaCalibrationMax();
462 method public deprecated int getDisplayGammaCalibrationMin();
463 method public cyanogenmod.hardware.DisplayMode[] getDisplayModes();
464 method public static cyanogenmod.hardware.CMHardwareManager getInstance(android.content.Context);
465 method public java.lang.String getLtoDestination();
466 method public long getLtoDownloadInterval();
467 method public java.lang.String getLtoSource();
468 method public deprecated int getNumGammaControls();
469 method public java.lang.String getSerialNumber();
470 method public int getSupportedFeatures();
Danesh Mc56b48e2015-09-24 13:41:01 -0700471 method public int getThermalState();
Matt Wagantalleb82dbf2016-02-02 11:32:18 -0800472 method public java.lang.String getUniqueDeviceId();
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700473 method public int getVibratorDefaultIntensity();
474 method public int getVibratorIntensity();
475 method public int getVibratorMaxIntensity();
476 method public int getVibratorMinIntensity();
477 method public int getVibratorWarningIntensity();
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800478 method public boolean isSunlightEnhancementSelfManaged();
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700479 method public boolean isSupported(int);
Adnan Begovic9f381bc2015-09-09 17:29:30 -0700480 method public byte[] readPersistentBytes(java.lang.String);
481 method public int readPersistentInt(java.lang.String);
482 method public java.lang.String readPersistentString(java.lang.String);
Danesh Mc56b48e2015-09-24 13:41:01 -0700483 method public boolean registerThermalListener(cyanogenmod.hardware.ThermalListenerCallback);
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700484 method public boolean requireAdaptiveBacklightForSunlightEnhancement();
485 method public boolean set(int, boolean);
486 method public boolean setDisplayColorCalibration(int[]);
487 method public deprecated boolean setDisplayGammaCalibration(int, int[]);
488 method public boolean setDisplayMode(cyanogenmod.hardware.DisplayMode, boolean);
489 method public boolean setVibratorIntensity(int);
Danesh Mc56b48e2015-09-24 13:41:01 -0700490 method public boolean unRegisterThermalListener(cyanogenmod.hardware.ThermalListenerCallback);
Adnan Begovic9f381bc2015-09-09 17:29:30 -0700491 method public boolean writePersistentBytes(java.lang.String, byte[]);
492 method public boolean writePersistentInt(java.lang.String, int);
493 method public boolean writePersistentString(java.lang.String, java.lang.String);
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700494 field public static final int FEATURE_ADAPTIVE_BACKLIGHT = 1; // 0x1
495 field public static final int FEATURE_AUTO_CONTRAST = 4096; // 0x1000
496 field public static final int FEATURE_COLOR_ENHANCEMENT = 2; // 0x2
497 field public static final int FEATURE_DISPLAY_COLOR_CALIBRATION = 4; // 0x4
498 field public static final int FEATURE_DISPLAY_GAMMA_CALIBRATION = 8; // 0x8
499 field public static final int FEATURE_DISPLAY_MODES = 8192; // 0x2000
500 field public static final int FEATURE_HIGH_TOUCH_SENSITIVITY = 16; // 0x10
501 field public static final int FEATURE_KEY_DISABLE = 32; // 0x20
502 field public static final int FEATURE_LONG_TERM_ORBITS = 64; // 0x40
Adnan Begovic9f381bc2015-09-09 17:29:30 -0700503 field public static final int FEATURE_PERSISTENT_STORAGE = 16384; // 0x4000
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700504 field public static final int FEATURE_SERIAL_NUMBER = 128; // 0x80
505 field public static final int FEATURE_SUNLIGHT_ENHANCEMENT = 256; // 0x100
506 field public static final int FEATURE_TAP_TO_WAKE = 512; // 0x200
Danesh Mc56b48e2015-09-24 13:41:01 -0700507 field public static final int FEATURE_THERMAL_MONITOR = 32768; // 0x8000
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700508 field public static final int FEATURE_TOUCH_HOVERING = 2048; // 0x800
Matt Wagantalleb82dbf2016-02-02 11:32:18 -0800509 field public static final int FEATURE_UNIQUE_DEVICE_ID = 65536; // 0x10000
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700510 field public static final int FEATURE_VIBRATOR = 1024; // 0x400
511 }
512
513 public class DisplayMode implements android.os.Parcelable {
514 ctor public DisplayMode(int, java.lang.String);
515 method public int describeContents();
516 method public void writeToParcel(android.os.Parcel, int);
517 field public final int id;
518 field public final java.lang.String name;
519 }
520
Danesh Mc56b48e2015-09-24 13:41:01 -0700521 public abstract interface IThermalListenerCallback implements android.os.IInterface {
522 method public abstract void onThermalChanged(int) throws android.os.RemoteException;
523 }
524
525 public static abstract class IThermalListenerCallback.Stub extends android.os.Binder implements cyanogenmod.hardware.IThermalListenerCallback {
526 ctor public IThermalListenerCallback.Stub();
527 method public android.os.IBinder asBinder();
528 method public static cyanogenmod.hardware.IThermalListenerCallback asInterface(android.os.IBinder);
529 method public boolean onTransact(int, android.os.Parcel, android.os.Parcel, int) throws android.os.RemoteException;
530 }
531
Steve Kondik1dab5a02016-03-31 11:23:36 -0700532 public class LiveDisplayConfig implements android.os.Parcelable {
533 ctor public LiveDisplayConfig(java.util.BitSet, int, int, int, boolean, boolean, boolean, boolean);
534 method public int describeContents();
535 method public boolean getDefaultAutoContrast();
536 method public boolean getDefaultAutoOutdoorMode();
537 method public boolean getDefaultCABC();
538 method public boolean getDefaultColorEnhancement();
539 method public int getDefaultDayTemperature();
540 method public int getDefaultMode();
541 method public int getDefaultNightTemperature();
542 method public boolean hasFeature(int);
543 method public boolean isAvailable();
544 method public void writeToParcel(android.os.Parcel, int);
545 }
546
547 public class LiveDisplayManager {
548 method public float[] getColorAdjustment();
549 method public cyanogenmod.hardware.LiveDisplayConfig getConfig();
550 method public int getDayColorTemperature();
551 method public static synchronized cyanogenmod.hardware.LiveDisplayManager getInstance(android.content.Context);
552 method public int getMode();
553 method public int getNightColorTemperature();
554 method public boolean isAutoContrastEnabled();
555 method public boolean isAutomaticOutdoorModeEnabled();
556 method public boolean isCABCEnabled();
557 method public boolean isColorEnhancementEnabled();
558 method public boolean setAutoContrastEnabled(boolean);
559 method public boolean setAutomaticOutdoorModeEnabled(boolean);
560 method public boolean setCABCEnabled(boolean);
561 method public boolean setColorAdjustment(float[]);
562 method public boolean setColorEnhancementEnabled(boolean);
563 method public boolean setDayColorTemperature(int);
564 method public boolean setMode(int);
565 method public boolean setNightColorTemperature(int);
566 field public static final int FEATURE_AUTO_CONTRAST = 11; // 0xb
567 field public static final int FEATURE_CABC = 10; // 0xa
568 field public static final int FEATURE_COLOR_ADJUSTMENT = 13; // 0xd
569 field public static final int FEATURE_COLOR_ENHANCEMENT = 12; // 0xc
570 field public static final int FEATURE_DISPLAY_MODES = 15; // 0xf
571 field public static final int FEATURE_MANAGED_OUTDOOR_MODE = 14; // 0xe
572 field public static final int MODE_AUTO = 2; // 0x2
573 field public static final int MODE_DAY = 4; // 0x4
574 field public static final int MODE_NIGHT = 1; // 0x1
575 field public static final int MODE_OFF = 0; // 0x0
576 field public static final int MODE_OUTDOOR = 3; // 0x3
577 }
578
Danesh Mc56b48e2015-09-24 13:41:01 -0700579 public abstract class ThermalListenerCallback extends cyanogenmod.hardware.IThermalListenerCallback.Stub {
580 ctor public ThermalListenerCallback();
581 }
582
583 public static final class ThermalListenerCallback.State {
584 ctor public ThermalListenerCallback.State();
585 method public static final java.lang.String toString(int);
586 field public static final int STATE_COOL = 0; // 0x0
Adnan Begovic10d20252015-09-30 17:47:23 -0700587 field public static final int STATE_CRITICAL = 3; // 0x3
Danesh Mc56b48e2015-09-24 13:41:01 -0700588 field public static final int STATE_UNKNOWN = -1; // 0xffffffff
Adnan Begovic10d20252015-09-30 17:47:23 -0700589 field public static final int STATE_WARM_FALLING = 1; // 0x1
590 field public static final int STATE_WARM_RISING = 2; // 0x2
Danesh Mc56b48e2015-09-24 13:41:01 -0700591 }
592
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700593}
594
Matt Garnes087f2b52015-09-03 15:54:29 -0700595package cyanogenmod.media {
596
597 public class MediaRecorder {
598 ctor public MediaRecorder();
599 field public static final java.lang.String ACTION_HOTWORD_INPUT_CHANGED = "com.cyanogenmod.intent.action.HOTWORD_INPUT_CHANGED";
600 field public static final java.lang.String CAPTURE_AUDIO_HOTWORD_PERMISSION = "android.permission.CAPTURE_AUDIO_HOTWORD";
601 field public static final java.lang.String EXTRA_CURRENT_PACKAGE_NAME = "com.cyanogenmod.intent.extra.CURRENT_PACKAGE_NAME";
602 }
603
604 public static class MediaRecorder.AudioSource {
605 ctor public MediaRecorder.AudioSource();
606 field public static final int HOTWORD = 1999; // 0x7cf
607 }
608
609}
610
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700611package cyanogenmod.os {
612
613 public class Build {
614 ctor public Build();
615 method public static java.lang.String getNameForSDKInt(int);
Adnan Begovicd8c25562016-04-06 14:52:21 -0700616 field public static final java.lang.String CYANOGENMOD_DISPLAY_VERSION;
617 field public static final java.lang.String CYANOGENMOD_VERSION;
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700618 field public static final java.lang.String UNKNOWN = "unknown";
619 }
620
621 public static class Build.CM_VERSION {
622 ctor public Build.CM_VERSION();
623 field public static final int SDK_INT;
624 }
625
626 public static class Build.CM_VERSION_CODES {
627 ctor public Build.CM_VERSION_CODES();
628 field public static final int APRICOT = 1; // 0x1
Adnan Begovicf9ec3a42015-07-13 16:46:23 -0700629 field public static final int BOYSENBERRY = 2; // 0x2
Roman Birgd29499d2015-12-23 09:32:13 -0800630 field public static final int CANTALOUPE = 3; // 0x3
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800631 field public static final int DRAGON_FRUIT = 4; // 0x4
Adnan Begovic1d2351e2016-02-09 11:12:38 -0800632 field public static final int ELDERBERRY = 5; // 0x5
Adnan Begovic6b879f32016-04-01 15:39:53 -0700633 field public static final int FIG = 6; // 0x6
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700634 }
635
Adnan Begovicdf4486f2016-04-01 10:55:04 -0700636 public final class Concierge {
637 method public static cyanogenmod.os.Concierge.ParcelInfo prepareParcel(android.os.Parcel);
638 method public static cyanogenmod.os.Concierge.ParcelInfo receiveParcel(android.os.Parcel);
639 }
640
641 public static final class Concierge.ParcelInfo {
642 method public void complete();
643 method public int getParcelVersion();
644 }
645
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700646}
647
Adnan Begovic273f2db2015-05-28 19:47:47 -0700648package cyanogenmod.platform {
649
650 public final class Manifest {
651 ctor public Manifest();
652 }
653
654 public static final class Manifest.permission {
655 ctor public Manifest.permission();
herriojre78ca4d2015-09-08 13:59:20 -0700656 field public static final java.lang.String ACCESS_APP_SUGGESTIONS = "cyanogenmod.permission.ACCESS_APP_SUGGESTIONS";
d34db3ea2852016-02-23 09:58:53 -0800657 field public static final java.lang.String ACCESS_THEME_MANAGER = "cyanogenmod.permission.ACCESS_THEME_MANAGER";
Luis Vidal4195a1c2016-03-21 11:56:40 -0700658 field public static final java.lang.String ACCESS_WEATHER_MANAGER = "cyanogenmod.permission.ACCESS_WEATHER_MANAGER";
659 field public static final java.lang.String BIND_WEATHER_PROVIDER_SERVICE = "cyanogenmod.permission.BIND_WEATHER_PROVIDER_SERVICE";
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700660 field public static final java.lang.String HARDWARE_ABSTRACTION_ACCESS = "cyanogenmod.permission.HARDWARE_ABSTRACTION_ACCESS";
d34dbfa500d2016-03-08 09:14:34 -0800661 field public static final java.lang.String LIVE_LOCK_SCREEN_MANAGER_ACCESS = "cyanogenmod.permission.LIVE_LOCK_SCREEN_MANAGER_ACCESS";
Adnan Begovic99716042015-09-01 16:26:28 -0700662 field public static final java.lang.String MANAGE_ALARMS = "cyanogenmod.permission.MANAGE_ALARMS";
Steve Kondik1dab5a02016-03-31 11:23:36 -0700663 field public static final java.lang.String MANAGE_LIVEDISPLAY = "cyanogenmod.permission.MANAGE_LIVEDISPLAY";
Adnan Begovic9f381bc2015-09-09 17:29:30 -0700664 field public static final java.lang.String MANAGE_PERSISTENT_STORAGE = "cyanogenmod.permission.MANAGE_PERSISTENT_STORAGE";
Joao Figueiredo7f503352015-08-06 23:59:02 +0100665 field public static final java.lang.String MODIFY_MSIM_PHONE_STATE = "cyanogenmod.permission.MODIFY_MSIM_PHONE_STATE";
Matt Garnes7820e6d2015-08-05 18:16:21 -0700666 field public static final java.lang.String MODIFY_NETWORK_SETTINGS = "cyanogenmod.permission.MODIFY_NETWORK_SETTINGS";
Adnan Begovic99716042015-09-01 16:26:28 -0700667 field public static final java.lang.String MODIFY_PROFILES = "cyanogenmod.permission.MODIFY_PROFILES";
Matt Garnes7820e6d2015-08-05 18:16:21 -0700668 field public static final java.lang.String MODIFY_SOUND_SETTINGS = "cyanogenmod.permission.MODIFY_SOUND_SETTINGS";
Adnan Begovicb4eafda2016-03-07 11:49:52 -0800669 field public static final java.lang.String PERFORMANCE_ACCESS = "cyanogenmod.permission.PERFORMANCE_ACCESS";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800670 field public static final java.lang.String PROTECTED_APP = "cyanogenmod.permission.PROTECTED_APP";
Adnan Begovic273f2db2015-05-28 19:47:47 -0700671 field public static final java.lang.String PUBLISH_CUSTOM_TILE = "cyanogenmod.permission.PUBLISH_CUSTOM_TILE";
Adnan Begovic99716042015-09-01 16:26:28 -0700672 field public static final java.lang.String READ_ALARMS = "cyanogenmod.permission.READ_ALARMS";
gkipnis1ee5f202016-02-11 15:36:08 -0800673 field public static final java.lang.String READ_DATAUSAGE = "cyanogenmod.permission.READ_DATAUSAGE";
Joao Figueiredo7f503352015-08-06 23:59:02 +0100674 field public static final java.lang.String READ_MSIM_PHONE_STATE = "cyanogenmod.permission.READ_MSIM_PHONE_STATE";
d34db3ea2852016-02-23 09:58:53 -0800675 field public static final java.lang.String READ_THEMES = "cyanogenmod.permission.READ_THEMES";
Luis Vidal4195a1c2016-03-21 11:56:40 -0700676 field public static final java.lang.String READ_WEATHER = "cyanogenmod.permission.READ_WEATHER";
d34d10da08a2016-01-25 09:44:14 -0800677 field public static final java.lang.String THIRD_PARTY_KEYGUARD = "cyanogenmod.permission.THIRD_PARTY_KEYGUARD";
Adnan Begovic99716042015-09-01 16:26:28 -0700678 field public static final java.lang.String WRITE_ALARMS = "cyanogenmod.permission.WRITE_ALARMS";
gkipnis1ee5f202016-02-11 15:36:08 -0800679 field public static final java.lang.String WRITE_DATAUSAGE = "cyanogenmod.permission.WRITE_DATAUSAGE";
Yvonne Wong0eb29992015-08-20 16:02:08 -0700680 field public static final java.lang.String WRITE_SECURE_SETTINGS = "cyanogenmod.permission.WRITE_SECURE_SETTINGS";
681 field public static final java.lang.String WRITE_SETTINGS = "cyanogenmod.permission.WRITE_SETTINGS";
d34db3ea2852016-02-23 09:58:53 -0800682 field public static final java.lang.String WRITE_THEMES = "cyanogenmod.permission.WRITE_THEMES";
Luis Vidal4195a1c2016-03-21 11:56:40 -0700683 field public static final java.lang.String WRITE_WEATHER = "cyanogenmod.permission.WRITE_WEATHER";
Adnan Begovic273f2db2015-05-28 19:47:47 -0700684 }
685
686 public final class R {
687 ctor public R();
688 }
689
herriojre78ca4d2015-09-08 13:59:20 -0700690 public static final class R.array {
691 ctor public R.array();
692 }
693
Adnan Begovic273f2db2015-05-28 19:47:47 -0700694 public static final class R.attr {
695 ctor public R.attr();
696 }
697
herriojre78ca4d2015-09-08 13:59:20 -0700698 public static final class R.bool {
699 ctor public R.bool();
700 }
701
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700702 public static final class R.drawable {
703 ctor public R.drawable();
704 }
705
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800706 public static final class R.integer {
707 ctor public R.integer();
708 }
709
Adnan Begovic273f2db2015-05-28 19:47:47 -0700710 public static final class R.string {
711 ctor public R.string();
712 }
713
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700714 public static final class R.xml {
715 ctor public R.xml();
716 }
717
718}
719
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800720package cyanogenmod.power {
721
722 public class PerformanceManager {
723 method public static cyanogenmod.power.PerformanceManager getInstance(android.content.Context);
724 method public int getNumberOfProfiles();
725 method public int getPowerProfile();
726 method public boolean getProfileHasAppProfiles(int);
727 method public boolean setPowerProfile(int);
728 field public static final java.lang.String POWER_PROFILE_CHANGED = "cyanogenmod.power.PROFILE_CHANGED";
729 field public static final int PROFILE_BALANCED = 1; // 0x1
730 field public static final int PROFILE_BIAS_PERFORMANCE = 4; // 0x4
731 field public static final int PROFILE_BIAS_POWER_SAVE = 3; // 0x3
732 field public static final int PROFILE_HIGH_PERFORMANCE = 2; // 0x2
733 field public static final int PROFILE_POWER_SAVE = 0; // 0x0
734 field public static final java.lang.String TAG = "PerformanceManager";
735 }
736
737}
738
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700739package cyanogenmod.profiles {
740
741 public final class AirplaneModeSettings implements android.os.Parcelable {
742 ctor public AirplaneModeSettings(android.os.Parcel);
743 ctor public AirplaneModeSettings();
744 ctor public AirplaneModeSettings(int, boolean);
745 method public int describeContents();
746 method public int getValue();
747 method public boolean isOverride();
748 method public void setOverride(boolean);
749 method public void setValue(int);
750 method public void writeToParcel(android.os.Parcel, int);
751 }
752
753 public static class AirplaneModeSettings.BooleanState {
754 ctor public AirplaneModeSettings.BooleanState();
755 field public static final int STATE_DISALED = 0; // 0x0
756 field public static final int STATE_ENABLED = 1; // 0x1
757 }
758
759 public final class BrightnessSettings implements android.os.Parcelable {
760 ctor public BrightnessSettings(android.os.Parcel);
761 ctor public BrightnessSettings();
762 ctor public BrightnessSettings(int, boolean);
763 method public int describeContents();
764 method public int getValue();
765 method public boolean isOverride();
766 method public void setOverride(boolean);
767 method public void setValue(int);
768 method public void writeToParcel(android.os.Parcel, int);
769 }
770
771 public final class ConnectionSettings implements android.os.Parcelable {
772 ctor public ConnectionSettings(android.os.Parcel);
773 ctor public ConnectionSettings(int);
774 ctor public ConnectionSettings(int, int, boolean);
775 method public int describeContents();
776 method public int getConnectionId();
Roman Birgc46e0ff2016-02-10 18:59:16 -0800777 method public int getSubId();
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700778 method public int getValue();
779 method public boolean isOverride();
780 method public void setOverride(boolean);
Roman Birgc46e0ff2016-02-10 18:59:16 -0800781 method public void setSubId(int);
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700782 method public void setValue(int);
783 method public void writeToParcel(android.os.Parcel, int);
784 field public static final int PROFILE_CONNECTION_2G3G4G = 9; // 0x9
785 field public static final int PROFILE_CONNECTION_BLUETOOTH = 7; // 0x7
786 field public static final int PROFILE_CONNECTION_GPS = 4; // 0x4
787 field public static final int PROFILE_CONNECTION_MOBILEDATA = 0; // 0x0
788 field public static final int PROFILE_CONNECTION_NFC = 8; // 0x8
789 field public static final int PROFILE_CONNECTION_SYNC = 5; // 0x5
790 field public static final int PROFILE_CONNECTION_WIFI = 1; // 0x1
791 field public static final int PROFILE_CONNECTION_WIFIAP = 2; // 0x2
792 field public static final int PROFILE_CONNECTION_WIMAX = 3; // 0x3
793 }
794
795 public static class ConnectionSettings.BooleanState {
796 ctor public ConnectionSettings.BooleanState();
797 field public static final int STATE_DISALED = 0; // 0x0
798 field public static final int STATE_ENABLED = 1; // 0x1
799 }
800
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700801 public final class LockSettings implements android.os.Parcelable {
802 ctor public LockSettings(android.os.Parcel);
803 ctor public LockSettings();
804 ctor public LockSettings(int);
805 method public int describeContents();
806 method public int getValue();
807 method public void setValue(int);
808 method public void writeToParcel(android.os.Parcel, int);
809 }
810
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700811 public final class RingModeSettings implements android.os.Parcelable {
812 ctor public RingModeSettings(android.os.Parcel);
813 ctor public RingModeSettings();
814 ctor public RingModeSettings(java.lang.String, boolean);
815 method public int describeContents();
816 method public java.lang.String getValue();
817 method public boolean isOverride();
818 method public void setOverride(boolean);
819 method public void setValue(java.lang.String);
820 method public void writeToParcel(android.os.Parcel, int);
821 field public static final java.lang.String RING_MODE_MUTE = "mute";
822 field public static final java.lang.String RING_MODE_NORMAL = "normal";
823 field public static final java.lang.String RING_MODE_VIBRATE = "vibrate";
824 }
825
826 public final class StreamSettings implements android.os.Parcelable {
827 ctor public StreamSettings(android.os.Parcel);
828 ctor public StreamSettings(int);
829 ctor public StreamSettings(int, int, boolean);
830 method public int describeContents();
831 method public int getStreamId();
832 method public int getValue();
833 method public boolean isOverride();
834 method public void setOverride(boolean);
835 method public void setValue(int);
836 method public void writeToParcel(android.os.Parcel, int);
837 }
838
Adnan Begovic273f2db2015-05-28 19:47:47 -0700839}
840
Yvonne Wong0eb29992015-08-20 16:02:08 -0700841package cyanogenmod.providers {
842
843 public final class CMSettings {
844 ctor public CMSettings();
gkipnis1ee5f202016-02-11 15:36:08 -0800845 field public static final java.lang.String ACTION_DATA_USAGE = "cyanogenmod.settings.ACTION_DATA_USAGE";
Steve Kondik1dab5a02016-03-31 11:23:36 -0700846 field public static final java.lang.String ACTION_LIVEDISPLAY_SETTINGS = "cyanogenmod.settings.LIVEDISPLAY_SETTINGS";
Yvonne Wong0eb29992015-08-20 16:02:08 -0700847 field public static final java.lang.String AUTHORITY = "cmsettings";
848 }
849
850 public static class CMSettings.CMSettingNotFoundException extends android.util.AndroidException {
851 ctor public CMSettings.CMSettingNotFoundException(java.lang.String);
852 }
853
854 public static final class CMSettings.Global extends android.provider.Settings.NameValueTable {
855 ctor public CMSettings.Global();
856 method public static float getFloat(android.content.ContentResolver, java.lang.String, float);
857 method public static float getFloat(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException;
858 method public static int getInt(android.content.ContentResolver, java.lang.String, int);
859 method public static int getInt(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException;
860 method public static long getLong(android.content.ContentResolver, java.lang.String, long);
861 method public static long getLong(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException;
862 method public static java.lang.String getString(android.content.ContentResolver, java.lang.String);
Roman Birgd29499d2015-12-23 09:32:13 -0800863 method public static android.net.Uri getUriFor(java.lang.String);
Yvonne Wong0eb29992015-08-20 16:02:08 -0700864 method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float);
865 method public static boolean putInt(android.content.ContentResolver, java.lang.String, int);
866 method public static boolean putLong(android.content.ContentResolver, java.lang.String, long);
867 method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String);
868 field public static final android.net.Uri CONTENT_URI;
869 field public static final java.lang.String SYS_PROP_CM_SETTING_VERSION = "sys.cm_settings_global_version";
Luis Vidaled4d0632016-04-12 21:01:39 -0700870 field public static final java.lang.String WEATHER_TEMPERATURE_UNIT = "weather_temperature_unit";
Yvonne Wong0eb29992015-08-20 16:02:08 -0700871 }
872
873 public static final class CMSettings.Secure extends android.provider.Settings.NameValueTable {
874 ctor public CMSettings.Secure();
875 method public static float getFloat(android.content.ContentResolver, java.lang.String, float);
876 method public static float getFloat(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException;
877 method public static int getInt(android.content.ContentResolver, java.lang.String, int);
878 method public static int getInt(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException;
879 method public static long getLong(android.content.ContentResolver, java.lang.String, long);
880 method public static long getLong(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException;
881 method public static java.lang.String getString(android.content.ContentResolver, java.lang.String);
Roman Birgd29499d2015-12-23 09:32:13 -0800882 method public static android.net.Uri getUriFor(java.lang.String);
Yvonne Wong0eb29992015-08-20 16:02:08 -0700883 method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float);
884 method public static boolean putInt(android.content.ContentResolver, java.lang.String, int);
885 method public static boolean putLong(android.content.ContentResolver, java.lang.String, long);
886 method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String);
887 field public static final android.net.Uri CONTENT_URI;
Yvonne Wong0eb29992015-08-20 16:02:08 -0700888 field public static final java.lang.String SYS_PROP_CM_SETTING_VERSION = "sys.cm_settings_secure_version";
889 }
890
891 public static final class CMSettings.System extends android.provider.Settings.NameValueTable {
892 ctor public CMSettings.System();
893 method public static float getFloat(android.content.ContentResolver, java.lang.String, float);
894 method public static float getFloat(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException;
895 method public static int getInt(android.content.ContentResolver, java.lang.String, int);
896 method public static int getInt(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException;
897 method public static long getLong(android.content.ContentResolver, java.lang.String, long);
898 method public static long getLong(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException;
899 method public static java.lang.String getString(android.content.ContentResolver, java.lang.String);
Roman Birgd29499d2015-12-23 09:32:13 -0800900 method public static android.net.Uri getUriFor(java.lang.String);
Yvonne Wong0eb29992015-08-20 16:02:08 -0700901 method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float);
902 method public static boolean putInt(android.content.ContentResolver, java.lang.String, int);
903 method public static boolean putLong(android.content.ContentResolver, java.lang.String, long);
904 method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String);
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800905 field public static final java.lang.String APP_SWITCH_WAKE_SCREEN = "app_switch_wake_screen";
906 field public static final java.lang.String ASSIST_WAKE_SCREEN = "assist_wake_screen";
907 field public static final java.lang.String BACK_WAKE_SCREEN = "back_wake_screen";
908 field public static final java.lang.String BATTERY_LIGHT_ENABLED = "battery_light_enabled";
909 field public static final java.lang.String BATTERY_LIGHT_FULL_COLOR = "battery_light_full_color";
910 field public static final java.lang.String BATTERY_LIGHT_LOW_COLOR = "battery_light_low_color";
911 field public static final java.lang.String BATTERY_LIGHT_MEDIUM_COLOR = "battery_light_medium_color";
912 field public static final java.lang.String BATTERY_LIGHT_PULSE = "battery_light_pulse";
913 field public static final java.lang.String BLUETOOTH_ACCEPT_ALL_FILES = "bluetooth_accept_all_files";
914 field public static final java.lang.String CALL_RECORDING_FORMAT = "call_recording_format";
915 field public static final java.lang.String CAMERA_LAUNCH = "camera_launch";
916 field public static final java.lang.String CAMERA_SLEEP_ON_RELEASE = "camera_sleep_on_release";
917 field public static final java.lang.String CAMERA_WAKE_SCREEN = "camera_wake_screen";
Yvonne Wong0eb29992015-08-20 16:02:08 -0700918 field public static final android.net.Uri CONTENT_URI;
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800919 field public static final java.lang.String DIALER_OPENCNAM_ACCOUNT_SID = "dialer_opencnam_account_sid";
920 field public static final java.lang.String DIALER_OPENCNAM_AUTH_TOKEN = "dialer_opencnam_auth_token";
Steve Kondik1dab5a02016-03-31 11:23:36 -0700921 field public static final java.lang.String DISPLAY_AUTO_CONTRAST = "display_auto_contrast";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800922 field public static final java.lang.String DISPLAY_AUTO_OUTDOOR_MODE = "display_auto_outdoor_mode";
Steve Kondik1dab5a02016-03-31 11:23:36 -0700923 field public static final java.lang.String DISPLAY_CABC = "display_low_power";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800924 field public static final java.lang.String DISPLAY_COLOR_ADJUSTMENT = "display_color_adjustment";
925 field public static final java.lang.String DISPLAY_COLOR_ENHANCE = "display_color_enhance";
Steve Kondik1dab5a02016-03-31 11:23:36 -0700926 field public static final deprecated java.lang.String DISPLAY_LOW_POWER = "display_low_power";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800927 field public static final java.lang.String DISPLAY_TEMPERATURE_DAY = "display_temperature_day";
928 field public static final java.lang.String DISPLAY_TEMPERATURE_MODE = "display_temperature_mode";
929 field public static final java.lang.String DISPLAY_TEMPERATURE_NIGHT = "display_temperature_night";
930 field public static final java.lang.String DOUBLE_TAP_SLEEP_GESTURE = "double_tap_sleep_gesture";
931 field public static final java.lang.String ENABLE_FORWARD_LOOKUP = "enable_forward_lookup";
932 field public static final java.lang.String ENABLE_PEOPLE_LOOKUP = "enable_people_lookup";
933 field public static final java.lang.String ENABLE_REVERSE_LOOKUP = "enable_reverse_lookup";
934 field public static final java.lang.String FORWARD_LOOKUP_PROVIDER = "forward_lookup_provider";
Michael Bestasfcadbf52016-02-10 01:39:17 +0200935 field public static final java.lang.String HEADSET_CONNECT_PLAYER = "headset_connect_player";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800936 field public static final java.lang.String HIGH_TOUCH_SENSITIVITY_ENABLE = "high_touch_sensitivity_enable";
937 field public static final java.lang.String HOME_WAKE_SCREEN = "home_wake_screen";
938 field public static final java.lang.String INCREASING_RING = "increasing_ring";
939 field public static final java.lang.String INCREASING_RING_RAMP_UP_TIME = "increasing_ring_ramp_up_time";
940 field public static final java.lang.String INCREASING_RING_START_VOLUME = "increasing_ring_start_vol";
941 field public static final java.lang.String KEY_APP_SWITCH_ACTION = "key_app_switch_action";
942 field public static final java.lang.String KEY_APP_SWITCH_LONG_PRESS_ACTION = "key_app_switch_long_press_action";
943 field public static final java.lang.String KEY_ASSIST_ACTION = "key_assist_action";
944 field public static final java.lang.String KEY_ASSIST_LONG_PRESS_ACTION = "key_assist_long_press_action";
945 field public static final java.lang.String KEY_HOME_DOUBLE_TAP_ACTION = "key_home_double_tap_action";
946 field public static final java.lang.String KEY_HOME_LONG_PRESS_ACTION = "key_home_long_press_action";
947 field public static final java.lang.String KEY_MENU_ACTION = "key_menu_action";
948 field public static final java.lang.String KEY_MENU_LONG_PRESS_ACTION = "key_menu_long_press_action";
949 field public static final java.lang.String LOCKSCREEN_PIN_SCRAMBLE_LAYOUT = "lockscreen_scramble_pin_layout";
950 field public static final java.lang.String MENU_WAKE_SCREEN = "menu_wake_screen";
951 field public static final java.lang.String NAVBAR_LEFT_IN_LANDSCAPE = "navigation_bar_left";
952 field public static final java.lang.String NAVIGATION_BAR_MENU_ARROW_KEYS = "navigation_bar_menu_arrow_keys";
953 field public static final java.lang.String NAV_BUTTONS = "nav_buttons";
954 field public static final java.lang.String NOTIFICATION_LIGHT_BRIGHTNESS_LEVEL = "notification_light_brightness_level";
955 field public static final java.lang.String NOTIFICATION_LIGHT_MULTIPLE_LEDS_ENABLE = "notification_light_multiple_leds_enable";
956 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_COLOR = "notification_light_pulse_call_color";
957 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_LED_OFF = "notification_light_pulse_call_led_off";
958 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_LED_ON = "notification_light_pulse_call_led_on";
959 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CUSTOM_ENABLE = "notification_light_pulse_custom_enable";
960 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CUSTOM_VALUES = "notification_light_pulse_custom_values";
961 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_COLOR = "notification_light_pulse_default_color";
962 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_OFF = "notification_light_pulse_default_led_off";
963 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_ON = "notification_light_pulse_default_led_on";
964 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_COLOR = "notification_light_pulse_vmail_color";
965 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_LED_OFF = "notification_light_pulse_vmail_led_off";
966 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_LED_ON = "notification_light_pulse_vmail_led_on";
967 field public static final java.lang.String NOTIFICATION_LIGHT_SCREEN_ON = "notification_light_screen_on_enable";
968 field public static final java.lang.String NOTIFICATION_PLAY_QUEUE = "notification_play_queue";
969 field public static final java.lang.String PEOPLE_LOOKUP_PROVIDER = "people_lookup_provider";
970 field public static final java.lang.String PROXIMITY_ON_WAKE = "proximity_on_wake";
971 field public static final java.lang.String QS_SHOW_BRIGHTNESS_SLIDER = "qs_show_brightness_slider";
972 field public static final java.lang.String RECENTS_SHOW_SEARCH_BAR = "recents_show_search_bar";
973 field public static final java.lang.String REVERSE_LOOKUP_PROVIDER = "reverse_lookup_provider";
974 field public static final java.lang.String SHOW_ALARM_ICON = "show_alarm_icon";
975 field public static final java.lang.String STATUS_BAR_AM_PM = "status_bar_am_pm";
976 field public static final java.lang.String STATUS_BAR_BATTERY_STYLE = "status_bar_battery_style";
977 field public static final java.lang.String STATUS_BAR_BRIGHTNESS_CONTROL = "status_bar_brightness_control";
978 field public static final java.lang.String STATUS_BAR_CLOCK = "status_bar_clock";
979 field public static final java.lang.String STATUS_BAR_IME_SWITCHER = "status_bar_ime_switcher";
980 field public static final java.lang.String STATUS_BAR_NOTIF_COUNT = "status_bar_notif_count";
981 field public static final java.lang.String STATUS_BAR_QUICK_QS_PULLDOWN = "qs_quick_pulldown";
982 field public static final java.lang.String STATUS_BAR_SHOW_BATTERY_PERCENT = "status_bar_show_battery_percent";
983 field public static final java.lang.String STATUS_BAR_SHOW_WEATHER = "status_bar_show_weather";
984 field public static final java.lang.String SWAP_VOLUME_KEYS_ON_ROTATION = "swap_volume_keys_on_rotation";
985 field public static final java.lang.String SYSTEM_PROFILES_ENABLED = "system_profiles_enabled";
Yvonne Wong0eb29992015-08-20 16:02:08 -0700986 field public static final java.lang.String SYS_PROP_CM_SETTING_VERSION = "sys.cm_settings_system_version";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800987 field public static final java.lang.String T9_SEARCH_INPUT_LOCALE = "t9_search_input_locale";
Michael Bestas73fafc12016-02-20 01:01:34 +0200988 field public static final java.lang.String TOUCHSCREEN_GESTURE_HAPTIC_FEEDBACK = "touchscreen_gesture_haptic_feedback";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800989 field public static final java.lang.String USE_EDGE_SERVICE_FOR_GESTURES = "edge_service_for_gestures";
990 field public static final java.lang.String VOLBTN_MUSIC_CONTROLS = "volbtn_music_controls";
991 field public static final java.lang.String VOLUME_ADJUST_SOUNDS_ENABLED = "volume_adjust_sounds_enabled";
992 field public static final java.lang.String VOLUME_KEYS_CONTROL_RING_STREAM = "volume_keys_control_ring_stream";
993 field public static final java.lang.String VOLUME_WAKE_SCREEN = "volume_wake_screen";
niks255783463c2016-01-29 12:13:00 +0300994 field public static final java.lang.String ZEN_ALLOW_LIGHTS = "allow_lights";
995 field public static final java.lang.String ZEN_PRIORITY_ALLOW_LIGHTS = "zen_priority_allow_lights";
Yvonne Wong0eb29992015-08-20 16:02:08 -0700996 }
997
gkipnis1ee5f202016-02-11 15:36:08 -0800998 public final class DataUsageContract {
999 ctor public DataUsageContract();
1000 field public static final java.lang.String ACTIVE = "active";
1001 field public static final android.net.Uri BASE_CONTENT_URI;
1002 field public static final java.lang.String BYTES = "bytes";
1003 field public static final int COLUMN_OF_ACTIVE = 3; // 0x3
1004 field public static final int COLUMN_OF_BYTES = 5; // 0x5
1005 field public static final int COLUMN_OF_ENABLE = 2; // 0x2
1006 field public static final int COLUMN_OF_EXTRA = 10; // 0xa
1007 field public static final int COLUMN_OF_FAST_AVG = 8; // 0x8
1008 field public static final int COLUMN_OF_FAST_SAMPLES = 9; // 0x9
1009 field public static final int COLUMN_OF_ID = 0; // 0x0
1010 field public static final int COLUMN_OF_LABEL = 4; // 0x4
1011 field public static final int COLUMN_OF_SLOW_AVG = 6; // 0x6
1012 field public static final int COLUMN_OF_SLOW_SAMPLES = 7; // 0x7
1013 field public static final int COLUMN_OF_UID = 1; // 0x1
1014 field public static final java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.itemdatausage_item";
1015 field public static final java.lang.String CONTENT_TYPE = "vnd.android.cursor.dirdatausage_item";
1016 field public static final android.net.Uri CONTENT_URI;
1017 field public static final java.lang.String DATAUSAGE_AUTHORITY = "org.cyanogenmod.providers.datausage";
1018 field public static final java.lang.String DATAUSAGE_TABLE = "datausage";
1019 field public static final java.lang.String ENABLE = "enable";
1020 field public static final java.lang.String EXTRA = "extra";
1021 field public static final java.lang.String FAST_AVG = "fast_avg";
1022 field public static final java.lang.String FAST_SAMPLES = "fast_samples";
1023 field public static final java.lang.String LABEL = "label";
1024 field public static final java.lang.String[] PROJECTION_ALL;
1025 field public static final java.lang.String SLOW_AVG = "slow_avg";
1026 field public static final java.lang.String SLOW_SAMPLES = "slow_samples";
1027 field public static final java.lang.String UID = "uid";
1028 field public static final java.lang.String _ID = "_id";
1029 }
1030
d34db3ea2852016-02-23 09:58:53 -08001031 public class ThemesContract {
1032 ctor public ThemesContract();
1033 field public static final java.lang.String AUTHORITY = "com.cyanogenmod.themes";
1034 field public static final android.net.Uri AUTHORITY_URI;
1035 }
1036
1037 public static class ThemesContract.MixnMatchColumns {
1038 ctor public ThemesContract.MixnMatchColumns();
1039 method public static java.lang.String componentToImageColName(java.lang.String);
1040 method public static java.lang.String componentToMixNMatchKey(java.lang.String);
1041 method public static java.lang.String mixNMatchKeyToComponent(java.lang.String);
1042 field public static final java.lang.String COL_COMPONENT_ID = "component_id";
1043 field public static final java.lang.String COL_KEY = "key";
1044 field public static final java.lang.String COL_PREV_VALUE = "previous_value";
1045 field public static final java.lang.String COL_UPDATE_TIME = "update_time";
1046 field public static final java.lang.String COL_VALUE = "value";
1047 field public static final android.net.Uri CONTENT_URI;
1048 field public static final java.lang.String KEY_ALARM = "mixnmatch_alarm";
1049 field public static final java.lang.String KEY_BOOT_ANIM = "mixnmatch_boot_anim";
1050 field public static final java.lang.String KEY_FONT = "mixnmatch_font";
1051 field public static final java.lang.String KEY_HOMESCREEN = "mixnmatch_homescreen";
1052 field public static final java.lang.String KEY_ICONS = "mixnmatch_icons";
1053 field public static final java.lang.String KEY_LIVE_LOCK_SCREEN = "mixnmatch_live_lock_screen";
1054 field public static final java.lang.String KEY_LOCKSCREEN = "mixnmatch_lockscreen";
1055 field public static final java.lang.String KEY_NAVIGATION_BAR = "mixnmatch_navigation_bar";
1056 field public static final java.lang.String KEY_NOTIFICATIONS = "mixnmatch_notifications";
1057 field public static final java.lang.String KEY_OVERLAYS = "mixnmatch_overlays";
1058 field public static final java.lang.String KEY_RINGTONE = "mixnmatch_ringtone";
1059 field public static final java.lang.String KEY_STATUS_BAR = "mixnmatch_status_bar";
1060 field public static final java.lang.String[] ROWS;
1061 }
1062
1063 public static class ThemesContract.PreviewColumns {
1064 ctor public ThemesContract.PreviewColumns();
1065 field public static final android.net.Uri APPLIED_URI;
1066 field public static final java.lang.String BOOTANIMATION_THUMBNAIL = "bootanimation_thumbnail";
1067 field public static final java.lang.String COL_KEY = "key";
1068 field public static final java.lang.String COL_VALUE = "value";
1069 field public static final android.net.Uri COMPONENTS_URI;
1070 field public static final java.lang.String COMPONENT_ID = "component_id";
1071 field public static final android.net.Uri CONTENT_URI;
1072 field public static final java.lang.String ICON_PREVIEW_1 = "icon_preview_1";
1073 field public static final java.lang.String ICON_PREVIEW_2 = "icon_preview_2";
1074 field public static final java.lang.String ICON_PREVIEW_3 = "icon_preview_3";
1075 field public static final java.lang.String LIVE_LOCK_SCREEN_PREVIEW = "live_lock_screen_preview";
1076 field public static final java.lang.String LIVE_LOCK_SCREEN_THUMBNAIL = "live_lock_screen_thumbnail";
1077 field public static final java.lang.String LOCK_WALLPAPER_PREVIEW = "lock_wallpaper_preview";
1078 field public static final java.lang.String LOCK_WALLPAPER_THUMBNAIL = "lock_wallpaper_thumbnail";
1079 field public static final java.lang.String NAVBAR_BACKGROUND = "navbar_background";
1080 field public static final java.lang.String NAVBAR_BACK_BUTTON = "navbar_back_button";
1081 field public static final java.lang.String NAVBAR_HOME_BUTTON = "navbar_home_button";
1082 field public static final java.lang.String NAVBAR_RECENT_BUTTON = "navbar_recent_button";
1083 field public static final java.lang.String STATUSBAR_BACKGROUND = "statusbar_background";
1084 field public static final java.lang.String STATUSBAR_BATTERY_CIRCLE = "statusbar_battery_circle";
1085 field public static final java.lang.String STATUSBAR_BATTERY_LANDSCAPE = "statusbar_battery_landscape";
1086 field public static final java.lang.String STATUSBAR_BATTERY_PORTRAIT = "statusbar_battery_portrait";
1087 field public static final java.lang.String STATUSBAR_BLUETOOTH_ICON = "statusbar_bluetooth_icon";
1088 field public static final java.lang.String STATUSBAR_CLOCK_TEXT_COLOR = "statusbar_clock_text_color";
1089 field public static final java.lang.String STATUSBAR_SIGNAL_ICON = "statusbar_signal_icon";
1090 field public static final java.lang.String STATUSBAR_WIFI_COMBO_MARGIN_END = "wifi_combo_margin_end";
1091 field public static final java.lang.String STATUSBAR_WIFI_ICON = "statusbar_wifi_icon";
1092 field public static final java.lang.String STYLE_PREVIEW = "style_preview";
1093 field public static final java.lang.String STYLE_THUMBNAIL = "style_thumbnail";
1094 field public static final java.lang.String THEME_ID = "theme_id";
1095 field public static final java.lang.String[] VALID_KEYS;
1096 field public static final java.lang.String WALLPAPER_FULL = "wallpaper_full";
1097 field public static final java.lang.String WALLPAPER_PREVIEW = "wallpaper_preview";
1098 field public static final java.lang.String WALLPAPER_THUMBNAIL = "wallpaper_thumbnail";
1099 field public static final java.lang.String _ID = "_id";
1100 }
1101
1102 public static class ThemesContract.ThemesColumns {
1103 ctor public ThemesContract.ThemesColumns();
1104 field public static final java.lang.String AUTHOR = "author";
1105 field public static final java.lang.String BOOT_ANIM_URI = "bootanim_uri";
1106 field public static final android.net.Uri CONTENT_URI;
1107 field public static final java.lang.String DATE_CREATED = "created";
1108 field public static final java.lang.String FONT_URI = "font_uri";
1109 field public static final java.lang.String HOMESCREEN_URI = "homescreen_uri";
1110 field public static final java.lang.String ICON_URI = "icon_uri";
1111 field public static final java.lang.String INSTALL_STATE = "install_state";
1112 field public static final java.lang.String INSTALL_TIME = "install_time";
1113 field public static final java.lang.String IS_DEFAULT_THEME = "is_default_theme";
1114 field public static final java.lang.String IS_LEGACY_ICONPACK = "is_legacy_iconpack";
1115 field public static final java.lang.String IS_LEGACY_THEME = "is_legacy_theme";
1116 field public static final java.lang.String LAST_UPDATE_TIME = "updateTime";
1117 field public static final java.lang.String LOCKSCREEN_URI = "lockscreen_uri";
1118 field public static final java.lang.String MODIFIES_ALARMS = "mods_alarms";
1119 field public static final java.lang.String MODIFIES_BOOT_ANIM = "mods_bootanim";
1120 field public static final java.lang.String MODIFIES_FONTS = "mods_fonts";
1121 field public static final java.lang.String MODIFIES_ICONS = "mods_icons";
1122 field public static final java.lang.String MODIFIES_LAUNCHER = "mods_homescreen";
1123 field public static final java.lang.String MODIFIES_LIVE_LOCK_SCREEN = "mods_live_lock_screen";
1124 field public static final java.lang.String MODIFIES_LOCKSCREEN = "mods_lockscreen";
1125 field public static final java.lang.String MODIFIES_NAVIGATION_BAR = "mods_navigation_bar";
1126 field public static final java.lang.String MODIFIES_NOTIFICATIONS = "mods_notifications";
1127 field public static final java.lang.String MODIFIES_OVERLAYS = "mods_overlays";
1128 field public static final java.lang.String MODIFIES_RINGTONES = "mods_ringtones";
1129 field public static final java.lang.String MODIFIES_STATUS_BAR = "mods_status_bar";
1130 field public static final java.lang.String OVERLAYS_URI = "overlays_uri";
1131 field public static final java.lang.String PKG_NAME = "pkg_name";
1132 field public static final java.lang.String PRESENT_AS_THEME = "present_as_theme";
1133 field public static final java.lang.String PRIMARY_COLOR = "primary_color";
1134 field public static final java.lang.String SECONDARY_COLOR = "secondary_color";
1135 field public static final java.lang.String STATUSBAR_URI = "status_uri";
1136 field public static final java.lang.String STYLE_URI = "style_uri";
1137 field public static final java.lang.String TARGET_API = "target_api";
1138 field public static final java.lang.String TITLE = "title";
1139 field public static final java.lang.String WALLPAPER_URI = "wallpaper_uri";
1140 field public static final java.lang.String _ID = "_id";
1141 }
1142
1143 public static class ThemesContract.ThemesColumns.InstallState {
1144 ctor public ThemesContract.ThemesColumns.InstallState();
1145 field public static final int INSTALLED = 3; // 0x3
1146 field public static final int INSTALLING = 1; // 0x1
1147 field public static final int UNKNOWN = 0; // 0x0
1148 field public static final int UPDATING = 2; // 0x2
1149 }
1150
Luis Vidal4195a1c2016-03-21 11:56:40 -07001151 public class WeatherContract {
1152 ctor public WeatherContract();
1153 field public static final java.lang.String AUTHORITY = "com.cyanogenmod.weather";
1154 field public static final android.net.Uri AUTHORITY_URI;
1155 }
1156
1157 public static class WeatherContract.WeatherColumns {
1158 ctor public WeatherContract.WeatherColumns();
1159 field public static final android.net.Uri CONTENT_URI;
1160 field public static final android.net.Uri CURRENT_AND_FORECAST_WEATHER_URI;
1161 field public static final java.lang.String CURRENT_CITY = "city";
Luis Vidal4195a1c2016-03-21 11:56:40 -07001162 field public static final java.lang.String CURRENT_CONDITION = "condition";
1163 field public static final java.lang.String CURRENT_CONDITION_CODE = "condition_code";
1164 field public static final java.lang.String CURRENT_HUMIDITY = "humidity";
1165 field public static final java.lang.String CURRENT_TEMPERATURE = "temperature";
1166 field public static final java.lang.String CURRENT_TEMPERATURE_UNIT = "temperature_unit";
1167 field public static final java.lang.String CURRENT_TIMESTAMP = "timestamp";
1168 field public static final android.net.Uri CURRENT_WEATHER_URI;
1169 field public static final java.lang.String CURRENT_WIND_DIRECTION = "wind_direction";
1170 field public static final java.lang.String CURRENT_WIND_SPEED = "wind_speed";
1171 field public static final java.lang.String CURRENT_WIND_SPEED_UNIT = "wind_speed_unit";
1172 field public static final java.lang.String FORECAST_CONDITION = "forecast_condition";
1173 field public static final java.lang.String FORECAST_CONDITION_CODE = "forecast_condition_code";
1174 field public static final java.lang.String FORECAST_HIGH = "forecast_high";
1175 field public static final java.lang.String FORECAST_LOW = "forecast_low";
1176 field public static final android.net.Uri FORECAST_WEATHER_URI;
Luis Vidalbaaf4a12016-04-06 18:54:27 -07001177 field public static final java.lang.String TODAYS_HIGH_TEMPERATURE = "todays_high";
1178 field public static final java.lang.String TODAYS_LOW_TEMPERATURE = "todays_low";
Luis Vidal4195a1c2016-03-21 11:56:40 -07001179 }
1180
1181 public static final class WeatherContract.WeatherColumns.TempUnit {
1182 field public static final int CELSIUS = 1; // 0x1
1183 field public static final int FAHRENHEIT = 2; // 0x2
1184 }
1185
1186 public static final class WeatherContract.WeatherColumns.WeatherCode {
1187 field public static final int BLOWING_SNOW = 14; // 0xe
1188 field public static final int BLUSTERY = 22; // 0x16
1189 field public static final int CLEAR_NIGHT = 30; // 0x1e
1190 field public static final int CLOUDY = 25; // 0x19
1191 field public static final int COLD = 24; // 0x18
1192 field public static final int DRIZZLE = 9; // 0x9
1193 field public static final int DUST = 18; // 0x12
1194 field public static final int FAIR_DAY = 33; // 0x21
1195 field public static final int FAIR_NIGHT = 32; // 0x20
1196 field public static final int FOGGY = 19; // 0x13
1197 field public static final int FREEZING_DRIZZLE = 8; // 0x8
1198 field public static final int FREEZING_RAIN = 10; // 0xa
1199 field public static final int HAIL = 16; // 0x10
1200 field public static final int HAZE = 20; // 0x14
1201 field public static final int HEAVY_SNOW = 39; // 0x27
1202 field public static final int HOT = 35; // 0x23
1203 field public static final int HURRICANE = 2; // 0x2
1204 field public static final int ISOLATED_THUNDERSHOWERS = 44; // 0x2c
1205 field public static final int ISOLATED_THUNDERSTORMS = 36; // 0x24
1206 field public static final int LIGHT_SNOW_SHOWERS = 13; // 0xd
1207 field public static final int MIXED_RAIN_AND_HAIL = 34; // 0x22
1208 field public static final int MIXED_RAIN_AND_SLEET = 6; // 0x6
1209 field public static final int MIXED_RAIN_AND_SNOW = 5; // 0x5
1210 field public static final int MIXED_SNOW_AND_SLEET = 7; // 0x7
1211 field public static final int MOSTLY_CLOUDY_DAY = 27; // 0x1b
1212 field public static final int MOSTLY_CLOUDY_NIGHT = 26; // 0x1a
1213 field public static final int NOT_AVAILABLE = 3200; // 0xc80
1214 field public static final int PARTLY_CLOUDY = 41; // 0x29
1215 field public static final int PARTLY_CLOUDY_DAY = 29; // 0x1d
1216 field public static final int PARTLY_CLOUDY_NIGHT = 28; // 0x1c
1217 field public static final int SCATTERED_SHOWERS = 38; // 0x26
1218 field public static final int SCATTERED_SNOW_SHOWERS = 40; // 0x28
1219 field public static final int SCATTERED_THUNDERSTORMS = 37; // 0x25
1220 field public static final int SEVERE_THUNDERSTORMS = 3; // 0x3
1221 field public static final int SHOWERS = 11; // 0xb
1222 field public static final int SLEET = 17; // 0x11
1223 field public static final int SMOKY = 21; // 0x15
1224 field public static final int SNOW = 15; // 0xf
1225 field public static final int SNOW_FLURRIES = 12; // 0xc
1226 field public static final int SNOW_SHOWERS = 43; // 0x2b
1227 field public static final int SUNNY = 31; // 0x1f
1228 field public static final int THUNDERSHOWER = 42; // 0x2a
1229 field public static final int THUNDERSTORMS = 4; // 0x4
1230 field public static final int TORNADO = 0; // 0x0
1231 field public static final int TROPICAL_STORM = 1; // 0x1
1232 field public static final int WINDY = 23; // 0x17
1233 }
1234
1235 public static final class WeatherContract.WeatherColumns.WindSpeedUnit {
1236 field public static final int KPH = 1; // 0x1
1237 field public static final int MPH = 2; // 0x2
1238 }
1239
Yvonne Wong0eb29992015-08-20 16:02:08 -07001240}
1241
d34df2fd8362016-03-04 16:07:39 -08001242package cyanogenmod.themes {
1243
1244 public final class ThemeChangeRequest implements android.os.Parcelable {
1245 method public int describeContents();
1246 method public java.lang.String getAlarmThemePackageName();
1247 method public java.lang.String getBootanimationThemePackageName();
1248 method public java.lang.String getFontThemePackageName();
1249 method public java.lang.String getIconsThemePackageName();
1250 method public java.lang.String getLiveLockScreenThemePackageName();
1251 method public java.lang.String getLockWallpaperThemePackageName();
1252 method public java.lang.String getNavBarThemePackageName();
1253 method public java.lang.String getNotificationThemePackageName();
1254 method public int getNumChangesRequested();
1255 method public java.lang.String getOverlayThemePackageName();
1256 method public final java.util.Map<java.lang.String, java.lang.String> getPerAppOverlays();
1257 method public cyanogenmod.themes.ThemeChangeRequest.RequestType getReqeustType();
1258 method public java.lang.String getRingtoneThemePackageName();
1259 method public java.lang.String getStatusBarThemePackageName();
1260 method public final java.util.Map<java.lang.String, java.lang.String> getThemeComponentsMap();
1261 method public long getWallpaperId();
1262 method public java.lang.String getWallpaperThemePackageName();
1263 method public void writeToParcel(android.os.Parcel, int);
1264 field public static final android.os.Parcelable.Creator<cyanogenmod.themes.ThemeChangeRequest> CREATOR;
1265 field public static final int DEFAULT_WALLPAPER_ID = -1; // 0xffffffff
1266 }
1267
1268 public static class ThemeChangeRequest.Builder {
1269 ctor public ThemeChangeRequest.Builder();
1270 ctor public ThemeChangeRequest.Builder(android.content.res.ThemeConfig);
1271 method public cyanogenmod.themes.ThemeChangeRequest build();
1272 method public cyanogenmod.themes.ThemeChangeRequest.Builder setAlarm(java.lang.String);
1273 method public cyanogenmod.themes.ThemeChangeRequest.Builder setAppOverlay(java.lang.String, java.lang.String);
1274 method public cyanogenmod.themes.ThemeChangeRequest.Builder setBootanimation(java.lang.String);
1275 method public cyanogenmod.themes.ThemeChangeRequest.Builder setComponent(java.lang.String, java.lang.String);
1276 method public cyanogenmod.themes.ThemeChangeRequest.Builder setFont(java.lang.String);
1277 method public cyanogenmod.themes.ThemeChangeRequest.Builder setIcons(java.lang.String);
1278 method public cyanogenmod.themes.ThemeChangeRequest.Builder setLiveLockScreen(java.lang.String);
1279 method public cyanogenmod.themes.ThemeChangeRequest.Builder setLockWallpaper(java.lang.String);
1280 method public cyanogenmod.themes.ThemeChangeRequest.Builder setNavBar(java.lang.String);
1281 method public cyanogenmod.themes.ThemeChangeRequest.Builder setNotification(java.lang.String);
1282 method public cyanogenmod.themes.ThemeChangeRequest.Builder setOverlay(java.lang.String);
1283 method public cyanogenmod.themes.ThemeChangeRequest.Builder setRequestType(cyanogenmod.themes.ThemeChangeRequest.RequestType);
1284 method public cyanogenmod.themes.ThemeChangeRequest.Builder setRingtone(java.lang.String);
1285 method public cyanogenmod.themes.ThemeChangeRequest.Builder setStatusBar(java.lang.String);
1286 method public cyanogenmod.themes.ThemeChangeRequest.Builder setWallpaper(java.lang.String);
1287 method public cyanogenmod.themes.ThemeChangeRequest.Builder setWallpaperId(long);
1288 }
1289
1290 public static final class ThemeChangeRequest.RequestType extends java.lang.Enum {
1291 method public static cyanogenmod.themes.ThemeChangeRequest.RequestType valueOf(java.lang.String);
1292 method public static final cyanogenmod.themes.ThemeChangeRequest.RequestType[] values();
1293 enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType THEME_REMOVED;
1294 enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType THEME_RESET;
1295 enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType THEME_UPDATED;
1296 enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType USER_REQUEST;
1297 enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType USER_REQUEST_MIXNMATCH;
1298 }
1299
1300 public class ThemeManager {
1301 method public deprecated void addClient(cyanogenmod.themes.ThemeManager.ThemeChangeListener);
1302 method public void applyDefaultTheme();
Adnan Begovicccdb2922016-03-24 17:55:10 -07001303 method public static cyanogenmod.themes.ThemeManager getInstance(android.content.Context);
d34df2fd8362016-03-04 16:07:39 -08001304 method public cyanogenmod.themes.ThemeChangeRequest.RequestType getLastThemeChangeRequestType();
1305 method public long getLastThemeChangeTime();
1306 method public int getProgress();
1307 method public boolean isThemeApplying();
1308 method public boolean isThemeBeingProcessed(java.lang.String);
1309 method public deprecated void onClientDestroyed(cyanogenmod.themes.ThemeManager.ThemeChangeListener);
1310 method public deprecated void onClientPaused(cyanogenmod.themes.ThemeManager.ThemeChangeListener);
1311 method public deprecated void onClientResumed(cyanogenmod.themes.ThemeManager.ThemeChangeListener);
1312 method public boolean processThemeResources(java.lang.String);
1313 method public void registerProcessingListener(cyanogenmod.themes.ThemeManager.ThemeProcessingListener);
1314 method public void registerThemeChangeListener(cyanogenmod.themes.ThemeManager.ThemeChangeListener);
1315 method public deprecated void removeClient(cyanogenmod.themes.ThemeManager.ThemeChangeListener);
1316 method public void requestThemeChange(java.lang.String, java.util.List<java.lang.String>);
1317 method public void requestThemeChange(java.lang.String, java.util.List<java.lang.String>, boolean);
1318 method public void requestThemeChange(java.util.Map<java.lang.String, java.lang.String>);
1319 method public void requestThemeChange(java.util.Map<java.lang.String, java.lang.String>, boolean);
1320 method public void requestThemeChange(cyanogenmod.themes.ThemeChangeRequest, boolean);
Adnan Begovic127c0cf2016-03-29 15:10:55 -07001321 method public void unregisterProcessingListener(cyanogenmod.themes.ThemeManager.ThemeProcessingListener);
d34df2fd8362016-03-04 16:07:39 -08001322 method public void unregisterThemeChangeListener(cyanogenmod.themes.ThemeManager.ThemeChangeListener);
1323 }
1324
1325 public static abstract interface ThemeManager.ThemeChangeListener {
1326 method public abstract void onFinish(boolean);
1327 method public abstract void onProgress(int);
1328 }
1329
1330 public static abstract interface ThemeManager.ThemeProcessingListener {
1331 method public abstract void onFinishedProcessing(java.lang.String);
1332 }
1333
1334}
1335
Steve Kondik567b4302016-02-27 12:04:03 +01001336package cyanogenmod.util {
1337
1338 public class ColorUtils {
1339 ctor public ColorUtils();
1340 method public static double calculateDeltaE(double, double, double, double, double, double);
1341 method public static float[] convertRGBtoLAB(int);
1342 method public static int dropAlpha(int);
1343 method public static int findPerceptuallyNearestColor(int, int[]);
1344 method public static int findPerceptuallyNearestSolidColor(int);
1345 method public static int generateAlertColorFromDrawable(android.graphics.drawable.Drawable);
1346 method public static com.android.internal.util.cm.palette.Palette.Swatch getDominantSwatch(com.android.internal.util.cm.palette.Palette);
1347 method public static float[] temperatureToRGB(int);
1348 }
1349
1350}
1351
Luis Vidal4195a1c2016-03-21 11:56:40 -07001352package cyanogenmod.weather {
1353
1354 public class CMWeatherManager {
Luis Vidalad0d8c52016-04-12 18:24:27 -07001355 method public void cancelRequest(int);
Luis Vidal4195a1c2016-03-21 11:56:40 -07001356 method public java.lang.String getActiveWeatherServiceProviderLabel();
1357 method public static cyanogenmod.weather.CMWeatherManager getInstance(android.content.Context);
Luis Vidalad0d8c52016-04-12 18:24:27 -07001358 method public int lookupCity(java.lang.String, cyanogenmod.weather.CMWeatherManager.LookupCityRequestListener);
Luis Vidal4195a1c2016-03-21 11:56:40 -07001359 method public void registerWeatherServiceProviderChangeListener(cyanogenmod.weather.CMWeatherManager.WeatherServiceProviderChangeListener);
Luis Vidalad0d8c52016-04-12 18:24:27 -07001360 method public int requestWeatherUpdate(android.location.Location, cyanogenmod.weather.CMWeatherManager.WeatherUpdateRequestListener);
1361 method public int requestWeatherUpdate(cyanogenmod.weather.WeatherLocation, cyanogenmod.weather.CMWeatherManager.WeatherUpdateRequestListener);
Luis Vidal4195a1c2016-03-21 11:56:40 -07001362 method public void unregisterWeatherServiceProviderChangeListener(cyanogenmod.weather.CMWeatherManager.WeatherServiceProviderChangeListener);
Luis Vidal4195a1c2016-03-21 11:56:40 -07001363 }
1364
1365 public static abstract interface CMWeatherManager.LookupCityRequestListener {
Luis Vidalfe1812f2016-04-13 01:08:11 -07001366 method public abstract void onLookupCityRequestCompleted(int, java.util.List<cyanogenmod.weather.WeatherLocation>);
1367 }
1368
1369 public static class CMWeatherManager.RequestStatus {
1370 ctor public CMWeatherManager.RequestStatus();
1371 field public static final int ALREADY_IN_PROGRESS = -3; // 0xfffffffd
1372 field public static final int COMPLETED = 1; // 0x1
1373 field public static final int FAILED = -1; // 0xffffffff
1374 field public static final int NO_MATCH_FOUND = -4; // 0xfffffffc
1375 field public static final int SUBMITTED_TOO_SOON = -2; // 0xfffffffe
Luis Vidal4195a1c2016-03-21 11:56:40 -07001376 }
1377
1378 public static abstract interface CMWeatherManager.WeatherServiceProviderChangeListener {
1379 method public abstract void onWeatherServiceProviderChanged(java.lang.String);
1380 }
1381
1382 public static abstract interface CMWeatherManager.WeatherUpdateRequestListener {
1383 method public abstract void onWeatherRequestCompleted(int, cyanogenmod.weather.WeatherInfo);
1384 }
1385
1386 public final class RequestInfo implements android.os.Parcelable {
1387 method public int describeContents();
1388 method public java.lang.String getCityName();
1389 method public android.location.Location getLocation();
1390 method public int getRequestType();
1391 method public int getTemperatureUnit();
1392 method public cyanogenmod.weather.WeatherLocation getWeatherLocation();
1393 method public void writeToParcel(android.os.Parcel, int);
1394 field public static final android.os.Parcelable.Creator<cyanogenmod.weather.RequestInfo> CREATOR;
Luis Vidal4195a1c2016-03-21 11:56:40 -07001395 field public static final int TYPE_LOOKUP_CITY_NAME_REQ = 3; // 0x3
Luis Vidal34bf4862016-04-08 13:19:48 -07001396 field public static final int TYPE_WEATHER_BY_GEO_LOCATION_REQ = 1; // 0x1
1397 field public static final int TYPE_WEATHER_BY_WEATHER_LOCATION_REQ = 2; // 0x2
Luis Vidal4195a1c2016-03-21 11:56:40 -07001398 }
1399
1400 public final class WeatherInfo implements android.os.Parcelable {
1401 method public int describeContents();
1402 method public java.lang.String getCity();
Luis Vidal4195a1c2016-03-21 11:56:40 -07001403 method public int getConditionCode();
Luis Vidalad0d8c52016-04-12 18:24:27 -07001404 method public java.util.List<cyanogenmod.weather.WeatherInfo.DayForecast> getForecasts();
Luis Vidalbaaf4a12016-04-06 18:54:27 -07001405 method public double getHumidity();
1406 method public double getTemperature();
Luis Vidal4195a1c2016-03-21 11:56:40 -07001407 method public int getTemperatureUnit();
1408 method public long getTimestamp();
Luis Vidalbaaf4a12016-04-06 18:54:27 -07001409 method public double getTodaysHigh();
1410 method public double getTodaysLow();
1411 method public double getWindDirection();
1412 method public double getWindSpeed();
Luis Vidal4195a1c2016-03-21 11:56:40 -07001413 method public int getWindSpeedUnit();
1414 method public void writeToParcel(android.os.Parcel, int);
1415 field public static final android.os.Parcelable.Creator<cyanogenmod.weather.WeatherInfo> CREATOR;
1416 }
1417
1418 public static class WeatherInfo.Builder {
Luis Vidalbaaf4a12016-04-06 18:54:27 -07001419 ctor public WeatherInfo.Builder(java.lang.String, double, int);
Luis Vidal4195a1c2016-03-21 11:56:40 -07001420 method public cyanogenmod.weather.WeatherInfo build();
Luis Vidalad0d8c52016-04-12 18:24:27 -07001421 method public cyanogenmod.weather.WeatherInfo.Builder setForecast(java.util.List<cyanogenmod.weather.WeatherInfo.DayForecast>);
Luis Vidalbaaf4a12016-04-06 18:54:27 -07001422 method public cyanogenmod.weather.WeatherInfo.Builder setHumidity(double);
1423 method public cyanogenmod.weather.WeatherInfo.Builder setTimestamp(long);
1424 method public cyanogenmod.weather.WeatherInfo.Builder setTodaysHigh(double);
1425 method public cyanogenmod.weather.WeatherInfo.Builder setTodaysLow(double);
Luis Vidal4195a1c2016-03-21 11:56:40 -07001426 method public cyanogenmod.weather.WeatherInfo.Builder setWeatherCondition(int);
Luis Vidalbaaf4a12016-04-06 18:54:27 -07001427 method public cyanogenmod.weather.WeatherInfo.Builder setWind(double, double, int);
Luis Vidal4195a1c2016-03-21 11:56:40 -07001428 }
1429
1430 public static class WeatherInfo.DayForecast implements android.os.Parcelable {
1431 method public int describeContents();
1432 method public int getConditionCode();
Luis Vidalbaaf4a12016-04-06 18:54:27 -07001433 method public double getHigh();
1434 method public double getLow();
Luis Vidal4195a1c2016-03-21 11:56:40 -07001435 method public void writeToParcel(android.os.Parcel, int);
1436 field public static final android.os.Parcelable.Creator<cyanogenmod.weather.WeatherInfo.DayForecast> CREATOR;
1437 }
1438
1439 public static class WeatherInfo.DayForecast.Builder {
Luis Vidalbaaf4a12016-04-06 18:54:27 -07001440 ctor public WeatherInfo.DayForecast.Builder(int);
Luis Vidal4195a1c2016-03-21 11:56:40 -07001441 method public cyanogenmod.weather.WeatherInfo.DayForecast build();
Luis Vidalbaaf4a12016-04-06 18:54:27 -07001442 method public cyanogenmod.weather.WeatherInfo.DayForecast.Builder setHigh(double);
1443 method public cyanogenmod.weather.WeatherInfo.DayForecast.Builder setLow(double);
Luis Vidal4195a1c2016-03-21 11:56:40 -07001444 }
1445
1446 public final class WeatherLocation implements android.os.Parcelable {
1447 method public int describeContents();
1448 method public java.lang.String getCity();
1449 method public java.lang.String getCityId();
1450 method public java.lang.String getCountry();
1451 method public java.lang.String getCountryId();
1452 method public java.lang.String getPostalCode();
Luis Vidal06d5c892016-04-06 18:07:31 -07001453 method public java.lang.String getState();
Luis Vidal4195a1c2016-03-21 11:56:40 -07001454 method public void writeToParcel(android.os.Parcel, int);
1455 field public static final android.os.Parcelable.Creator<cyanogenmod.weather.WeatherLocation> CREATOR;
1456 }
1457
1458 public static class WeatherLocation.Builder {
1459 ctor public WeatherLocation.Builder(java.lang.String, java.lang.String);
Luis Vidalad0d8c52016-04-12 18:24:27 -07001460 ctor public WeatherLocation.Builder(java.lang.String);
Luis Vidal4195a1c2016-03-21 11:56:40 -07001461 method public cyanogenmod.weather.WeatherLocation build();
Luis Vidalad0d8c52016-04-12 18:24:27 -07001462 method public cyanogenmod.weather.WeatherLocation.Builder setCountry(java.lang.String);
1463 method public cyanogenmod.weather.WeatherLocation.Builder setCountryId(java.lang.String);
Luis Vidal4195a1c2016-03-21 11:56:40 -07001464 method public cyanogenmod.weather.WeatherLocation.Builder setPostalCode(java.lang.String);
Luis Vidal06d5c892016-04-06 18:07:31 -07001465 method public cyanogenmod.weather.WeatherLocation.Builder setState(java.lang.String);
Luis Vidal4195a1c2016-03-21 11:56:40 -07001466 }
1467
1468}
1469
1470package cyanogenmod.weatherservice {
1471
1472 public final class ServiceRequest {
1473 method public void complete(cyanogenmod.weatherservice.ServiceRequestResult);
1474 method public void fail();
1475 method public cyanogenmod.weather.RequestInfo getRequestInfo();
Luis Vidalfe1812f2016-04-13 01:08:11 -07001476 method public void reject(int);
Luis Vidal4195a1c2016-03-21 11:56:40 -07001477 }
1478
1479 public final class ServiceRequestResult implements android.os.Parcelable {
1480 method public int describeContents();
Luis Vidalad0d8c52016-04-12 18:24:27 -07001481 method public java.util.List<cyanogenmod.weather.WeatherLocation> getLocationLookupList();
Luis Vidal4195a1c2016-03-21 11:56:40 -07001482 method public cyanogenmod.weather.WeatherInfo getWeatherInfo();
1483 method public void writeToParcel(android.os.Parcel, int);
1484 field public static final android.os.Parcelable.Creator<cyanogenmod.weatherservice.ServiceRequestResult> CREATOR;
1485 }
1486
1487 public static class ServiceRequestResult.Builder {
1488 ctor public ServiceRequestResult.Builder();
Luis Vidalad0d8c52016-04-12 18:24:27 -07001489 ctor public ServiceRequestResult.Builder(cyanogenmod.weather.WeatherInfo);
1490 ctor public ServiceRequestResult.Builder(java.util.List<cyanogenmod.weather.WeatherLocation>);
Luis Vidal4195a1c2016-03-21 11:56:40 -07001491 method public cyanogenmod.weatherservice.ServiceRequestResult build();
Luis Vidal4195a1c2016-03-21 11:56:40 -07001492 }
1493
1494 public abstract class WeatherProviderService extends android.app.Service {
1495 ctor public WeatherProviderService();
1496 method protected final void attachBaseContext(android.content.Context);
1497 method public final android.os.IBinder onBind(android.content.Intent);
1498 method protected void onConnected();
1499 method protected void onDisconnected();
1500 method protected abstract void onRequestCancelled(cyanogenmod.weatherservice.ServiceRequest);
1501 method protected abstract void onRequestSubmitted(cyanogenmod.weatherservice.ServiceRequest);
1502 field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.weatherservice.WeatherProviderService";
1503 field public static final java.lang.String SERVICE_META_DATA = "cyanogenmod.weatherservice";
1504 }
1505
1506}
1507