blob: 96e0f81ce54c418a7c207f22199ab7c3491cb111 [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
Matt Garnes087f2b52015-09-03 15:54:29 -0700199 public class PartnerInterface {
200 method public java.lang.String getCurrentHotwordPackageName();
201 method public static cyanogenmod.app.PartnerInterface getInstance(android.content.Context);
202 method public void rebootDevice();
203 method public void setAirplaneModeEnabled(boolean);
204 method public void setMobileDataEnabled(boolean);
205 method public boolean setZenMode(int);
Adnan Begovicb4b13212016-01-06 16:41:25 -0800206 method public boolean setZenModeWithDuration(int, long);
Matt Garnes087f2b52015-09-03 15:54:29 -0700207 method public void shutdownDevice();
208 field public static final java.lang.String MODIFY_NETWORK_SETTINGS_PERMISSION = "cyanogenmod.permission.MODIFY_NETWORK_SETTINGS";
209 field public static final java.lang.String MODIFY_SOUND_SETTINGS_PERMISSION = "cyanogenmod.permission.MODIFY_SOUND_SETTINGS";
210 field public static final int ZEN_MODE_IMPORTANT_INTERRUPTIONS = 1; // 0x1
211 field public static final int ZEN_MODE_NO_INTERRUPTIONS = 2; // 0x2
212 field public static final int ZEN_MODE_OFF = 0; // 0x0
213 }
214
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700215 public final class Profile implements android.os.Parcelable {
216 ctor public Profile(java.lang.String);
217 method public void addSecondaryUuid(java.util.UUID);
218 method public int compareTo(java.lang.Object);
219 method public int describeContents();
220 method public cyanogenmod.profiles.AirplaneModeSettings getAirplaneMode();
221 method public cyanogenmod.profiles.BrightnessSettings getBrightness();
222 method public java.util.Collection<cyanogenmod.profiles.ConnectionSettings> getConnectionSettings();
223 method public int getDozeMode();
224 method public int getExpandedDesktopMode();
225 method public java.lang.String getName();
Adnan Begoviccdf4d0d2016-02-10 18:14:35 -0800226 method public int getNotificationLightMode();
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700227 method public int getProfileType();
228 method public cyanogenmod.profiles.RingModeSettings getRingMode();
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700229 method public cyanogenmod.profiles.LockSettings getScreenLockMode();
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700230 method public java.util.UUID[] getSecondaryUuids();
231 method public cyanogenmod.profiles.ConnectionSettings getSettingsForConnection(int);
232 method public cyanogenmod.profiles.StreamSettings getSettingsForStream(int);
233 method public java.util.Collection<cyanogenmod.profiles.StreamSettings> getStreamSettings();
234 method public int getTriggerState(int, java.lang.String);
235 method public java.util.ArrayList<cyanogenmod.app.Profile.ProfileTrigger> getTriggersFromType(int);
236 method public java.util.UUID getUuid();
237 method public boolean isConditionalType();
238 method public void setAirplaneMode(cyanogenmod.profiles.AirplaneModeSettings);
239 method public void setBrightness(cyanogenmod.profiles.BrightnessSettings);
240 method public void setConnectionSettings(cyanogenmod.profiles.ConnectionSettings);
241 method public void setDozeMode(int);
242 method public void setExpandedDesktopMode(int);
243 method public void setName(java.lang.String);
Adnan Begoviccdf4d0d2016-02-10 18:14:35 -0800244 method public void setNotificationLightMode(int);
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700245 method public void setProfileType(int);
246 method public void setRingMode(cyanogenmod.profiles.RingModeSettings);
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700247 method public void setScreenLockMode(cyanogenmod.profiles.LockSettings);
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700248 method public void setSecondaryUuids(java.util.List<java.util.UUID>);
249 method public void setStreamSettings(cyanogenmod.profiles.StreamSettings);
250 method public void setTrigger(cyanogenmod.app.Profile.ProfileTrigger);
251 method public void writeToParcel(android.os.Parcel, int);
252 }
253
254 public static class Profile.DozeMode {
255 ctor public Profile.DozeMode();
256 field public static final int DEFAULT = 0; // 0x0
257 field public static final int DISABLE = 2; // 0x2
258 field public static final int ENABLE = 1; // 0x1
259 }
260
261 public static class Profile.ExpandedDesktopMode {
262 ctor public Profile.ExpandedDesktopMode();
263 field public static final int DEFAULT = 0; // 0x0
264 field public static final int DISABLE = 2; // 0x2
265 field public static final int ENABLE = 1; // 0x1
266 }
267
268 public static class Profile.LockMode {
269 ctor public Profile.LockMode();
270 field public static final int DEFAULT = 0; // 0x0
271 field public static final int DISABLE = 2; // 0x2
272 field public static final int INSECURE = 1; // 0x1
273 }
274
Adnan Begoviccdf4d0d2016-02-10 18:14:35 -0800275 public static class Profile.NotificationLightMode {
276 ctor public Profile.NotificationLightMode();
277 field public static final int DEFAULT = 0; // 0x0
278 field public static final int DISABLE = 2; // 0x2
279 field public static final int ENABLE = 1; // 0x1
280 }
281
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700282 public static class Profile.ProfileTrigger implements android.os.Parcelable {
Adnan Begovic8481cec2015-08-04 16:45:26 -0700283 ctor public Profile.ProfileTrigger(int, java.lang.String, int, java.lang.String);
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700284 method public int describeContents();
285 method public java.lang.String getId();
286 method public java.lang.String getName();
287 method public int getState();
288 method public int getType();
289 method public void writeToParcel(android.os.Parcel, int);
290 }
291
292 public static class Profile.TriggerState {
293 ctor public Profile.TriggerState();
294 field public static final int DISABLED = 2; // 0x2
295 field public static final int ON_A2DP_CONNECT = 3; // 0x3
296 field public static final int ON_A2DP_DISCONNECT = 4; // 0x4
297 field public static final int ON_CONNECT = 0; // 0x0
298 field public static final int ON_DISCONNECT = 1; // 0x1
299 }
300
301 public static class Profile.TriggerType {
302 ctor public Profile.TriggerType();
303 field public static final int BLUETOOTH = 1; // 0x1
304 field public static final int WIFI = 0; // 0x0
305 }
306
307 public static class Profile.Type {
308 ctor public Profile.Type();
309 field public static final int CONDITIONAL = 1; // 0x1
310 field public static final int TOGGLE = 0; // 0x0
311 }
312
313 public class ProfileManager {
314 method public void addProfile(cyanogenmod.app.Profile);
315 method public cyanogenmod.app.Profile getActiveProfile();
316 method public static cyanogenmod.app.ProfileManager getInstance(android.content.Context);
317 method public deprecated cyanogenmod.app.Profile getProfile(java.lang.String);
318 method public cyanogenmod.app.Profile getProfile(java.util.UUID);
319 method public java.lang.String[] getProfileNames();
320 method public cyanogenmod.app.Profile[] getProfiles();
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800321 method public boolean isProfilesEnabled();
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700322 method public boolean profileExists(java.lang.String);
323 method public boolean profileExists(java.util.UUID);
324 method public void removeProfile(cyanogenmod.app.Profile);
325 method public void resetAll();
326 method public deprecated void setActiveProfile(java.lang.String);
327 method public void setActiveProfile(java.util.UUID);
328 method public void updateProfile(cyanogenmod.app.Profile);
Adnan Begovicce52da62015-07-17 13:20:27 -0700329 field public static final java.lang.String ACTION_PROFILE_PICKER = "cyanogenmod.platform.intent.action.PROFILE_PICKER";
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700330 field public static final java.lang.String EXTRA_LAST_PROFILE_NAME = "lastName";
331 field public static final java.lang.String EXTRA_LAST_PROFILE_UUID = "uuid";
332 field public static final java.lang.String EXTRA_PROFILES_STATE = "profile_state";
333 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 -0700334 field public static final java.lang.String EXTRA_PROFILE_EXISTING_UUID = "cyanogenmod.platform.extra.profile.EXISTING_UUID";
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700335 field public static final java.lang.String EXTRA_PROFILE_NAME = "name";
336 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 -0700337 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 -0700338 field public static final java.lang.String EXTRA_PROFILE_TITLE = "cyanogenmod.platform.intent.extra.profile.TITLE";
339 field public static final java.lang.String EXTRA_PROFILE_UUID = "uuid";
340 field public static final java.lang.String INTENT_ACTION_PROFILE_SELECTED = "cyanogenmod.platform.intent.action.PROFILE_SELECTED";
341 field public static final java.lang.String INTENT_ACTION_PROFILE_UPDATED = "cyanogenmod.platform.intent.action.PROFILE_UPDATED";
342 field public static final java.util.UUID NO_PROFILE;
343 field public static final java.lang.String PROFILES_STATE_CHANGED_ACTION = "cyanogenmod.platform.app.profiles.PROFILES_STATE_CHANGED";
344 field public static final int PROFILES_STATE_DISABLED = 0; // 0x0
345 field public static final int PROFILES_STATE_ENABLED = 1; // 0x1
346 }
347
Adnan Begovic273f2db2015-05-28 19:47:47 -0700348 public class StatusBarPanelCustomTile implements android.os.Parcelable {
Adnan Begovicf1f9f252015-06-22 20:34:55 -0700349 ctor public StatusBarPanelCustomTile(java.lang.String, java.lang.String, java.lang.String, int, java.lang.String, int, int, cyanogenmod.app.CustomTile, android.os.UserHandle);
350 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 -0700351 ctor public StatusBarPanelCustomTile(android.os.Parcel);
352 method public cyanogenmod.app.StatusBarPanelCustomTile clone();
353 method public int describeContents();
354 method public cyanogenmod.app.CustomTile getCustomTile();
355 method public int getId();
356 method public java.lang.String getKey();
357 method public java.lang.String getPackage();
358 method public long getPostTime();
359 method public java.lang.String getTag();
360 method public android.os.UserHandle getUser();
361 method public int getUserId();
362 method public void writeToParcel(android.os.Parcel, int);
363 field public static final android.os.Parcelable.Creator<cyanogenmod.app.StatusBarPanelCustomTile> CREATOR;
364 }
365
366}
367
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800368package cyanogenmod.content {
369
370 public class Intent {
371 ctor public Intent();
372 field public static final java.lang.String ACTION_PROTECTED = "cyanogenmod.intent.action.PACKAGE_PROTECTED";
373 field public static final java.lang.String ACTION_PROTECTED_CHANGED = "cyanogenmod.intent.action.PROTECTED_COMPONENT_UPDATE";
d34db3ea2852016-02-23 09:58:53 -0800374 field public static final java.lang.String ACTION_THEME_INSTALLED = "cyanogenmod.intent.action.THEME_INSTALLED";
375 field public static final java.lang.String ACTION_THEME_REMOVED = "cyanogenmod.intent.action.THEME_REMOVED";
376 field public static final java.lang.String ACTION_THEME_UPDATED = "cyanogenmod.intent.action.THEME_UPDATED";
377 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 -0800378 field public static final java.lang.String EXTRA_PROTECTED_COMPONENTS = "cyanogenmod.intent.extra.PACKAGE_PROTECTED_COMPONENTS";
379 field public static final java.lang.String EXTRA_PROTECTED_STATE = "cyanogenmod.intent.extra.PACKAGE_PROTECTED_STATE";
d34db3ea2852016-02-23 09:58:53 -0800380 field public static final java.lang.String URI_SCHEME_PACKAGE = "package";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800381 }
382
383}
384
Adnan Begovicb4b13212016-01-06 16:41:25 -0800385package cyanogenmod.externalviews {
386
387 public abstract class KeyguardExternalViewProviderService extends android.app.Service {
388 ctor public KeyguardExternalViewProviderService();
389 method protected abstract cyanogenmod.externalviews.KeyguardExternalViewProviderService.Provider createExternalView(android.os.Bundle);
390 method public final android.os.IBinder onBind(android.content.Intent);
Adnan Begovic588c05a2016-01-22 17:34:47 -0800391 field public static final java.lang.String META_DATA = "cyanogenmod.externalviews.keyguard";
392 field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.externalviews.KeyguardExternalViewProviderService";
Adnan Begovicb4b13212016-01-06 16:41:25 -0800393 }
394
395 protected abstract class KeyguardExternalViewProviderService.Provider {
396 ctor protected KeyguardExternalViewProviderService.Provider(android.os.Bundle);
397 method protected final void collapseNotificationPanel();
398 method protected android.os.Bundle getOptions();
399 method protected void onAttach();
400 method protected abstract void onBouncerShowing(boolean);
401 method protected abstract android.view.View onCreateView();
402 method protected void onDetach();
403 method protected abstract void onKeyguardDismissed();
404 method protected abstract void onKeyguardShowing(boolean);
405 method protected abstract void onScreenTurnedOff();
406 method protected abstract void onScreenTurnedOn();
407 method protected final boolean requestDismiss();
408 method protected final boolean requestDismissAndStartActivity(android.content.Intent);
409 method protected final void setInteractivity(boolean);
410 }
411
412}
413
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700414package cyanogenmod.hardware {
415
416 public final class CMHardwareManager {
Adnan Begovic9f381bc2015-09-09 17:29:30 -0700417 method public boolean deletePersistentObject(java.lang.String);
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700418 method public boolean get(int);
419 method public cyanogenmod.hardware.DisplayMode getCurrentDisplayMode();
420 method public cyanogenmod.hardware.DisplayMode getDefaultDisplayMode();
421 method public int[] getDisplayColorCalibration();
422 method public int getDisplayColorCalibrationDefault();
423 method public int getDisplayColorCalibrationMax();
424 method public int getDisplayColorCalibrationMin();
425 method public deprecated int[] getDisplayGammaCalibration(int);
426 method public deprecated int getDisplayGammaCalibrationMax();
427 method public deprecated int getDisplayGammaCalibrationMin();
428 method public cyanogenmod.hardware.DisplayMode[] getDisplayModes();
429 method public static cyanogenmod.hardware.CMHardwareManager getInstance(android.content.Context);
430 method public java.lang.String getLtoDestination();
431 method public long getLtoDownloadInterval();
432 method public java.lang.String getLtoSource();
433 method public deprecated int getNumGammaControls();
434 method public java.lang.String getSerialNumber();
435 method public int getSupportedFeatures();
Danesh Mc56b48e2015-09-24 13:41:01 -0700436 method public int getThermalState();
Matt Wagantalleb82dbf2016-02-02 11:32:18 -0800437 method public java.lang.String getUniqueDeviceId();
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700438 method public int getVibratorDefaultIntensity();
439 method public int getVibratorIntensity();
440 method public int getVibratorMaxIntensity();
441 method public int getVibratorMinIntensity();
442 method public int getVibratorWarningIntensity();
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800443 method public boolean isSunlightEnhancementSelfManaged();
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700444 method public boolean isSupported(int);
Adnan Begovic9f381bc2015-09-09 17:29:30 -0700445 method public byte[] readPersistentBytes(java.lang.String);
446 method public int readPersistentInt(java.lang.String);
447 method public java.lang.String readPersistentString(java.lang.String);
Danesh Mc56b48e2015-09-24 13:41:01 -0700448 method public boolean registerThermalListener(cyanogenmod.hardware.ThermalListenerCallback);
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700449 method public boolean requireAdaptiveBacklightForSunlightEnhancement();
450 method public boolean set(int, boolean);
451 method public boolean setDisplayColorCalibration(int[]);
452 method public deprecated boolean setDisplayGammaCalibration(int, int[]);
453 method public boolean setDisplayMode(cyanogenmod.hardware.DisplayMode, boolean);
454 method public boolean setVibratorIntensity(int);
Danesh Mc56b48e2015-09-24 13:41:01 -0700455 method public boolean unRegisterThermalListener(cyanogenmod.hardware.ThermalListenerCallback);
Adnan Begovic9f381bc2015-09-09 17:29:30 -0700456 method public boolean writePersistentBytes(java.lang.String, byte[]);
457 method public boolean writePersistentInt(java.lang.String, int);
458 method public boolean writePersistentString(java.lang.String, java.lang.String);
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700459 field public static final int FEATURE_ADAPTIVE_BACKLIGHT = 1; // 0x1
460 field public static final int FEATURE_AUTO_CONTRAST = 4096; // 0x1000
461 field public static final int FEATURE_COLOR_ENHANCEMENT = 2; // 0x2
462 field public static final int FEATURE_DISPLAY_COLOR_CALIBRATION = 4; // 0x4
463 field public static final int FEATURE_DISPLAY_GAMMA_CALIBRATION = 8; // 0x8
464 field public static final int FEATURE_DISPLAY_MODES = 8192; // 0x2000
465 field public static final int FEATURE_HIGH_TOUCH_SENSITIVITY = 16; // 0x10
466 field public static final int FEATURE_KEY_DISABLE = 32; // 0x20
467 field public static final int FEATURE_LONG_TERM_ORBITS = 64; // 0x40
Adnan Begovic9f381bc2015-09-09 17:29:30 -0700468 field public static final int FEATURE_PERSISTENT_STORAGE = 16384; // 0x4000
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700469 field public static final int FEATURE_SERIAL_NUMBER = 128; // 0x80
470 field public static final int FEATURE_SUNLIGHT_ENHANCEMENT = 256; // 0x100
471 field public static final int FEATURE_TAP_TO_WAKE = 512; // 0x200
Danesh Mc56b48e2015-09-24 13:41:01 -0700472 field public static final int FEATURE_THERMAL_MONITOR = 32768; // 0x8000
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700473 field public static final int FEATURE_TOUCH_HOVERING = 2048; // 0x800
Matt Wagantalleb82dbf2016-02-02 11:32:18 -0800474 field public static final int FEATURE_UNIQUE_DEVICE_ID = 65536; // 0x10000
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700475 field public static final int FEATURE_VIBRATOR = 1024; // 0x400
476 }
477
478 public class DisplayMode implements android.os.Parcelable {
479 ctor public DisplayMode(int, java.lang.String);
480 method public int describeContents();
481 method public void writeToParcel(android.os.Parcel, int);
482 field public final int id;
483 field public final java.lang.String name;
484 }
485
Danesh Mc56b48e2015-09-24 13:41:01 -0700486 public abstract interface IThermalListenerCallback implements android.os.IInterface {
487 method public abstract void onThermalChanged(int) throws android.os.RemoteException;
488 }
489
490 public static abstract class IThermalListenerCallback.Stub extends android.os.Binder implements cyanogenmod.hardware.IThermalListenerCallback {
491 ctor public IThermalListenerCallback.Stub();
492 method public android.os.IBinder asBinder();
493 method public static cyanogenmod.hardware.IThermalListenerCallback asInterface(android.os.IBinder);
494 method public boolean onTransact(int, android.os.Parcel, android.os.Parcel, int) throws android.os.RemoteException;
495 }
496
497 public abstract class ThermalListenerCallback extends cyanogenmod.hardware.IThermalListenerCallback.Stub {
498 ctor public ThermalListenerCallback();
499 }
500
501 public static final class ThermalListenerCallback.State {
502 ctor public ThermalListenerCallback.State();
503 method public static final java.lang.String toString(int);
504 field public static final int STATE_COOL = 0; // 0x0
Adnan Begovic10d20252015-09-30 17:47:23 -0700505 field public static final int STATE_CRITICAL = 3; // 0x3
Danesh Mc56b48e2015-09-24 13:41:01 -0700506 field public static final int STATE_UNKNOWN = -1; // 0xffffffff
Adnan Begovic10d20252015-09-30 17:47:23 -0700507 field public static final int STATE_WARM_FALLING = 1; // 0x1
508 field public static final int STATE_WARM_RISING = 2; // 0x2
Danesh Mc56b48e2015-09-24 13:41:01 -0700509 }
510
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700511}
512
Matt Garnes087f2b52015-09-03 15:54:29 -0700513package cyanogenmod.media {
514
515 public class MediaRecorder {
516 ctor public MediaRecorder();
517 field public static final java.lang.String ACTION_HOTWORD_INPUT_CHANGED = "com.cyanogenmod.intent.action.HOTWORD_INPUT_CHANGED";
518 field public static final java.lang.String CAPTURE_AUDIO_HOTWORD_PERMISSION = "android.permission.CAPTURE_AUDIO_HOTWORD";
519 field public static final java.lang.String EXTRA_CURRENT_PACKAGE_NAME = "com.cyanogenmod.intent.extra.CURRENT_PACKAGE_NAME";
520 }
521
522 public static class MediaRecorder.AudioSource {
523 ctor public MediaRecorder.AudioSource();
524 field public static final int HOTWORD = 1999; // 0x7cf
525 }
526
527}
528
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700529package cyanogenmod.os {
530
531 public class Build {
532 ctor public Build();
533 method public static java.lang.String getNameForSDKInt(int);
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800534 field public static final java.lang.String CYANOGENMOD_DISPLAY_VERSION = "ro.cm.display.version";
Adnan Begovicebf0f552016-01-18 11:26:08 -0800535 field public static final java.lang.String CYANOGENMOD_VERSION = "ro.cm.version";
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700536 field public static final java.lang.String UNKNOWN = "unknown";
537 }
538
539 public static class Build.CM_VERSION {
540 ctor public Build.CM_VERSION();
541 field public static final int SDK_INT;
542 }
543
544 public static class Build.CM_VERSION_CODES {
545 ctor public Build.CM_VERSION_CODES();
546 field public static final int APRICOT = 1; // 0x1
Adnan Begovicf9ec3a42015-07-13 16:46:23 -0700547 field public static final int BOYSENBERRY = 2; // 0x2
Roman Birgd29499d2015-12-23 09:32:13 -0800548 field public static final int CANTALOUPE = 3; // 0x3
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800549 field public static final int DRAGON_FRUIT = 4; // 0x4
Adnan Begovic1d2351e2016-02-09 11:12:38 -0800550 field public static final int ELDERBERRY = 5; // 0x5
Adnan Begovic3f7e4282015-06-09 11:03:37 -0700551 }
552
553}
554
Adnan Begovic273f2db2015-05-28 19:47:47 -0700555package cyanogenmod.platform {
556
557 public final class Manifest {
558 ctor public Manifest();
559 }
560
561 public static final class Manifest.permission {
562 ctor public Manifest.permission();
herriojre78ca4d2015-09-08 13:59:20 -0700563 field public static final java.lang.String ACCESS_APP_SUGGESTIONS = "cyanogenmod.permission.ACCESS_APP_SUGGESTIONS";
d34db3ea2852016-02-23 09:58:53 -0800564 field public static final java.lang.String ACCESS_THEME_MANAGER = "cyanogenmod.permission.ACCESS_THEME_MANAGER";
Yvonne Wonga632fbc2015-08-28 16:18:17 -0700565 field public static final java.lang.String HARDWARE_ABSTRACTION_ACCESS = "cyanogenmod.permission.HARDWARE_ABSTRACTION_ACCESS";
Adnan Begovic99716042015-09-01 16:26:28 -0700566 field public static final java.lang.String MANAGE_ALARMS = "cyanogenmod.permission.MANAGE_ALARMS";
Adnan Begovic9f381bc2015-09-09 17:29:30 -0700567 field public static final java.lang.String MANAGE_PERSISTENT_STORAGE = "cyanogenmod.permission.MANAGE_PERSISTENT_STORAGE";
Joao Figueiredo7f503352015-08-06 23:59:02 +0100568 field public static final java.lang.String MODIFY_MSIM_PHONE_STATE = "cyanogenmod.permission.MODIFY_MSIM_PHONE_STATE";
Matt Garnes7820e6d2015-08-05 18:16:21 -0700569 field public static final java.lang.String MODIFY_NETWORK_SETTINGS = "cyanogenmod.permission.MODIFY_NETWORK_SETTINGS";
Adnan Begovic99716042015-09-01 16:26:28 -0700570 field public static final java.lang.String MODIFY_PROFILES = "cyanogenmod.permission.MODIFY_PROFILES";
Matt Garnes7820e6d2015-08-05 18:16:21 -0700571 field public static final java.lang.String MODIFY_SOUND_SETTINGS = "cyanogenmod.permission.MODIFY_SOUND_SETTINGS";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800572 field public static final java.lang.String PROTECTED_APP = "cyanogenmod.permission.PROTECTED_APP";
Adnan Begovic273f2db2015-05-28 19:47:47 -0700573 field public static final java.lang.String PUBLISH_CUSTOM_TILE = "cyanogenmod.permission.PUBLISH_CUSTOM_TILE";
Adnan Begovic99716042015-09-01 16:26:28 -0700574 field public static final java.lang.String READ_ALARMS = "cyanogenmod.permission.READ_ALARMS";
Joao Figueiredo7f503352015-08-06 23:59:02 +0100575 field public static final java.lang.String READ_MSIM_PHONE_STATE = "cyanogenmod.permission.READ_MSIM_PHONE_STATE";
d34db3ea2852016-02-23 09:58:53 -0800576 field public static final java.lang.String READ_THEMES = "cyanogenmod.permission.READ_THEMES";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800577 field public static final java.lang.String THIRD_PARTY_KEYGUARD = "android.permission.THIRD_PARTY_KEYGUARD";
Adnan Begovic99716042015-09-01 16:26:28 -0700578 field public static final java.lang.String WRITE_ALARMS = "cyanogenmod.permission.WRITE_ALARMS";
Yvonne Wong0eb29992015-08-20 16:02:08 -0700579 field public static final java.lang.String WRITE_SECURE_SETTINGS = "cyanogenmod.permission.WRITE_SECURE_SETTINGS";
580 field public static final java.lang.String WRITE_SETTINGS = "cyanogenmod.permission.WRITE_SETTINGS";
d34db3ea2852016-02-23 09:58:53 -0800581 field public static final java.lang.String WRITE_THEMES = "cyanogenmod.permission.WRITE_THEMES";
Adnan Begovic273f2db2015-05-28 19:47:47 -0700582 }
583
584 public final class R {
585 ctor public R();
586 }
587
herriojre78ca4d2015-09-08 13:59:20 -0700588 public static final class R.array {
589 ctor public R.array();
590 }
591
Adnan Begovic273f2db2015-05-28 19:47:47 -0700592 public static final class R.attr {
593 ctor public R.attr();
594 }
595
herriojre78ca4d2015-09-08 13:59:20 -0700596 public static final class R.bool {
597 ctor public R.bool();
598 }
599
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700600 public static final class R.drawable {
601 ctor public R.drawable();
602 }
603
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800604 public static final class R.integer {
605 ctor public R.integer();
606 }
607
Adnan Begovic273f2db2015-05-28 19:47:47 -0700608 public static final class R.string {
609 ctor public R.string();
610 }
611
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700612 public static final class R.xml {
613 ctor public R.xml();
614 }
615
616}
617
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800618package cyanogenmod.power {
619
620 public class PerformanceManager {
621 method public static cyanogenmod.power.PerformanceManager getInstance(android.content.Context);
622 method public int getNumberOfProfiles();
623 method public int getPowerProfile();
624 method public boolean getProfileHasAppProfiles(int);
625 method public boolean setPowerProfile(int);
626 field public static final java.lang.String POWER_PROFILE_CHANGED = "cyanogenmod.power.PROFILE_CHANGED";
627 field public static final int PROFILE_BALANCED = 1; // 0x1
628 field public static final int PROFILE_BIAS_PERFORMANCE = 4; // 0x4
629 field public static final int PROFILE_BIAS_POWER_SAVE = 3; // 0x3
630 field public static final int PROFILE_HIGH_PERFORMANCE = 2; // 0x2
631 field public static final int PROFILE_POWER_SAVE = 0; // 0x0
632 field public static final java.lang.String TAG = "PerformanceManager";
633 }
634
635}
636
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700637package cyanogenmod.profiles {
638
639 public final class AirplaneModeSettings implements android.os.Parcelable {
640 ctor public AirplaneModeSettings(android.os.Parcel);
641 ctor public AirplaneModeSettings();
642 ctor public AirplaneModeSettings(int, boolean);
643 method public int describeContents();
644 method public int getValue();
645 method public boolean isOverride();
646 method public void setOverride(boolean);
647 method public void setValue(int);
648 method public void writeToParcel(android.os.Parcel, int);
649 }
650
651 public static class AirplaneModeSettings.BooleanState {
652 ctor public AirplaneModeSettings.BooleanState();
653 field public static final int STATE_DISALED = 0; // 0x0
654 field public static final int STATE_ENABLED = 1; // 0x1
655 }
656
657 public final class BrightnessSettings implements android.os.Parcelable {
658 ctor public BrightnessSettings(android.os.Parcel);
659 ctor public BrightnessSettings();
660 ctor public BrightnessSettings(int, boolean);
661 method public int describeContents();
662 method public int getValue();
663 method public boolean isOverride();
664 method public void setOverride(boolean);
665 method public void setValue(int);
666 method public void writeToParcel(android.os.Parcel, int);
667 }
668
669 public final class ConnectionSettings implements android.os.Parcelable {
670 ctor public ConnectionSettings(android.os.Parcel);
671 ctor public ConnectionSettings(int);
672 ctor public ConnectionSettings(int, int, boolean);
673 method public int describeContents();
674 method public int getConnectionId();
675 method public int getValue();
676 method public boolean isOverride();
677 method public void setOverride(boolean);
678 method public void setValue(int);
679 method public void writeToParcel(android.os.Parcel, int);
680 field public static final int PROFILE_CONNECTION_2G3G4G = 9; // 0x9
681 field public static final int PROFILE_CONNECTION_BLUETOOTH = 7; // 0x7
682 field public static final int PROFILE_CONNECTION_GPS = 4; // 0x4
683 field public static final int PROFILE_CONNECTION_MOBILEDATA = 0; // 0x0
684 field public static final int PROFILE_CONNECTION_NFC = 8; // 0x8
685 field public static final int PROFILE_CONNECTION_SYNC = 5; // 0x5
686 field public static final int PROFILE_CONNECTION_WIFI = 1; // 0x1
687 field public static final int PROFILE_CONNECTION_WIFIAP = 2; // 0x2
688 field public static final int PROFILE_CONNECTION_WIMAX = 3; // 0x3
689 }
690
691 public static class ConnectionSettings.BooleanState {
692 ctor public ConnectionSettings.BooleanState();
693 field public static final int STATE_DISALED = 0; // 0x0
694 field public static final int STATE_ENABLED = 1; // 0x1
695 }
696
Adnan Begovic6b7fd5f2015-07-31 13:47:25 -0700697 public final class LockSettings implements android.os.Parcelable {
698 ctor public LockSettings(android.os.Parcel);
699 ctor public LockSettings();
700 ctor public LockSettings(int);
701 method public int describeContents();
702 method public int getValue();
703 method public void setValue(int);
704 method public void writeToParcel(android.os.Parcel, int);
705 }
706
Adnan Begoviceddb89c2015-07-13 14:00:20 -0700707 public final class RingModeSettings implements android.os.Parcelable {
708 ctor public RingModeSettings(android.os.Parcel);
709 ctor public RingModeSettings();
710 ctor public RingModeSettings(java.lang.String, boolean);
711 method public int describeContents();
712 method public java.lang.String getValue();
713 method public boolean isOverride();
714 method public void setOverride(boolean);
715 method public void setValue(java.lang.String);
716 method public void writeToParcel(android.os.Parcel, int);
717 field public static final java.lang.String RING_MODE_MUTE = "mute";
718 field public static final java.lang.String RING_MODE_NORMAL = "normal";
719 field public static final java.lang.String RING_MODE_VIBRATE = "vibrate";
720 }
721
722 public final class StreamSettings implements android.os.Parcelable {
723 ctor public StreamSettings(android.os.Parcel);
724 ctor public StreamSettings(int);
725 ctor public StreamSettings(int, int, boolean);
726 method public int describeContents();
727 method public int getStreamId();
728 method public int getValue();
729 method public boolean isOverride();
730 method public void setOverride(boolean);
731 method public void setValue(int);
732 method public void writeToParcel(android.os.Parcel, int);
733 }
734
Adnan Begovic273f2db2015-05-28 19:47:47 -0700735}
736
Yvonne Wong0eb29992015-08-20 16:02:08 -0700737package cyanogenmod.providers {
738
739 public final class CMSettings {
740 ctor public CMSettings();
741 field public static final java.lang.String AUTHORITY = "cmsettings";
742 }
743
744 public static class CMSettings.CMSettingNotFoundException extends android.util.AndroidException {
745 ctor public CMSettings.CMSettingNotFoundException(java.lang.String);
746 }
747
748 public static final class CMSettings.Global extends android.provider.Settings.NameValueTable {
749 ctor public CMSettings.Global();
750 method public static float getFloat(android.content.ContentResolver, java.lang.String, float);
751 method public static float getFloat(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException;
752 method public static int getInt(android.content.ContentResolver, java.lang.String, int);
753 method public static int getInt(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException;
754 method public static long getLong(android.content.ContentResolver, java.lang.String, long);
755 method public static long getLong(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException;
756 method public static java.lang.String getString(android.content.ContentResolver, java.lang.String);
Roman Birgd29499d2015-12-23 09:32:13 -0800757 method public static android.net.Uri getUriFor(java.lang.String);
Yvonne Wong0eb29992015-08-20 16:02:08 -0700758 method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float);
759 method public static boolean putInt(android.content.ContentResolver, java.lang.String, int);
760 method public static boolean putLong(android.content.ContentResolver, java.lang.String, long);
761 method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String);
762 field public static final android.net.Uri CONTENT_URI;
763 field public static final java.lang.String SYS_PROP_CM_SETTING_VERSION = "sys.cm_settings_global_version";
764 }
765
766 public static final class CMSettings.Secure extends android.provider.Settings.NameValueTable {
767 ctor public CMSettings.Secure();
768 method public static float getFloat(android.content.ContentResolver, java.lang.String, float);
769 method public static float getFloat(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException;
770 method public static int getInt(android.content.ContentResolver, java.lang.String, int);
771 method public static int getInt(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException;
772 method public static long getLong(android.content.ContentResolver, java.lang.String, long);
773 method public static long getLong(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException;
774 method public static java.lang.String getString(android.content.ContentResolver, java.lang.String);
Roman Birgd29499d2015-12-23 09:32:13 -0800775 method public static android.net.Uri getUriFor(java.lang.String);
Yvonne Wong0eb29992015-08-20 16:02:08 -0700776 method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float);
777 method public static boolean putInt(android.content.ContentResolver, java.lang.String, int);
778 method public static boolean putLong(android.content.ContentResolver, java.lang.String, long);
779 method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String);
780 field public static final android.net.Uri CONTENT_URI;
Yvonne Wong0eb29992015-08-20 16:02:08 -0700781 field public static final java.lang.String SYS_PROP_CM_SETTING_VERSION = "sys.cm_settings_secure_version";
782 }
783
784 public static final class CMSettings.System extends android.provider.Settings.NameValueTable {
785 ctor public CMSettings.System();
786 method public static float getFloat(android.content.ContentResolver, java.lang.String, float);
787 method public static float getFloat(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException;
788 method public static int getInt(android.content.ContentResolver, java.lang.String, int);
789 method public static int getInt(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException;
790 method public static long getLong(android.content.ContentResolver, java.lang.String, long);
791 method public static long getLong(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException;
792 method public static java.lang.String getString(android.content.ContentResolver, java.lang.String);
Roman Birgd29499d2015-12-23 09:32:13 -0800793 method public static android.net.Uri getUriFor(java.lang.String);
Yvonne Wong0eb29992015-08-20 16:02:08 -0700794 method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float);
795 method public static boolean putInt(android.content.ContentResolver, java.lang.String, int);
796 method public static boolean putLong(android.content.ContentResolver, java.lang.String, long);
797 method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String);
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800798 field public static final java.lang.String APP_SWITCH_WAKE_SCREEN = "app_switch_wake_screen";
799 field public static final java.lang.String ASSIST_WAKE_SCREEN = "assist_wake_screen";
800 field public static final java.lang.String BACK_WAKE_SCREEN = "back_wake_screen";
801 field public static final java.lang.String BATTERY_LIGHT_ENABLED = "battery_light_enabled";
802 field public static final java.lang.String BATTERY_LIGHT_FULL_COLOR = "battery_light_full_color";
803 field public static final java.lang.String BATTERY_LIGHT_LOW_COLOR = "battery_light_low_color";
804 field public static final java.lang.String BATTERY_LIGHT_MEDIUM_COLOR = "battery_light_medium_color";
805 field public static final java.lang.String BATTERY_LIGHT_PULSE = "battery_light_pulse";
806 field public static final java.lang.String BLUETOOTH_ACCEPT_ALL_FILES = "bluetooth_accept_all_files";
807 field public static final java.lang.String CALL_RECORDING_FORMAT = "call_recording_format";
808 field public static final java.lang.String CAMERA_LAUNCH = "camera_launch";
809 field public static final java.lang.String CAMERA_SLEEP_ON_RELEASE = "camera_sleep_on_release";
810 field public static final java.lang.String CAMERA_WAKE_SCREEN = "camera_wake_screen";
Yvonne Wong0eb29992015-08-20 16:02:08 -0700811 field public static final android.net.Uri CONTENT_URI;
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800812 field public static final java.lang.String DIALER_OPENCNAM_ACCOUNT_SID = "dialer_opencnam_account_sid";
813 field public static final java.lang.String DIALER_OPENCNAM_AUTH_TOKEN = "dialer_opencnam_auth_token";
814 field public static final java.lang.String DISPLAY_AUTO_OUTDOOR_MODE = "display_auto_outdoor_mode";
815 field public static final java.lang.String DISPLAY_COLOR_ADJUSTMENT = "display_color_adjustment";
816 field public static final java.lang.String DISPLAY_COLOR_ENHANCE = "display_color_enhance";
817 field public static final java.lang.String DISPLAY_LOW_POWER = "display_low_power";
818 field public static final java.lang.String DISPLAY_TEMPERATURE_DAY = "display_temperature_day";
819 field public static final java.lang.String DISPLAY_TEMPERATURE_MODE = "display_temperature_mode";
820 field public static final java.lang.String DISPLAY_TEMPERATURE_NIGHT = "display_temperature_night";
821 field public static final java.lang.String DOUBLE_TAP_SLEEP_GESTURE = "double_tap_sleep_gesture";
822 field public static final java.lang.String ENABLE_FORWARD_LOOKUP = "enable_forward_lookup";
823 field public static final java.lang.String ENABLE_PEOPLE_LOOKUP = "enable_people_lookup";
824 field public static final java.lang.String ENABLE_REVERSE_LOOKUP = "enable_reverse_lookup";
825 field public static final java.lang.String FORWARD_LOOKUP_PROVIDER = "forward_lookup_provider";
Michael Bestasfcadbf52016-02-10 01:39:17 +0200826 field public static final java.lang.String HEADSET_CONNECT_PLAYER = "headset_connect_player";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800827 field public static final java.lang.String HIGH_TOUCH_SENSITIVITY_ENABLE = "high_touch_sensitivity_enable";
828 field public static final java.lang.String HOME_WAKE_SCREEN = "home_wake_screen";
829 field public static final java.lang.String INCREASING_RING = "increasing_ring";
830 field public static final java.lang.String INCREASING_RING_RAMP_UP_TIME = "increasing_ring_ramp_up_time";
831 field public static final java.lang.String INCREASING_RING_START_VOLUME = "increasing_ring_start_vol";
832 field public static final java.lang.String KEY_APP_SWITCH_ACTION = "key_app_switch_action";
833 field public static final java.lang.String KEY_APP_SWITCH_LONG_PRESS_ACTION = "key_app_switch_long_press_action";
834 field public static final java.lang.String KEY_ASSIST_ACTION = "key_assist_action";
835 field public static final java.lang.String KEY_ASSIST_LONG_PRESS_ACTION = "key_assist_long_press_action";
836 field public static final java.lang.String KEY_HOME_DOUBLE_TAP_ACTION = "key_home_double_tap_action";
837 field public static final java.lang.String KEY_HOME_LONG_PRESS_ACTION = "key_home_long_press_action";
838 field public static final java.lang.String KEY_MENU_ACTION = "key_menu_action";
839 field public static final java.lang.String KEY_MENU_LONG_PRESS_ACTION = "key_menu_long_press_action";
840 field public static final java.lang.String LOCKSCREEN_PIN_SCRAMBLE_LAYOUT = "lockscreen_scramble_pin_layout";
841 field public static final java.lang.String MENU_WAKE_SCREEN = "menu_wake_screen";
842 field public static final java.lang.String NAVBAR_LEFT_IN_LANDSCAPE = "navigation_bar_left";
843 field public static final java.lang.String NAVIGATION_BAR_MENU_ARROW_KEYS = "navigation_bar_menu_arrow_keys";
844 field public static final java.lang.String NAV_BUTTONS = "nav_buttons";
845 field public static final java.lang.String NOTIFICATION_LIGHT_BRIGHTNESS_LEVEL = "notification_light_brightness_level";
846 field public static final java.lang.String NOTIFICATION_LIGHT_MULTIPLE_LEDS_ENABLE = "notification_light_multiple_leds_enable";
847 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_COLOR = "notification_light_pulse_call_color";
848 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_LED_OFF = "notification_light_pulse_call_led_off";
849 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_LED_ON = "notification_light_pulse_call_led_on";
850 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CUSTOM_ENABLE = "notification_light_pulse_custom_enable";
851 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CUSTOM_VALUES = "notification_light_pulse_custom_values";
852 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_COLOR = "notification_light_pulse_default_color";
853 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_OFF = "notification_light_pulse_default_led_off";
854 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_ON = "notification_light_pulse_default_led_on";
855 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_COLOR = "notification_light_pulse_vmail_color";
856 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_LED_OFF = "notification_light_pulse_vmail_led_off";
857 field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_LED_ON = "notification_light_pulse_vmail_led_on";
858 field public static final java.lang.String NOTIFICATION_LIGHT_SCREEN_ON = "notification_light_screen_on_enable";
859 field public static final java.lang.String NOTIFICATION_PLAY_QUEUE = "notification_play_queue";
860 field public static final java.lang.String PEOPLE_LOOKUP_PROVIDER = "people_lookup_provider";
861 field public static final java.lang.String PROXIMITY_ON_WAKE = "proximity_on_wake";
862 field public static final java.lang.String QS_SHOW_BRIGHTNESS_SLIDER = "qs_show_brightness_slider";
863 field public static final java.lang.String RECENTS_SHOW_SEARCH_BAR = "recents_show_search_bar";
864 field public static final java.lang.String REVERSE_LOOKUP_PROVIDER = "reverse_lookup_provider";
865 field public static final java.lang.String SHOW_ALARM_ICON = "show_alarm_icon";
866 field public static final java.lang.String STATUS_BAR_AM_PM = "status_bar_am_pm";
867 field public static final java.lang.String STATUS_BAR_BATTERY_STYLE = "status_bar_battery_style";
868 field public static final java.lang.String STATUS_BAR_BRIGHTNESS_CONTROL = "status_bar_brightness_control";
869 field public static final java.lang.String STATUS_BAR_CLOCK = "status_bar_clock";
870 field public static final java.lang.String STATUS_BAR_IME_SWITCHER = "status_bar_ime_switcher";
871 field public static final java.lang.String STATUS_BAR_NOTIF_COUNT = "status_bar_notif_count";
872 field public static final java.lang.String STATUS_BAR_QUICK_QS_PULLDOWN = "qs_quick_pulldown";
873 field public static final java.lang.String STATUS_BAR_SHOW_BATTERY_PERCENT = "status_bar_show_battery_percent";
874 field public static final java.lang.String STATUS_BAR_SHOW_WEATHER = "status_bar_show_weather";
875 field public static final java.lang.String SWAP_VOLUME_KEYS_ON_ROTATION = "swap_volume_keys_on_rotation";
876 field public static final java.lang.String SYSTEM_PROFILES_ENABLED = "system_profiles_enabled";
Yvonne Wong0eb29992015-08-20 16:02:08 -0700877 field public static final java.lang.String SYS_PROP_CM_SETTING_VERSION = "sys.cm_settings_system_version";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800878 field public static final java.lang.String T9_SEARCH_INPUT_LOCALE = "t9_search_input_locale";
Michael Bestas73fafc12016-02-20 01:01:34 +0200879 field public static final java.lang.String TOUCHSCREEN_GESTURE_HAPTIC_FEEDBACK = "touchscreen_gesture_haptic_feedback";
Adnan Begovic2d4d5142015-12-23 11:15:05 -0800880 field public static final java.lang.String USE_EDGE_SERVICE_FOR_GESTURES = "edge_service_for_gestures";
881 field public static final java.lang.String VOLBTN_MUSIC_CONTROLS = "volbtn_music_controls";
882 field public static final java.lang.String VOLUME_ADJUST_SOUNDS_ENABLED = "volume_adjust_sounds_enabled";
883 field public static final java.lang.String VOLUME_KEYS_CONTROL_RING_STREAM = "volume_keys_control_ring_stream";
884 field public static final java.lang.String VOLUME_WAKE_SCREEN = "volume_wake_screen";
niks255783463c2016-01-29 12:13:00 +0300885 field public static final java.lang.String ZEN_ALLOW_LIGHTS = "allow_lights";
886 field public static final java.lang.String ZEN_PRIORITY_ALLOW_LIGHTS = "zen_priority_allow_lights";
Yvonne Wong0eb29992015-08-20 16:02:08 -0700887 }
888
d34db3ea2852016-02-23 09:58:53 -0800889 public class ThemesContract {
890 ctor public ThemesContract();
891 field public static final java.lang.String AUTHORITY = "com.cyanogenmod.themes";
892 field public static final android.net.Uri AUTHORITY_URI;
893 }
894
895 public static class ThemesContract.MixnMatchColumns {
896 ctor public ThemesContract.MixnMatchColumns();
897 method public static java.lang.String componentToImageColName(java.lang.String);
898 method public static java.lang.String componentToMixNMatchKey(java.lang.String);
899 method public static java.lang.String mixNMatchKeyToComponent(java.lang.String);
900 field public static final java.lang.String COL_COMPONENT_ID = "component_id";
901 field public static final java.lang.String COL_KEY = "key";
902 field public static final java.lang.String COL_PREV_VALUE = "previous_value";
903 field public static final java.lang.String COL_UPDATE_TIME = "update_time";
904 field public static final java.lang.String COL_VALUE = "value";
905 field public static final android.net.Uri CONTENT_URI;
906 field public static final java.lang.String KEY_ALARM = "mixnmatch_alarm";
907 field public static final java.lang.String KEY_BOOT_ANIM = "mixnmatch_boot_anim";
908 field public static final java.lang.String KEY_FONT = "mixnmatch_font";
909 field public static final java.lang.String KEY_HOMESCREEN = "mixnmatch_homescreen";
910 field public static final java.lang.String KEY_ICONS = "mixnmatch_icons";
911 field public static final java.lang.String KEY_LIVE_LOCK_SCREEN = "mixnmatch_live_lock_screen";
912 field public static final java.lang.String KEY_LOCKSCREEN = "mixnmatch_lockscreen";
913 field public static final java.lang.String KEY_NAVIGATION_BAR = "mixnmatch_navigation_bar";
914 field public static final java.lang.String KEY_NOTIFICATIONS = "mixnmatch_notifications";
915 field public static final java.lang.String KEY_OVERLAYS = "mixnmatch_overlays";
916 field public static final java.lang.String KEY_RINGTONE = "mixnmatch_ringtone";
917 field public static final java.lang.String KEY_STATUS_BAR = "mixnmatch_status_bar";
918 field public static final java.lang.String[] ROWS;
919 }
920
921 public static class ThemesContract.PreviewColumns {
922 ctor public ThemesContract.PreviewColumns();
923 field public static final android.net.Uri APPLIED_URI;
924 field public static final java.lang.String BOOTANIMATION_THUMBNAIL = "bootanimation_thumbnail";
925 field public static final java.lang.String COL_KEY = "key";
926 field public static final java.lang.String COL_VALUE = "value";
927 field public static final android.net.Uri COMPONENTS_URI;
928 field public static final java.lang.String COMPONENT_ID = "component_id";
929 field public static final android.net.Uri CONTENT_URI;
930 field public static final java.lang.String ICON_PREVIEW_1 = "icon_preview_1";
931 field public static final java.lang.String ICON_PREVIEW_2 = "icon_preview_2";
932 field public static final java.lang.String ICON_PREVIEW_3 = "icon_preview_3";
933 field public static final java.lang.String LIVE_LOCK_SCREEN_PREVIEW = "live_lock_screen_preview";
934 field public static final java.lang.String LIVE_LOCK_SCREEN_THUMBNAIL = "live_lock_screen_thumbnail";
935 field public static final java.lang.String LOCK_WALLPAPER_PREVIEW = "lock_wallpaper_preview";
936 field public static final java.lang.String LOCK_WALLPAPER_THUMBNAIL = "lock_wallpaper_thumbnail";
937 field public static final java.lang.String NAVBAR_BACKGROUND = "navbar_background";
938 field public static final java.lang.String NAVBAR_BACK_BUTTON = "navbar_back_button";
939 field public static final java.lang.String NAVBAR_HOME_BUTTON = "navbar_home_button";
940 field public static final java.lang.String NAVBAR_RECENT_BUTTON = "navbar_recent_button";
941 field public static final java.lang.String STATUSBAR_BACKGROUND = "statusbar_background";
942 field public static final java.lang.String STATUSBAR_BATTERY_CIRCLE = "statusbar_battery_circle";
943 field public static final java.lang.String STATUSBAR_BATTERY_LANDSCAPE = "statusbar_battery_landscape";
944 field public static final java.lang.String STATUSBAR_BATTERY_PORTRAIT = "statusbar_battery_portrait";
945 field public static final java.lang.String STATUSBAR_BLUETOOTH_ICON = "statusbar_bluetooth_icon";
946 field public static final java.lang.String STATUSBAR_CLOCK_TEXT_COLOR = "statusbar_clock_text_color";
947 field public static final java.lang.String STATUSBAR_SIGNAL_ICON = "statusbar_signal_icon";
948 field public static final java.lang.String STATUSBAR_WIFI_COMBO_MARGIN_END = "wifi_combo_margin_end";
949 field public static final java.lang.String STATUSBAR_WIFI_ICON = "statusbar_wifi_icon";
950 field public static final java.lang.String STYLE_PREVIEW = "style_preview";
951 field public static final java.lang.String STYLE_THUMBNAIL = "style_thumbnail";
952 field public static final java.lang.String THEME_ID = "theme_id";
953 field public static final java.lang.String[] VALID_KEYS;
954 field public static final java.lang.String WALLPAPER_FULL = "wallpaper_full";
955 field public static final java.lang.String WALLPAPER_PREVIEW = "wallpaper_preview";
956 field public static final java.lang.String WALLPAPER_THUMBNAIL = "wallpaper_thumbnail";
957 field public static final java.lang.String _ID = "_id";
958 }
959
960 public static class ThemesContract.ThemesColumns {
961 ctor public ThemesContract.ThemesColumns();
962 field public static final java.lang.String AUTHOR = "author";
963 field public static final java.lang.String BOOT_ANIM_URI = "bootanim_uri";
964 field public static final android.net.Uri CONTENT_URI;
965 field public static final java.lang.String DATE_CREATED = "created";
966 field public static final java.lang.String FONT_URI = "font_uri";
967 field public static final java.lang.String HOMESCREEN_URI = "homescreen_uri";
968 field public static final java.lang.String ICON_URI = "icon_uri";
969 field public static final java.lang.String INSTALL_STATE = "install_state";
970 field public static final java.lang.String INSTALL_TIME = "install_time";
971 field public static final java.lang.String IS_DEFAULT_THEME = "is_default_theme";
972 field public static final java.lang.String IS_LEGACY_ICONPACK = "is_legacy_iconpack";
973 field public static final java.lang.String IS_LEGACY_THEME = "is_legacy_theme";
974 field public static final java.lang.String LAST_UPDATE_TIME = "updateTime";
975 field public static final java.lang.String LOCKSCREEN_URI = "lockscreen_uri";
976 field public static final java.lang.String MODIFIES_ALARMS = "mods_alarms";
977 field public static final java.lang.String MODIFIES_BOOT_ANIM = "mods_bootanim";
978 field public static final java.lang.String MODIFIES_FONTS = "mods_fonts";
979 field public static final java.lang.String MODIFIES_ICONS = "mods_icons";
980 field public static final java.lang.String MODIFIES_LAUNCHER = "mods_homescreen";
981 field public static final java.lang.String MODIFIES_LIVE_LOCK_SCREEN = "mods_live_lock_screen";
982 field public static final java.lang.String MODIFIES_LOCKSCREEN = "mods_lockscreen";
983 field public static final java.lang.String MODIFIES_NAVIGATION_BAR = "mods_navigation_bar";
984 field public static final java.lang.String MODIFIES_NOTIFICATIONS = "mods_notifications";
985 field public static final java.lang.String MODIFIES_OVERLAYS = "mods_overlays";
986 field public static final java.lang.String MODIFIES_RINGTONES = "mods_ringtones";
987 field public static final java.lang.String MODIFIES_STATUS_BAR = "mods_status_bar";
988 field public static final java.lang.String OVERLAYS_URI = "overlays_uri";
989 field public static final java.lang.String PKG_NAME = "pkg_name";
990 field public static final java.lang.String PRESENT_AS_THEME = "present_as_theme";
991 field public static final java.lang.String PRIMARY_COLOR = "primary_color";
992 field public static final java.lang.String SECONDARY_COLOR = "secondary_color";
993 field public static final java.lang.String STATUSBAR_URI = "status_uri";
994 field public static final java.lang.String STYLE_URI = "style_uri";
995 field public static final java.lang.String TARGET_API = "target_api";
996 field public static final java.lang.String TITLE = "title";
997 field public static final java.lang.String WALLPAPER_URI = "wallpaper_uri";
998 field public static final java.lang.String _ID = "_id";
999 }
1000
1001 public static class ThemesContract.ThemesColumns.InstallState {
1002 ctor public ThemesContract.ThemesColumns.InstallState();
1003 field public static final int INSTALLED = 3; // 0x3
1004 field public static final int INSTALLING = 1; // 0x1
1005 field public static final int UNKNOWN = 0; // 0x0
1006 field public static final int UPDATING = 2; // 0x2
1007 }
1008
Yvonne Wong0eb29992015-08-20 16:02:08 -07001009}
1010
d34df2fd8362016-03-04 16:07:39 -08001011package cyanogenmod.themes {
1012
1013 public final class ThemeChangeRequest implements android.os.Parcelable {
1014 method public int describeContents();
1015 method public java.lang.String getAlarmThemePackageName();
1016 method public java.lang.String getBootanimationThemePackageName();
1017 method public java.lang.String getFontThemePackageName();
1018 method public java.lang.String getIconsThemePackageName();
1019 method public java.lang.String getLiveLockScreenThemePackageName();
1020 method public java.lang.String getLockWallpaperThemePackageName();
1021 method public java.lang.String getNavBarThemePackageName();
1022 method public java.lang.String getNotificationThemePackageName();
1023 method public int getNumChangesRequested();
1024 method public java.lang.String getOverlayThemePackageName();
1025 method public final java.util.Map<java.lang.String, java.lang.String> getPerAppOverlays();
1026 method public cyanogenmod.themes.ThemeChangeRequest.RequestType getReqeustType();
1027 method public java.lang.String getRingtoneThemePackageName();
1028 method public java.lang.String getStatusBarThemePackageName();
1029 method public final java.util.Map<java.lang.String, java.lang.String> getThemeComponentsMap();
1030 method public long getWallpaperId();
1031 method public java.lang.String getWallpaperThemePackageName();
1032 method public void writeToParcel(android.os.Parcel, int);
1033 field public static final android.os.Parcelable.Creator<cyanogenmod.themes.ThemeChangeRequest> CREATOR;
1034 field public static final int DEFAULT_WALLPAPER_ID = -1; // 0xffffffff
1035 }
1036
1037 public static class ThemeChangeRequest.Builder {
1038 ctor public ThemeChangeRequest.Builder();
1039 ctor public ThemeChangeRequest.Builder(android.content.res.ThemeConfig);
1040 method public cyanogenmod.themes.ThemeChangeRequest build();
1041 method public cyanogenmod.themes.ThemeChangeRequest.Builder setAlarm(java.lang.String);
1042 method public cyanogenmod.themes.ThemeChangeRequest.Builder setAppOverlay(java.lang.String, java.lang.String);
1043 method public cyanogenmod.themes.ThemeChangeRequest.Builder setBootanimation(java.lang.String);
1044 method public cyanogenmod.themes.ThemeChangeRequest.Builder setComponent(java.lang.String, java.lang.String);
1045 method public cyanogenmod.themes.ThemeChangeRequest.Builder setFont(java.lang.String);
1046 method public cyanogenmod.themes.ThemeChangeRequest.Builder setIcons(java.lang.String);
1047 method public cyanogenmod.themes.ThemeChangeRequest.Builder setLiveLockScreen(java.lang.String);
1048 method public cyanogenmod.themes.ThemeChangeRequest.Builder setLockWallpaper(java.lang.String);
1049 method public cyanogenmod.themes.ThemeChangeRequest.Builder setNavBar(java.lang.String);
1050 method public cyanogenmod.themes.ThemeChangeRequest.Builder setNotification(java.lang.String);
1051 method public cyanogenmod.themes.ThemeChangeRequest.Builder setOverlay(java.lang.String);
1052 method public cyanogenmod.themes.ThemeChangeRequest.Builder setRequestType(cyanogenmod.themes.ThemeChangeRequest.RequestType);
1053 method public cyanogenmod.themes.ThemeChangeRequest.Builder setRingtone(java.lang.String);
1054 method public cyanogenmod.themes.ThemeChangeRequest.Builder setStatusBar(java.lang.String);
1055 method public cyanogenmod.themes.ThemeChangeRequest.Builder setWallpaper(java.lang.String);
1056 method public cyanogenmod.themes.ThemeChangeRequest.Builder setWallpaperId(long);
1057 }
1058
1059 public static final class ThemeChangeRequest.RequestType extends java.lang.Enum {
1060 method public static cyanogenmod.themes.ThemeChangeRequest.RequestType valueOf(java.lang.String);
1061 method public static final cyanogenmod.themes.ThemeChangeRequest.RequestType[] values();
1062 enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType THEME_REMOVED;
1063 enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType THEME_RESET;
1064 enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType THEME_UPDATED;
1065 enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType USER_REQUEST;
1066 enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType USER_REQUEST_MIXNMATCH;
1067 }
1068
1069 public class ThemeManager {
1070 method public deprecated void addClient(cyanogenmod.themes.ThemeManager.ThemeChangeListener);
1071 method public void applyDefaultTheme();
1072 method public static cyanogenmod.themes.ThemeManager getInstance();
1073 method public cyanogenmod.themes.ThemeChangeRequest.RequestType getLastThemeChangeRequestType();
1074 method public long getLastThemeChangeTime();
1075 method public int getProgress();
1076 method public boolean isThemeApplying();
1077 method public boolean isThemeBeingProcessed(java.lang.String);
1078 method public deprecated void onClientDestroyed(cyanogenmod.themes.ThemeManager.ThemeChangeListener);
1079 method public deprecated void onClientPaused(cyanogenmod.themes.ThemeManager.ThemeChangeListener);
1080 method public deprecated void onClientResumed(cyanogenmod.themes.ThemeManager.ThemeChangeListener);
1081 method public boolean processThemeResources(java.lang.String);
1082 method public void registerProcessingListener(cyanogenmod.themes.ThemeManager.ThemeProcessingListener);
1083 method public void registerThemeChangeListener(cyanogenmod.themes.ThemeManager.ThemeChangeListener);
1084 method public deprecated void removeClient(cyanogenmod.themes.ThemeManager.ThemeChangeListener);
1085 method public void requestThemeChange(java.lang.String, java.util.List<java.lang.String>);
1086 method public void requestThemeChange(java.lang.String, java.util.List<java.lang.String>, boolean);
1087 method public void requestThemeChange(java.util.Map<java.lang.String, java.lang.String>);
1088 method public void requestThemeChange(java.util.Map<java.lang.String, java.lang.String>, boolean);
1089 method public void requestThemeChange(cyanogenmod.themes.ThemeChangeRequest, boolean);
1090 method public void unregisterProcessingListener(cyanogenmod.themes.ThemeManager.ThemeChangeListener);
1091 method public void unregisterThemeChangeListener(cyanogenmod.themes.ThemeManager.ThemeChangeListener);
1092 }
1093
1094 public static abstract interface ThemeManager.ThemeChangeListener {
1095 method public abstract void onFinish(boolean);
1096 method public abstract void onProgress(int);
1097 }
1098
1099 public static abstract interface ThemeManager.ThemeProcessingListener {
1100 method public abstract void onFinishedProcessing(java.lang.String);
1101 }
1102
1103}
1104
Steve Kondik567b4302016-02-27 12:04:03 +01001105package cyanogenmod.util {
1106
1107 public class ColorUtils {
1108 ctor public ColorUtils();
1109 method public static double calculateDeltaE(double, double, double, double, double, double);
1110 method public static float[] convertRGBtoLAB(int);
1111 method public static int dropAlpha(int);
1112 method public static int findPerceptuallyNearestColor(int, int[]);
1113 method public static int findPerceptuallyNearestSolidColor(int);
1114 method public static int generateAlertColorFromDrawable(android.graphics.drawable.Drawable);
1115 method public static com.android.internal.util.cm.palette.Palette.Swatch getDominantSwatch(com.android.internal.util.cm.palette.Palette);
1116 method public static float[] temperatureToRGB(int);
1117 }
1118
1119}
1120