Matt Garnes | 51c39ba | 2015-07-29 17:19:03 -0700 | [diff] [blame] | 1 | package 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 Begovic | b4b1321 | 2016-01-06 16:41:25 -0800 | [diff] [blame] | 49 | field public static final int PREDISMISSED_STATE = 8; // 0x8 |
Matt Garnes | 51c39ba | 2015-07-29 17:19:03 -0700 | [diff] [blame] | 50 | 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 Garnes | 7820e6d | 2015-08-05 18:16:21 -0700 | [diff] [blame] | 57 | method public static android.content.Intent createAlarmIntent(android.content.Context); |
Matt Garnes | 51c39ba | 2015-07-29 17:19:03 -0700 | [diff] [blame] | 58 | 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 Garnes | 51c39ba | 2015-07-29 17:19:03 -0700 | [diff] [blame] | 63 | } |
| 64 | |
| 65 | } |
| 66 | |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 67 | package 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 Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 77 | } |
| 78 | |
Joao Figueiredo | 7f50335 | 2015-08-06 23:59:02 +0100 | [diff] [blame] | 79 | 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 Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 92 | 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 Begovic | 6b7fd5f | 2015-07-31 13:47:25 -0700 | [diff] [blame] | 99 | field public static final int PSEUDO_GRID_ITEM_MAX_COUNT = 9; // 0x9 |
Adnan Begovic | 3290540 | 2015-07-22 13:34:09 -0700 | [diff] [blame] | 100 | field public boolean collapsePanel; |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 101 | field public java.lang.String contentDescription; |
Adnan Begovic | 6b7fd5f | 2015-07-31 13:47:25 -0700 | [diff] [blame] | 102 | field public android.app.PendingIntent deleteIntent; |
Adnan Begovic | 3f7e428 | 2015-06-09 11:03:37 -0700 | [diff] [blame] | 103 | field public cyanogenmod.app.CustomTile.ExpandedStyle expandedStyle; |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 104 | 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 Begovic | ebf0f55 | 2016-01-18 11:26:08 -0800 | [diff] [blame] | 108 | field public android.app.PendingIntent onLongClick; |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 109 | field public android.content.Intent onSettingsClick; |
Adnan Begovic | 6b7fd5f | 2015-07-31 13:47:25 -0700 | [diff] [blame] | 110 | field public android.graphics.Bitmap remoteIcon; |
Adnan Begovic | 9971604 | 2015-09-01 16:26:28 -0700 | [diff] [blame] | 111 | field public boolean sensitiveData; |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 112 | } |
| 113 | |
| 114 | public static class CustomTile.Builder { |
| 115 | ctor public CustomTile.Builder(android.content.Context); |
| 116 | method public cyanogenmod.app.CustomTile build(); |
Adnan Begovic | 9971604 | 2015-09-01 16:26:28 -0700 | [diff] [blame] | 117 | method public cyanogenmod.app.CustomTile.Builder hasSensitiveData(boolean); |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 118 | method public cyanogenmod.app.CustomTile.Builder setContentDescription(java.lang.String); |
| 119 | method public cyanogenmod.app.CustomTile.Builder setContentDescription(int); |
Adnan Begovic | 6b7fd5f | 2015-07-31 13:47:25 -0700 | [diff] [blame] | 120 | method public cyanogenmod.app.CustomTile.Builder setDeleteIntent(android.app.PendingIntent); |
Adnan Begovic | 3f7e428 | 2015-06-09 11:03:37 -0700 | [diff] [blame] | 121 | method public cyanogenmod.app.CustomTile.Builder setExpandedStyle(cyanogenmod.app.CustomTile.ExpandedStyle); |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 122 | method public cyanogenmod.app.CustomTile.Builder setIcon(int); |
Adnan Begovic | 6b7fd5f | 2015-07-31 13:47:25 -0700 | [diff] [blame] | 123 | method public cyanogenmod.app.CustomTile.Builder setIcon(android.graphics.Bitmap); |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 124 | 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 Begovic | ebf0f55 | 2016-01-18 11:26:08 -0800 | [diff] [blame] | 128 | method public cyanogenmod.app.CustomTile.Builder setOnLongClickIntent(android.app.PendingIntent); |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 129 | method public cyanogenmod.app.CustomTile.Builder setOnSettingsClickIntent(android.content.Intent); |
Adnan Begovic | 3290540 | 2015-07-22 13:34:09 -0700 | [diff] [blame] | 130 | method public cyanogenmod.app.CustomTile.Builder shouldCollapsePanel(boolean); |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 131 | } |
| 132 | |
Adnan Begovic | 3f7e428 | 2015-06-09 11:03:37 -0700 | [diff] [blame] | 133 | public static class CustomTile.ExpandedGridItem extends cyanogenmod.app.CustomTile.ExpandedItem { |
| 134 | ctor public CustomTile.ExpandedGridItem(); |
Adnan Begovic | 6b7fd5f | 2015-07-31 13:47:25 -0700 | [diff] [blame] | 135 | method public void setExpandedGridItemBitmap(android.graphics.Bitmap); |
Adnan Begovic | 3f7e428 | 2015-06-09 11:03:37 -0700 | [diff] [blame] | 136 | 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 Begovic | 6b7fd5f | 2015-07-31 13:47:25 -0700 | [diff] [blame] | 146 | field public android.graphics.Bitmap itemBitmapResource; |
Adnan Begovic | 3f7e428 | 2015-06-09 11:03:37 -0700 | [diff] [blame] | 147 | 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 Begovic | 6b7fd5f | 2015-07-31 13:47:25 -0700 | [diff] [blame] | 155 | method public void setExpandedListItemBitmap(android.graphics.Bitmap); |
Adnan Begovic | 3f7e428 | 2015-06-09 11:03:37 -0700 | [diff] [blame] | 156 | 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 Begovic | 6b7fd5f | 2015-07-31 13:47:25 -0700 | [diff] [blame] | 164 | method public android.widget.RemoteViews getContentViews(); |
Adnan Begovic | 3f7e428 | 2015-06-09 11:03:37 -0700 | [diff] [blame] | 165 | 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 Begovic | 6b7fd5f | 2015-07-31 13:47:25 -0700 | [diff] [blame] | 171 | field public static final int REMOTE_STYLE = 2; // 0x2 |
Adnan Begovic | 3f7e428 | 2015-06-09 11:03:37 -0700 | [diff] [blame] | 172 | } |
| 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 Begovic | 6b7fd5f | 2015-07-31 13:47:25 -0700 | [diff] [blame] | 184 | 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 Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 189 | 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 Garnes | 087f2b5 | 2015-09-03 15:54:29 -0700 | [diff] [blame] | 199 | 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 Begovic | b4b1321 | 2016-01-06 16:41:25 -0800 | [diff] [blame] | 206 | method public boolean setZenModeWithDuration(int, long); |
Matt Garnes | 087f2b5 | 2015-09-03 15:54:29 -0700 | [diff] [blame] | 207 | 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 Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 215 | 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(); |
Roman Birg | c46e0ff | 2016-02-10 18:59:16 -0800 | [diff] [blame] | 222 | method public cyanogenmod.profiles.ConnectionSettings getConnectionSettingWithSubId(int); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 223 | method public java.util.Collection<cyanogenmod.profiles.ConnectionSettings> getConnectionSettings(); |
| 224 | method public int getDozeMode(); |
| 225 | method public int getExpandedDesktopMode(); |
| 226 | method public java.lang.String getName(); |
Adnan Begovic | cdf4d0d | 2016-02-10 18:14:35 -0800 | [diff] [blame] | 227 | method public int getNotificationLightMode(); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 228 | method public int getProfileType(); |
| 229 | method public cyanogenmod.profiles.RingModeSettings getRingMode(); |
Adnan Begovic | 6b7fd5f | 2015-07-31 13:47:25 -0700 | [diff] [blame] | 230 | method public cyanogenmod.profiles.LockSettings getScreenLockMode(); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 231 | method public java.util.UUID[] getSecondaryUuids(); |
| 232 | method public cyanogenmod.profiles.ConnectionSettings getSettingsForConnection(int); |
| 233 | method public cyanogenmod.profiles.StreamSettings getSettingsForStream(int); |
| 234 | method public java.util.Collection<cyanogenmod.profiles.StreamSettings> getStreamSettings(); |
| 235 | method public int getTriggerState(int, java.lang.String); |
| 236 | method public java.util.ArrayList<cyanogenmod.app.Profile.ProfileTrigger> getTriggersFromType(int); |
| 237 | method public java.util.UUID getUuid(); |
| 238 | method public boolean isConditionalType(); |
| 239 | method public void setAirplaneMode(cyanogenmod.profiles.AirplaneModeSettings); |
| 240 | method public void setBrightness(cyanogenmod.profiles.BrightnessSettings); |
| 241 | method public void setConnectionSettings(cyanogenmod.profiles.ConnectionSettings); |
| 242 | method public void setDozeMode(int); |
| 243 | method public void setExpandedDesktopMode(int); |
| 244 | method public void setName(java.lang.String); |
Adnan Begovic | cdf4d0d | 2016-02-10 18:14:35 -0800 | [diff] [blame] | 245 | method public void setNotificationLightMode(int); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 246 | method public void setProfileType(int); |
| 247 | method public void setRingMode(cyanogenmod.profiles.RingModeSettings); |
Adnan Begovic | 6b7fd5f | 2015-07-31 13:47:25 -0700 | [diff] [blame] | 248 | method public void setScreenLockMode(cyanogenmod.profiles.LockSettings); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 249 | method public void setSecondaryUuids(java.util.List<java.util.UUID>); |
| 250 | method public void setStreamSettings(cyanogenmod.profiles.StreamSettings); |
| 251 | method public void setTrigger(cyanogenmod.app.Profile.ProfileTrigger); |
| 252 | method public void writeToParcel(android.os.Parcel, int); |
| 253 | } |
| 254 | |
| 255 | public static class Profile.DozeMode { |
| 256 | ctor public Profile.DozeMode(); |
| 257 | field public static final int DEFAULT = 0; // 0x0 |
| 258 | field public static final int DISABLE = 2; // 0x2 |
| 259 | field public static final int ENABLE = 1; // 0x1 |
| 260 | } |
| 261 | |
| 262 | public static class Profile.ExpandedDesktopMode { |
| 263 | ctor public Profile.ExpandedDesktopMode(); |
| 264 | field public static final int DEFAULT = 0; // 0x0 |
| 265 | field public static final int DISABLE = 2; // 0x2 |
| 266 | field public static final int ENABLE = 1; // 0x1 |
| 267 | } |
| 268 | |
| 269 | public static class Profile.LockMode { |
| 270 | ctor public Profile.LockMode(); |
| 271 | field public static final int DEFAULT = 0; // 0x0 |
| 272 | field public static final int DISABLE = 2; // 0x2 |
| 273 | field public static final int INSECURE = 1; // 0x1 |
| 274 | } |
| 275 | |
Adnan Begovic | cdf4d0d | 2016-02-10 18:14:35 -0800 | [diff] [blame] | 276 | public static class Profile.NotificationLightMode { |
| 277 | ctor public Profile.NotificationLightMode(); |
| 278 | field public static final int DEFAULT = 0; // 0x0 |
| 279 | field public static final int DISABLE = 2; // 0x2 |
| 280 | field public static final int ENABLE = 1; // 0x1 |
| 281 | } |
| 282 | |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 283 | public static class Profile.ProfileTrigger implements android.os.Parcelable { |
Adnan Begovic | 8481cec | 2015-08-04 16:45:26 -0700 | [diff] [blame] | 284 | ctor public Profile.ProfileTrigger(int, java.lang.String, int, java.lang.String); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 285 | method public int describeContents(); |
| 286 | method public java.lang.String getId(); |
| 287 | method public java.lang.String getName(); |
| 288 | method public int getState(); |
| 289 | method public int getType(); |
| 290 | method public void writeToParcel(android.os.Parcel, int); |
| 291 | } |
| 292 | |
| 293 | public static class Profile.TriggerState { |
| 294 | ctor public Profile.TriggerState(); |
| 295 | field public static final int DISABLED = 2; // 0x2 |
| 296 | field public static final int ON_A2DP_CONNECT = 3; // 0x3 |
| 297 | field public static final int ON_A2DP_DISCONNECT = 4; // 0x4 |
| 298 | field public static final int ON_CONNECT = 0; // 0x0 |
| 299 | field public static final int ON_DISCONNECT = 1; // 0x1 |
| 300 | } |
| 301 | |
| 302 | public static class Profile.TriggerType { |
| 303 | ctor public Profile.TriggerType(); |
| 304 | field public static final int BLUETOOTH = 1; // 0x1 |
| 305 | field public static final int WIFI = 0; // 0x0 |
| 306 | } |
| 307 | |
| 308 | public static class Profile.Type { |
| 309 | ctor public Profile.Type(); |
| 310 | field public static final int CONDITIONAL = 1; // 0x1 |
| 311 | field public static final int TOGGLE = 0; // 0x0 |
| 312 | } |
| 313 | |
| 314 | public class ProfileManager { |
| 315 | method public void addProfile(cyanogenmod.app.Profile); |
| 316 | method public cyanogenmod.app.Profile getActiveProfile(); |
| 317 | method public static cyanogenmod.app.ProfileManager getInstance(android.content.Context); |
| 318 | method public deprecated cyanogenmod.app.Profile getProfile(java.lang.String); |
| 319 | method public cyanogenmod.app.Profile getProfile(java.util.UUID); |
| 320 | method public java.lang.String[] getProfileNames(); |
| 321 | method public cyanogenmod.app.Profile[] getProfiles(); |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 322 | method public boolean isProfilesEnabled(); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 323 | method public boolean profileExists(java.lang.String); |
| 324 | method public boolean profileExists(java.util.UUID); |
| 325 | method public void removeProfile(cyanogenmod.app.Profile); |
| 326 | method public void resetAll(); |
| 327 | method public deprecated void setActiveProfile(java.lang.String); |
| 328 | method public void setActiveProfile(java.util.UUID); |
| 329 | method public void updateProfile(cyanogenmod.app.Profile); |
Adnan Begovic | ce52da6 | 2015-07-17 13:20:27 -0700 | [diff] [blame] | 330 | field public static final java.lang.String ACTION_PROFILE_PICKER = "cyanogenmod.platform.intent.action.PROFILE_PICKER"; |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 331 | field public static final java.lang.String EXTRA_LAST_PROFILE_NAME = "lastName"; |
Roman Birg | 45f57c5 | 2016-03-17 15:29:22 -0700 | [diff] [blame] | 332 | field public static final java.lang.String EXTRA_LAST_PROFILE_UUID = "lastUuid"; |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 333 | field public static final java.lang.String EXTRA_PROFILES_STATE = "profile_state"; |
| 334 | field public static final java.lang.String EXTRA_PROFILE_DIALOG_THEME = "cyanogenmod.platform.intent.extra.profile.DIALOG_THEME"; |
Adnan Begovic | a276a41 | 2015-07-21 11:56:26 -0700 | [diff] [blame] | 335 | field public static final java.lang.String EXTRA_PROFILE_EXISTING_UUID = "cyanogenmod.platform.extra.profile.EXISTING_UUID"; |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 336 | field public static final java.lang.String EXTRA_PROFILE_NAME = "name"; |
| 337 | field public static final java.lang.String EXTRA_PROFILE_PICKED_UUID = "cyanogenmod.platform.intent.extra.profile.PICKED_UUID"; |
Adnan Begovic | a276a41 | 2015-07-21 11:56:26 -0700 | [diff] [blame] | 338 | field public static final java.lang.String EXTRA_PROFILE_SHOW_NONE = "cyanogenmod.platform.intent.extra.profile.SHOW_NONE"; |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 339 | field public static final java.lang.String EXTRA_PROFILE_TITLE = "cyanogenmod.platform.intent.extra.profile.TITLE"; |
| 340 | field public static final java.lang.String EXTRA_PROFILE_UUID = "uuid"; |
| 341 | field public static final java.lang.String INTENT_ACTION_PROFILE_SELECTED = "cyanogenmod.platform.intent.action.PROFILE_SELECTED"; |
| 342 | field public static final java.lang.String INTENT_ACTION_PROFILE_UPDATED = "cyanogenmod.platform.intent.action.PROFILE_UPDATED"; |
| 343 | field public static final java.util.UUID NO_PROFILE; |
| 344 | field public static final java.lang.String PROFILES_STATE_CHANGED_ACTION = "cyanogenmod.platform.app.profiles.PROFILES_STATE_CHANGED"; |
| 345 | field public static final int PROFILES_STATE_DISABLED = 0; // 0x0 |
| 346 | field public static final int PROFILES_STATE_ENABLED = 1; // 0x1 |
| 347 | } |
| 348 | |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 349 | public class StatusBarPanelCustomTile implements android.os.Parcelable { |
Adnan Begovic | f1f9f25 | 2015-06-22 20:34:55 -0700 | [diff] [blame] | 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); |
| 351 | 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 Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 352 | ctor public StatusBarPanelCustomTile(android.os.Parcel); |
| 353 | method public cyanogenmod.app.StatusBarPanelCustomTile clone(); |
| 354 | method public int describeContents(); |
| 355 | method public cyanogenmod.app.CustomTile getCustomTile(); |
| 356 | method public int getId(); |
| 357 | method public java.lang.String getKey(); |
| 358 | method public java.lang.String getPackage(); |
| 359 | method public long getPostTime(); |
| 360 | method public java.lang.String getTag(); |
| 361 | method public android.os.UserHandle getUser(); |
| 362 | method public int getUserId(); |
| 363 | method public void writeToParcel(android.os.Parcel, int); |
| 364 | field public static final android.os.Parcelable.Creator<cyanogenmod.app.StatusBarPanelCustomTile> CREATOR; |
| 365 | } |
| 366 | |
| 367 | } |
| 368 | |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 369 | package cyanogenmod.content { |
| 370 | |
| 371 | public class Intent { |
| 372 | ctor public Intent(); |
| 373 | field public static final java.lang.String ACTION_PROTECTED = "cyanogenmod.intent.action.PACKAGE_PROTECTED"; |
| 374 | field public static final java.lang.String ACTION_PROTECTED_CHANGED = "cyanogenmod.intent.action.PROTECTED_COMPONENT_UPDATE"; |
d34d | b3ea285 | 2016-02-23 09:58:53 -0800 | [diff] [blame] | 375 | field public static final java.lang.String ACTION_THEME_INSTALLED = "cyanogenmod.intent.action.THEME_INSTALLED"; |
| 376 | field public static final java.lang.String ACTION_THEME_REMOVED = "cyanogenmod.intent.action.THEME_REMOVED"; |
| 377 | field public static final java.lang.String ACTION_THEME_UPDATED = "cyanogenmod.intent.action.THEME_UPDATED"; |
| 378 | field public static final java.lang.String CATEGORY_THEME_PACKAGE_INSTALLED_STATE_CHANGE = "cyanogenmod.intent.category.THEME_PACKAGE_INSTALL_STATE_CHANGE"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 379 | field public static final java.lang.String EXTRA_PROTECTED_COMPONENTS = "cyanogenmod.intent.extra.PACKAGE_PROTECTED_COMPONENTS"; |
| 380 | field public static final java.lang.String EXTRA_PROTECTED_STATE = "cyanogenmod.intent.extra.PACKAGE_PROTECTED_STATE"; |
d34d | b3ea285 | 2016-02-23 09:58:53 -0800 | [diff] [blame] | 381 | field public static final java.lang.String URI_SCHEME_PACKAGE = "package"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 382 | } |
| 383 | |
| 384 | } |
| 385 | |
Adnan Begovic | b4b1321 | 2016-01-06 16:41:25 -0800 | [diff] [blame] | 386 | package cyanogenmod.externalviews { |
| 387 | |
| 388 | public abstract class KeyguardExternalViewProviderService extends android.app.Service { |
| 389 | ctor public KeyguardExternalViewProviderService(); |
| 390 | method protected abstract cyanogenmod.externalviews.KeyguardExternalViewProviderService.Provider createExternalView(android.os.Bundle); |
| 391 | method public final android.os.IBinder onBind(android.content.Intent); |
Adnan Begovic | 588c05a | 2016-01-22 17:34:47 -0800 | [diff] [blame] | 392 | field public static final java.lang.String META_DATA = "cyanogenmod.externalviews.keyguard"; |
| 393 | field public static final java.lang.String SERVICE_INTERFACE = "cyanogenmod.externalviews.KeyguardExternalViewProviderService"; |
Adnan Begovic | b4b1321 | 2016-01-06 16:41:25 -0800 | [diff] [blame] | 394 | } |
| 395 | |
| 396 | protected abstract class KeyguardExternalViewProviderService.Provider { |
| 397 | ctor protected KeyguardExternalViewProviderService.Provider(android.os.Bundle); |
| 398 | method protected final void collapseNotificationPanel(); |
| 399 | method protected android.os.Bundle getOptions(); |
| 400 | method protected void onAttach(); |
| 401 | method protected abstract void onBouncerShowing(boolean); |
| 402 | method protected abstract android.view.View onCreateView(); |
| 403 | method protected void onDetach(); |
| 404 | method protected abstract void onKeyguardDismissed(); |
| 405 | method protected abstract void onKeyguardShowing(boolean); |
| 406 | method protected abstract void onScreenTurnedOff(); |
| 407 | method protected abstract void onScreenTurnedOn(); |
| 408 | method protected final boolean requestDismiss(); |
| 409 | method protected final boolean requestDismissAndStartActivity(android.content.Intent); |
| 410 | method protected final void setInteractivity(boolean); |
| 411 | } |
| 412 | |
| 413 | } |
| 414 | |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 415 | package cyanogenmod.hardware { |
| 416 | |
| 417 | public final class CMHardwareManager { |
Adnan Begovic | 9f381bc | 2015-09-09 17:29:30 -0700 | [diff] [blame] | 418 | method public boolean deletePersistentObject(java.lang.String); |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 419 | method public boolean get(int); |
| 420 | method public cyanogenmod.hardware.DisplayMode getCurrentDisplayMode(); |
| 421 | method public cyanogenmod.hardware.DisplayMode getDefaultDisplayMode(); |
| 422 | method public int[] getDisplayColorCalibration(); |
| 423 | method public int getDisplayColorCalibrationDefault(); |
| 424 | method public int getDisplayColorCalibrationMax(); |
| 425 | method public int getDisplayColorCalibrationMin(); |
| 426 | method public deprecated int[] getDisplayGammaCalibration(int); |
| 427 | method public deprecated int getDisplayGammaCalibrationMax(); |
| 428 | method public deprecated int getDisplayGammaCalibrationMin(); |
| 429 | method public cyanogenmod.hardware.DisplayMode[] getDisplayModes(); |
| 430 | method public static cyanogenmod.hardware.CMHardwareManager getInstance(android.content.Context); |
| 431 | method public java.lang.String getLtoDestination(); |
| 432 | method public long getLtoDownloadInterval(); |
| 433 | method public java.lang.String getLtoSource(); |
| 434 | method public deprecated int getNumGammaControls(); |
| 435 | method public java.lang.String getSerialNumber(); |
| 436 | method public int getSupportedFeatures(); |
Danesh M | c56b48e | 2015-09-24 13:41:01 -0700 | [diff] [blame] | 437 | method public int getThermalState(); |
Matt Wagantall | eb82dbf | 2016-02-02 11:32:18 -0800 | [diff] [blame] | 438 | method public java.lang.String getUniqueDeviceId(); |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 439 | method public int getVibratorDefaultIntensity(); |
| 440 | method public int getVibratorIntensity(); |
| 441 | method public int getVibratorMaxIntensity(); |
| 442 | method public int getVibratorMinIntensity(); |
| 443 | method public int getVibratorWarningIntensity(); |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 444 | method public boolean isSunlightEnhancementSelfManaged(); |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 445 | method public boolean isSupported(int); |
Adnan Begovic | 9f381bc | 2015-09-09 17:29:30 -0700 | [diff] [blame] | 446 | method public byte[] readPersistentBytes(java.lang.String); |
| 447 | method public int readPersistentInt(java.lang.String); |
| 448 | method public java.lang.String readPersistentString(java.lang.String); |
Danesh M | c56b48e | 2015-09-24 13:41:01 -0700 | [diff] [blame] | 449 | method public boolean registerThermalListener(cyanogenmod.hardware.ThermalListenerCallback); |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 450 | method public boolean requireAdaptiveBacklightForSunlightEnhancement(); |
| 451 | method public boolean set(int, boolean); |
| 452 | method public boolean setDisplayColorCalibration(int[]); |
| 453 | method public deprecated boolean setDisplayGammaCalibration(int, int[]); |
| 454 | method public boolean setDisplayMode(cyanogenmod.hardware.DisplayMode, boolean); |
| 455 | method public boolean setVibratorIntensity(int); |
Danesh M | c56b48e | 2015-09-24 13:41:01 -0700 | [diff] [blame] | 456 | method public boolean unRegisterThermalListener(cyanogenmod.hardware.ThermalListenerCallback); |
Adnan Begovic | 9f381bc | 2015-09-09 17:29:30 -0700 | [diff] [blame] | 457 | method public boolean writePersistentBytes(java.lang.String, byte[]); |
| 458 | method public boolean writePersistentInt(java.lang.String, int); |
| 459 | method public boolean writePersistentString(java.lang.String, java.lang.String); |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 460 | field public static final int FEATURE_ADAPTIVE_BACKLIGHT = 1; // 0x1 |
| 461 | field public static final int FEATURE_AUTO_CONTRAST = 4096; // 0x1000 |
| 462 | field public static final int FEATURE_COLOR_ENHANCEMENT = 2; // 0x2 |
| 463 | field public static final int FEATURE_DISPLAY_COLOR_CALIBRATION = 4; // 0x4 |
| 464 | field public static final int FEATURE_DISPLAY_GAMMA_CALIBRATION = 8; // 0x8 |
| 465 | field public static final int FEATURE_DISPLAY_MODES = 8192; // 0x2000 |
| 466 | field public static final int FEATURE_HIGH_TOUCH_SENSITIVITY = 16; // 0x10 |
| 467 | field public static final int FEATURE_KEY_DISABLE = 32; // 0x20 |
| 468 | field public static final int FEATURE_LONG_TERM_ORBITS = 64; // 0x40 |
Adnan Begovic | 9f381bc | 2015-09-09 17:29:30 -0700 | [diff] [blame] | 469 | field public static final int FEATURE_PERSISTENT_STORAGE = 16384; // 0x4000 |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 470 | field public static final int FEATURE_SERIAL_NUMBER = 128; // 0x80 |
| 471 | field public static final int FEATURE_SUNLIGHT_ENHANCEMENT = 256; // 0x100 |
| 472 | field public static final int FEATURE_TAP_TO_WAKE = 512; // 0x200 |
Danesh M | c56b48e | 2015-09-24 13:41:01 -0700 | [diff] [blame] | 473 | field public static final int FEATURE_THERMAL_MONITOR = 32768; // 0x8000 |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 474 | field public static final int FEATURE_TOUCH_HOVERING = 2048; // 0x800 |
Matt Wagantall | eb82dbf | 2016-02-02 11:32:18 -0800 | [diff] [blame] | 475 | field public static final int FEATURE_UNIQUE_DEVICE_ID = 65536; // 0x10000 |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 476 | field public static final int FEATURE_VIBRATOR = 1024; // 0x400 |
| 477 | } |
| 478 | |
| 479 | public class DisplayMode implements android.os.Parcelable { |
| 480 | ctor public DisplayMode(int, java.lang.String); |
| 481 | method public int describeContents(); |
| 482 | method public void writeToParcel(android.os.Parcel, int); |
| 483 | field public final int id; |
| 484 | field public final java.lang.String name; |
| 485 | } |
| 486 | |
Danesh M | c56b48e | 2015-09-24 13:41:01 -0700 | [diff] [blame] | 487 | public abstract interface IThermalListenerCallback implements android.os.IInterface { |
| 488 | method public abstract void onThermalChanged(int) throws android.os.RemoteException; |
| 489 | } |
| 490 | |
| 491 | public static abstract class IThermalListenerCallback.Stub extends android.os.Binder implements cyanogenmod.hardware.IThermalListenerCallback { |
| 492 | ctor public IThermalListenerCallback.Stub(); |
| 493 | method public android.os.IBinder asBinder(); |
| 494 | method public static cyanogenmod.hardware.IThermalListenerCallback asInterface(android.os.IBinder); |
| 495 | method public boolean onTransact(int, android.os.Parcel, android.os.Parcel, int) throws android.os.RemoteException; |
| 496 | } |
| 497 | |
| 498 | public abstract class ThermalListenerCallback extends cyanogenmod.hardware.IThermalListenerCallback.Stub { |
| 499 | ctor public ThermalListenerCallback(); |
| 500 | } |
| 501 | |
| 502 | public static final class ThermalListenerCallback.State { |
| 503 | ctor public ThermalListenerCallback.State(); |
| 504 | method public static final java.lang.String toString(int); |
| 505 | field public static final int STATE_COOL = 0; // 0x0 |
Adnan Begovic | 10d2025 | 2015-09-30 17:47:23 -0700 | [diff] [blame] | 506 | field public static final int STATE_CRITICAL = 3; // 0x3 |
Danesh M | c56b48e | 2015-09-24 13:41:01 -0700 | [diff] [blame] | 507 | field public static final int STATE_UNKNOWN = -1; // 0xffffffff |
Adnan Begovic | 10d2025 | 2015-09-30 17:47:23 -0700 | [diff] [blame] | 508 | field public static final int STATE_WARM_FALLING = 1; // 0x1 |
| 509 | field public static final int STATE_WARM_RISING = 2; // 0x2 |
Danesh M | c56b48e | 2015-09-24 13:41:01 -0700 | [diff] [blame] | 510 | } |
| 511 | |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 512 | } |
| 513 | |
Matt Garnes | 087f2b5 | 2015-09-03 15:54:29 -0700 | [diff] [blame] | 514 | package cyanogenmod.media { |
| 515 | |
| 516 | public class MediaRecorder { |
| 517 | ctor public MediaRecorder(); |
| 518 | field public static final java.lang.String ACTION_HOTWORD_INPUT_CHANGED = "com.cyanogenmod.intent.action.HOTWORD_INPUT_CHANGED"; |
| 519 | field public static final java.lang.String CAPTURE_AUDIO_HOTWORD_PERMISSION = "android.permission.CAPTURE_AUDIO_HOTWORD"; |
| 520 | field public static final java.lang.String EXTRA_CURRENT_PACKAGE_NAME = "com.cyanogenmod.intent.extra.CURRENT_PACKAGE_NAME"; |
| 521 | } |
| 522 | |
| 523 | public static class MediaRecorder.AudioSource { |
| 524 | ctor public MediaRecorder.AudioSource(); |
| 525 | field public static final int HOTWORD = 1999; // 0x7cf |
| 526 | } |
| 527 | |
| 528 | } |
| 529 | |
Adnan Begovic | 3f7e428 | 2015-06-09 11:03:37 -0700 | [diff] [blame] | 530 | package cyanogenmod.os { |
| 531 | |
| 532 | public class Build { |
| 533 | ctor public Build(); |
| 534 | method public static java.lang.String getNameForSDKInt(int); |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 535 | field public static final java.lang.String CYANOGENMOD_DISPLAY_VERSION = "ro.cm.display.version"; |
Adnan Begovic | ebf0f55 | 2016-01-18 11:26:08 -0800 | [diff] [blame] | 536 | field public static final java.lang.String CYANOGENMOD_VERSION = "ro.cm.version"; |
Adnan Begovic | 3f7e428 | 2015-06-09 11:03:37 -0700 | [diff] [blame] | 537 | field public static final java.lang.String UNKNOWN = "unknown"; |
| 538 | } |
| 539 | |
| 540 | public static class Build.CM_VERSION { |
| 541 | ctor public Build.CM_VERSION(); |
| 542 | field public static final int SDK_INT; |
| 543 | } |
| 544 | |
| 545 | public static class Build.CM_VERSION_CODES { |
| 546 | ctor public Build.CM_VERSION_CODES(); |
| 547 | field public static final int APRICOT = 1; // 0x1 |
Adnan Begovic | f9ec3a4 | 2015-07-13 16:46:23 -0700 | [diff] [blame] | 548 | field public static final int BOYSENBERRY = 2; // 0x2 |
Roman Birg | d29499d | 2015-12-23 09:32:13 -0800 | [diff] [blame] | 549 | field public static final int CANTALOUPE = 3; // 0x3 |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 550 | field public static final int DRAGON_FRUIT = 4; // 0x4 |
Adnan Begovic | 1d2351e | 2016-02-09 11:12:38 -0800 | [diff] [blame] | 551 | field public static final int ELDERBERRY = 5; // 0x5 |
Adnan Begovic | 3f7e428 | 2015-06-09 11:03:37 -0700 | [diff] [blame] | 552 | } |
| 553 | |
| 554 | } |
| 555 | |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 556 | package cyanogenmod.platform { |
| 557 | |
| 558 | public final class Manifest { |
| 559 | ctor public Manifest(); |
| 560 | } |
| 561 | |
| 562 | public static final class Manifest.permission { |
| 563 | ctor public Manifest.permission(); |
herriojr | e78ca4d | 2015-09-08 13:59:20 -0700 | [diff] [blame] | 564 | field public static final java.lang.String ACCESS_APP_SUGGESTIONS = "cyanogenmod.permission.ACCESS_APP_SUGGESTIONS"; |
d34d | b3ea285 | 2016-02-23 09:58:53 -0800 | [diff] [blame] | 565 | field public static final java.lang.String ACCESS_THEME_MANAGER = "cyanogenmod.permission.ACCESS_THEME_MANAGER"; |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 566 | field public static final java.lang.String HARDWARE_ABSTRACTION_ACCESS = "cyanogenmod.permission.HARDWARE_ABSTRACTION_ACCESS"; |
Adnan Begovic | 9971604 | 2015-09-01 16:26:28 -0700 | [diff] [blame] | 567 | field public static final java.lang.String MANAGE_ALARMS = "cyanogenmod.permission.MANAGE_ALARMS"; |
Adnan Begovic | 9f381bc | 2015-09-09 17:29:30 -0700 | [diff] [blame] | 568 | field public static final java.lang.String MANAGE_PERSISTENT_STORAGE = "cyanogenmod.permission.MANAGE_PERSISTENT_STORAGE"; |
Joao Figueiredo | 7f50335 | 2015-08-06 23:59:02 +0100 | [diff] [blame] | 569 | field public static final java.lang.String MODIFY_MSIM_PHONE_STATE = "cyanogenmod.permission.MODIFY_MSIM_PHONE_STATE"; |
Matt Garnes | 7820e6d | 2015-08-05 18:16:21 -0700 | [diff] [blame] | 570 | field public static final java.lang.String MODIFY_NETWORK_SETTINGS = "cyanogenmod.permission.MODIFY_NETWORK_SETTINGS"; |
Adnan Begovic | 9971604 | 2015-09-01 16:26:28 -0700 | [diff] [blame] | 571 | field public static final java.lang.String MODIFY_PROFILES = "cyanogenmod.permission.MODIFY_PROFILES"; |
Matt Garnes | 7820e6d | 2015-08-05 18:16:21 -0700 | [diff] [blame] | 572 | field public static final java.lang.String MODIFY_SOUND_SETTINGS = "cyanogenmod.permission.MODIFY_SOUND_SETTINGS"; |
Adnan Begovic | b4eafda | 2016-03-07 11:49:52 -0800 | [diff] [blame] | 573 | field public static final java.lang.String PERFORMANCE_ACCESS = "cyanogenmod.permission.PERFORMANCE_ACCESS"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 574 | field public static final java.lang.String PROTECTED_APP = "cyanogenmod.permission.PROTECTED_APP"; |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 575 | field public static final java.lang.String PUBLISH_CUSTOM_TILE = "cyanogenmod.permission.PUBLISH_CUSTOM_TILE"; |
Adnan Begovic | 9971604 | 2015-09-01 16:26:28 -0700 | [diff] [blame] | 576 | field public static final java.lang.String READ_ALARMS = "cyanogenmod.permission.READ_ALARMS"; |
Joao Figueiredo | 7f50335 | 2015-08-06 23:59:02 +0100 | [diff] [blame] | 577 | field public static final java.lang.String READ_MSIM_PHONE_STATE = "cyanogenmod.permission.READ_MSIM_PHONE_STATE"; |
d34d | b3ea285 | 2016-02-23 09:58:53 -0800 | [diff] [blame] | 578 | field public static final java.lang.String READ_THEMES = "cyanogenmod.permission.READ_THEMES"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 579 | field public static final java.lang.String THIRD_PARTY_KEYGUARD = "android.permission.THIRD_PARTY_KEYGUARD"; |
Adnan Begovic | 9971604 | 2015-09-01 16:26:28 -0700 | [diff] [blame] | 580 | field public static final java.lang.String WRITE_ALARMS = "cyanogenmod.permission.WRITE_ALARMS"; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 581 | field public static final java.lang.String WRITE_SECURE_SETTINGS = "cyanogenmod.permission.WRITE_SECURE_SETTINGS"; |
| 582 | field public static final java.lang.String WRITE_SETTINGS = "cyanogenmod.permission.WRITE_SETTINGS"; |
d34d | b3ea285 | 2016-02-23 09:58:53 -0800 | [diff] [blame] | 583 | field public static final java.lang.String WRITE_THEMES = "cyanogenmod.permission.WRITE_THEMES"; |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 584 | } |
| 585 | |
| 586 | public final class R { |
| 587 | ctor public R(); |
| 588 | } |
| 589 | |
herriojr | e78ca4d | 2015-09-08 13:59:20 -0700 | [diff] [blame] | 590 | public static final class R.array { |
| 591 | ctor public R.array(); |
| 592 | } |
| 593 | |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 594 | public static final class R.attr { |
| 595 | ctor public R.attr(); |
| 596 | } |
| 597 | |
herriojr | e78ca4d | 2015-09-08 13:59:20 -0700 | [diff] [blame] | 598 | public static final class R.bool { |
| 599 | ctor public R.bool(); |
| 600 | } |
| 601 | |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 602 | public static final class R.drawable { |
| 603 | ctor public R.drawable(); |
| 604 | } |
| 605 | |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 606 | public static final class R.integer { |
| 607 | ctor public R.integer(); |
| 608 | } |
| 609 | |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 610 | public static final class R.string { |
| 611 | ctor public R.string(); |
| 612 | } |
| 613 | |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 614 | public static final class R.xml { |
| 615 | ctor public R.xml(); |
| 616 | } |
| 617 | |
| 618 | } |
| 619 | |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 620 | package cyanogenmod.power { |
| 621 | |
| 622 | public class PerformanceManager { |
| 623 | method public static cyanogenmod.power.PerformanceManager getInstance(android.content.Context); |
| 624 | method public int getNumberOfProfiles(); |
| 625 | method public int getPowerProfile(); |
| 626 | method public boolean getProfileHasAppProfiles(int); |
| 627 | method public boolean setPowerProfile(int); |
| 628 | field public static final java.lang.String POWER_PROFILE_CHANGED = "cyanogenmod.power.PROFILE_CHANGED"; |
| 629 | field public static final int PROFILE_BALANCED = 1; // 0x1 |
| 630 | field public static final int PROFILE_BIAS_PERFORMANCE = 4; // 0x4 |
| 631 | field public static final int PROFILE_BIAS_POWER_SAVE = 3; // 0x3 |
| 632 | field public static final int PROFILE_HIGH_PERFORMANCE = 2; // 0x2 |
| 633 | field public static final int PROFILE_POWER_SAVE = 0; // 0x0 |
| 634 | field public static final java.lang.String TAG = "PerformanceManager"; |
| 635 | } |
| 636 | |
| 637 | } |
| 638 | |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 639 | package cyanogenmod.profiles { |
| 640 | |
| 641 | public final class AirplaneModeSettings implements android.os.Parcelable { |
| 642 | ctor public AirplaneModeSettings(android.os.Parcel); |
| 643 | ctor public AirplaneModeSettings(); |
| 644 | ctor public AirplaneModeSettings(int, boolean); |
| 645 | method public int describeContents(); |
| 646 | method public int getValue(); |
| 647 | method public boolean isOverride(); |
| 648 | method public void setOverride(boolean); |
| 649 | method public void setValue(int); |
| 650 | method public void writeToParcel(android.os.Parcel, int); |
| 651 | } |
| 652 | |
| 653 | public static class AirplaneModeSettings.BooleanState { |
| 654 | ctor public AirplaneModeSettings.BooleanState(); |
| 655 | field public static final int STATE_DISALED = 0; // 0x0 |
| 656 | field public static final int STATE_ENABLED = 1; // 0x1 |
| 657 | } |
| 658 | |
| 659 | public final class BrightnessSettings implements android.os.Parcelable { |
| 660 | ctor public BrightnessSettings(android.os.Parcel); |
| 661 | ctor public BrightnessSettings(); |
| 662 | ctor public BrightnessSettings(int, boolean); |
| 663 | method public int describeContents(); |
| 664 | method public int getValue(); |
| 665 | method public boolean isOverride(); |
| 666 | method public void setOverride(boolean); |
| 667 | method public void setValue(int); |
| 668 | method public void writeToParcel(android.os.Parcel, int); |
| 669 | } |
| 670 | |
| 671 | public final class ConnectionSettings implements android.os.Parcelable { |
| 672 | ctor public ConnectionSettings(android.os.Parcel); |
| 673 | ctor public ConnectionSettings(int); |
| 674 | ctor public ConnectionSettings(int, int, boolean); |
| 675 | method public int describeContents(); |
| 676 | method public int getConnectionId(); |
Roman Birg | c46e0ff | 2016-02-10 18:59:16 -0800 | [diff] [blame] | 677 | method public int getSubId(); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 678 | method public int getValue(); |
| 679 | method public boolean isOverride(); |
| 680 | method public void setOverride(boolean); |
Roman Birg | c46e0ff | 2016-02-10 18:59:16 -0800 | [diff] [blame] | 681 | method public void setSubId(int); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 682 | method public void setValue(int); |
| 683 | method public void writeToParcel(android.os.Parcel, int); |
| 684 | field public static final int PROFILE_CONNECTION_2G3G4G = 9; // 0x9 |
| 685 | field public static final int PROFILE_CONNECTION_BLUETOOTH = 7; // 0x7 |
| 686 | field public static final int PROFILE_CONNECTION_GPS = 4; // 0x4 |
| 687 | field public static final int PROFILE_CONNECTION_MOBILEDATA = 0; // 0x0 |
| 688 | field public static final int PROFILE_CONNECTION_NFC = 8; // 0x8 |
| 689 | field public static final int PROFILE_CONNECTION_SYNC = 5; // 0x5 |
| 690 | field public static final int PROFILE_CONNECTION_WIFI = 1; // 0x1 |
| 691 | field public static final int PROFILE_CONNECTION_WIFIAP = 2; // 0x2 |
| 692 | field public static final int PROFILE_CONNECTION_WIMAX = 3; // 0x3 |
| 693 | } |
| 694 | |
| 695 | public static class ConnectionSettings.BooleanState { |
| 696 | ctor public ConnectionSettings.BooleanState(); |
| 697 | field public static final int STATE_DISALED = 0; // 0x0 |
| 698 | field public static final int STATE_ENABLED = 1; // 0x1 |
| 699 | } |
| 700 | |
Adnan Begovic | 6b7fd5f | 2015-07-31 13:47:25 -0700 | [diff] [blame] | 701 | public final class LockSettings implements android.os.Parcelable { |
| 702 | ctor public LockSettings(android.os.Parcel); |
| 703 | ctor public LockSettings(); |
| 704 | ctor public LockSettings(int); |
| 705 | method public int describeContents(); |
| 706 | method public int getValue(); |
| 707 | method public void setValue(int); |
| 708 | method public void writeToParcel(android.os.Parcel, int); |
| 709 | } |
| 710 | |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 711 | public final class RingModeSettings implements android.os.Parcelable { |
| 712 | ctor public RingModeSettings(android.os.Parcel); |
| 713 | ctor public RingModeSettings(); |
| 714 | ctor public RingModeSettings(java.lang.String, boolean); |
| 715 | method public int describeContents(); |
| 716 | method public java.lang.String getValue(); |
| 717 | method public boolean isOverride(); |
| 718 | method public void setOverride(boolean); |
| 719 | method public void setValue(java.lang.String); |
| 720 | method public void writeToParcel(android.os.Parcel, int); |
| 721 | field public static final java.lang.String RING_MODE_MUTE = "mute"; |
| 722 | field public static final java.lang.String RING_MODE_NORMAL = "normal"; |
| 723 | field public static final java.lang.String RING_MODE_VIBRATE = "vibrate"; |
| 724 | } |
| 725 | |
| 726 | public final class StreamSettings implements android.os.Parcelable { |
| 727 | ctor public StreamSettings(android.os.Parcel); |
| 728 | ctor public StreamSettings(int); |
| 729 | ctor public StreamSettings(int, int, boolean); |
| 730 | method public int describeContents(); |
| 731 | method public int getStreamId(); |
| 732 | method public int getValue(); |
| 733 | method public boolean isOverride(); |
| 734 | method public void setOverride(boolean); |
| 735 | method public void setValue(int); |
| 736 | method public void writeToParcel(android.os.Parcel, int); |
| 737 | } |
| 738 | |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 739 | } |
| 740 | |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 741 | package cyanogenmod.providers { |
| 742 | |
| 743 | public final class CMSettings { |
| 744 | ctor public CMSettings(); |
| 745 | field public static final java.lang.String AUTHORITY = "cmsettings"; |
| 746 | } |
| 747 | |
| 748 | public static class CMSettings.CMSettingNotFoundException extends android.util.AndroidException { |
| 749 | ctor public CMSettings.CMSettingNotFoundException(java.lang.String); |
| 750 | } |
| 751 | |
| 752 | public static final class CMSettings.Global extends android.provider.Settings.NameValueTable { |
| 753 | ctor public CMSettings.Global(); |
| 754 | method public static float getFloat(android.content.ContentResolver, java.lang.String, float); |
| 755 | method public static float getFloat(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; |
| 756 | method public static int getInt(android.content.ContentResolver, java.lang.String, int); |
| 757 | method public static int getInt(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; |
| 758 | method public static long getLong(android.content.ContentResolver, java.lang.String, long); |
| 759 | method public static long getLong(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; |
| 760 | method public static java.lang.String getString(android.content.ContentResolver, java.lang.String); |
Roman Birg | d29499d | 2015-12-23 09:32:13 -0800 | [diff] [blame] | 761 | method public static android.net.Uri getUriFor(java.lang.String); |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 762 | method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float); |
| 763 | method public static boolean putInt(android.content.ContentResolver, java.lang.String, int); |
| 764 | method public static boolean putLong(android.content.ContentResolver, java.lang.String, long); |
| 765 | method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String); |
| 766 | field public static final android.net.Uri CONTENT_URI; |
| 767 | field public static final java.lang.String SYS_PROP_CM_SETTING_VERSION = "sys.cm_settings_global_version"; |
| 768 | } |
| 769 | |
| 770 | public static final class CMSettings.Secure extends android.provider.Settings.NameValueTable { |
| 771 | ctor public CMSettings.Secure(); |
| 772 | method public static float getFloat(android.content.ContentResolver, java.lang.String, float); |
| 773 | method public static float getFloat(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; |
| 774 | method public static int getInt(android.content.ContentResolver, java.lang.String, int); |
| 775 | method public static int getInt(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; |
| 776 | method public static long getLong(android.content.ContentResolver, java.lang.String, long); |
| 777 | method public static long getLong(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; |
| 778 | method public static java.lang.String getString(android.content.ContentResolver, java.lang.String); |
Roman Birg | d29499d | 2015-12-23 09:32:13 -0800 | [diff] [blame] | 779 | method public static android.net.Uri getUriFor(java.lang.String); |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 780 | method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float); |
| 781 | method public static boolean putInt(android.content.ContentResolver, java.lang.String, int); |
| 782 | method public static boolean putLong(android.content.ContentResolver, java.lang.String, long); |
| 783 | method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String); |
| 784 | field public static final android.net.Uri CONTENT_URI; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 785 | field public static final java.lang.String SYS_PROP_CM_SETTING_VERSION = "sys.cm_settings_secure_version"; |
| 786 | } |
| 787 | |
| 788 | public static final class CMSettings.System extends android.provider.Settings.NameValueTable { |
| 789 | ctor public CMSettings.System(); |
| 790 | method public static float getFloat(android.content.ContentResolver, java.lang.String, float); |
| 791 | method public static float getFloat(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; |
| 792 | method public static int getInt(android.content.ContentResolver, java.lang.String, int); |
| 793 | method public static int getInt(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; |
| 794 | method public static long getLong(android.content.ContentResolver, java.lang.String, long); |
| 795 | method public static long getLong(android.content.ContentResolver, java.lang.String) throws cyanogenmod.providers.CMSettings.CMSettingNotFoundException; |
| 796 | method public static java.lang.String getString(android.content.ContentResolver, java.lang.String); |
Roman Birg | d29499d | 2015-12-23 09:32:13 -0800 | [diff] [blame] | 797 | method public static android.net.Uri getUriFor(java.lang.String); |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 798 | method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float); |
| 799 | method public static boolean putInt(android.content.ContentResolver, java.lang.String, int); |
| 800 | method public static boolean putLong(android.content.ContentResolver, java.lang.String, long); |
| 801 | method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String); |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 802 | field public static final java.lang.String APP_SWITCH_WAKE_SCREEN = "app_switch_wake_screen"; |
| 803 | field public static final java.lang.String ASSIST_WAKE_SCREEN = "assist_wake_screen"; |
| 804 | field public static final java.lang.String BACK_WAKE_SCREEN = "back_wake_screen"; |
| 805 | field public static final java.lang.String BATTERY_LIGHT_ENABLED = "battery_light_enabled"; |
| 806 | field public static final java.lang.String BATTERY_LIGHT_FULL_COLOR = "battery_light_full_color"; |
| 807 | field public static final java.lang.String BATTERY_LIGHT_LOW_COLOR = "battery_light_low_color"; |
| 808 | field public static final java.lang.String BATTERY_LIGHT_MEDIUM_COLOR = "battery_light_medium_color"; |
| 809 | field public static final java.lang.String BATTERY_LIGHT_PULSE = "battery_light_pulse"; |
| 810 | field public static final java.lang.String BLUETOOTH_ACCEPT_ALL_FILES = "bluetooth_accept_all_files"; |
| 811 | field public static final java.lang.String CALL_RECORDING_FORMAT = "call_recording_format"; |
| 812 | field public static final java.lang.String CAMERA_LAUNCH = "camera_launch"; |
| 813 | field public static final java.lang.String CAMERA_SLEEP_ON_RELEASE = "camera_sleep_on_release"; |
| 814 | field public static final java.lang.String CAMERA_WAKE_SCREEN = "camera_wake_screen"; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 815 | field public static final android.net.Uri CONTENT_URI; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 816 | field public static final java.lang.String DIALER_OPENCNAM_ACCOUNT_SID = "dialer_opencnam_account_sid"; |
| 817 | field public static final java.lang.String DIALER_OPENCNAM_AUTH_TOKEN = "dialer_opencnam_auth_token"; |
| 818 | field public static final java.lang.String DISPLAY_AUTO_OUTDOOR_MODE = "display_auto_outdoor_mode"; |
| 819 | field public static final java.lang.String DISPLAY_COLOR_ADJUSTMENT = "display_color_adjustment"; |
| 820 | field public static final java.lang.String DISPLAY_COLOR_ENHANCE = "display_color_enhance"; |
| 821 | field public static final java.lang.String DISPLAY_LOW_POWER = "display_low_power"; |
| 822 | field public static final java.lang.String DISPLAY_TEMPERATURE_DAY = "display_temperature_day"; |
| 823 | field public static final java.lang.String DISPLAY_TEMPERATURE_MODE = "display_temperature_mode"; |
| 824 | field public static final java.lang.String DISPLAY_TEMPERATURE_NIGHT = "display_temperature_night"; |
| 825 | field public static final java.lang.String DOUBLE_TAP_SLEEP_GESTURE = "double_tap_sleep_gesture"; |
| 826 | field public static final java.lang.String ENABLE_FORWARD_LOOKUP = "enable_forward_lookup"; |
| 827 | field public static final java.lang.String ENABLE_PEOPLE_LOOKUP = "enable_people_lookup"; |
| 828 | field public static final java.lang.String ENABLE_REVERSE_LOOKUP = "enable_reverse_lookup"; |
| 829 | field public static final java.lang.String FORWARD_LOOKUP_PROVIDER = "forward_lookup_provider"; |
Michael Bestas | fcadbf5 | 2016-02-10 01:39:17 +0200 | [diff] [blame] | 830 | field public static final java.lang.String HEADSET_CONNECT_PLAYER = "headset_connect_player"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 831 | field public static final java.lang.String HIGH_TOUCH_SENSITIVITY_ENABLE = "high_touch_sensitivity_enable"; |
| 832 | field public static final java.lang.String HOME_WAKE_SCREEN = "home_wake_screen"; |
| 833 | field public static final java.lang.String INCREASING_RING = "increasing_ring"; |
| 834 | field public static final java.lang.String INCREASING_RING_RAMP_UP_TIME = "increasing_ring_ramp_up_time"; |
| 835 | field public static final java.lang.String INCREASING_RING_START_VOLUME = "increasing_ring_start_vol"; |
| 836 | field public static final java.lang.String KEY_APP_SWITCH_ACTION = "key_app_switch_action"; |
| 837 | field public static final java.lang.String KEY_APP_SWITCH_LONG_PRESS_ACTION = "key_app_switch_long_press_action"; |
| 838 | field public static final java.lang.String KEY_ASSIST_ACTION = "key_assist_action"; |
| 839 | field public static final java.lang.String KEY_ASSIST_LONG_PRESS_ACTION = "key_assist_long_press_action"; |
| 840 | field public static final java.lang.String KEY_HOME_DOUBLE_TAP_ACTION = "key_home_double_tap_action"; |
| 841 | field public static final java.lang.String KEY_HOME_LONG_PRESS_ACTION = "key_home_long_press_action"; |
| 842 | field public static final java.lang.String KEY_MENU_ACTION = "key_menu_action"; |
| 843 | field public static final java.lang.String KEY_MENU_LONG_PRESS_ACTION = "key_menu_long_press_action"; |
| 844 | field public static final java.lang.String LOCKSCREEN_PIN_SCRAMBLE_LAYOUT = "lockscreen_scramble_pin_layout"; |
| 845 | field public static final java.lang.String MENU_WAKE_SCREEN = "menu_wake_screen"; |
| 846 | field public static final java.lang.String NAVBAR_LEFT_IN_LANDSCAPE = "navigation_bar_left"; |
| 847 | field public static final java.lang.String NAVIGATION_BAR_MENU_ARROW_KEYS = "navigation_bar_menu_arrow_keys"; |
| 848 | field public static final java.lang.String NAV_BUTTONS = "nav_buttons"; |
| 849 | field public static final java.lang.String NOTIFICATION_LIGHT_BRIGHTNESS_LEVEL = "notification_light_brightness_level"; |
| 850 | field public static final java.lang.String NOTIFICATION_LIGHT_MULTIPLE_LEDS_ENABLE = "notification_light_multiple_leds_enable"; |
| 851 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_COLOR = "notification_light_pulse_call_color"; |
| 852 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_LED_OFF = "notification_light_pulse_call_led_off"; |
| 853 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_LED_ON = "notification_light_pulse_call_led_on"; |
| 854 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CUSTOM_ENABLE = "notification_light_pulse_custom_enable"; |
| 855 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CUSTOM_VALUES = "notification_light_pulse_custom_values"; |
| 856 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_COLOR = "notification_light_pulse_default_color"; |
| 857 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_OFF = "notification_light_pulse_default_led_off"; |
| 858 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_ON = "notification_light_pulse_default_led_on"; |
| 859 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_COLOR = "notification_light_pulse_vmail_color"; |
| 860 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_LED_OFF = "notification_light_pulse_vmail_led_off"; |
| 861 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_LED_ON = "notification_light_pulse_vmail_led_on"; |
| 862 | field public static final java.lang.String NOTIFICATION_LIGHT_SCREEN_ON = "notification_light_screen_on_enable"; |
| 863 | field public static final java.lang.String NOTIFICATION_PLAY_QUEUE = "notification_play_queue"; |
| 864 | field public static final java.lang.String PEOPLE_LOOKUP_PROVIDER = "people_lookup_provider"; |
| 865 | field public static final java.lang.String PROXIMITY_ON_WAKE = "proximity_on_wake"; |
| 866 | field public static final java.lang.String QS_SHOW_BRIGHTNESS_SLIDER = "qs_show_brightness_slider"; |
| 867 | field public static final java.lang.String RECENTS_SHOW_SEARCH_BAR = "recents_show_search_bar"; |
| 868 | field public static final java.lang.String REVERSE_LOOKUP_PROVIDER = "reverse_lookup_provider"; |
| 869 | field public static final java.lang.String SHOW_ALARM_ICON = "show_alarm_icon"; |
| 870 | field public static final java.lang.String STATUS_BAR_AM_PM = "status_bar_am_pm"; |
| 871 | field public static final java.lang.String STATUS_BAR_BATTERY_STYLE = "status_bar_battery_style"; |
| 872 | field public static final java.lang.String STATUS_BAR_BRIGHTNESS_CONTROL = "status_bar_brightness_control"; |
| 873 | field public static final java.lang.String STATUS_BAR_CLOCK = "status_bar_clock"; |
| 874 | field public static final java.lang.String STATUS_BAR_IME_SWITCHER = "status_bar_ime_switcher"; |
| 875 | field public static final java.lang.String STATUS_BAR_NOTIF_COUNT = "status_bar_notif_count"; |
| 876 | field public static final java.lang.String STATUS_BAR_QUICK_QS_PULLDOWN = "qs_quick_pulldown"; |
| 877 | field public static final java.lang.String STATUS_BAR_SHOW_BATTERY_PERCENT = "status_bar_show_battery_percent"; |
| 878 | field public static final java.lang.String STATUS_BAR_SHOW_WEATHER = "status_bar_show_weather"; |
| 879 | field public static final java.lang.String SWAP_VOLUME_KEYS_ON_ROTATION = "swap_volume_keys_on_rotation"; |
| 880 | field public static final java.lang.String SYSTEM_PROFILES_ENABLED = "system_profiles_enabled"; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 881 | field public static final java.lang.String SYS_PROP_CM_SETTING_VERSION = "sys.cm_settings_system_version"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 882 | field public static final java.lang.String T9_SEARCH_INPUT_LOCALE = "t9_search_input_locale"; |
Michael Bestas | 73fafc1 | 2016-02-20 01:01:34 +0200 | [diff] [blame] | 883 | field public static final java.lang.String TOUCHSCREEN_GESTURE_HAPTIC_FEEDBACK = "touchscreen_gesture_haptic_feedback"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 884 | field public static final java.lang.String USE_EDGE_SERVICE_FOR_GESTURES = "edge_service_for_gestures"; |
| 885 | field public static final java.lang.String VOLBTN_MUSIC_CONTROLS = "volbtn_music_controls"; |
| 886 | field public static final java.lang.String VOLUME_ADJUST_SOUNDS_ENABLED = "volume_adjust_sounds_enabled"; |
| 887 | field public static final java.lang.String VOLUME_KEYS_CONTROL_RING_STREAM = "volume_keys_control_ring_stream"; |
| 888 | field public static final java.lang.String VOLUME_WAKE_SCREEN = "volume_wake_screen"; |
niks255 | 783463c | 2016-01-29 12:13:00 +0300 | [diff] [blame] | 889 | field public static final java.lang.String ZEN_ALLOW_LIGHTS = "allow_lights"; |
| 890 | field public static final java.lang.String ZEN_PRIORITY_ALLOW_LIGHTS = "zen_priority_allow_lights"; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 891 | } |
| 892 | |
d34d | b3ea285 | 2016-02-23 09:58:53 -0800 | [diff] [blame] | 893 | public class ThemesContract { |
| 894 | ctor public ThemesContract(); |
| 895 | field public static final java.lang.String AUTHORITY = "com.cyanogenmod.themes"; |
| 896 | field public static final android.net.Uri AUTHORITY_URI; |
| 897 | } |
| 898 | |
| 899 | public static class ThemesContract.MixnMatchColumns { |
| 900 | ctor public ThemesContract.MixnMatchColumns(); |
| 901 | method public static java.lang.String componentToImageColName(java.lang.String); |
| 902 | method public static java.lang.String componentToMixNMatchKey(java.lang.String); |
| 903 | method public static java.lang.String mixNMatchKeyToComponent(java.lang.String); |
| 904 | field public static final java.lang.String COL_COMPONENT_ID = "component_id"; |
| 905 | field public static final java.lang.String COL_KEY = "key"; |
| 906 | field public static final java.lang.String COL_PREV_VALUE = "previous_value"; |
| 907 | field public static final java.lang.String COL_UPDATE_TIME = "update_time"; |
| 908 | field public static final java.lang.String COL_VALUE = "value"; |
| 909 | field public static final android.net.Uri CONTENT_URI; |
| 910 | field public static final java.lang.String KEY_ALARM = "mixnmatch_alarm"; |
| 911 | field public static final java.lang.String KEY_BOOT_ANIM = "mixnmatch_boot_anim"; |
| 912 | field public static final java.lang.String KEY_FONT = "mixnmatch_font"; |
| 913 | field public static final java.lang.String KEY_HOMESCREEN = "mixnmatch_homescreen"; |
| 914 | field public static final java.lang.String KEY_ICONS = "mixnmatch_icons"; |
| 915 | field public static final java.lang.String KEY_LIVE_LOCK_SCREEN = "mixnmatch_live_lock_screen"; |
| 916 | field public static final java.lang.String KEY_LOCKSCREEN = "mixnmatch_lockscreen"; |
| 917 | field public static final java.lang.String KEY_NAVIGATION_BAR = "mixnmatch_navigation_bar"; |
| 918 | field public static final java.lang.String KEY_NOTIFICATIONS = "mixnmatch_notifications"; |
| 919 | field public static final java.lang.String KEY_OVERLAYS = "mixnmatch_overlays"; |
| 920 | field public static final java.lang.String KEY_RINGTONE = "mixnmatch_ringtone"; |
| 921 | field public static final java.lang.String KEY_STATUS_BAR = "mixnmatch_status_bar"; |
| 922 | field public static final java.lang.String[] ROWS; |
| 923 | } |
| 924 | |
| 925 | public static class ThemesContract.PreviewColumns { |
| 926 | ctor public ThemesContract.PreviewColumns(); |
| 927 | field public static final android.net.Uri APPLIED_URI; |
| 928 | field public static final java.lang.String BOOTANIMATION_THUMBNAIL = "bootanimation_thumbnail"; |
| 929 | field public static final java.lang.String COL_KEY = "key"; |
| 930 | field public static final java.lang.String COL_VALUE = "value"; |
| 931 | field public static final android.net.Uri COMPONENTS_URI; |
| 932 | field public static final java.lang.String COMPONENT_ID = "component_id"; |
| 933 | field public static final android.net.Uri CONTENT_URI; |
| 934 | field public static final java.lang.String ICON_PREVIEW_1 = "icon_preview_1"; |
| 935 | field public static final java.lang.String ICON_PREVIEW_2 = "icon_preview_2"; |
| 936 | field public static final java.lang.String ICON_PREVIEW_3 = "icon_preview_3"; |
| 937 | field public static final java.lang.String LIVE_LOCK_SCREEN_PREVIEW = "live_lock_screen_preview"; |
| 938 | field public static final java.lang.String LIVE_LOCK_SCREEN_THUMBNAIL = "live_lock_screen_thumbnail"; |
| 939 | field public static final java.lang.String LOCK_WALLPAPER_PREVIEW = "lock_wallpaper_preview"; |
| 940 | field public static final java.lang.String LOCK_WALLPAPER_THUMBNAIL = "lock_wallpaper_thumbnail"; |
| 941 | field public static final java.lang.String NAVBAR_BACKGROUND = "navbar_background"; |
| 942 | field public static final java.lang.String NAVBAR_BACK_BUTTON = "navbar_back_button"; |
| 943 | field public static final java.lang.String NAVBAR_HOME_BUTTON = "navbar_home_button"; |
| 944 | field public static final java.lang.String NAVBAR_RECENT_BUTTON = "navbar_recent_button"; |
| 945 | field public static final java.lang.String STATUSBAR_BACKGROUND = "statusbar_background"; |
| 946 | field public static final java.lang.String STATUSBAR_BATTERY_CIRCLE = "statusbar_battery_circle"; |
| 947 | field public static final java.lang.String STATUSBAR_BATTERY_LANDSCAPE = "statusbar_battery_landscape"; |
| 948 | field public static final java.lang.String STATUSBAR_BATTERY_PORTRAIT = "statusbar_battery_portrait"; |
| 949 | field public static final java.lang.String STATUSBAR_BLUETOOTH_ICON = "statusbar_bluetooth_icon"; |
| 950 | field public static final java.lang.String STATUSBAR_CLOCK_TEXT_COLOR = "statusbar_clock_text_color"; |
| 951 | field public static final java.lang.String STATUSBAR_SIGNAL_ICON = "statusbar_signal_icon"; |
| 952 | field public static final java.lang.String STATUSBAR_WIFI_COMBO_MARGIN_END = "wifi_combo_margin_end"; |
| 953 | field public static final java.lang.String STATUSBAR_WIFI_ICON = "statusbar_wifi_icon"; |
| 954 | field public static final java.lang.String STYLE_PREVIEW = "style_preview"; |
| 955 | field public static final java.lang.String STYLE_THUMBNAIL = "style_thumbnail"; |
| 956 | field public static final java.lang.String THEME_ID = "theme_id"; |
| 957 | field public static final java.lang.String[] VALID_KEYS; |
| 958 | field public static final java.lang.String WALLPAPER_FULL = "wallpaper_full"; |
| 959 | field public static final java.lang.String WALLPAPER_PREVIEW = "wallpaper_preview"; |
| 960 | field public static final java.lang.String WALLPAPER_THUMBNAIL = "wallpaper_thumbnail"; |
| 961 | field public static final java.lang.String _ID = "_id"; |
| 962 | } |
| 963 | |
| 964 | public static class ThemesContract.ThemesColumns { |
| 965 | ctor public ThemesContract.ThemesColumns(); |
| 966 | field public static final java.lang.String AUTHOR = "author"; |
| 967 | field public static final java.lang.String BOOT_ANIM_URI = "bootanim_uri"; |
| 968 | field public static final android.net.Uri CONTENT_URI; |
| 969 | field public static final java.lang.String DATE_CREATED = "created"; |
| 970 | field public static final java.lang.String FONT_URI = "font_uri"; |
| 971 | field public static final java.lang.String HOMESCREEN_URI = "homescreen_uri"; |
| 972 | field public static final java.lang.String ICON_URI = "icon_uri"; |
| 973 | field public static final java.lang.String INSTALL_STATE = "install_state"; |
| 974 | field public static final java.lang.String INSTALL_TIME = "install_time"; |
| 975 | field public static final java.lang.String IS_DEFAULT_THEME = "is_default_theme"; |
| 976 | field public static final java.lang.String IS_LEGACY_ICONPACK = "is_legacy_iconpack"; |
| 977 | field public static final java.lang.String IS_LEGACY_THEME = "is_legacy_theme"; |
| 978 | field public static final java.lang.String LAST_UPDATE_TIME = "updateTime"; |
| 979 | field public static final java.lang.String LOCKSCREEN_URI = "lockscreen_uri"; |
| 980 | field public static final java.lang.String MODIFIES_ALARMS = "mods_alarms"; |
| 981 | field public static final java.lang.String MODIFIES_BOOT_ANIM = "mods_bootanim"; |
| 982 | field public static final java.lang.String MODIFIES_FONTS = "mods_fonts"; |
| 983 | field public static final java.lang.String MODIFIES_ICONS = "mods_icons"; |
| 984 | field public static final java.lang.String MODIFIES_LAUNCHER = "mods_homescreen"; |
| 985 | field public static final java.lang.String MODIFIES_LIVE_LOCK_SCREEN = "mods_live_lock_screen"; |
| 986 | field public static final java.lang.String MODIFIES_LOCKSCREEN = "mods_lockscreen"; |
| 987 | field public static final java.lang.String MODIFIES_NAVIGATION_BAR = "mods_navigation_bar"; |
| 988 | field public static final java.lang.String MODIFIES_NOTIFICATIONS = "mods_notifications"; |
| 989 | field public static final java.lang.String MODIFIES_OVERLAYS = "mods_overlays"; |
| 990 | field public static final java.lang.String MODIFIES_RINGTONES = "mods_ringtones"; |
| 991 | field public static final java.lang.String MODIFIES_STATUS_BAR = "mods_status_bar"; |
| 992 | field public static final java.lang.String OVERLAYS_URI = "overlays_uri"; |
| 993 | field public static final java.lang.String PKG_NAME = "pkg_name"; |
| 994 | field public static final java.lang.String PRESENT_AS_THEME = "present_as_theme"; |
| 995 | field public static final java.lang.String PRIMARY_COLOR = "primary_color"; |
| 996 | field public static final java.lang.String SECONDARY_COLOR = "secondary_color"; |
| 997 | field public static final java.lang.String STATUSBAR_URI = "status_uri"; |
| 998 | field public static final java.lang.String STYLE_URI = "style_uri"; |
| 999 | field public static final java.lang.String TARGET_API = "target_api"; |
| 1000 | field public static final java.lang.String TITLE = "title"; |
| 1001 | field public static final java.lang.String WALLPAPER_URI = "wallpaper_uri"; |
| 1002 | field public static final java.lang.String _ID = "_id"; |
| 1003 | } |
| 1004 | |
| 1005 | public static class ThemesContract.ThemesColumns.InstallState { |
| 1006 | ctor public ThemesContract.ThemesColumns.InstallState(); |
| 1007 | field public static final int INSTALLED = 3; // 0x3 |
| 1008 | field public static final int INSTALLING = 1; // 0x1 |
| 1009 | field public static final int UNKNOWN = 0; // 0x0 |
| 1010 | field public static final int UPDATING = 2; // 0x2 |
| 1011 | } |
| 1012 | |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 1013 | } |
| 1014 | |
d34d | f2fd836 | 2016-03-04 16:07:39 -0800 | [diff] [blame] | 1015 | package cyanogenmod.themes { |
| 1016 | |
| 1017 | public final class ThemeChangeRequest implements android.os.Parcelable { |
| 1018 | method public int describeContents(); |
| 1019 | method public java.lang.String getAlarmThemePackageName(); |
| 1020 | method public java.lang.String getBootanimationThemePackageName(); |
| 1021 | method public java.lang.String getFontThemePackageName(); |
| 1022 | method public java.lang.String getIconsThemePackageName(); |
| 1023 | method public java.lang.String getLiveLockScreenThemePackageName(); |
| 1024 | method public java.lang.String getLockWallpaperThemePackageName(); |
| 1025 | method public java.lang.String getNavBarThemePackageName(); |
| 1026 | method public java.lang.String getNotificationThemePackageName(); |
| 1027 | method public int getNumChangesRequested(); |
| 1028 | method public java.lang.String getOverlayThemePackageName(); |
| 1029 | method public final java.util.Map<java.lang.String, java.lang.String> getPerAppOverlays(); |
| 1030 | method public cyanogenmod.themes.ThemeChangeRequest.RequestType getReqeustType(); |
| 1031 | method public java.lang.String getRingtoneThemePackageName(); |
| 1032 | method public java.lang.String getStatusBarThemePackageName(); |
| 1033 | method public final java.util.Map<java.lang.String, java.lang.String> getThemeComponentsMap(); |
| 1034 | method public long getWallpaperId(); |
| 1035 | method public java.lang.String getWallpaperThemePackageName(); |
| 1036 | method public void writeToParcel(android.os.Parcel, int); |
| 1037 | field public static final android.os.Parcelable.Creator<cyanogenmod.themes.ThemeChangeRequest> CREATOR; |
| 1038 | field public static final int DEFAULT_WALLPAPER_ID = -1; // 0xffffffff |
| 1039 | } |
| 1040 | |
| 1041 | public static class ThemeChangeRequest.Builder { |
| 1042 | ctor public ThemeChangeRequest.Builder(); |
| 1043 | ctor public ThemeChangeRequest.Builder(android.content.res.ThemeConfig); |
| 1044 | method public cyanogenmod.themes.ThemeChangeRequest build(); |
| 1045 | method public cyanogenmod.themes.ThemeChangeRequest.Builder setAlarm(java.lang.String); |
| 1046 | method public cyanogenmod.themes.ThemeChangeRequest.Builder setAppOverlay(java.lang.String, java.lang.String); |
| 1047 | method public cyanogenmod.themes.ThemeChangeRequest.Builder setBootanimation(java.lang.String); |
| 1048 | method public cyanogenmod.themes.ThemeChangeRequest.Builder setComponent(java.lang.String, java.lang.String); |
| 1049 | method public cyanogenmod.themes.ThemeChangeRequest.Builder setFont(java.lang.String); |
| 1050 | method public cyanogenmod.themes.ThemeChangeRequest.Builder setIcons(java.lang.String); |
| 1051 | method public cyanogenmod.themes.ThemeChangeRequest.Builder setLiveLockScreen(java.lang.String); |
| 1052 | method public cyanogenmod.themes.ThemeChangeRequest.Builder setLockWallpaper(java.lang.String); |
| 1053 | method public cyanogenmod.themes.ThemeChangeRequest.Builder setNavBar(java.lang.String); |
| 1054 | method public cyanogenmod.themes.ThemeChangeRequest.Builder setNotification(java.lang.String); |
| 1055 | method public cyanogenmod.themes.ThemeChangeRequest.Builder setOverlay(java.lang.String); |
| 1056 | method public cyanogenmod.themes.ThemeChangeRequest.Builder setRequestType(cyanogenmod.themes.ThemeChangeRequest.RequestType); |
| 1057 | method public cyanogenmod.themes.ThemeChangeRequest.Builder setRingtone(java.lang.String); |
| 1058 | method public cyanogenmod.themes.ThemeChangeRequest.Builder setStatusBar(java.lang.String); |
| 1059 | method public cyanogenmod.themes.ThemeChangeRequest.Builder setWallpaper(java.lang.String); |
| 1060 | method public cyanogenmod.themes.ThemeChangeRequest.Builder setWallpaperId(long); |
| 1061 | } |
| 1062 | |
| 1063 | public static final class ThemeChangeRequest.RequestType extends java.lang.Enum { |
| 1064 | method public static cyanogenmod.themes.ThemeChangeRequest.RequestType valueOf(java.lang.String); |
| 1065 | method public static final cyanogenmod.themes.ThemeChangeRequest.RequestType[] values(); |
| 1066 | enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType THEME_REMOVED; |
| 1067 | enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType THEME_RESET; |
| 1068 | enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType THEME_UPDATED; |
| 1069 | enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType USER_REQUEST; |
| 1070 | enum_constant public static final cyanogenmod.themes.ThemeChangeRequest.RequestType USER_REQUEST_MIXNMATCH; |
| 1071 | } |
| 1072 | |
| 1073 | public class ThemeManager { |
| 1074 | method public deprecated void addClient(cyanogenmod.themes.ThemeManager.ThemeChangeListener); |
| 1075 | method public void applyDefaultTheme(); |
Adnan Begovic | ccdb292 | 2016-03-24 17:55:10 -0700 | [diff] [blame^] | 1076 | method public static cyanogenmod.themes.ThemeManager getInstance(android.content.Context); |
d34d | f2fd836 | 2016-03-04 16:07:39 -0800 | [diff] [blame] | 1077 | method public cyanogenmod.themes.ThemeChangeRequest.RequestType getLastThemeChangeRequestType(); |
| 1078 | method public long getLastThemeChangeTime(); |
| 1079 | method public int getProgress(); |
| 1080 | method public boolean isThemeApplying(); |
| 1081 | method public boolean isThemeBeingProcessed(java.lang.String); |
| 1082 | method public deprecated void onClientDestroyed(cyanogenmod.themes.ThemeManager.ThemeChangeListener); |
| 1083 | method public deprecated void onClientPaused(cyanogenmod.themes.ThemeManager.ThemeChangeListener); |
| 1084 | method public deprecated void onClientResumed(cyanogenmod.themes.ThemeManager.ThemeChangeListener); |
| 1085 | method public boolean processThemeResources(java.lang.String); |
| 1086 | method public void registerProcessingListener(cyanogenmod.themes.ThemeManager.ThemeProcessingListener); |
| 1087 | method public void registerThemeChangeListener(cyanogenmod.themes.ThemeManager.ThemeChangeListener); |
| 1088 | method public deprecated void removeClient(cyanogenmod.themes.ThemeManager.ThemeChangeListener); |
| 1089 | method public void requestThemeChange(java.lang.String, java.util.List<java.lang.String>); |
| 1090 | method public void requestThemeChange(java.lang.String, java.util.List<java.lang.String>, boolean); |
| 1091 | method public void requestThemeChange(java.util.Map<java.lang.String, java.lang.String>); |
| 1092 | method public void requestThemeChange(java.util.Map<java.lang.String, java.lang.String>, boolean); |
| 1093 | method public void requestThemeChange(cyanogenmod.themes.ThemeChangeRequest, boolean); |
| 1094 | method public void unregisterProcessingListener(cyanogenmod.themes.ThemeManager.ThemeChangeListener); |
| 1095 | method public void unregisterThemeChangeListener(cyanogenmod.themes.ThemeManager.ThemeChangeListener); |
| 1096 | } |
| 1097 | |
| 1098 | public static abstract interface ThemeManager.ThemeChangeListener { |
| 1099 | method public abstract void onFinish(boolean); |
| 1100 | method public abstract void onProgress(int); |
| 1101 | } |
| 1102 | |
| 1103 | public static abstract interface ThemeManager.ThemeProcessingListener { |
| 1104 | method public abstract void onFinishedProcessing(java.lang.String); |
| 1105 | } |
| 1106 | |
| 1107 | } |
| 1108 | |
Steve Kondik | 567b430 | 2016-02-27 12:04:03 +0100 | [diff] [blame] | 1109 | package cyanogenmod.util { |
| 1110 | |
| 1111 | public class ColorUtils { |
| 1112 | ctor public ColorUtils(); |
| 1113 | method public static double calculateDeltaE(double, double, double, double, double, double); |
| 1114 | method public static float[] convertRGBtoLAB(int); |
| 1115 | method public static int dropAlpha(int); |
| 1116 | method public static int findPerceptuallyNearestColor(int, int[]); |
| 1117 | method public static int findPerceptuallyNearestSolidColor(int); |
| 1118 | method public static int generateAlertColorFromDrawable(android.graphics.drawable.Drawable); |
| 1119 | method public static com.android.internal.util.cm.palette.Palette.Swatch getDominantSwatch(com.android.internal.util.cm.palette.Palette); |
| 1120 | method public static float[] temperatureToRGB(int); |
| 1121 | } |
| 1122 | |
| 1123 | } |
| 1124 | |