Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1 | package lineageos.app { |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 2 | |
Steve Kondik | 86cae92 | 2016-07-18 02:36:42 -0700 | [diff] [blame] | 3 | public final class Profile implements java.lang.Comparable android.os.Parcelable { |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 4 | ctor public Profile(java.lang.String); |
| 5 | method public void addSecondaryUuid(java.util.UUID); |
| 6 | method public int compareTo(java.lang.Object); |
| 7 | method public int describeContents(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 8 | method public lineageos.profiles.AirplaneModeSettings getAirplaneMode(); |
| 9 | method public lineageos.profiles.BrightnessSettings getBrightness(); |
| 10 | method public lineageos.profiles.ConnectionSettings getConnectionSettingWithSubId(int); |
| 11 | method public java.util.Collection<lineageos.profiles.ConnectionSettings> getConnectionSettings(); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 12 | method public int getDozeMode(); |
| 13 | method public int getExpandedDesktopMode(); |
| 14 | method public java.lang.String getName(); |
Adnan Begovic | cdf4d0d | 2016-02-10 18:14:35 -0800 | [diff] [blame] | 15 | method public int getNotificationLightMode(); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 16 | method public int getProfileType(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 17 | method public lineageos.profiles.RingModeSettings getRingMode(); |
| 18 | method public lineageos.profiles.LockSettings getScreenLockMode(); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 19 | method public java.util.UUID[] getSecondaryUuids(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 20 | method public lineageos.profiles.ConnectionSettings getSettingsForConnection(int); |
| 21 | method public lineageos.profiles.StreamSettings getSettingsForStream(int); |
| 22 | method public java.util.Collection<lineageos.profiles.StreamSettings> getStreamSettings(); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 23 | method public int getTriggerState(int, java.lang.String); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 24 | method public java.util.ArrayList<lineageos.app.Profile.ProfileTrigger> getTriggersFromType(int); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 25 | method public java.util.UUID getUuid(); |
| 26 | method public boolean isConditionalType(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 27 | method public void setAirplaneMode(lineageos.profiles.AirplaneModeSettings); |
| 28 | method public void setBrightness(lineageos.profiles.BrightnessSettings); |
| 29 | method public void setConnectionSettings(lineageos.profiles.ConnectionSettings); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 30 | method public void setDozeMode(int); |
| 31 | method public void setExpandedDesktopMode(int); |
| 32 | method public void setName(java.lang.String); |
Adnan Begovic | cdf4d0d | 2016-02-10 18:14:35 -0800 | [diff] [blame] | 33 | method public void setNotificationLightMode(int); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 34 | method public void setProfileType(int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 35 | method public void setRingMode(lineageos.profiles.RingModeSettings); |
| 36 | method public void setScreenLockMode(lineageos.profiles.LockSettings); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 37 | method public void setSecondaryUuids(java.util.List<java.util.UUID>); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 38 | method public void setStreamSettings(lineageos.profiles.StreamSettings); |
| 39 | method public void setTrigger(lineageos.app.Profile.ProfileTrigger); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 40 | method public void writeToParcel(android.os.Parcel, int); |
| 41 | } |
| 42 | |
| 43 | public static class Profile.DozeMode { |
| 44 | ctor public Profile.DozeMode(); |
| 45 | field public static final int DEFAULT = 0; // 0x0 |
| 46 | field public static final int DISABLE = 2; // 0x2 |
| 47 | field public static final int ENABLE = 1; // 0x1 |
| 48 | } |
| 49 | |
| 50 | public static class Profile.ExpandedDesktopMode { |
| 51 | ctor public Profile.ExpandedDesktopMode(); |
| 52 | field public static final int DEFAULT = 0; // 0x0 |
| 53 | field public static final int DISABLE = 2; // 0x2 |
| 54 | field public static final int ENABLE = 1; // 0x1 |
| 55 | } |
| 56 | |
| 57 | public static class Profile.LockMode { |
| 58 | ctor public Profile.LockMode(); |
| 59 | field public static final int DEFAULT = 0; // 0x0 |
| 60 | field public static final int DISABLE = 2; // 0x2 |
| 61 | field public static final int INSECURE = 1; // 0x1 |
| 62 | } |
| 63 | |
Adnan Begovic | cdf4d0d | 2016-02-10 18:14:35 -0800 | [diff] [blame] | 64 | public static class Profile.NotificationLightMode { |
| 65 | ctor public Profile.NotificationLightMode(); |
| 66 | field public static final int DEFAULT = 0; // 0x0 |
| 67 | field public static final int DISABLE = 2; // 0x2 |
| 68 | field public static final int ENABLE = 1; // 0x1 |
| 69 | } |
| 70 | |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 71 | public static class Profile.ProfileTrigger implements android.os.Parcelable { |
Adnan Begovic | 8481cec | 2015-08-04 16:45:26 -0700 | [diff] [blame] | 72 | ctor public Profile.ProfileTrigger(int, java.lang.String, int, java.lang.String); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 73 | method public int describeContents(); |
| 74 | method public java.lang.String getId(); |
| 75 | method public java.lang.String getName(); |
| 76 | method public int getState(); |
| 77 | method public int getType(); |
| 78 | method public void writeToParcel(android.os.Parcel, int); |
| 79 | } |
| 80 | |
| 81 | public static class Profile.TriggerState { |
| 82 | ctor public Profile.TriggerState(); |
| 83 | field public static final int DISABLED = 2; // 0x2 |
| 84 | field public static final int ON_A2DP_CONNECT = 3; // 0x3 |
| 85 | field public static final int ON_A2DP_DISCONNECT = 4; // 0x4 |
| 86 | field public static final int ON_CONNECT = 0; // 0x0 |
| 87 | field public static final int ON_DISCONNECT = 1; // 0x1 |
| 88 | } |
| 89 | |
| 90 | public static class Profile.TriggerType { |
| 91 | ctor public Profile.TriggerType(); |
| 92 | field public static final int BLUETOOTH = 1; // 0x1 |
| 93 | field public static final int WIFI = 0; // 0x0 |
| 94 | } |
| 95 | |
| 96 | public static class Profile.Type { |
| 97 | ctor public Profile.Type(); |
| 98 | field public static final int CONDITIONAL = 1; // 0x1 |
| 99 | field public static final int TOGGLE = 0; // 0x0 |
| 100 | } |
| 101 | |
| 102 | public class ProfileManager { |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 103 | method public void addProfile(lineageos.app.Profile); |
| 104 | method public lineageos.app.Profile getActiveProfile(); |
| 105 | method public static lineageos.app.ProfileManager getInstance(android.content.Context); |
| 106 | method public deprecated lineageos.app.Profile getProfile(java.lang.String); |
| 107 | method public lineageos.app.Profile getProfile(java.util.UUID); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 108 | method public java.lang.String[] getProfileNames(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 109 | method public lineageos.app.Profile[] getProfiles(); |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 110 | method public boolean isProfilesEnabled(); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 111 | method public boolean profileExists(java.lang.String); |
| 112 | method public boolean profileExists(java.util.UUID); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 113 | method public void removeProfile(lineageos.app.Profile); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 114 | method public void resetAll(); |
| 115 | method public deprecated void setActiveProfile(java.lang.String); |
| 116 | method public void setActiveProfile(java.util.UUID); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 117 | method public void updateProfile(lineageos.app.Profile); |
| 118 | field public static final java.lang.String ACTION_PROFILE_PICKER = "lineageos.platform.intent.action.PROFILE_PICKER"; |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 119 | field public static final java.lang.String EXTRA_LAST_PROFILE_NAME = "lastName"; |
Roman Birg | 45f57c5 | 2016-03-17 15:29:22 -0700 | [diff] [blame] | 120 | field public static final java.lang.String EXTRA_LAST_PROFILE_UUID = "lastUuid"; |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 121 | field public static final java.lang.String EXTRA_PROFILES_STATE = "profile_state"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 122 | field public static final java.lang.String EXTRA_PROFILE_DIALOG_THEME = "lineageos.platform.intent.extra.profile.DIALOG_THEME"; |
| 123 | field public static final java.lang.String EXTRA_PROFILE_EXISTING_UUID = "lineageos.platform.extra.profile.EXISTING_UUID"; |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 124 | field public static final java.lang.String EXTRA_PROFILE_NAME = "name"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 125 | field public static final java.lang.String EXTRA_PROFILE_PICKED_UUID = "lineageos.platform.intent.extra.profile.PICKED_UUID"; |
| 126 | field public static final java.lang.String EXTRA_PROFILE_SHOW_NONE = "lineageos.platform.intent.extra.profile.SHOW_NONE"; |
| 127 | field public static final java.lang.String EXTRA_PROFILE_TITLE = "lineageos.platform.intent.extra.profile.TITLE"; |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 128 | field public static final java.lang.String EXTRA_PROFILE_UUID = "uuid"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 129 | field public static final java.lang.String INTENT_ACTION_PROFILE_SELECTED = "lineageos.platform.intent.action.PROFILE_SELECTED"; |
| 130 | field public static final java.lang.String INTENT_ACTION_PROFILE_UPDATED = "lineageos.platform.intent.action.PROFILE_UPDATED"; |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 131 | field public static final java.util.UUID NO_PROFILE; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 132 | field public static final java.lang.String PROFILES_STATE_CHANGED_ACTION = "lineageos.platform.app.profiles.PROFILES_STATE_CHANGED"; |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 133 | field public static final int PROFILES_STATE_DISABLED = 0; // 0x0 |
| 134 | field public static final int PROFILES_STATE_ENABLED = 1; // 0x1 |
| 135 | } |
| 136 | |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 137 | } |
| 138 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 139 | package lineageos.content { |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 140 | |
| 141 | public class Intent { |
| 142 | ctor public Intent(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 143 | field public static final java.lang.String ACTION_PROTECTED = "lineageos.intent.action.PACKAGE_PROTECTED"; |
| 144 | field public static final java.lang.String ACTION_PROTECTED_CHANGED = "lineageos.intent.action.PROTECTED_COMPONENT_UPDATE"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 145 | field public static final java.lang.String EXTRA_PROTECTED_COMPONENTS = "lineageos.intent.extra.PACKAGE_PROTECTED_COMPONENTS"; |
| 146 | field public static final java.lang.String EXTRA_PROTECTED_STATE = "lineageos.intent.extra.PACKAGE_PROTECTED_STATE"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 147 | } |
| 148 | |
| 149 | } |
| 150 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 151 | package lineageos.hardware { |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 152 | |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 153 | public class DisplayMode implements android.os.Parcelable { |
| 154 | ctor public DisplayMode(int, java.lang.String); |
| 155 | method public int describeContents(); |
| 156 | method public void writeToParcel(android.os.Parcel, int); |
| 157 | field public final int id; |
| 158 | field public final java.lang.String name; |
| 159 | } |
| 160 | |
| 161 | public class HSIC implements android.os.Parcelable { |
| 162 | ctor public HSIC(float, float, float, float, float); |
| 163 | method public int describeContents(); |
| 164 | method public java.lang.String flatten(); |
| 165 | method public static lineageos.hardware.HSIC fromFloatArray(float[]); |
| 166 | method public float getContrast(); |
| 167 | method public float getHue(); |
| 168 | method public float getIntensity(); |
| 169 | method public float getSaturation(); |
| 170 | method public float getSaturationThreshold(); |
| 171 | method public float[] toFloatArray(); |
| 172 | method public int[] toRGB(); |
| 173 | method public static lineageos.hardware.HSIC unflattenFrom(java.lang.String) throws java.lang.NumberFormatException; |
| 174 | method public void writeToParcel(android.os.Parcel, int); |
| 175 | } |
| 176 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 177 | public final class LineageHardwareManager { |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 178 | method public boolean get(int); |
Steve Kondik | 86cae92 | 2016-07-18 02:36:42 -0700 | [diff] [blame] | 179 | method public int getColorBalance(); |
| 180 | method public android.util.Range<java.lang.Integer> getColorBalanceRange(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 181 | method public lineageos.hardware.DisplayMode getCurrentDisplayMode(); |
| 182 | method public lineageos.hardware.DisplayMode getDefaultDisplayMode(); |
| 183 | method public lineageos.hardware.HSIC getDefaultPictureAdjustment(); |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 184 | method public int[] getDisplayColorCalibration(); |
| 185 | method public int getDisplayColorCalibrationDefault(); |
| 186 | method public int getDisplayColorCalibrationMax(); |
| 187 | method public int getDisplayColorCalibrationMin(); |
| 188 | method public deprecated int[] getDisplayGammaCalibration(int); |
| 189 | method public deprecated int getDisplayGammaCalibrationMax(); |
| 190 | method public deprecated int getDisplayGammaCalibrationMin(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 191 | method public lineageos.hardware.DisplayMode[] getDisplayModes(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 192 | method public static lineageos.hardware.LineageHardwareManager getInstance(android.content.Context); |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 193 | method public java.lang.String getLtoDestination(); |
| 194 | method public long getLtoDownloadInterval(); |
| 195 | method public java.lang.String getLtoSource(); |
| 196 | method public deprecated int getNumGammaControls(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 197 | method public lineageos.hardware.HSIC getPictureAdjustment(); |
Steve Kondik | 87590f0 | 2016-07-20 11:20:02 -0700 | [diff] [blame] | 198 | method public java.util.List<android.util.Range<java.lang.Float>> getPictureAdjustmentRanges(); |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 199 | method public java.lang.String getSerialNumber(); |
| 200 | method public int getSupportedFeatures(); |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 201 | method public lineageos.hardware.TouchscreenGesture[] getTouchscreenGestures(); |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 202 | method public int getVibratorDefaultIntensity(); |
| 203 | method public int getVibratorIntensity(); |
| 204 | method public int getVibratorMaxIntensity(); |
| 205 | method public int getVibratorMinIntensity(); |
| 206 | method public int getVibratorWarningIntensity(); |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 207 | method public boolean isSunlightEnhancementSelfManaged(); |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 208 | method public boolean isSupported(int); |
| 209 | method public boolean requireAdaptiveBacklightForSunlightEnhancement(); |
| 210 | method public boolean set(int, boolean); |
Steve Kondik | 86cae92 | 2016-07-18 02:36:42 -0700 | [diff] [blame] | 211 | method public boolean setColorBalance(int); |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 212 | method public boolean setDisplayColorCalibration(int[]); |
| 213 | method public deprecated boolean setDisplayGammaCalibration(int, int[]); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 214 | method public boolean setDisplayMode(lineageos.hardware.DisplayMode, boolean); |
Luca Stefani | 5596210 | 2018-07-02 10:10:34 +0200 | [diff] [blame] | 215 | method public boolean setGrayscale(boolean); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 216 | method public boolean setPictureAdjustment(lineageos.hardware.HSIC); |
| 217 | method public boolean setTouchscreenGestureEnabled(lineageos.hardware.TouchscreenGesture, boolean); |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 218 | method public boolean setVibratorIntensity(int); |
| 219 | field public static final int FEATURE_ADAPTIVE_BACKLIGHT = 1; // 0x1 |
| 220 | field public static final int FEATURE_AUTO_CONTRAST = 4096; // 0x1000 |
Steve Kondik | 86cae92 | 2016-07-18 02:36:42 -0700 | [diff] [blame] | 221 | field public static final int FEATURE_COLOR_BALANCE = 131072; // 0x20000 |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 222 | field public static final int FEATURE_COLOR_ENHANCEMENT = 2; // 0x2 |
| 223 | field public static final int FEATURE_DISPLAY_COLOR_CALIBRATION = 4; // 0x4 |
| 224 | field public static final int FEATURE_DISPLAY_GAMMA_CALIBRATION = 8; // 0x8 |
| 225 | field public static final int FEATURE_DISPLAY_MODES = 8192; // 0x2000 |
| 226 | field public static final int FEATURE_HIGH_TOUCH_SENSITIVITY = 16; // 0x10 |
| 227 | field public static final int FEATURE_KEY_DISABLE = 32; // 0x20 |
| 228 | field public static final int FEATURE_LONG_TERM_ORBITS = 64; // 0x40 |
Steve Kondik | 87590f0 | 2016-07-20 11:20:02 -0700 | [diff] [blame] | 229 | field public static final int FEATURE_PICTURE_ADJUSTMENT = 262144; // 0x40000 |
Luca Stefani | 5596210 | 2018-07-02 10:10:34 +0200 | [diff] [blame] | 230 | field public static final int FEATURE_READING_ENHANCEMENT = 16384; // 0x4000 |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 231 | field public static final int FEATURE_SERIAL_NUMBER = 128; // 0x80 |
| 232 | field public static final int FEATURE_SUNLIGHT_ENHANCEMENT = 256; // 0x100 |
Zhao Wei Liew | cfaf39e | 2016-11-17 23:36:25 +0800 | [diff] [blame] | 233 | field public static final int FEATURE_TOUCHSCREEN_GESTURES = 524288; // 0x80000 |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 234 | field public static final int FEATURE_TOUCH_HOVERING = 2048; // 0x800 |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 235 | field public static final int FEATURE_VIBRATOR = 1024; // 0x400 |
| 236 | } |
| 237 | |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 238 | public class LiveDisplayConfig implements android.os.Parcelable { |
Steve Kondik | 87590f0 | 2016-07-20 11:20:02 -0700 | [diff] [blame] | 239 | ctor public LiveDisplayConfig(java.util.BitSet, int, int, int, boolean, boolean, boolean, boolean, android.util.Range<java.lang.Integer>, android.util.Range<java.lang.Integer>, android.util.Range<java.lang.Float>, android.util.Range<java.lang.Float>, android.util.Range<java.lang.Float>, android.util.Range<java.lang.Float>, android.util.Range<java.lang.Float>); |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 240 | method public int describeContents(); |
Steve Kondik | 86cae92 | 2016-07-18 02:36:42 -0700 | [diff] [blame] | 241 | method public android.util.Range<java.lang.Integer> getColorBalanceRange(); |
| 242 | method public android.util.Range<java.lang.Integer> getColorTemperatureRange(); |
Steve Kondik | 87590f0 | 2016-07-20 11:20:02 -0700 | [diff] [blame] | 243 | method public android.util.Range<java.lang.Float> getContrastRange(); |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 244 | method public boolean getDefaultAutoContrast(); |
| 245 | method public boolean getDefaultAutoOutdoorMode(); |
| 246 | method public boolean getDefaultCABC(); |
| 247 | method public boolean getDefaultColorEnhancement(); |
| 248 | method public int getDefaultDayTemperature(); |
| 249 | method public int getDefaultMode(); |
| 250 | method public int getDefaultNightTemperature(); |
Steve Kondik | 87590f0 | 2016-07-20 11:20:02 -0700 | [diff] [blame] | 251 | method public android.util.Range<java.lang.Float> getHueRange(); |
| 252 | method public android.util.Range<java.lang.Float> getIntensityRange(); |
| 253 | method public java.util.List<android.util.Range<java.lang.Float>> getPictureAdjustmentRanges(); |
| 254 | method public android.util.Range<java.lang.Float> getSaturationRange(); |
| 255 | method public android.util.Range<java.lang.Float> getSaturationThresholdRange(); |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 256 | method public boolean hasFeature(int); |
Steve Kondik | 0ec60c6 | 2016-04-15 02:38:42 -0700 | [diff] [blame] | 257 | method public boolean hasModeSupport(); |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 258 | method public boolean isAvailable(); |
| 259 | method public void writeToParcel(android.os.Parcel, int); |
| 260 | } |
| 261 | |
| 262 | public class LiveDisplayManager { |
| 263 | method public float[] getColorAdjustment(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 264 | method public lineageos.hardware.LiveDisplayConfig getConfig(); |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 265 | method public int getDayColorTemperature(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 266 | method public lineageos.hardware.HSIC getDefaultPictureAdjustment(); |
| 267 | method public static synchronized lineageos.hardware.LiveDisplayManager getInstance(android.content.Context); |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 268 | method public int getMode(); |
| 269 | method public int getNightColorTemperature(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 270 | method public lineageos.hardware.HSIC getPictureAdjustment(); |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 271 | method public boolean isAutoContrastEnabled(); |
| 272 | method public boolean isAutomaticOutdoorModeEnabled(); |
| 273 | method public boolean isCABCEnabled(); |
| 274 | method public boolean isColorEnhancementEnabled(); |
Joey | 76fc3d3 | 2018-02-22 14:30:42 +0100 | [diff] [blame] | 275 | method public boolean isNightModeEnabled(); |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 276 | method public boolean setAutoContrastEnabled(boolean); |
| 277 | method public boolean setAutomaticOutdoorModeEnabled(boolean); |
| 278 | method public boolean setCABCEnabled(boolean); |
| 279 | method public boolean setColorAdjustment(float[]); |
| 280 | method public boolean setColorEnhancementEnabled(boolean); |
| 281 | method public boolean setDayColorTemperature(int); |
| 282 | method public boolean setMode(int); |
| 283 | method public boolean setNightColorTemperature(int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 284 | method public boolean setPictureAdjustment(lineageos.hardware.HSIC); |
Steve Kondik | 87590f0 | 2016-07-20 11:20:02 -0700 | [diff] [blame] | 285 | field public static final int ADJUSTMENT_CONTRAST = 3; // 0x3 |
| 286 | field public static final int ADJUSTMENT_HUE = 0; // 0x0 |
| 287 | field public static final int ADJUSTMENT_INTENSITY = 2; // 0x2 |
| 288 | field public static final int ADJUSTMENT_SATURATION = 1; // 0x1 |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 289 | field public static final int FEATURE_AUTO_CONTRAST = 11; // 0xb |
| 290 | field public static final int FEATURE_CABC = 10; // 0xa |
| 291 | field public static final int FEATURE_COLOR_ADJUSTMENT = 13; // 0xd |
Steve Kondik | 86cae92 | 2016-07-18 02:36:42 -0700 | [diff] [blame] | 292 | field public static final int FEATURE_COLOR_BALANCE = 16; // 0x10 |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 293 | field public static final int FEATURE_COLOR_ENHANCEMENT = 12; // 0xc |
| 294 | field public static final int FEATURE_DISPLAY_MODES = 15; // 0xf |
| 295 | field public static final int FEATURE_MANAGED_OUTDOOR_MODE = 14; // 0xe |
Steve Kondik | 87590f0 | 2016-07-20 11:20:02 -0700 | [diff] [blame] | 296 | field public static final int FEATURE_PICTURE_ADJUSTMENT = 17; // 0x11 |
Luca Stefani | 5596210 | 2018-07-02 10:10:34 +0200 | [diff] [blame] | 297 | field public static final int FEATURE_READING_ENHANCEMENT = 18; // 0x12 |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 298 | field public static final int MODE_AUTO = 2; // 0x2 |
| 299 | field public static final int MODE_DAY = 4; // 0x4 |
| 300 | field public static final int MODE_NIGHT = 1; // 0x1 |
| 301 | field public static final int MODE_OFF = 0; // 0x0 |
| 302 | field public static final int MODE_OUTDOOR = 3; // 0x3 |
| 303 | } |
| 304 | |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 305 | public class TouchscreenGesture implements android.os.Parcelable { |
| 306 | ctor public TouchscreenGesture(int, java.lang.String, int); |
| 307 | method public int describeContents(); |
| 308 | method public void writeToParcel(android.os.Parcel, int); |
| 309 | field public final int id; |
| 310 | field public final int keycode; |
| 311 | field public final java.lang.String name; |
| 312 | } |
| 313 | |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 314 | } |
| 315 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 316 | package lineageos.os { |
Adnan Begovic | 3f7e428 | 2015-06-09 11:03:37 -0700 | [diff] [blame] | 317 | |
| 318 | public class Build { |
| 319 | ctor public Build(); |
| 320 | method public static java.lang.String getNameForSDKInt(int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 321 | field public static final java.lang.String LINEAGEOS_DISPLAY_VERSION; |
| 322 | field public static final java.lang.String LINEAGEOS_VERSION; |
Adnan Begovic | 3f7e428 | 2015-06-09 11:03:37 -0700 | [diff] [blame] | 323 | field public static final java.lang.String UNKNOWN = "unknown"; |
| 324 | } |
| 325 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 326 | public static class Build.LINEAGE_VERSION { |
| 327 | ctor public Build.LINEAGE_VERSION(); |
Adnan Begovic | 3f7e428 | 2015-06-09 11:03:37 -0700 | [diff] [blame] | 328 | field public static final int SDK_INT; |
| 329 | } |
| 330 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 331 | public static class Build.LINEAGE_VERSION_CODES { |
| 332 | ctor public Build.LINEAGE_VERSION_CODES(); |
Adnan Begovic | 3f7e428 | 2015-06-09 11:03:37 -0700 | [diff] [blame] | 333 | field public static final int APRICOT = 1; // 0x1 |
Adnan Begovic | f9ec3a4 | 2015-07-13 16:46:23 -0700 | [diff] [blame] | 334 | field public static final int BOYSENBERRY = 2; // 0x2 |
Roman Birg | d29499d | 2015-12-23 09:32:13 -0800 | [diff] [blame] | 335 | field public static final int CANTALOUPE = 3; // 0x3 |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 336 | field public static final int DRAGON_FRUIT = 4; // 0x4 |
Adnan Begovic | 1d2351e | 2016-02-09 11:12:38 -0800 | [diff] [blame] | 337 | field public static final int ELDERBERRY = 5; // 0x5 |
Adnan Begovic | 6b879f3 | 2016-04-01 15:39:53 -0700 | [diff] [blame] | 338 | field public static final int FIG = 6; // 0x6 |
Steve Kondik | aac8bdc | 2016-09-04 04:35:09 -0700 | [diff] [blame] | 339 | field public static final int GUAVA = 7; // 0x7 |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 340 | field public static final int HACKBERRY = 8; // 0x8 |
Joey | c0b21ca | 2018-04-03 15:42:18 +0200 | [diff] [blame] | 341 | field public static final int ILAMA = 9; // 0x9 |
Adnan Begovic | 3f7e428 | 2015-06-09 11:03:37 -0700 | [diff] [blame] | 342 | } |
| 343 | |
Adnan Begovic | df4486f | 2016-04-01 10:55:04 -0700 | [diff] [blame] | 344 | public final class Concierge { |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 345 | method public static lineageos.os.Concierge.ParcelInfo prepareParcel(android.os.Parcel); |
| 346 | method public static lineageos.os.Concierge.ParcelInfo receiveParcel(android.os.Parcel); |
Adnan Begovic | df4486f | 2016-04-01 10:55:04 -0700 | [diff] [blame] | 347 | } |
| 348 | |
| 349 | public static final class Concierge.ParcelInfo { |
| 350 | method public void complete(); |
| 351 | method public int getParcelVersion(); |
| 352 | } |
| 353 | |
Adnan Begovic | 3f7e428 | 2015-06-09 11:03:37 -0700 | [diff] [blame] | 354 | } |
| 355 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 356 | package lineageos.platform { |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 357 | |
| 358 | public final class Manifest { |
| 359 | ctor public Manifest(); |
| 360 | } |
| 361 | |
| 362 | public static final class Manifest.permission { |
| 363 | ctor public Manifest.permission(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 364 | field public static final java.lang.String ACCESS_WEATHER_MANAGER = "lineageos.permission.ACCESS_WEATHER_MANAGER"; |
| 365 | field public static final java.lang.String BIND_WEATHER_PROVIDER_SERVICE = "lineageos.permission.BIND_WEATHER_PROVIDER_SERVICE"; |
Joey | 76fc3d3 | 2018-02-22 14:30:42 +0100 | [diff] [blame] | 366 | field public static final java.lang.String CHANGE_STYLE = "lineageos.permission.CHANGE_STYLE"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 367 | field public static final java.lang.String HARDWARE_ABSTRACTION_ACCESS = "lineageos.permission.HARDWARE_ABSTRACTION_ACCESS"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 368 | field public static final java.lang.String MANAGE_LIVEDISPLAY = "lineageos.permission.MANAGE_LIVEDISPLAY"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 369 | field public static final java.lang.String MANAGE_REMOTE_PREFERENCES = "lineageos.permission.MANAGE_REMOTE_PREFERENCES"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 370 | field public static final java.lang.String MODIFY_PROFILES = "lineageos.permission.MODIFY_PROFILES"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 371 | field public static final java.lang.String PERFORMANCE_ACCESS = "lineageos.permission.PERFORMANCE_ACCESS"; |
| 372 | field public static final java.lang.String PROTECTED_APP = "lineageos.permission.PROTECTED_APP"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 373 | field public static final java.lang.String READ_DATAUSAGE = "lineageos.permission.READ_DATAUSAGE"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 374 | field public static final java.lang.String READ_WEATHER = "lineageos.permission.READ_WEATHER"; |
Joey | c0b21ca | 2018-04-03 15:42:18 +0200 | [diff] [blame] | 375 | field public static final java.lang.String TRUST_INTERFACE = "lineageos.permission.TRUST_INTERFACE"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 376 | field public static final java.lang.String WRITE_DATAUSAGE = "lineageos.permission.WRITE_DATAUSAGE"; |
| 377 | field public static final java.lang.String WRITE_SECURE_SETTINGS = "lineageos.permission.WRITE_SECURE_SETTINGS"; |
| 378 | field public static final java.lang.String WRITE_SETTINGS = "lineageos.permission.WRITE_SETTINGS"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 379 | field public static final java.lang.String WRITE_WEATHER = "lineageos.permission.WRITE_WEATHER"; |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 380 | } |
| 381 | |
| 382 | public final class R { |
| 383 | ctor public R(); |
| 384 | } |
| 385 | |
Joey | 76fc3d3 | 2018-02-22 14:30:42 +0100 | [diff] [blame] | 386 | public static final class R.anim { |
| 387 | ctor public R.anim(); |
| 388 | } |
| 389 | |
herriojr | e78ca4d | 2015-09-08 13:59:20 -0700 | [diff] [blame] | 390 | public static final class R.array { |
| 391 | ctor public R.array(); |
| 392 | } |
| 393 | |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 394 | public static final class R.attr { |
| 395 | ctor public R.attr(); |
Steve Kondik | 78079ea | 2016-10-11 08:16:38 -0700 | [diff] [blame] | 396 | field public static final int minSummaryLines = 1057030154; // 0x3f01000a |
| 397 | field public static final int replacesKey = 1057030153; // 0x3f010009 |
| 398 | field public static final int requiresAction = 1057030152; // 0x3f010008 |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 399 | field public static final int requiresConfig = 1057030148; // 0x3f010004 |
Sam Mortimer | 3c54d58 | 2017-10-20 17:24:54 -0700 | [diff] [blame] | 400 | field public static final int requiresConfigMask = 1057030155; // 0x3f01000b |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 401 | field public static final int requiresFeature = 1057030147; // 0x3f010003 |
Steve Kondik | 5d08519 | 2016-09-25 23:17:49 -0700 | [diff] [blame] | 402 | field public static final int requiresOwner = 1057030150; // 0x3f010006 |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 403 | field public static final int requiresPackage = 1057030146; // 0x3f010002 |
| 404 | field public static final int requiresProperty = 1057030149; // 0x3f010005 |
Steve Kondik | 0452eba | 2016-10-07 00:16:11 -0700 | [diff] [blame] | 405 | field public static final int xmlRes = 1057030151; // 0x3f010007 |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 406 | } |
| 407 | |
herriojr | e78ca4d | 2015-09-08 13:59:20 -0700 | [diff] [blame] | 408 | public static final class R.bool { |
| 409 | ctor public R.bool(); |
| 410 | } |
| 411 | |
Luca Stefani | 5596210 | 2018-07-02 10:10:34 +0200 | [diff] [blame] | 412 | public static final class R.color { |
| 413 | ctor public R.color(); |
| 414 | } |
| 415 | |
Joey | 76fc3d3 | 2018-02-22 14:30:42 +0100 | [diff] [blame] | 416 | public static final class R.dimen { |
| 417 | ctor public R.dimen(); |
| 418 | } |
| 419 | |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 420 | public static final class R.drawable { |
| 421 | ctor public R.drawable(); |
| 422 | } |
| 423 | |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 424 | public static final class R.integer { |
| 425 | ctor public R.integer(); |
| 426 | } |
| 427 | |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 428 | public static final class R.string { |
| 429 | ctor public R.string(); |
| 430 | } |
| 431 | |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 432 | public static final class R.xml { |
| 433 | ctor public R.xml(); |
| 434 | } |
| 435 | |
| 436 | } |
| 437 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 438 | package lineageos.power { |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 439 | |
| 440 | public class PerformanceManager { |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 441 | method public lineageos.power.PerformanceProfile getActivePowerProfile(); |
| 442 | method public static lineageos.power.PerformanceManager getInstance(android.content.Context); |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 443 | method public int getNumberOfProfiles(); |
| 444 | method public int getPowerProfile(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 445 | method public lineageos.power.PerformanceProfile getPowerProfile(int); |
| 446 | method public java.util.SortedSet<lineageos.power.PerformanceProfile> getPowerProfiles(); |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 447 | method public boolean setPowerProfile(int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 448 | method public boolean setPowerProfile(lineageos.power.PerformanceProfile); |
| 449 | field public static final java.lang.String POWER_PROFILE_CHANGED = "lineageos.power.PROFILE_CHANGED"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 450 | field public static final int PROFILE_BALANCED = 1; // 0x1 |
| 451 | field public static final int PROFILE_BIAS_PERFORMANCE = 4; // 0x4 |
| 452 | field public static final int PROFILE_BIAS_POWER_SAVE = 3; // 0x3 |
| 453 | field public static final int PROFILE_HIGH_PERFORMANCE = 2; // 0x2 |
| 454 | field public static final int PROFILE_POWER_SAVE = 0; // 0x0 |
| 455 | field public static final java.lang.String TAG = "PerformanceManager"; |
| 456 | } |
| 457 | |
Steve Kondik | cd98e0b | 2016-10-12 04:06:33 -0700 | [diff] [blame] | 458 | public class PerformanceProfile implements java.lang.Comparable android.os.Parcelable { |
Luca Stefani | 38b21a6 | 2018-02-08 16:41:17 +0100 | [diff] [blame] | 459 | ctor public PerformanceProfile(int, float, java.lang.String, java.lang.String); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 460 | method public int compareTo(lineageos.power.PerformanceProfile); |
Steve Kondik | cd98e0b | 2016-10-12 04:06:33 -0700 | [diff] [blame] | 461 | method public int describeContents(); |
| 462 | method public java.lang.String getDescription(); |
| 463 | method public int getId(); |
| 464 | method public java.lang.String getName(); |
| 465 | method public float getWeight(); |
Steve Kondik | cd98e0b | 2016-10-12 04:06:33 -0700 | [diff] [blame] | 466 | method public void writeToParcel(android.os.Parcel, int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 467 | field public static final android.os.Parcelable.Creator<lineageos.power.PerformanceProfile> CREATOR; |
Steve Kondik | cd98e0b | 2016-10-12 04:06:33 -0700 | [diff] [blame] | 468 | } |
| 469 | |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 470 | } |
| 471 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 472 | package lineageos.preference { |
Steve Kondik | 7be730b | 2016-09-08 13:39:43 -0700 | [diff] [blame] | 473 | |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 474 | public class GlobalSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference { |
| 475 | ctor public GlobalSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int); |
| 476 | ctor public GlobalSettingSwitchPreference(android.content.Context, android.util.AttributeSet); |
| 477 | ctor public GlobalSettingSwitchPreference(android.content.Context); |
| 478 | } |
| 479 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 480 | public class LineageGlobalSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference { |
| 481 | ctor public LineageGlobalSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int); |
| 482 | ctor public LineageGlobalSettingSwitchPreference(android.content.Context, android.util.AttributeSet); |
| 483 | ctor public LineageGlobalSettingSwitchPreference(android.content.Context); |
Steve Kondik | 7be730b | 2016-09-08 13:39:43 -0700 | [diff] [blame] | 484 | } |
| 485 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 486 | public class LineageSecureSettingListPreference extends lineageos.preference.SelfRemovingListPreference { |
| 487 | ctor public LineageSecureSettingListPreference(android.content.Context, android.util.AttributeSet, int); |
| 488 | ctor public LineageSecureSettingListPreference(android.content.Context, android.util.AttributeSet); |
Steve Kondik | 9faa274 | 2016-09-14 01:37:29 -0700 | [diff] [blame] | 489 | method public int getIntValue(int); |
Steve Kondik | 9faa274 | 2016-09-14 01:37:29 -0700 | [diff] [blame] | 490 | } |
| 491 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 492 | public class LineageSecureSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference { |
| 493 | ctor public LineageSecureSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int); |
| 494 | ctor public LineageSecureSettingSwitchPreference(android.content.Context, android.util.AttributeSet); |
| 495 | ctor public LineageSecureSettingSwitchPreference(android.content.Context); |
Steve Kondik | 7be730b | 2016-09-08 13:39:43 -0700 | [diff] [blame] | 496 | } |
| 497 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 498 | public class LineageSystemSettingDropDownPreference extends lineageos.preference.SelfRemovingDropDownPreference { |
| 499 | ctor public LineageSystemSettingDropDownPreference(android.content.Context, android.util.AttributeSet, int); |
| 500 | ctor public LineageSystemSettingDropDownPreference(android.content.Context, android.util.AttributeSet); |
Danny Baumann | e01237e | 2016-11-02 13:10:00 +0100 | [diff] [blame] | 501 | method public int getIntValue(int); |
Danny Baumann | e01237e | 2016-11-02 13:10:00 +0100 | [diff] [blame] | 502 | } |
| 503 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 504 | public class LineageSystemSettingListPreference extends lineageos.preference.SelfRemovingListPreference { |
| 505 | ctor public LineageSystemSettingListPreference(android.content.Context, android.util.AttributeSet, int); |
| 506 | ctor public LineageSystemSettingListPreference(android.content.Context, android.util.AttributeSet); |
Steve Kondik | 9faa274 | 2016-09-14 01:37:29 -0700 | [diff] [blame] | 507 | method public int getIntValue(int); |
Steve Kondik | 9faa274 | 2016-09-14 01:37:29 -0700 | [diff] [blame] | 508 | } |
| 509 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 510 | public class LineageSystemSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference { |
| 511 | ctor public LineageSystemSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int); |
| 512 | ctor public LineageSystemSettingSwitchPreference(android.content.Context, android.util.AttributeSet); |
| 513 | ctor public LineageSystemSettingSwitchPreference(android.content.Context); |
Zhao Wei Liew | 1c5e5e7 | 2016-12-10 15:37:20 +0800 | [diff] [blame] | 514 | } |
| 515 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 516 | public class RemotePreference extends lineageos.preference.SelfRemovingPreference { |
Steve Kondik | 3805419 | 2016-10-14 21:24:54 -0700 | [diff] [blame] | 517 | ctor public RemotePreference(android.content.Context, android.util.AttributeSet, int, int); |
| 518 | ctor public RemotePreference(android.content.Context, android.util.AttributeSet, int); |
| 519 | ctor public RemotePreference(android.content.Context, android.util.AttributeSet); |
| 520 | method public android.content.Intent getReceiverIntent(); |
| 521 | method protected java.lang.String getRemoteKey(android.os.Bundle); |
Steve Kondik | 3805419 | 2016-10-14 21:24:54 -0700 | [diff] [blame] | 522 | method public void onRemoteUpdated(android.os.Bundle); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 523 | field public static final java.lang.String ACTION_REFRESH_PREFERENCE = "lineageos.intent.action.REFRESH_PREFERENCE"; |
| 524 | field public static final java.lang.String ACTION_UPDATE_PREFERENCE = "lineageos.intent.action.UPDATE_PREFERENCE"; |
| 525 | field public static final java.lang.String EXTRA_ENABLED = ":lineage:pref_enabled"; |
| 526 | field public static final java.lang.String EXTRA_KEY = ":lineage:pref_key"; |
| 527 | field public static final java.lang.String EXTRA_SUMMARY = ":lineage:pref_summary"; |
| 528 | field public static final java.lang.String META_REMOTE_KEY = "org.lineageos.settings.summary.key"; |
| 529 | field public static final java.lang.String META_REMOTE_RECEIVER = "org.lineageos.settings.summary.receiver"; |
Steve Kondik | 3805419 | 2016-10-14 21:24:54 -0700 | [diff] [blame] | 530 | field protected final android.content.Context mContext; |
| 531 | } |
| 532 | |
| 533 | public class RemotePreferenceUpdater extends android.content.BroadcastReceiver { |
| 534 | ctor public RemotePreferenceUpdater(); |
| 535 | method protected boolean fillResultExtras(android.content.Context, java.lang.String, android.os.Bundle); |
| 536 | method protected java.lang.String getSummary(android.content.Context, java.lang.String); |
| 537 | method public static void notifyChanged(android.content.Context, java.lang.String); |
| 538 | method public void onReceive(android.content.Context, android.content.Intent); |
| 539 | } |
| 540 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 541 | public class SecureSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference { |
Steve Kondik | 78079ea | 2016-10-11 08:16:38 -0700 | [diff] [blame] | 542 | ctor public SecureSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int); |
| 543 | ctor public SecureSettingSwitchPreference(android.content.Context, android.util.AttributeSet); |
| 544 | ctor public SecureSettingSwitchPreference(android.content.Context); |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 545 | } |
| 546 | |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 547 | public class SelfRemovingDropDownPreference extends android.support.v7.preference.DropDownPreference { |
Danny Baumann | e01237e | 2016-11-02 13:10:00 +0100 | [diff] [blame] | 548 | ctor public SelfRemovingDropDownPreference(android.content.Context, android.util.AttributeSet, int); |
| 549 | ctor public SelfRemovingDropDownPreference(android.content.Context, android.util.AttributeSet); |
| 550 | ctor public SelfRemovingDropDownPreference(android.content.Context); |
| 551 | method public boolean isAvailable(); |
Danny Baumann | e01237e | 2016-11-02 13:10:00 +0100 | [diff] [blame] | 552 | method public void setAvailable(boolean); |
| 553 | } |
| 554 | |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 555 | public class SelfRemovingListPreference extends android.support.v7.preference.ListPreference { |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 556 | ctor public SelfRemovingListPreference(android.content.Context, android.util.AttributeSet, int); |
| 557 | ctor public SelfRemovingListPreference(android.content.Context, android.util.AttributeSet); |
| 558 | ctor public SelfRemovingListPreference(android.content.Context); |
Steve Kondik | 78079ea | 2016-10-11 08:16:38 -0700 | [diff] [blame] | 559 | method public boolean isAvailable(); |
Steve Kondik | 78079ea | 2016-10-11 08:16:38 -0700 | [diff] [blame] | 560 | method public void setAvailable(boolean); |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 561 | } |
| 562 | |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 563 | public class SelfRemovingPreference extends android.support.v7.preference.Preference { |
Steve Kondik | 78079ea | 2016-10-11 08:16:38 -0700 | [diff] [blame] | 564 | ctor public SelfRemovingPreference(android.content.Context, android.util.AttributeSet, int, int); |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 565 | ctor public SelfRemovingPreference(android.content.Context, android.util.AttributeSet, int); |
| 566 | ctor public SelfRemovingPreference(android.content.Context, android.util.AttributeSet); |
| 567 | ctor public SelfRemovingPreference(android.content.Context); |
Steve Kondik | 78079ea | 2016-10-11 08:16:38 -0700 | [diff] [blame] | 568 | method public boolean isAvailable(); |
Steve Kondik | 78079ea | 2016-10-11 08:16:38 -0700 | [diff] [blame] | 569 | method public void setAvailable(boolean); |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 570 | } |
| 571 | |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 572 | public class SelfRemovingSwitchPreference extends android.support.v14.preference.SwitchPreference { |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 573 | ctor public SelfRemovingSwitchPreference(android.content.Context, android.util.AttributeSet, int); |
| 574 | ctor public SelfRemovingSwitchPreference(android.content.Context, android.util.AttributeSet); |
| 575 | ctor public SelfRemovingSwitchPreference(android.content.Context); |
Steve Kondik | 78079ea | 2016-10-11 08:16:38 -0700 | [diff] [blame] | 576 | method public boolean isAvailable(); |
Steve Kondik | 78079ea | 2016-10-11 08:16:38 -0700 | [diff] [blame] | 577 | method public void setAvailable(boolean); |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 578 | } |
| 579 | |
Steve Kondik | 0dae635 | 2016-10-11 08:17:18 -0700 | [diff] [blame] | 580 | public class SettingsHelper { |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 581 | method public static synchronized lineageos.preference.SettingsHelper get(android.content.Context); |
Steve Kondik | 0dae635 | 2016-10-11 08:17:18 -0700 | [diff] [blame] | 582 | method public boolean getBoolean(android.net.Uri, boolean); |
| 583 | method public int getInt(android.net.Uri, int); |
| 584 | method public java.lang.String getString(android.net.Uri); |
| 585 | method public void putBoolean(android.net.Uri, boolean); |
| 586 | method public void putInt(android.net.Uri, int); |
| 587 | method public void putString(android.net.Uri, java.lang.String); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 588 | method public void startWatching(lineageos.preference.SettingsHelper.OnSettingsChangeListener, android.net.Uri...); |
| 589 | method public void stopWatching(lineageos.preference.SettingsHelper.OnSettingsChangeListener); |
Steve Kondik | 0dae635 | 2016-10-11 08:17:18 -0700 | [diff] [blame] | 590 | } |
| 591 | |
| 592 | public static abstract interface SettingsHelper.OnSettingsChangeListener { |
| 593 | method public abstract void onSettingsChanged(android.net.Uri); |
| 594 | } |
| 595 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 596 | public class SystemSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference { |
Steve Kondik | 7be730b | 2016-09-08 13:39:43 -0700 | [diff] [blame] | 597 | ctor public SystemSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int); |
| 598 | ctor public SystemSettingSwitchPreference(android.content.Context, android.util.AttributeSet); |
| 599 | ctor public SystemSettingSwitchPreference(android.content.Context); |
Steve Kondik | 7be730b | 2016-09-08 13:39:43 -0700 | [diff] [blame] | 600 | } |
| 601 | |
| 602 | } |
| 603 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 604 | package lineageos.profiles { |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 605 | |
| 606 | public final class AirplaneModeSettings implements android.os.Parcelable { |
| 607 | ctor public AirplaneModeSettings(android.os.Parcel); |
| 608 | ctor public AirplaneModeSettings(); |
| 609 | ctor public AirplaneModeSettings(int, boolean); |
| 610 | method public int describeContents(); |
| 611 | method public int getValue(); |
| 612 | method public boolean isOverride(); |
| 613 | method public void setOverride(boolean); |
| 614 | method public void setValue(int); |
| 615 | method public void writeToParcel(android.os.Parcel, int); |
| 616 | } |
| 617 | |
| 618 | public static class AirplaneModeSettings.BooleanState { |
| 619 | ctor public AirplaneModeSettings.BooleanState(); |
| 620 | field public static final int STATE_DISALED = 0; // 0x0 |
| 621 | field public static final int STATE_ENABLED = 1; // 0x1 |
| 622 | } |
| 623 | |
| 624 | public final class BrightnessSettings implements android.os.Parcelable { |
| 625 | ctor public BrightnessSettings(android.os.Parcel); |
| 626 | ctor public BrightnessSettings(); |
| 627 | ctor public BrightnessSettings(int, boolean); |
| 628 | method public int describeContents(); |
| 629 | method public int getValue(); |
| 630 | method public boolean isOverride(); |
| 631 | method public void setOverride(boolean); |
| 632 | method public void setValue(int); |
| 633 | method public void writeToParcel(android.os.Parcel, int); |
| 634 | } |
| 635 | |
| 636 | public final class ConnectionSettings implements android.os.Parcelable { |
| 637 | ctor public ConnectionSettings(android.os.Parcel); |
| 638 | ctor public ConnectionSettings(int); |
| 639 | ctor public ConnectionSettings(int, int, boolean); |
| 640 | method public int describeContents(); |
| 641 | method public int getConnectionId(); |
Roman Birg | c46e0ff | 2016-02-10 18:59:16 -0800 | [diff] [blame] | 642 | method public int getSubId(); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 643 | method public int getValue(); |
| 644 | method public boolean isOverride(); |
| 645 | method public void setOverride(boolean); |
Roman Birg | c46e0ff | 2016-02-10 18:59:16 -0800 | [diff] [blame] | 646 | method public void setSubId(int); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 647 | method public void setValue(int); |
| 648 | method public void writeToParcel(android.os.Parcel, int); |
| 649 | field public static final int PROFILE_CONNECTION_2G3G4G = 9; // 0x9 |
| 650 | field public static final int PROFILE_CONNECTION_BLUETOOTH = 7; // 0x7 |
| 651 | field public static final int PROFILE_CONNECTION_GPS = 4; // 0x4 |
| 652 | field public static final int PROFILE_CONNECTION_MOBILEDATA = 0; // 0x0 |
| 653 | field public static final int PROFILE_CONNECTION_NFC = 8; // 0x8 |
| 654 | field public static final int PROFILE_CONNECTION_SYNC = 5; // 0x5 |
| 655 | field public static final int PROFILE_CONNECTION_WIFI = 1; // 0x1 |
| 656 | field public static final int PROFILE_CONNECTION_WIFIAP = 2; // 0x2 |
Steve Kondik | 6f2edde | 2016-08-29 00:49:38 -0700 | [diff] [blame] | 657 | field public static final deprecated int PROFILE_CONNECTION_WIMAX = 3; // 0x3 |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 658 | } |
| 659 | |
| 660 | public static class ConnectionSettings.BooleanState { |
| 661 | ctor public ConnectionSettings.BooleanState(); |
| 662 | field public static final int STATE_DISALED = 0; // 0x0 |
| 663 | field public static final int STATE_ENABLED = 1; // 0x1 |
| 664 | } |
| 665 | |
Adnan Begovic | 6b7fd5f | 2015-07-31 13:47:25 -0700 | [diff] [blame] | 666 | public final class LockSettings implements android.os.Parcelable { |
| 667 | ctor public LockSettings(android.os.Parcel); |
| 668 | ctor public LockSettings(); |
| 669 | ctor public LockSettings(int); |
| 670 | method public int describeContents(); |
| 671 | method public int getValue(); |
| 672 | method public void setValue(int); |
| 673 | method public void writeToParcel(android.os.Parcel, int); |
| 674 | } |
| 675 | |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 676 | public final class RingModeSettings implements android.os.Parcelable { |
| 677 | ctor public RingModeSettings(android.os.Parcel); |
| 678 | ctor public RingModeSettings(); |
| 679 | ctor public RingModeSettings(java.lang.String, boolean); |
| 680 | method public int describeContents(); |
| 681 | method public java.lang.String getValue(); |
| 682 | method public boolean isOverride(); |
| 683 | method public void setOverride(boolean); |
| 684 | method public void setValue(java.lang.String); |
| 685 | method public void writeToParcel(android.os.Parcel, int); |
| 686 | field public static final java.lang.String RING_MODE_MUTE = "mute"; |
| 687 | field public static final java.lang.String RING_MODE_NORMAL = "normal"; |
| 688 | field public static final java.lang.String RING_MODE_VIBRATE = "vibrate"; |
| 689 | } |
| 690 | |
| 691 | public final class StreamSettings implements android.os.Parcelable { |
| 692 | ctor public StreamSettings(android.os.Parcel); |
| 693 | ctor public StreamSettings(int); |
| 694 | ctor public StreamSettings(int, int, boolean); |
| 695 | method public int describeContents(); |
| 696 | method public int getStreamId(); |
| 697 | method public int getValue(); |
| 698 | method public boolean isOverride(); |
| 699 | method public void setOverride(boolean); |
| 700 | method public void setValue(int); |
| 701 | method public void writeToParcel(android.os.Parcel, int); |
| 702 | } |
| 703 | |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 704 | } |
| 705 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 706 | package lineageos.providers { |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 707 | |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 708 | public final class DataUsageContract { |
| 709 | ctor public DataUsageContract(); |
| 710 | field public static final java.lang.String ACTIVE = "active"; |
| 711 | field public static final android.net.Uri BASE_CONTENT_URI; |
| 712 | field public static final java.lang.String BYTES = "bytes"; |
| 713 | field public static final int COLUMN_OF_ACTIVE = 3; // 0x3 |
| 714 | field public static final int COLUMN_OF_BYTES = 5; // 0x5 |
| 715 | field public static final int COLUMN_OF_ENABLE = 2; // 0x2 |
| 716 | field public static final int COLUMN_OF_EXTRA = 10; // 0xa |
| 717 | field public static final int COLUMN_OF_FAST_AVG = 8; // 0x8 |
| 718 | field public static final int COLUMN_OF_FAST_SAMPLES = 9; // 0x9 |
| 719 | field public static final int COLUMN_OF_ID = 0; // 0x0 |
| 720 | field public static final int COLUMN_OF_LABEL = 4; // 0x4 |
| 721 | field public static final int COLUMN_OF_SLOW_AVG = 6; // 0x6 |
| 722 | field public static final int COLUMN_OF_SLOW_SAMPLES = 7; // 0x7 |
| 723 | field public static final int COLUMN_OF_UID = 1; // 0x1 |
| 724 | field public static final java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.itemdatausage_item"; |
| 725 | field public static final java.lang.String CONTENT_TYPE = "vnd.android.cursor.dirdatausage_item"; |
| 726 | field public static final android.net.Uri CONTENT_URI; |
| 727 | field public static final java.lang.String DATAUSAGE_AUTHORITY = "org.lineageos.providers.datausage"; |
| 728 | field public static final java.lang.String DATAUSAGE_TABLE = "datausage"; |
| 729 | field public static final java.lang.String ENABLE = "enable"; |
| 730 | field public static final java.lang.String EXTRA = "extra"; |
| 731 | field public static final java.lang.String FAST_AVG = "fast_avg"; |
| 732 | field public static final java.lang.String FAST_SAMPLES = "fast_samples"; |
| 733 | field public static final java.lang.String LABEL = "label"; |
| 734 | field public static final java.lang.String[] PROJECTION_ALL; |
| 735 | field public static final java.lang.String SLOW_AVG = "slow_avg"; |
| 736 | field public static final java.lang.String SLOW_SAMPLES = "slow_samples"; |
| 737 | field public static final java.lang.String UID = "uid"; |
| 738 | field public static final java.lang.String _ID = "_id"; |
| 739 | } |
| 740 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 741 | public final class LineageSettings { |
| 742 | ctor public LineageSettings(); |
| 743 | field public static final java.lang.String ACTION_DATA_USAGE = "lineageos.settings.ACTION_DATA_USAGE"; |
| 744 | field public static final java.lang.String ACTION_LIVEDISPLAY_SETTINGS = "lineageos.settings.LIVEDISPLAY_SETTINGS"; |
Luca Stefani | 5596210 | 2018-07-02 10:10:34 +0200 | [diff] [blame] | 745 | field public static final java.lang.String ACTION_TRUST_INTERFACE = "lineageos.settings.TRUST_INTERFACE"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 746 | field public static final java.lang.String AUTHORITY = "lineagesettings"; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 747 | } |
| 748 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 749 | public static final class LineageSettings.Global extends android.provider.Settings.NameValueTable { |
| 750 | ctor public LineageSettings.Global(); |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 751 | method public static float getFloat(android.content.ContentResolver, java.lang.String, float); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 752 | method public static float getFloat(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 753 | method public static int getInt(android.content.ContentResolver, java.lang.String, int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 754 | method public static int getInt(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 755 | method public static long getLong(android.content.ContentResolver, java.lang.String, long); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 756 | method public static long getLong(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 757 | method public static java.lang.String getString(android.content.ContentResolver, java.lang.String); |
Joey | a37b3cd | 2018-07-05 21:18:18 +0200 | [diff] [blame^] | 758 | method public static java.lang.String getString(android.content.ContentResolver, java.lang.String, java.lang.String); |
Roman Birg | d29499d | 2015-12-23 09:32:13 -0800 | [diff] [blame] | 759 | method public static android.net.Uri getUriFor(java.lang.String); |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 760 | method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float); |
| 761 | method public static boolean putInt(android.content.ContentResolver, java.lang.String, int); |
| 762 | method public static boolean putLong(android.content.ContentResolver, java.lang.String, long); |
| 763 | method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String); |
| 764 | field public static final android.net.Uri CONTENT_URI; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 765 | field public static final java.lang.String SYS_PROP_LINEAGE_SETTING_VERSION = "sys.lineage_settings_global_version"; |
Luis Vidal | ed4d063 | 2016-04-12 21:01:39 -0700 | [diff] [blame] | 766 | field public static final java.lang.String WEATHER_TEMPERATURE_UNIT = "weather_temperature_unit"; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 767 | } |
| 768 | |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 769 | public static class LineageSettings.LineageSettingNotFoundException extends android.util.AndroidException { |
| 770 | ctor public LineageSettings.LineageSettingNotFoundException(java.lang.String); |
| 771 | } |
| 772 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 773 | public static final class LineageSettings.Secure extends android.provider.Settings.NameValueTable { |
| 774 | ctor public LineageSettings.Secure(); |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 775 | method public static float getFloat(android.content.ContentResolver, java.lang.String, float); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 776 | method public static float getFloat(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 777 | method public static int getInt(android.content.ContentResolver, java.lang.String, int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 778 | method public static int getInt(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 779 | method public static long getLong(android.content.ContentResolver, java.lang.String, long); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 780 | method public static long getLong(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 781 | method public static java.lang.String getString(android.content.ContentResolver, java.lang.String); |
Joey | a37b3cd | 2018-07-05 21:18:18 +0200 | [diff] [blame^] | 782 | method public static java.lang.String getString(android.content.ContentResolver, java.lang.String, java.lang.String); |
Roman Birg | d29499d | 2015-12-23 09:32:13 -0800 | [diff] [blame] | 783 | method public static android.net.Uri getUriFor(java.lang.String); |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 784 | method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float); |
| 785 | method public static boolean putInt(android.content.ContentResolver, java.lang.String, int); |
| 786 | method public static boolean putLong(android.content.ContentResolver, java.lang.String, long); |
| 787 | method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String); |
| 788 | field public static final android.net.Uri CONTENT_URI; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 789 | field public static final java.lang.String SYS_PROP_LINEAGE_SETTING_VERSION = "sys.lineage_settings_secure_version"; |
Joey | c8a06b9 | 2018-06-30 21:15:37 +0200 | [diff] [blame] | 790 | field public static final deprecated java.lang.String TRUST_NOTIFICATIONS = "trust_notifications"; |
| 791 | field public static final java.lang.String TRUST_WARNINGS = "trust_warnings"; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 792 | } |
| 793 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 794 | public static final class LineageSettings.System extends android.provider.Settings.NameValueTable { |
| 795 | ctor public LineageSettings.System(); |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 796 | method public static float getFloat(android.content.ContentResolver, java.lang.String, float); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 797 | method public static float getFloat(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 798 | method public static int getInt(android.content.ContentResolver, java.lang.String, int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 799 | method public static int getInt(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 800 | method public static long getLong(android.content.ContentResolver, java.lang.String, long); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 801 | method public static long getLong(android.content.ContentResolver, java.lang.String) throws lineageos.providers.LineageSettings.LineageSettingNotFoundException; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 802 | method public static java.lang.String getString(android.content.ContentResolver, java.lang.String); |
Joey | a37b3cd | 2018-07-05 21:18:18 +0200 | [diff] [blame^] | 803 | method public static java.lang.String getString(android.content.ContentResolver, java.lang.String, java.lang.String); |
Roman Birg | d29499d | 2015-12-23 09:32:13 -0800 | [diff] [blame] | 804 | method public static android.net.Uri getUriFor(java.lang.String); |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 805 | method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float); |
| 806 | method public static boolean putInt(android.content.ContentResolver, java.lang.String, int); |
| 807 | method public static boolean putLong(android.content.ContentResolver, java.lang.String, long); |
| 808 | 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] | 809 | field public static final java.lang.String APP_SWITCH_WAKE_SCREEN = "app_switch_wake_screen"; |
| 810 | field public static final java.lang.String ASSIST_WAKE_SCREEN = "assist_wake_screen"; |
| 811 | field public static final java.lang.String BACK_WAKE_SCREEN = "back_wake_screen"; |
Sam Mortimer | c7a8ed5 | 2017-11-21 23:26:59 -0800 | [diff] [blame] | 812 | field public static final java.lang.String BATTERY_LIGHT_BRIGHTNESS_LEVEL = "battery_light_brightness_level"; |
| 813 | field public static final java.lang.String BATTERY_LIGHT_BRIGHTNESS_LEVEL_ZEN = "battery_light_brightness_level_zen"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 814 | field public static final java.lang.String BATTERY_LIGHT_ENABLED = "battery_light_enabled"; |
| 815 | field public static final java.lang.String BATTERY_LIGHT_FULL_COLOR = "battery_light_full_color"; |
| 816 | field public static final java.lang.String BATTERY_LIGHT_LOW_COLOR = "battery_light_low_color"; |
| 817 | field public static final java.lang.String BATTERY_LIGHT_MEDIUM_COLOR = "battery_light_medium_color"; |
| 818 | field public static final java.lang.String BATTERY_LIGHT_PULSE = "battery_light_pulse"; |
Joey | 76fc3d3 | 2018-02-22 14:30:42 +0100 | [diff] [blame] | 819 | field public static final java.lang.String BERRY_CURRENT_ACCENT = "berry_current_accent"; |
Joey | a37b3cd | 2018-07-05 21:18:18 +0200 | [diff] [blame^] | 820 | field public static final java.lang.String BERRY_DARK_OVERLAY = "berry_dark_overlay"; |
Joey | 76fc3d3 | 2018-02-22 14:30:42 +0100 | [diff] [blame] | 821 | field public static final java.lang.String BERRY_GLOBAL_STYLE = "berry_global_style"; |
Joey | 5a72b57 | 2018-03-06 17:46:14 +0100 | [diff] [blame] | 822 | field public static final java.lang.String BERRY_MANAGED_BY_APP = "berry_managed_by_app"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 823 | field public static final java.lang.String BLUETOOTH_ACCEPT_ALL_FILES = "bluetooth_accept_all_files"; |
Joey | 5a72b57 | 2018-03-06 17:46:14 +0100 | [diff] [blame] | 824 | field public static final java.lang.String BUTTON_BACKLIGHT_ONLY_WHEN_PRESSED = "button_backlight_only_when_pressed"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 825 | field public static final java.lang.String CALL_RECORDING_FORMAT = "call_recording_format"; |
| 826 | field public static final java.lang.String CAMERA_LAUNCH = "camera_launch"; |
| 827 | field public static final java.lang.String CAMERA_SLEEP_ON_RELEASE = "camera_sleep_on_release"; |
| 828 | 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] | 829 | field public static final android.net.Uri CONTENT_URI; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 830 | field public static final java.lang.String DIALER_OPENCNAM_ACCOUNT_SID = "dialer_opencnam_account_sid"; |
| 831 | field public static final java.lang.String DIALER_OPENCNAM_AUTH_TOKEN = "dialer_opencnam_auth_token"; |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 832 | field public static final java.lang.String DISPLAY_AUTO_CONTRAST = "display_auto_contrast"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 833 | field public static final java.lang.String DISPLAY_AUTO_OUTDOOR_MODE = "display_auto_outdoor_mode"; |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 834 | field public static final java.lang.String DISPLAY_CABC = "display_low_power"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 835 | field public static final java.lang.String DISPLAY_COLOR_ADJUSTMENT = "display_color_adjustment"; |
| 836 | field public static final java.lang.String DISPLAY_COLOR_ENHANCE = "display_color_enhance"; |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 837 | field public static final deprecated java.lang.String DISPLAY_LOW_POWER = "display_low_power"; |
Steve Kondik | 87590f0 | 2016-07-20 11:20:02 -0700 | [diff] [blame] | 838 | field public static final java.lang.String DISPLAY_PICTURE_ADJUSTMENT = "display_picture_adjustment"; |
Luca Stefani | 5596210 | 2018-07-02 10:10:34 +0200 | [diff] [blame] | 839 | field public static final java.lang.String DISPLAY_READING_MODE = "display_reading_mode"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 840 | field public static final java.lang.String DISPLAY_TEMPERATURE_DAY = "display_temperature_day"; |
| 841 | field public static final java.lang.String DISPLAY_TEMPERATURE_MODE = "display_temperature_mode"; |
| 842 | field public static final java.lang.String DISPLAY_TEMPERATURE_NIGHT = "display_temperature_night"; |
| 843 | field public static final java.lang.String DOUBLE_TAP_SLEEP_GESTURE = "double_tap_sleep_gesture"; |
| 844 | field public static final java.lang.String ENABLE_FORWARD_LOOKUP = "enable_forward_lookup"; |
| 845 | field public static final java.lang.String ENABLE_PEOPLE_LOOKUP = "enable_people_lookup"; |
| 846 | field public static final java.lang.String ENABLE_REVERSE_LOOKUP = "enable_reverse_lookup"; |
| 847 | 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] | 848 | 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] | 849 | field public static final java.lang.String HIGH_TOUCH_SENSITIVITY_ENABLE = "high_touch_sensitivity_enable"; |
| 850 | field public static final java.lang.String HOME_WAKE_SCREEN = "home_wake_screen"; |
| 851 | field public static final java.lang.String INCREASING_RING = "increasing_ring"; |
| 852 | field public static final java.lang.String INCREASING_RING_RAMP_UP_TIME = "increasing_ring_ramp_up_time"; |
| 853 | field public static final java.lang.String INCREASING_RING_START_VOLUME = "increasing_ring_start_vol"; |
| 854 | field public static final java.lang.String KEY_APP_SWITCH_ACTION = "key_app_switch_action"; |
| 855 | field public static final java.lang.String KEY_APP_SWITCH_LONG_PRESS_ACTION = "key_app_switch_long_press_action"; |
| 856 | field public static final java.lang.String KEY_ASSIST_ACTION = "key_assist_action"; |
| 857 | field public static final java.lang.String KEY_ASSIST_LONG_PRESS_ACTION = "key_assist_long_press_action"; |
| 858 | field public static final java.lang.String KEY_HOME_DOUBLE_TAP_ACTION = "key_home_double_tap_action"; |
| 859 | field public static final java.lang.String KEY_HOME_LONG_PRESS_ACTION = "key_home_long_press_action"; |
| 860 | field public static final java.lang.String KEY_MENU_ACTION = "key_menu_action"; |
| 861 | field public static final java.lang.String KEY_MENU_LONG_PRESS_ACTION = "key_menu_long_press_action"; |
| 862 | field public static final java.lang.String LOCKSCREEN_PIN_SCRAMBLE_LAYOUT = "lockscreen_scramble_pin_layout"; |
Steve Kondik | 86cae92 | 2016-07-18 02:36:42 -0700 | [diff] [blame] | 863 | field public static final java.lang.String LOCKSCREEN_ROTATION = "lockscreen_rotation"; |
Luca Stefani | 5596210 | 2018-07-02 10:10:34 +0200 | [diff] [blame] | 864 | field public static final java.lang.String LONG_SCREEN_APPS = "long_screen_apps"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 865 | field public static final java.lang.String MENU_WAKE_SCREEN = "menu_wake_screen"; |
| 866 | field public static final java.lang.String NAVBAR_LEFT_IN_LANDSCAPE = "navigation_bar_left"; |
| 867 | field public static final java.lang.String NAVIGATION_BAR_MENU_ARROW_KEYS = "navigation_bar_menu_arrow_keys"; |
| 868 | field public static final java.lang.String NAV_BUTTONS = "nav_buttons"; |
| 869 | field public static final java.lang.String NOTIFICATION_LIGHT_BRIGHTNESS_LEVEL = "notification_light_brightness_level"; |
Sam Mortimer | c7a8ed5 | 2017-11-21 23:26:59 -0800 | [diff] [blame] | 870 | field public static final java.lang.String NOTIFICATION_LIGHT_BRIGHTNESS_LEVEL_ZEN = "notification_light_brightness_level_zen"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 871 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_COLOR = "notification_light_pulse_call_color"; |
| 872 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_LED_OFF = "notification_light_pulse_call_led_off"; |
| 873 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_LED_ON = "notification_light_pulse_call_led_on"; |
| 874 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CUSTOM_ENABLE = "notification_light_pulse_custom_enable"; |
| 875 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CUSTOM_VALUES = "notification_light_pulse_custom_values"; |
| 876 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_COLOR = "notification_light_pulse_default_color"; |
| 877 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_OFF = "notification_light_pulse_default_led_off"; |
| 878 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_ON = "notification_light_pulse_default_led_on"; |
| 879 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_COLOR = "notification_light_pulse_vmail_color"; |
| 880 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_LED_OFF = "notification_light_pulse_vmail_led_off"; |
| 881 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_LED_ON = "notification_light_pulse_vmail_led_on"; |
| 882 | field public static final java.lang.String NOTIFICATION_LIGHT_SCREEN_ON = "notification_light_screen_on_enable"; |
| 883 | field public static final java.lang.String NOTIFICATION_PLAY_QUEUE = "notification_play_queue"; |
| 884 | field public static final java.lang.String PEOPLE_LOOKUP_PROVIDER = "people_lookup_provider"; |
| 885 | field public static final java.lang.String PROXIMITY_ON_WAKE = "proximity_on_wake"; |
| 886 | field public static final java.lang.String QS_SHOW_BRIGHTNESS_SLIDER = "qs_show_brightness_slider"; |
| 887 | field public static final java.lang.String RECENTS_SHOW_SEARCH_BAR = "recents_show_search_bar"; |
| 888 | field public static final java.lang.String REVERSE_LOOKUP_PROVIDER = "reverse_lookup_provider"; |
| 889 | field public static final java.lang.String SHOW_ALARM_ICON = "show_alarm_icon"; |
| 890 | field public static final java.lang.String STATUS_BAR_AM_PM = "status_bar_am_pm"; |
| 891 | field public static final java.lang.String STATUS_BAR_BATTERY_STYLE = "status_bar_battery_style"; |
| 892 | field public static final java.lang.String STATUS_BAR_BRIGHTNESS_CONTROL = "status_bar_brightness_control"; |
| 893 | field public static final java.lang.String STATUS_BAR_CLOCK = "status_bar_clock"; |
| 894 | field public static final java.lang.String STATUS_BAR_IME_SWITCHER = "status_bar_ime_switcher"; |
| 895 | field public static final java.lang.String STATUS_BAR_NOTIF_COUNT = "status_bar_notif_count"; |
| 896 | field public static final java.lang.String STATUS_BAR_QUICK_QS_PULLDOWN = "qs_quick_pulldown"; |
| 897 | field public static final java.lang.String STATUS_BAR_SHOW_BATTERY_PERCENT = "status_bar_show_battery_percent"; |
| 898 | field public static final java.lang.String STATUS_BAR_SHOW_WEATHER = "status_bar_show_weather"; |
Zhao Wei Liew | 33fc2d4 | 2016-10-09 09:43:44 +0800 | [diff] [blame] | 899 | field public static final java.lang.String STYLUS_ICON_ENABLED = "stylus_icon_enabled"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 900 | field public static final java.lang.String SWAP_VOLUME_KEYS_ON_ROTATION = "swap_volume_keys_on_rotation"; |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 901 | field public static final java.lang.String SYSTEMUI_BURNIN_PROTECTION = "systemui_burnin_protection"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 902 | field public static final java.lang.String SYSTEM_PROFILES_ENABLED = "system_profiles_enabled"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 903 | field public static final java.lang.String SYS_PROP_LINEAGE_SETTING_VERSION = "sys.lineage_settings_system_version"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 904 | field public static final java.lang.String T9_SEARCH_INPUT_LOCALE = "t9_search_input_locale"; |
Zhao Wei Liew | 9526453 | 2016-11-19 23:24:44 +0800 | [diff] [blame] | 905 | field public static final java.lang.String TORCH_LONG_PRESS_POWER_GESTURE = "torch_long_press_power_gesture"; |
Sam Mortimer | bdea7f5 | 2016-12-24 13:06:05 -0800 | [diff] [blame] | 906 | field public static final java.lang.String TORCH_LONG_PRESS_POWER_TIMEOUT = "torch_long_press_power_timeout"; |
Michael Bestas | 73fafc1 | 2016-02-20 01:01:34 +0200 | [diff] [blame] | 907 | 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] | 908 | field public static final java.lang.String USE_EDGE_SERVICE_FOR_GESTURES = "edge_service_for_gestures"; |
| 909 | field public static final java.lang.String VOLBTN_MUSIC_CONTROLS = "volbtn_music_controls"; |
| 910 | field public static final java.lang.String VOLUME_ADJUST_SOUNDS_ENABLED = "volume_adjust_sounds_enabled"; |
Zhao Wei Liew | 77b34c3 | 2016-11-20 21:55:10 +0800 | [diff] [blame] | 911 | field public static final java.lang.String VOLUME_ANSWER_CALL = "volume_answer_call"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 912 | field public static final java.lang.String VOLUME_KEYS_CONTROL_RING_STREAM = "volume_keys_control_ring_stream"; |
| 913 | field public static final java.lang.String VOLUME_WAKE_SCREEN = "volume_wake_screen"; |
niks255 | 783463c | 2016-01-29 12:13:00 +0300 | [diff] [blame] | 914 | field public static final java.lang.String ZEN_ALLOW_LIGHTS = "allow_lights"; |
| 915 | 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] | 916 | } |
| 917 | |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 918 | public class WeatherContract { |
| 919 | ctor public WeatherContract(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 920 | field public static final java.lang.String AUTHORITY = "org.lineageos.weather"; |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 921 | field public static final android.net.Uri AUTHORITY_URI; |
| 922 | } |
| 923 | |
| 924 | public static class WeatherContract.WeatherColumns { |
| 925 | ctor public WeatherContract.WeatherColumns(); |
| 926 | field public static final android.net.Uri CONTENT_URI; |
| 927 | field public static final android.net.Uri CURRENT_AND_FORECAST_WEATHER_URI; |
| 928 | field public static final java.lang.String CURRENT_CITY = "city"; |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 929 | field public static final java.lang.String CURRENT_CONDITION = "condition"; |
| 930 | field public static final java.lang.String CURRENT_CONDITION_CODE = "condition_code"; |
| 931 | field public static final java.lang.String CURRENT_HUMIDITY = "humidity"; |
| 932 | field public static final java.lang.String CURRENT_TEMPERATURE = "temperature"; |
| 933 | field public static final java.lang.String CURRENT_TEMPERATURE_UNIT = "temperature_unit"; |
| 934 | field public static final java.lang.String CURRENT_TIMESTAMP = "timestamp"; |
| 935 | field public static final android.net.Uri CURRENT_WEATHER_URI; |
| 936 | field public static final java.lang.String CURRENT_WIND_DIRECTION = "wind_direction"; |
| 937 | field public static final java.lang.String CURRENT_WIND_SPEED = "wind_speed"; |
| 938 | field public static final java.lang.String CURRENT_WIND_SPEED_UNIT = "wind_speed_unit"; |
| 939 | field public static final java.lang.String FORECAST_CONDITION = "forecast_condition"; |
| 940 | field public static final java.lang.String FORECAST_CONDITION_CODE = "forecast_condition_code"; |
| 941 | field public static final java.lang.String FORECAST_HIGH = "forecast_high"; |
| 942 | field public static final java.lang.String FORECAST_LOW = "forecast_low"; |
| 943 | field public static final android.net.Uri FORECAST_WEATHER_URI; |
Luis Vidal | baaf4a1 | 2016-04-06 18:54:27 -0700 | [diff] [blame] | 944 | field public static final java.lang.String TODAYS_HIGH_TEMPERATURE = "todays_high"; |
| 945 | field public static final java.lang.String TODAYS_LOW_TEMPERATURE = "todays_low"; |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 946 | } |
| 947 | |
| 948 | public static final class WeatherContract.WeatherColumns.TempUnit { |
| 949 | field public static final int CELSIUS = 1; // 0x1 |
| 950 | field public static final int FAHRENHEIT = 2; // 0x2 |
| 951 | } |
| 952 | |
| 953 | public static final class WeatherContract.WeatherColumns.WeatherCode { |
| 954 | field public static final int BLOWING_SNOW = 14; // 0xe |
| 955 | field public static final int BLUSTERY = 22; // 0x16 |
| 956 | field public static final int CLEAR_NIGHT = 30; // 0x1e |
| 957 | field public static final int CLOUDY = 25; // 0x19 |
| 958 | field public static final int COLD = 24; // 0x18 |
| 959 | field public static final int DRIZZLE = 9; // 0x9 |
| 960 | field public static final int DUST = 18; // 0x12 |
| 961 | field public static final int FAIR_DAY = 33; // 0x21 |
| 962 | field public static final int FAIR_NIGHT = 32; // 0x20 |
| 963 | field public static final int FOGGY = 19; // 0x13 |
| 964 | field public static final int FREEZING_DRIZZLE = 8; // 0x8 |
| 965 | field public static final int FREEZING_RAIN = 10; // 0xa |
| 966 | field public static final int HAIL = 16; // 0x10 |
| 967 | field public static final int HAZE = 20; // 0x14 |
| 968 | field public static final int HEAVY_SNOW = 39; // 0x27 |
| 969 | field public static final int HOT = 35; // 0x23 |
| 970 | field public static final int HURRICANE = 2; // 0x2 |
| 971 | field public static final int ISOLATED_THUNDERSHOWERS = 44; // 0x2c |
| 972 | field public static final int ISOLATED_THUNDERSTORMS = 36; // 0x24 |
| 973 | field public static final int LIGHT_SNOW_SHOWERS = 13; // 0xd |
| 974 | field public static final int MIXED_RAIN_AND_HAIL = 34; // 0x22 |
| 975 | field public static final int MIXED_RAIN_AND_SLEET = 6; // 0x6 |
| 976 | field public static final int MIXED_RAIN_AND_SNOW = 5; // 0x5 |
| 977 | field public static final int MIXED_SNOW_AND_SLEET = 7; // 0x7 |
| 978 | field public static final int MOSTLY_CLOUDY_DAY = 27; // 0x1b |
| 979 | field public static final int MOSTLY_CLOUDY_NIGHT = 26; // 0x1a |
| 980 | field public static final int NOT_AVAILABLE = 3200; // 0xc80 |
| 981 | field public static final int PARTLY_CLOUDY = 41; // 0x29 |
| 982 | field public static final int PARTLY_CLOUDY_DAY = 29; // 0x1d |
| 983 | field public static final int PARTLY_CLOUDY_NIGHT = 28; // 0x1c |
| 984 | field public static final int SCATTERED_SHOWERS = 38; // 0x26 |
| 985 | field public static final int SCATTERED_SNOW_SHOWERS = 40; // 0x28 |
| 986 | field public static final int SCATTERED_THUNDERSTORMS = 37; // 0x25 |
| 987 | field public static final int SEVERE_THUNDERSTORMS = 3; // 0x3 |
| 988 | field public static final int SHOWERS = 11; // 0xb |
| 989 | field public static final int SLEET = 17; // 0x11 |
| 990 | field public static final int SMOKY = 21; // 0x15 |
| 991 | field public static final int SNOW = 15; // 0xf |
| 992 | field public static final int SNOW_FLURRIES = 12; // 0xc |
| 993 | field public static final int SNOW_SHOWERS = 43; // 0x2b |
| 994 | field public static final int SUNNY = 31; // 0x1f |
| 995 | field public static final int THUNDERSHOWER = 42; // 0x2a |
| 996 | field public static final int THUNDERSTORMS = 4; // 0x4 |
| 997 | field public static final int TORNADO = 0; // 0x0 |
| 998 | field public static final int TROPICAL_STORM = 1; // 0x1 |
| 999 | field public static final int WINDY = 23; // 0x17 |
| 1000 | } |
| 1001 | |
| 1002 | public static final class WeatherContract.WeatherColumns.WindSpeedUnit { |
| 1003 | field public static final int KPH = 1; // 0x1 |
| 1004 | field public static final int MPH = 2; // 0x2 |
| 1005 | } |
| 1006 | |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 1007 | } |
| 1008 | |
Joey | 76fc3d3 | 2018-02-22 14:30:42 +0100 | [diff] [blame] | 1009 | package lineageos.style { |
| 1010 | |
| 1011 | public class StyleInterface { |
Joey | 5a72b57 | 2018-03-06 17:46:14 +0100 | [diff] [blame] | 1012 | method public java.lang.String getAccent(); |
| 1013 | method public int getGlobalStyle(); |
Joey | 76fc3d3 | 2018-02-22 14:30:42 +0100 | [diff] [blame] | 1014 | method public static lineageos.style.StyleInterface getInstance(android.content.Context); |
| 1015 | method public lineageos.style.Suggestion getSuggestion(android.graphics.Bitmap, int[]); |
Joey | 5a72b57 | 2018-03-06 17:46:14 +0100 | [diff] [blame] | 1016 | method public java.util.List<java.lang.String> getTrustedAccents(); |
Joey | a37b3cd | 2018-07-05 21:18:18 +0200 | [diff] [blame^] | 1017 | method public boolean isDarkNow(); |
Joey | 76fc3d3 | 2018-02-22 14:30:42 +0100 | [diff] [blame] | 1018 | method public boolean setAccent(java.lang.String); |
Joey | 5a72b57 | 2018-03-06 17:46:14 +0100 | [diff] [blame] | 1019 | method public boolean setGlobalStyle(int, java.lang.String); |
Joey | 76fc3d3 | 2018-02-22 14:30:42 +0100 | [diff] [blame] | 1020 | field public static final java.lang.String ACCENT_DEFAULT = "lineageos"; |
| 1021 | field public static final java.lang.String CHANGE_STYLE_SETTINGS_PERMISSION = "lineageos.permission.CHANGE_STYLE"; |
| 1022 | field public static final int STYLE_GLOBAL_AUTO_DAYTIME = 1; // 0x1 |
| 1023 | field public static final int STYLE_GLOBAL_AUTO_WALLPAPER = 0; // 0x0 |
| 1024 | field public static final int STYLE_GLOBAL_DARK = 3; // 0x3 |
| 1025 | field public static final int STYLE_GLOBAL_LIGHT = 2; // 0x2 |
| 1026 | } |
| 1027 | |
| 1028 | public class Suggestion implements android.os.Parcelable { |
| 1029 | ctor public Suggestion(int, int); |
| 1030 | method public int describeContents(); |
| 1031 | method public void writeToParcel(android.os.Parcel, int); |
| 1032 | field public final int globalStyle; |
| 1033 | field public final int selectedAccent; |
| 1034 | } |
| 1035 | |
| 1036 | } |
| 1037 | |
Joey | c0b21ca | 2018-04-03 15:42:18 +0200 | [diff] [blame] | 1038 | package lineageos.trust { |
| 1039 | |
| 1040 | public class TrustInterface { |
| 1041 | method public static lineageos.trust.TrustInterface getInstance(android.content.Context); |
| 1042 | method public int getLevelForFeature(int); |
| 1043 | method public boolean postNotificationForFeature(int); |
| 1044 | method public boolean removeNotificationForFeature(int); |
| 1045 | field public static final int ERROR_UNDEFINED = -1; // 0xffffffff |
| 1046 | field public static final int TRUST_FEATURE_ENCRYPTION = 4; // 0x4 |
Tobias Tefke | fa05f27 | 2018-06-14 12:04:36 +0200 | [diff] [blame] | 1047 | field public static final int TRUST_FEATURE_KEYS = 5; // 0x5 |
Joey | c0b21ca | 2018-04-03 15:42:18 +0200 | [diff] [blame] | 1048 | field public static final int TRUST_FEATURE_LEVEL_BAD = 2; // 0x2 |
| 1049 | field public static final int TRUST_FEATURE_LEVEL_GOOD = 0; // 0x0 |
| 1050 | field public static final int TRUST_FEATURE_LEVEL_POOR = 1; // 0x1 |
| 1051 | field public static final int TRUST_FEATURE_PLATFORM_SECURITY_PATCH = 2; // 0x2 |
| 1052 | field public static final int TRUST_FEATURE_ROOT = 1; // 0x1 |
| 1053 | field public static final int TRUST_FEATURE_SELINUX = 0; // 0x0 |
| 1054 | field public static final int TRUST_FEATURE_VENDOR_SECURITY_PATCH = 3; // 0x3 |
| 1055 | field public static final java.lang.String TRUST_INTERFACE_PERMISSION = "lineageos.permission.TRUST_INTERFACE"; |
Joey | c8a06b9 | 2018-06-30 21:15:37 +0200 | [diff] [blame] | 1056 | field public static final int TRUST_WARN_PUBLIC_KEY = 4; // 0x4 |
| 1057 | field public static final int TRUST_WARN_ROOT = 2; // 0x2 |
| 1058 | field public static final int TRUST_WARN_SELINUX = 1; // 0x1 |
Joey | c0b21ca | 2018-04-03 15:42:18 +0200 | [diff] [blame] | 1059 | } |
| 1060 | |
| 1061 | } |
| 1062 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1063 | package lineageos.util { |
Steve Kondik | 567b430 | 2016-02-27 12:04:03 +0100 | [diff] [blame] | 1064 | |
| 1065 | public class ColorUtils { |
| 1066 | ctor public ColorUtils(); |
| 1067 | method public static double calculateDeltaE(double, double, double, double, double, double); |
| 1068 | method public static float[] convertRGBtoLAB(int); |
| 1069 | method public static int dropAlpha(int); |
| 1070 | method public static int findPerceptuallyNearestColor(int, int[]); |
| 1071 | method public static int findPerceptuallyNearestSolidColor(int); |
| 1072 | method public static int generateAlertColorFromDrawable(android.graphics.drawable.Drawable); |
Steve Kondik | 987ecb3 | 2016-08-29 00:27:00 -0700 | [diff] [blame] | 1073 | method public static lineageos.util.palette.Palette.Swatch getDominantSwatch(lineageos.util.palette.Palette); |
Steve Kondik | 567b430 | 2016-02-27 12:04:03 +0100 | [diff] [blame] | 1074 | method public static float[] temperatureToRGB(int); |
| 1075 | } |
| 1076 | |
| 1077 | } |
| 1078 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1079 | package lineageos.weather { |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1080 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1081 | public class LineageWeatherManager { |
Luis Vidal | ad0d8c5 | 2016-04-12 18:24:27 -0700 | [diff] [blame] | 1082 | method public void cancelRequest(int); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1083 | method public java.lang.String getActiveWeatherServiceProviderLabel(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1084 | method public static lineageos.weather.LineageWeatherManager getInstance(android.content.Context); |
| 1085 | method public int lookupCity(java.lang.String, lineageos.weather.LineageWeatherManager.LookupCityRequestListener); |
| 1086 | method public void registerWeatherServiceProviderChangeListener(lineageos.weather.LineageWeatherManager.WeatherServiceProviderChangeListener); |
| 1087 | method public int requestWeatherUpdate(android.location.Location, lineageos.weather.LineageWeatherManager.WeatherUpdateRequestListener); |
| 1088 | method public int requestWeatherUpdate(lineageos.weather.WeatherLocation, lineageos.weather.LineageWeatherManager.WeatherUpdateRequestListener); |
| 1089 | method public void unregisterWeatherServiceProviderChangeListener(lineageos.weather.LineageWeatherManager.WeatherServiceProviderChangeListener); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1090 | } |
| 1091 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1092 | public static abstract interface LineageWeatherManager.LookupCityRequestListener { |
| 1093 | method public abstract void onLookupCityRequestCompleted(int, java.util.List<lineageos.weather.WeatherLocation>); |
Luis Vidal | fe1812f | 2016-04-13 01:08:11 -0700 | [diff] [blame] | 1094 | } |
| 1095 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1096 | public static final class LineageWeatherManager.RequestStatus { |
Luis Vidal | fe1812f | 2016-04-13 01:08:11 -0700 | [diff] [blame] | 1097 | field public static final int ALREADY_IN_PROGRESS = -3; // 0xfffffffd |
| 1098 | field public static final int COMPLETED = 1; // 0x1 |
| 1099 | field public static final int FAILED = -1; // 0xffffffff |
| 1100 | field public static final int NO_MATCH_FOUND = -4; // 0xfffffffc |
| 1101 | field public static final int SUBMITTED_TOO_SOON = -2; // 0xfffffffe |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1102 | } |
| 1103 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1104 | public static abstract interface LineageWeatherManager.WeatherServiceProviderChangeListener { |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1105 | method public abstract void onWeatherServiceProviderChanged(java.lang.String); |
| 1106 | } |
| 1107 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1108 | public static abstract interface LineageWeatherManager.WeatherUpdateRequestListener { |
| 1109 | method public abstract void onWeatherRequestCompleted(int, lineageos.weather.WeatherInfo); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1110 | } |
| 1111 | |
| 1112 | public final class RequestInfo implements android.os.Parcelable { |
| 1113 | method public int describeContents(); |
| 1114 | method public java.lang.String getCityName(); |
| 1115 | method public android.location.Location getLocation(); |
| 1116 | method public int getRequestType(); |
| 1117 | method public int getTemperatureUnit(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1118 | method public lineageos.weather.WeatherLocation getWeatherLocation(); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1119 | method public void writeToParcel(android.os.Parcel, int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1120 | field public static final android.os.Parcelable.Creator<lineageos.weather.RequestInfo> CREATOR; |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1121 | field public static final int TYPE_LOOKUP_CITY_NAME_REQ = 3; // 0x3 |
Luis Vidal | 34bf486 | 2016-04-08 13:19:48 -0700 | [diff] [blame] | 1122 | field public static final int TYPE_WEATHER_BY_GEO_LOCATION_REQ = 1; // 0x1 |
| 1123 | field public static final int TYPE_WEATHER_BY_WEATHER_LOCATION_REQ = 2; // 0x2 |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1124 | } |
| 1125 | |
| 1126 | public final class WeatherInfo implements android.os.Parcelable { |
| 1127 | method public int describeContents(); |
| 1128 | method public java.lang.String getCity(); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1129 | method public int getConditionCode(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1130 | method public java.util.List<lineageos.weather.WeatherInfo.DayForecast> getForecasts(); |
Luis Vidal | baaf4a1 | 2016-04-06 18:54:27 -0700 | [diff] [blame] | 1131 | method public double getHumidity(); |
| 1132 | method public double getTemperature(); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1133 | method public int getTemperatureUnit(); |
| 1134 | method public long getTimestamp(); |
Luis Vidal | baaf4a1 | 2016-04-06 18:54:27 -0700 | [diff] [blame] | 1135 | method public double getTodaysHigh(); |
| 1136 | method public double getTodaysLow(); |
| 1137 | method public double getWindDirection(); |
| 1138 | method public double getWindSpeed(); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1139 | method public int getWindSpeedUnit(); |
| 1140 | method public void writeToParcel(android.os.Parcel, int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1141 | field public static final android.os.Parcelable.Creator<lineageos.weather.WeatherInfo> CREATOR; |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1142 | } |
| 1143 | |
| 1144 | public static class WeatherInfo.Builder { |
Luis Vidal | baaf4a1 | 2016-04-06 18:54:27 -0700 | [diff] [blame] | 1145 | ctor public WeatherInfo.Builder(java.lang.String, double, int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1146 | method public lineageos.weather.WeatherInfo build(); |
| 1147 | method public lineageos.weather.WeatherInfo.Builder setForecast(java.util.List<lineageos.weather.WeatherInfo.DayForecast>); |
| 1148 | method public lineageos.weather.WeatherInfo.Builder setHumidity(double); |
| 1149 | method public lineageos.weather.WeatherInfo.Builder setTimestamp(long); |
| 1150 | method public lineageos.weather.WeatherInfo.Builder setTodaysHigh(double); |
| 1151 | method public lineageos.weather.WeatherInfo.Builder setTodaysLow(double); |
| 1152 | method public lineageos.weather.WeatherInfo.Builder setWeatherCondition(int); |
| 1153 | method public lineageos.weather.WeatherInfo.Builder setWind(double, double, int); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1154 | } |
| 1155 | |
| 1156 | public static class WeatherInfo.DayForecast implements android.os.Parcelable { |
| 1157 | method public int describeContents(); |
| 1158 | method public int getConditionCode(); |
Luis Vidal | baaf4a1 | 2016-04-06 18:54:27 -0700 | [diff] [blame] | 1159 | method public double getHigh(); |
| 1160 | method public double getLow(); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1161 | method public void writeToParcel(android.os.Parcel, int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1162 | field public static final android.os.Parcelable.Creator<lineageos.weather.WeatherInfo.DayForecast> CREATOR; |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1163 | } |
| 1164 | |
| 1165 | public static class WeatherInfo.DayForecast.Builder { |
Luis Vidal | baaf4a1 | 2016-04-06 18:54:27 -0700 | [diff] [blame] | 1166 | ctor public WeatherInfo.DayForecast.Builder(int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1167 | method public lineageos.weather.WeatherInfo.DayForecast build(); |
| 1168 | method public lineageos.weather.WeatherInfo.DayForecast.Builder setHigh(double); |
| 1169 | method public lineageos.weather.WeatherInfo.DayForecast.Builder setLow(double); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1170 | } |
| 1171 | |
| 1172 | public final class WeatherLocation implements android.os.Parcelable { |
| 1173 | method public int describeContents(); |
| 1174 | method public java.lang.String getCity(); |
| 1175 | method public java.lang.String getCityId(); |
| 1176 | method public java.lang.String getCountry(); |
| 1177 | method public java.lang.String getCountryId(); |
| 1178 | method public java.lang.String getPostalCode(); |
Luis Vidal | 06d5c89 | 2016-04-06 18:07:31 -0700 | [diff] [blame] | 1179 | method public java.lang.String getState(); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1180 | method public void writeToParcel(android.os.Parcel, int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1181 | field public static final android.os.Parcelable.Creator<lineageos.weather.WeatherLocation> CREATOR; |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1182 | } |
| 1183 | |
| 1184 | public static class WeatherLocation.Builder { |
| 1185 | ctor public WeatherLocation.Builder(java.lang.String, java.lang.String); |
Luis Vidal | ad0d8c5 | 2016-04-12 18:24:27 -0700 | [diff] [blame] | 1186 | ctor public WeatherLocation.Builder(java.lang.String); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1187 | method public lineageos.weather.WeatherLocation build(); |
| 1188 | method public lineageos.weather.WeatherLocation.Builder setCountry(java.lang.String); |
| 1189 | method public lineageos.weather.WeatherLocation.Builder setCountryId(java.lang.String); |
| 1190 | method public lineageos.weather.WeatherLocation.Builder setPostalCode(java.lang.String); |
| 1191 | method public lineageos.weather.WeatherLocation.Builder setState(java.lang.String); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1192 | } |
| 1193 | |
| 1194 | } |
| 1195 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1196 | package lineageos.weatherservice { |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1197 | |
| 1198 | public final class ServiceRequest { |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1199 | method public void complete(lineageos.weatherservice.ServiceRequestResult); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1200 | method public void fail(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1201 | method public lineageos.weather.RequestInfo getRequestInfo(); |
Luis Vidal | fe1812f | 2016-04-13 01:08:11 -0700 | [diff] [blame] | 1202 | method public void reject(int); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1203 | } |
| 1204 | |
| 1205 | public final class ServiceRequestResult implements android.os.Parcelable { |
| 1206 | method public int describeContents(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1207 | method public java.util.List<lineageos.weather.WeatherLocation> getLocationLookupList(); |
| 1208 | method public lineageos.weather.WeatherInfo getWeatherInfo(); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1209 | method public void writeToParcel(android.os.Parcel, int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1210 | field public static final android.os.Parcelable.Creator<lineageos.weatherservice.ServiceRequestResult> CREATOR; |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1211 | } |
| 1212 | |
| 1213 | public static class ServiceRequestResult.Builder { |
| 1214 | ctor public ServiceRequestResult.Builder(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1215 | ctor public ServiceRequestResult.Builder(lineageos.weather.WeatherInfo); |
| 1216 | ctor public ServiceRequestResult.Builder(java.util.List<lineageos.weather.WeatherLocation>); |
| 1217 | method public lineageos.weatherservice.ServiceRequestResult build(); |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1218 | } |
| 1219 | |
| 1220 | public abstract class WeatherProviderService extends android.app.Service { |
| 1221 | ctor public WeatherProviderService(); |
| 1222 | method protected final void attachBaseContext(android.content.Context); |
| 1223 | method public final android.os.IBinder onBind(android.content.Intent); |
| 1224 | method protected void onConnected(); |
| 1225 | method protected void onDisconnected(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 1226 | method protected abstract void onRequestCancelled(lineageos.weatherservice.ServiceRequest); |
| 1227 | method protected abstract void onRequestSubmitted(lineageos.weatherservice.ServiceRequest); |
| 1228 | field public static final java.lang.String SERVICE_INTERFACE = "lineageos.weatherservice.WeatherProviderService"; |
| 1229 | field public static final java.lang.String SERVICE_META_DATA = "lineageos.weatherservice"; |
Luis Vidal | 4195a1c | 2016-03-21 11:56:40 -0700 | [diff] [blame] | 1230 | } |
| 1231 | |
| 1232 | } |
| 1233 | |