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(); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 13 | method public java.lang.String getName(); |
Adnan Begovic | cdf4d0d | 2016-02-10 18:14:35 -0800 | [diff] [blame] | 14 | method public int getNotificationLightMode(); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 15 | method public int getProfileType(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 16 | method public lineageos.profiles.RingModeSettings getRingMode(); |
| 17 | method public lineageos.profiles.LockSettings getScreenLockMode(); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 18 | method public java.util.UUID[] getSecondaryUuids(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 19 | method public lineageos.profiles.ConnectionSettings getSettingsForConnection(int); |
| 20 | method public lineageos.profiles.StreamSettings getSettingsForStream(int); |
| 21 | method public java.util.Collection<lineageos.profiles.StreamSettings> getStreamSettings(); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 22 | method public int getTriggerState(int, java.lang.String); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 23 | method public java.util.ArrayList<lineageos.app.Profile.ProfileTrigger> getTriggersFromType(int); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 24 | method public java.util.UUID getUuid(); |
| 25 | method public boolean isConditionalType(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 26 | method public void setAirplaneMode(lineageos.profiles.AirplaneModeSettings); |
| 27 | method public void setBrightness(lineageos.profiles.BrightnessSettings); |
| 28 | method public void setConnectionSettings(lineageos.profiles.ConnectionSettings); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 29 | method public void setDozeMode(int); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 30 | method public void setName(java.lang.String); |
Adnan Begovic | cdf4d0d | 2016-02-10 18:14:35 -0800 | [diff] [blame] | 31 | method public void setNotificationLightMode(int); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 32 | method public void setProfileType(int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 33 | method public void setRingMode(lineageos.profiles.RingModeSettings); |
| 34 | method public void setScreenLockMode(lineageos.profiles.LockSettings); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 35 | method public void setSecondaryUuids(java.util.List<java.util.UUID>); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 36 | method public void setStreamSettings(lineageos.profiles.StreamSettings); |
| 37 | method public void setTrigger(lineageos.app.Profile.ProfileTrigger); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 38 | method public void writeToParcel(android.os.Parcel, int); |
| 39 | } |
| 40 | |
| 41 | public static class Profile.DozeMode { |
| 42 | ctor public Profile.DozeMode(); |
| 43 | field public static final int DEFAULT = 0; // 0x0 |
| 44 | field public static final int DISABLE = 2; // 0x2 |
| 45 | field public static final int ENABLE = 1; // 0x1 |
| 46 | } |
| 47 | |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 48 | public static class Profile.LockMode { |
| 49 | ctor public Profile.LockMode(); |
| 50 | field public static final int DEFAULT = 0; // 0x0 |
| 51 | field public static final int DISABLE = 2; // 0x2 |
| 52 | field public static final int INSECURE = 1; // 0x1 |
| 53 | } |
| 54 | |
Adnan Begovic | cdf4d0d | 2016-02-10 18:14:35 -0800 | [diff] [blame] | 55 | public static class Profile.NotificationLightMode { |
| 56 | ctor public Profile.NotificationLightMode(); |
| 57 | field public static final int DEFAULT = 0; // 0x0 |
| 58 | field public static final int DISABLE = 2; // 0x2 |
| 59 | field public static final int ENABLE = 1; // 0x1 |
| 60 | } |
| 61 | |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 62 | public static class Profile.ProfileTrigger implements android.os.Parcelable { |
Adnan Begovic | 8481cec | 2015-08-04 16:45:26 -0700 | [diff] [blame] | 63 | ctor public Profile.ProfileTrigger(int, java.lang.String, int, java.lang.String); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 64 | method public int describeContents(); |
| 65 | method public java.lang.String getId(); |
| 66 | method public java.lang.String getName(); |
| 67 | method public int getState(); |
| 68 | method public int getType(); |
| 69 | method public void writeToParcel(android.os.Parcel, int); |
| 70 | } |
| 71 | |
| 72 | public static class Profile.TriggerState { |
| 73 | ctor public Profile.TriggerState(); |
| 74 | field public static final int DISABLED = 2; // 0x2 |
| 75 | field public static final int ON_A2DP_CONNECT = 3; // 0x3 |
| 76 | field public static final int ON_A2DP_DISCONNECT = 4; // 0x4 |
| 77 | field public static final int ON_CONNECT = 0; // 0x0 |
| 78 | field public static final int ON_DISCONNECT = 1; // 0x1 |
| 79 | } |
| 80 | |
| 81 | public static class Profile.TriggerType { |
| 82 | ctor public Profile.TriggerType(); |
| 83 | field public static final int BLUETOOTH = 1; // 0x1 |
| 84 | field public static final int WIFI = 0; // 0x0 |
| 85 | } |
| 86 | |
| 87 | public static class Profile.Type { |
| 88 | ctor public Profile.Type(); |
| 89 | field public static final int CONDITIONAL = 1; // 0x1 |
| 90 | field public static final int TOGGLE = 0; // 0x0 |
| 91 | } |
| 92 | |
| 93 | public class ProfileManager { |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 94 | method public void addProfile(lineageos.app.Profile); |
| 95 | method public lineageos.app.Profile getActiveProfile(); |
| 96 | method public static lineageos.app.ProfileManager getInstance(android.content.Context); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 97 | method public lineageos.app.Profile getProfile(java.util.UUID); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 98 | method public java.lang.String[] getProfileNames(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 99 | method public lineageos.app.Profile[] getProfiles(); |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 100 | method public boolean isProfilesEnabled(); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 101 | method public boolean profileExists(java.lang.String); |
| 102 | method public boolean profileExists(java.util.UUID); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 103 | method public void removeProfile(lineageos.app.Profile); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 104 | method public void resetAll(); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 105 | method public void setActiveProfile(java.util.UUID); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 106 | method public void updateProfile(lineageos.app.Profile); |
| 107 | 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] | 108 | field public static final java.lang.String EXTRA_LAST_PROFILE_NAME = "lastName"; |
Roman Birg | 45f57c5 | 2016-03-17 15:29:22 -0700 | [diff] [blame] | 109 | field public static final java.lang.String EXTRA_LAST_PROFILE_UUID = "lastUuid"; |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 110 | field public static final java.lang.String EXTRA_PROFILES_STATE = "profile_state"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 111 | field public static final java.lang.String EXTRA_PROFILE_DIALOG_THEME = "lineageos.platform.intent.extra.profile.DIALOG_THEME"; |
| 112 | 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] | 113 | field public static final java.lang.String EXTRA_PROFILE_NAME = "name"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 114 | field public static final java.lang.String EXTRA_PROFILE_PICKED_UUID = "lineageos.platform.intent.extra.profile.PICKED_UUID"; |
| 115 | field public static final java.lang.String EXTRA_PROFILE_SHOW_NONE = "lineageos.platform.intent.extra.profile.SHOW_NONE"; |
| 116 | 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] | 117 | field public static final java.lang.String EXTRA_PROFILE_UUID = "uuid"; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 118 | field public static final java.lang.String INTENT_ACTION_PROFILE_SELECTED = "lineageos.platform.intent.action.PROFILE_SELECTED"; |
| 119 | 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] | 120 | field public static final java.util.UUID NO_PROFILE; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 121 | 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] | 122 | field public static final int PROFILES_STATE_DISABLED = 0; // 0x0 |
| 123 | field public static final int PROFILES_STATE_ENABLED = 1; // 0x1 |
| 124 | } |
| 125 | |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 126 | } |
| 127 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 128 | package lineageos.content { |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 129 | |
| 130 | public class Intent { |
| 131 | ctor public Intent(); |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 132 | } |
| 133 | |
| 134 | } |
| 135 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 136 | package lineageos.hardware { |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 137 | |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 138 | public class DisplayMode implements android.os.Parcelable { |
| 139 | ctor public DisplayMode(int, java.lang.String); |
| 140 | method public int describeContents(); |
| 141 | method public void writeToParcel(android.os.Parcel, int); |
| 142 | field public final int id; |
| 143 | field public final java.lang.String name; |
| 144 | } |
| 145 | |
| 146 | public class HSIC implements android.os.Parcelable { |
| 147 | ctor public HSIC(float, float, float, float, float); |
| 148 | method public int describeContents(); |
| 149 | method public java.lang.String flatten(); |
| 150 | method public static lineageos.hardware.HSIC fromFloatArray(float[]); |
| 151 | method public float getContrast(); |
| 152 | method public float getHue(); |
| 153 | method public float getIntensity(); |
| 154 | method public float getSaturation(); |
| 155 | method public float getSaturationThreshold(); |
| 156 | method public float[] toFloatArray(); |
| 157 | method public int[] toRGB(); |
| 158 | method public static lineageos.hardware.HSIC unflattenFrom(java.lang.String) throws java.lang.NumberFormatException; |
| 159 | method public void writeToParcel(android.os.Parcel, int); |
| 160 | } |
| 161 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 162 | public final class LineageHardwareManager { |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 163 | method public boolean get(int); |
Steve Kondik | 86cae92 | 2016-07-18 02:36:42 -0700 | [diff] [blame] | 164 | method public int getColorBalance(); |
| 165 | method public android.util.Range<java.lang.Integer> getColorBalanceRange(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 166 | method public lineageos.hardware.DisplayMode getCurrentDisplayMode(); |
| 167 | method public lineageos.hardware.DisplayMode getDefaultDisplayMode(); |
| 168 | method public lineageos.hardware.HSIC getDefaultPictureAdjustment(); |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 169 | method public int[] getDisplayColorCalibration(); |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 170 | method public int getDisplayColorCalibrationMax(); |
| 171 | method public int getDisplayColorCalibrationMin(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 172 | method public lineageos.hardware.DisplayMode[] getDisplayModes(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 173 | method public static lineageos.hardware.LineageHardwareManager getInstance(android.content.Context); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 174 | method public lineageos.hardware.HSIC getPictureAdjustment(); |
Steve Kondik | 87590f0 | 2016-07-20 11:20:02 -0700 | [diff] [blame] | 175 | method public java.util.List<android.util.Range<java.lang.Float>> getPictureAdjustmentRanges(); |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 176 | method public lineageos.hardware.TouchscreenGesture[] getTouchscreenGestures(); |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 177 | method public int getVibratorDefaultIntensity(); |
| 178 | method public int getVibratorIntensity(); |
| 179 | method public int getVibratorMaxIntensity(); |
| 180 | method public int getVibratorMinIntensity(); |
| 181 | method public int getVibratorWarningIntensity(); |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 182 | method public boolean isSunlightEnhancementSelfManaged(); |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 183 | method public boolean isSupported(int); |
| 184 | method public boolean requireAdaptiveBacklightForSunlightEnhancement(); |
| 185 | method public boolean set(int, boolean); |
Steve Kondik | 86cae92 | 2016-07-18 02:36:42 -0700 | [diff] [blame] | 186 | method public boolean setColorBalance(int); |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 187 | method public boolean setDisplayColorCalibration(int[]); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 188 | method public boolean setDisplayMode(lineageos.hardware.DisplayMode, boolean); |
| 189 | method public boolean setPictureAdjustment(lineageos.hardware.HSIC); |
| 190 | method public boolean setTouchscreenGestureEnabled(lineageos.hardware.TouchscreenGesture, boolean); |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 191 | method public boolean setVibratorIntensity(int); |
| 192 | field public static final int FEATURE_ADAPTIVE_BACKLIGHT = 1; // 0x1 |
Arian | 5f3ded7 | 2020-07-29 16:01:55 +0200 | [diff] [blame] | 193 | field public static final int FEATURE_ANTI_FLICKER = 2097152; // 0x200000 |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 194 | field public static final int FEATURE_AUTO_CONTRAST = 4096; // 0x1000 |
Steve Kondik | 86cae92 | 2016-07-18 02:36:42 -0700 | [diff] [blame] | 195 | field public static final int FEATURE_COLOR_BALANCE = 131072; // 0x20000 |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 196 | field public static final int FEATURE_COLOR_ENHANCEMENT = 2; // 0x2 |
| 197 | field public static final int FEATURE_DISPLAY_COLOR_CALIBRATION = 4; // 0x4 |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 198 | field public static final int FEATURE_DISPLAY_MODES = 8192; // 0x2000 |
Ramii Ahmed | a726201 | 2021-07-06 07:41:17 +0000 | [diff] [blame] | 199 | field public static final int FEATURE_HIGH_TOUCH_POLLING_RATE = 8; // 0x8 |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 200 | field public static final int FEATURE_HIGH_TOUCH_SENSITIVITY = 16; // 0x10 |
| 201 | field public static final int FEATURE_KEY_DISABLE = 32; // 0x20 |
Arian | 056187e | 2021-01-03 16:49:50 +0100 | [diff] [blame] | 202 | field public static final int FEATURE_KEY_SWAP = 64; // 0x40 |
Steve Kondik | 87590f0 | 2016-07-20 11:20:02 -0700 | [diff] [blame] | 203 | field public static final int FEATURE_PICTURE_ADJUSTMENT = 262144; // 0x40000 |
Luca Stefani | 5596210 | 2018-07-02 10:10:34 +0200 | [diff] [blame] | 204 | field public static final int FEATURE_READING_ENHANCEMENT = 16384; // 0x4000 |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 205 | field public static final int FEATURE_SUNLIGHT_ENHANCEMENT = 256; // 0x100 |
Zhao Wei Liew | cfaf39e | 2016-11-17 23:36:25 +0800 | [diff] [blame] | 206 | field public static final int FEATURE_TOUCHSCREEN_GESTURES = 524288; // 0x80000 |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 207 | field public static final int FEATURE_TOUCH_HOVERING = 2048; // 0x800 |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 208 | field public static final int FEATURE_VIBRATOR = 1024; // 0x400 |
| 209 | } |
| 210 | |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 211 | public class LiveDisplayConfig implements android.os.Parcelable { |
Steve Kondik | 87590f0 | 2016-07-20 11:20:02 -0700 | [diff] [blame] | 212 | 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] | 213 | method public int describeContents(); |
Steve Kondik | 86cae92 | 2016-07-18 02:36:42 -0700 | [diff] [blame] | 214 | method public android.util.Range<java.lang.Integer> getColorBalanceRange(); |
| 215 | method public android.util.Range<java.lang.Integer> getColorTemperatureRange(); |
Steve Kondik | 87590f0 | 2016-07-20 11:20:02 -0700 | [diff] [blame] | 216 | method public android.util.Range<java.lang.Float> getContrastRange(); |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 217 | method public boolean getDefaultAutoContrast(); |
| 218 | method public boolean getDefaultAutoOutdoorMode(); |
| 219 | method public boolean getDefaultCABC(); |
| 220 | method public boolean getDefaultColorEnhancement(); |
| 221 | method public int getDefaultDayTemperature(); |
| 222 | method public int getDefaultMode(); |
| 223 | method public int getDefaultNightTemperature(); |
Steve Kondik | 87590f0 | 2016-07-20 11:20:02 -0700 | [diff] [blame] | 224 | method public android.util.Range<java.lang.Float> getHueRange(); |
| 225 | method public android.util.Range<java.lang.Float> getIntensityRange(); |
| 226 | method public java.util.List<android.util.Range<java.lang.Float>> getPictureAdjustmentRanges(); |
| 227 | method public android.util.Range<java.lang.Float> getSaturationRange(); |
| 228 | method public android.util.Range<java.lang.Float> getSaturationThresholdRange(); |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 229 | method public boolean hasFeature(int); |
Steve Kondik | 0ec60c6 | 2016-04-15 02:38:42 -0700 | [diff] [blame] | 230 | method public boolean hasModeSupport(); |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 231 | method public boolean isAvailable(); |
| 232 | method public void writeToParcel(android.os.Parcel, int); |
| 233 | } |
| 234 | |
| 235 | public class LiveDisplayManager { |
| 236 | method public float[] getColorAdjustment(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 237 | method public lineageos.hardware.LiveDisplayConfig getConfig(); |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 238 | method public int getDayColorTemperature(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 239 | method public lineageos.hardware.HSIC getDefaultPictureAdjustment(); |
| 240 | method public static synchronized lineageos.hardware.LiveDisplayManager getInstance(android.content.Context); |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 241 | method public int getMode(); |
| 242 | method public int getNightColorTemperature(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 243 | method public lineageos.hardware.HSIC getPictureAdjustment(); |
Arian | 5f3ded7 | 2020-07-29 16:01:55 +0200 | [diff] [blame] | 244 | method public boolean isAntiFlickerEnabled(); |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 245 | method public boolean isAutoContrastEnabled(); |
| 246 | method public boolean isAutomaticOutdoorModeEnabled(); |
| 247 | method public boolean isCABCEnabled(); |
| 248 | method public boolean isColorEnhancementEnabled(); |
Joey | 76fc3d3 | 2018-02-22 14:30:42 +0100 | [diff] [blame] | 249 | method public boolean isNightModeEnabled(); |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 250 | method public boolean setAutoContrastEnabled(boolean); |
| 251 | method public boolean setAutomaticOutdoorModeEnabled(boolean); |
| 252 | method public boolean setCABCEnabled(boolean); |
| 253 | method public boolean setColorAdjustment(float[]); |
| 254 | method public boolean setColorEnhancementEnabled(boolean); |
| 255 | method public boolean setDayColorTemperature(int); |
| 256 | method public boolean setMode(int); |
| 257 | method public boolean setNightColorTemperature(int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 258 | method public boolean setPictureAdjustment(lineageos.hardware.HSIC); |
Steve Kondik | 87590f0 | 2016-07-20 11:20:02 -0700 | [diff] [blame] | 259 | field public static final int ADJUSTMENT_CONTRAST = 3; // 0x3 |
| 260 | field public static final int ADJUSTMENT_HUE = 0; // 0x0 |
| 261 | field public static final int ADJUSTMENT_INTENSITY = 2; // 0x2 |
| 262 | field public static final int ADJUSTMENT_SATURATION = 1; // 0x1 |
Arian | 5f3ded7 | 2020-07-29 16:01:55 +0200 | [diff] [blame] | 263 | field public static final int FEATURE_ANTI_FLICKER = 19; // 0x13 |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 264 | field public static final int FEATURE_AUTO_CONTRAST = 11; // 0xb |
| 265 | field public static final int FEATURE_CABC = 10; // 0xa |
| 266 | field public static final int FEATURE_COLOR_ADJUSTMENT = 13; // 0xd |
Steve Kondik | 86cae92 | 2016-07-18 02:36:42 -0700 | [diff] [blame] | 267 | field public static final int FEATURE_COLOR_BALANCE = 16; // 0x10 |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 268 | field public static final int FEATURE_COLOR_ENHANCEMENT = 12; // 0xc |
| 269 | field public static final int FEATURE_DISPLAY_MODES = 15; // 0xf |
| 270 | field public static final int FEATURE_MANAGED_OUTDOOR_MODE = 14; // 0xe |
Steve Kondik | 87590f0 | 2016-07-20 11:20:02 -0700 | [diff] [blame] | 271 | field public static final int FEATURE_PICTURE_ADJUSTMENT = 17; // 0x11 |
Luca Stefani | 5596210 | 2018-07-02 10:10:34 +0200 | [diff] [blame] | 272 | field public static final int FEATURE_READING_ENHANCEMENT = 18; // 0x12 |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 273 | field public static final int MODE_AUTO = 2; // 0x2 |
| 274 | field public static final int MODE_DAY = 4; // 0x4 |
| 275 | field public static final int MODE_NIGHT = 1; // 0x1 |
| 276 | field public static final int MODE_OFF = 0; // 0x0 |
| 277 | field public static final int MODE_OUTDOOR = 3; // 0x3 |
| 278 | } |
| 279 | |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 280 | public class TouchscreenGesture implements android.os.Parcelable { |
| 281 | ctor public TouchscreenGesture(int, java.lang.String, int); |
| 282 | method public int describeContents(); |
| 283 | method public void writeToParcel(android.os.Parcel, int); |
| 284 | field public final int id; |
| 285 | field public final int keycode; |
| 286 | field public final java.lang.String name; |
| 287 | } |
| 288 | |
Yvonne Wong | a632fbc | 2015-08-28 16:18:17 -0700 | [diff] [blame] | 289 | } |
| 290 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 291 | package lineageos.os { |
Adnan Begovic | 3f7e428 | 2015-06-09 11:03:37 -0700 | [diff] [blame] | 292 | |
| 293 | public class Build { |
| 294 | ctor public Build(); |
| 295 | method public static java.lang.String getNameForSDKInt(int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 296 | field public static final java.lang.String LINEAGEOS_DISPLAY_VERSION; |
| 297 | field public static final java.lang.String LINEAGEOS_VERSION; |
Adnan Begovic | 3f7e428 | 2015-06-09 11:03:37 -0700 | [diff] [blame] | 298 | field public static final java.lang.String UNKNOWN = "unknown"; |
| 299 | } |
| 300 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 301 | public static class Build.LINEAGE_VERSION { |
| 302 | ctor public Build.LINEAGE_VERSION(); |
Adnan Begovic | 3f7e428 | 2015-06-09 11:03:37 -0700 | [diff] [blame] | 303 | field public static final int SDK_INT; |
| 304 | } |
| 305 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 306 | public static class Build.LINEAGE_VERSION_CODES { |
| 307 | ctor public Build.LINEAGE_VERSION_CODES(); |
Adnan Begovic | 3f7e428 | 2015-06-09 11:03:37 -0700 | [diff] [blame] | 308 | field public static final int APRICOT = 1; // 0x1 |
Adnan Begovic | f9ec3a4 | 2015-07-13 16:46:23 -0700 | [diff] [blame] | 309 | field public static final int BOYSENBERRY = 2; // 0x2 |
Roman Birg | d29499d | 2015-12-23 09:32:13 -0800 | [diff] [blame] | 310 | field public static final int CANTALOUPE = 3; // 0x3 |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 311 | field public static final int DRAGON_FRUIT = 4; // 0x4 |
Adnan Begovic | 1d2351e | 2016-02-09 11:12:38 -0800 | [diff] [blame] | 312 | field public static final int ELDERBERRY = 5; // 0x5 |
Adnan Begovic | 6b879f3 | 2016-04-01 15:39:53 -0700 | [diff] [blame] | 313 | field public static final int FIG = 6; // 0x6 |
Steve Kondik | aac8bdc | 2016-09-04 04:35:09 -0700 | [diff] [blame] | 314 | field public static final int GUAVA = 7; // 0x7 |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 315 | field public static final int HACKBERRY = 8; // 0x8 |
Joey | c0b21ca | 2018-04-03 15:42:18 +0200 | [diff] [blame] | 316 | field public static final int ILAMA = 9; // 0x9 |
Adnan Begovic | 3f7e428 | 2015-06-09 11:03:37 -0700 | [diff] [blame] | 317 | } |
| 318 | |
Adnan Begovic | df4486f | 2016-04-01 10:55:04 -0700 | [diff] [blame] | 319 | public final class Concierge { |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 320 | method public static lineageos.os.Concierge.ParcelInfo prepareParcel(android.os.Parcel); |
| 321 | method public static lineageos.os.Concierge.ParcelInfo receiveParcel(android.os.Parcel); |
Adnan Begovic | df4486f | 2016-04-01 10:55:04 -0700 | [diff] [blame] | 322 | } |
| 323 | |
| 324 | public static final class Concierge.ParcelInfo { |
| 325 | method public void complete(); |
| 326 | method public int getParcelVersion(); |
| 327 | } |
| 328 | |
Adnan Begovic | 3f7e428 | 2015-06-09 11:03:37 -0700 | [diff] [blame] | 329 | } |
| 330 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 331 | package lineageos.platform { |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 332 | |
| 333 | public final class Manifest { |
| 334 | ctor public Manifest(); |
| 335 | } |
| 336 | |
| 337 | public static final class Manifest.permission { |
| 338 | ctor public Manifest.permission(); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 339 | 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] | 340 | 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] | 341 | 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] | 342 | field public static final java.lang.String MODIFY_PROFILES = "lineageos.permission.MODIFY_PROFILES"; |
Joey | c0b21ca | 2018-04-03 15:42:18 +0200 | [diff] [blame] | 343 | 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] | 344 | field public static final java.lang.String WRITE_SECURE_SETTINGS = "lineageos.permission.WRITE_SECURE_SETTINGS"; |
| 345 | field public static final java.lang.String WRITE_SETTINGS = "lineageos.permission.WRITE_SETTINGS"; |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 346 | } |
| 347 | |
| 348 | public final class R { |
| 349 | ctor public R(); |
| 350 | } |
| 351 | |
Joey | 76fc3d3 | 2018-02-22 14:30:42 +0100 | [diff] [blame] | 352 | public static final class R.anim { |
| 353 | ctor public R.anim(); |
| 354 | } |
| 355 | |
herriojr | e78ca4d | 2015-09-08 13:59:20 -0700 | [diff] [blame] | 356 | public static final class R.array { |
| 357 | ctor public R.array(); |
| 358 | } |
| 359 | |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 360 | public static final class R.attr { |
| 361 | ctor public R.attr(); |
Steve Kondik | 78079ea | 2016-10-11 08:16:38 -0700 | [diff] [blame] | 362 | field public static final int minSummaryLines = 1057030154; // 0x3f01000a |
| 363 | field public static final int replacesKey = 1057030153; // 0x3f010009 |
| 364 | field public static final int requiresAction = 1057030152; // 0x3f010008 |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 365 | field public static final int requiresConfig = 1057030148; // 0x3f010004 |
Sam Mortimer | 3c54d58 | 2017-10-20 17:24:54 -0700 | [diff] [blame] | 366 | field public static final int requiresConfigMask = 1057030155; // 0x3f01000b |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 367 | field public static final int requiresFeature = 1057030147; // 0x3f010003 |
Steve Kondik | 5d08519 | 2016-09-25 23:17:49 -0700 | [diff] [blame] | 368 | field public static final int requiresOwner = 1057030150; // 0x3f010006 |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 369 | field public static final int requiresPackage = 1057030146; // 0x3f010002 |
| 370 | field public static final int requiresProperty = 1057030149; // 0x3f010005 |
Steve Kondik | 0452eba | 2016-10-07 00:16:11 -0700 | [diff] [blame] | 371 | field public static final int xmlRes = 1057030151; // 0x3f010007 |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 372 | } |
| 373 | |
herriojr | e78ca4d | 2015-09-08 13:59:20 -0700 | [diff] [blame] | 374 | public static final class R.bool { |
| 375 | ctor public R.bool(); |
| 376 | } |
| 377 | |
Luca Stefani | 5596210 | 2018-07-02 10:10:34 +0200 | [diff] [blame] | 378 | public static final class R.color { |
| 379 | ctor public R.color(); |
| 380 | } |
| 381 | |
Joey | 76fc3d3 | 2018-02-22 14:30:42 +0100 | [diff] [blame] | 382 | public static final class R.dimen { |
| 383 | ctor public R.dimen(); |
| 384 | } |
| 385 | |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 386 | public static final class R.drawable { |
| 387 | ctor public R.drawable(); |
| 388 | } |
| 389 | |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 390 | public static final class R.integer { |
| 391 | ctor public R.integer(); |
| 392 | } |
| 393 | |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 394 | public static final class R.string { |
| 395 | ctor public R.string(); |
| 396 | } |
| 397 | |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 398 | public static final class R.xml { |
| 399 | ctor public R.xml(); |
| 400 | } |
| 401 | |
| 402 | } |
| 403 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 404 | package lineageos.preference { |
Steve Kondik | 7be730b | 2016-09-08 13:39:43 -0700 | [diff] [blame] | 405 | |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 406 | public class GlobalSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference { |
| 407 | ctor public GlobalSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int); |
| 408 | ctor public GlobalSettingSwitchPreference(android.content.Context, android.util.AttributeSet); |
| 409 | ctor public GlobalSettingSwitchPreference(android.content.Context); |
| 410 | } |
| 411 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 412 | public class LineageGlobalSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference { |
| 413 | ctor public LineageGlobalSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int); |
| 414 | ctor public LineageGlobalSettingSwitchPreference(android.content.Context, android.util.AttributeSet); |
| 415 | ctor public LineageGlobalSettingSwitchPreference(android.content.Context); |
Steve Kondik | 7be730b | 2016-09-08 13:39:43 -0700 | [diff] [blame] | 416 | } |
| 417 | |
Oliver Scott | ff5e716 | 2021-12-30 15:00:00 +0100 | [diff] [blame] | 418 | public class LineageGlobalSettingListPreference extends lineageos.preference.SelfRemovingListPreference { |
| 419 | ctor public LineageGlobalSettingListPreference(android.content.Context, android.util.AttributeSet, int); |
| 420 | ctor public LineageGlobalSettingListPreference(android.content.Context, android.util.AttributeSet); |
| 421 | method public int getIntValue(int); |
| 422 | } |
| 423 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 424 | public class LineageSecureSettingListPreference extends lineageos.preference.SelfRemovingListPreference { |
| 425 | ctor public LineageSecureSettingListPreference(android.content.Context, android.util.AttributeSet, int); |
| 426 | ctor public LineageSecureSettingListPreference(android.content.Context, android.util.AttributeSet); |
Steve Kondik | 9faa274 | 2016-09-14 01:37:29 -0700 | [diff] [blame] | 427 | method public int getIntValue(int); |
Steve Kondik | 9faa274 | 2016-09-14 01:37:29 -0700 | [diff] [blame] | 428 | } |
| 429 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 430 | public class LineageSecureSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference { |
| 431 | ctor public LineageSecureSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int); |
| 432 | ctor public LineageSecureSettingSwitchPreference(android.content.Context, android.util.AttributeSet); |
| 433 | ctor public LineageSecureSettingSwitchPreference(android.content.Context); |
Steve Kondik | 7be730b | 2016-09-08 13:39:43 -0700 | [diff] [blame] | 434 | } |
| 435 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 436 | public class LineageSystemSettingDropDownPreference extends lineageos.preference.SelfRemovingDropDownPreference { |
| 437 | ctor public LineageSystemSettingDropDownPreference(android.content.Context, android.util.AttributeSet, int); |
| 438 | ctor public LineageSystemSettingDropDownPreference(android.content.Context, android.util.AttributeSet); |
Danny Baumann | e01237e | 2016-11-02 13:10:00 +0100 | [diff] [blame] | 439 | method public int getIntValue(int); |
Danny Baumann | e01237e | 2016-11-02 13:10:00 +0100 | [diff] [blame] | 440 | } |
| 441 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 442 | public class LineageSystemSettingListPreference extends lineageos.preference.SelfRemovingListPreference { |
| 443 | ctor public LineageSystemSettingListPreference(android.content.Context, android.util.AttributeSet, int); |
| 444 | ctor public LineageSystemSettingListPreference(android.content.Context, android.util.AttributeSet); |
Steve Kondik | 9faa274 | 2016-09-14 01:37:29 -0700 | [diff] [blame] | 445 | method public int getIntValue(int); |
Steve Kondik | 9faa274 | 2016-09-14 01:37:29 -0700 | [diff] [blame] | 446 | } |
| 447 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 448 | public class LineageSystemSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference { |
| 449 | ctor public LineageSystemSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int); |
| 450 | ctor public LineageSystemSettingSwitchPreference(android.content.Context, android.util.AttributeSet); |
| 451 | ctor public LineageSystemSettingSwitchPreference(android.content.Context); |
Zhao Wei Liew | 1c5e5e7 | 2016-12-10 15:37:20 +0800 | [diff] [blame] | 452 | } |
| 453 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 454 | public class RemotePreference extends lineageos.preference.SelfRemovingPreference { |
Steve Kondik | 3805419 | 2016-10-14 21:24:54 -0700 | [diff] [blame] | 455 | ctor public RemotePreference(android.content.Context, android.util.AttributeSet, int, int); |
| 456 | ctor public RemotePreference(android.content.Context, android.util.AttributeSet, int); |
| 457 | ctor public RemotePreference(android.content.Context, android.util.AttributeSet); |
| 458 | method public android.content.Intent getReceiverIntent(); |
| 459 | method protected java.lang.String getRemoteKey(android.os.Bundle); |
Steve Kondik | 3805419 | 2016-10-14 21:24:54 -0700 | [diff] [blame] | 460 | method public void onRemoteUpdated(android.os.Bundle); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 461 | field public static final java.lang.String ACTION_REFRESH_PREFERENCE = "lineageos.intent.action.REFRESH_PREFERENCE"; |
| 462 | field public static final java.lang.String ACTION_UPDATE_PREFERENCE = "lineageos.intent.action.UPDATE_PREFERENCE"; |
| 463 | field public static final java.lang.String EXTRA_ENABLED = ":lineage:pref_enabled"; |
| 464 | field public static final java.lang.String EXTRA_KEY = ":lineage:pref_key"; |
| 465 | field public static final java.lang.String EXTRA_SUMMARY = ":lineage:pref_summary"; |
| 466 | field public static final java.lang.String META_REMOTE_KEY = "org.lineageos.settings.summary.key"; |
| 467 | 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] | 468 | field protected final android.content.Context mContext; |
| 469 | } |
| 470 | |
| 471 | public class RemotePreferenceUpdater extends android.content.BroadcastReceiver { |
| 472 | ctor public RemotePreferenceUpdater(); |
| 473 | method protected boolean fillResultExtras(android.content.Context, java.lang.String, android.os.Bundle); |
| 474 | method protected java.lang.String getSummary(android.content.Context, java.lang.String); |
| 475 | method public static void notifyChanged(android.content.Context, java.lang.String); |
| 476 | method public void onReceive(android.content.Context, android.content.Intent); |
| 477 | } |
| 478 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 479 | public class SecureSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference { |
Steve Kondik | 78079ea | 2016-10-11 08:16:38 -0700 | [diff] [blame] | 480 | ctor public SecureSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int); |
| 481 | ctor public SecureSettingSwitchPreference(android.content.Context, android.util.AttributeSet); |
| 482 | ctor public SecureSettingSwitchPreference(android.content.Context); |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 483 | } |
| 484 | |
Sam Mortimer | 3533d38 | 2019-05-13 15:28:04 -0700 | [diff] [blame] | 485 | public class SelfRemovingDropDownPreference extends androidx.preference.DropDownPreference { |
Danny Baumann | e01237e | 2016-11-02 13:10:00 +0100 | [diff] [blame] | 486 | ctor public SelfRemovingDropDownPreference(android.content.Context, android.util.AttributeSet, int); |
| 487 | ctor public SelfRemovingDropDownPreference(android.content.Context, android.util.AttributeSet); |
| 488 | ctor public SelfRemovingDropDownPreference(android.content.Context); |
| 489 | method public boolean isAvailable(); |
Danny Baumann | e01237e | 2016-11-02 13:10:00 +0100 | [diff] [blame] | 490 | method public void setAvailable(boolean); |
| 491 | } |
| 492 | |
Sam Mortimer | 3533d38 | 2019-05-13 15:28:04 -0700 | [diff] [blame] | 493 | public class SelfRemovingListPreference extends androidx.preference.ListPreference { |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 494 | ctor public SelfRemovingListPreference(android.content.Context, android.util.AttributeSet, int); |
| 495 | ctor public SelfRemovingListPreference(android.content.Context, android.util.AttributeSet); |
| 496 | ctor public SelfRemovingListPreference(android.content.Context); |
Steve Kondik | 78079ea | 2016-10-11 08:16:38 -0700 | [diff] [blame] | 497 | method public boolean isAvailable(); |
Steve Kondik | 78079ea | 2016-10-11 08:16:38 -0700 | [diff] [blame] | 498 | method public void setAvailable(boolean); |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 499 | } |
| 500 | |
Sam Mortimer | 3533d38 | 2019-05-13 15:28:04 -0700 | [diff] [blame] | 501 | public class SelfRemovingPreference extends androidx.preference.Preference { |
Steve Kondik | 78079ea | 2016-10-11 08:16:38 -0700 | [diff] [blame] | 502 | ctor public SelfRemovingPreference(android.content.Context, android.util.AttributeSet, int, int); |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 503 | ctor public SelfRemovingPreference(android.content.Context, android.util.AttributeSet, int); |
| 504 | ctor public SelfRemovingPreference(android.content.Context, android.util.AttributeSet); |
| 505 | ctor public SelfRemovingPreference(android.content.Context); |
Steve Kondik | 78079ea | 2016-10-11 08:16:38 -0700 | [diff] [blame] | 506 | method public boolean isAvailable(); |
Steve Kondik | 78079ea | 2016-10-11 08:16:38 -0700 | [diff] [blame] | 507 | method public void setAvailable(boolean); |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 508 | } |
| 509 | |
Sam Mortimer | 3533d38 | 2019-05-13 15:28:04 -0700 | [diff] [blame] | 510 | public class SelfRemovingSwitchPreference extends androidx.preference.SwitchPreference { |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 511 | ctor public SelfRemovingSwitchPreference(android.content.Context, android.util.AttributeSet, int); |
| 512 | ctor public SelfRemovingSwitchPreference(android.content.Context, android.util.AttributeSet); |
| 513 | ctor public SelfRemovingSwitchPreference(android.content.Context); |
Steve Kondik | 78079ea | 2016-10-11 08:16:38 -0700 | [diff] [blame] | 514 | method public boolean isAvailable(); |
Steve Kondik | 78079ea | 2016-10-11 08:16:38 -0700 | [diff] [blame] | 515 | method public void setAvailable(boolean); |
Steve Kondik | 2d61e0c | 2016-09-15 05:16:42 -0700 | [diff] [blame] | 516 | } |
| 517 | |
Steve Kondik | 0dae635 | 2016-10-11 08:17:18 -0700 | [diff] [blame] | 518 | public class SettingsHelper { |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 519 | method public static synchronized lineageos.preference.SettingsHelper get(android.content.Context); |
Steve Kondik | 0dae635 | 2016-10-11 08:17:18 -0700 | [diff] [blame] | 520 | method public boolean getBoolean(android.net.Uri, boolean); |
| 521 | method public int getInt(android.net.Uri, int); |
| 522 | method public java.lang.String getString(android.net.Uri); |
| 523 | method public void putBoolean(android.net.Uri, boolean); |
| 524 | method public void putInt(android.net.Uri, int); |
| 525 | method public void putString(android.net.Uri, java.lang.String); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 526 | method public void startWatching(lineageos.preference.SettingsHelper.OnSettingsChangeListener, android.net.Uri...); |
| 527 | method public void stopWatching(lineageos.preference.SettingsHelper.OnSettingsChangeListener); |
Steve Kondik | 0dae635 | 2016-10-11 08:17:18 -0700 | [diff] [blame] | 528 | } |
| 529 | |
| 530 | public static abstract interface SettingsHelper.OnSettingsChangeListener { |
| 531 | method public abstract void onSettingsChanged(android.net.Uri); |
| 532 | } |
| 533 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 534 | public class SystemSettingSwitchPreference extends lineageos.preference.SelfRemovingSwitchPreference { |
Steve Kondik | 7be730b | 2016-09-08 13:39:43 -0700 | [diff] [blame] | 535 | ctor public SystemSettingSwitchPreference(android.content.Context, android.util.AttributeSet, int); |
| 536 | ctor public SystemSettingSwitchPreference(android.content.Context, android.util.AttributeSet); |
| 537 | ctor public SystemSettingSwitchPreference(android.content.Context); |
Steve Kondik | 7be730b | 2016-09-08 13:39:43 -0700 | [diff] [blame] | 538 | } |
| 539 | |
| 540 | } |
| 541 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 542 | package lineageos.profiles { |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 543 | |
| 544 | public final class AirplaneModeSettings implements android.os.Parcelable { |
| 545 | ctor public AirplaneModeSettings(android.os.Parcel); |
| 546 | ctor public AirplaneModeSettings(); |
| 547 | ctor public AirplaneModeSettings(int, boolean); |
| 548 | method public int describeContents(); |
| 549 | method public int getValue(); |
| 550 | method public boolean isOverride(); |
| 551 | method public void setOverride(boolean); |
| 552 | method public void setValue(int); |
| 553 | method public void writeToParcel(android.os.Parcel, int); |
| 554 | } |
| 555 | |
| 556 | public static class AirplaneModeSettings.BooleanState { |
| 557 | ctor public AirplaneModeSettings.BooleanState(); |
Bruno Martins | b485a25 | 2020-04-21 10:49:51 +0100 | [diff] [blame] | 558 | field public static final int STATE_DISABLED = 0; // 0x0 |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 559 | field public static final int STATE_ENABLED = 1; // 0x1 |
| 560 | } |
| 561 | |
| 562 | public final class BrightnessSettings implements android.os.Parcelable { |
| 563 | ctor public BrightnessSettings(android.os.Parcel); |
| 564 | ctor public BrightnessSettings(); |
| 565 | ctor public BrightnessSettings(int, boolean); |
| 566 | method public int describeContents(); |
| 567 | method public int getValue(); |
| 568 | method public boolean isOverride(); |
| 569 | method public void setOverride(boolean); |
| 570 | method public void setValue(int); |
| 571 | method public void writeToParcel(android.os.Parcel, int); |
| 572 | } |
| 573 | |
| 574 | public final class ConnectionSettings implements android.os.Parcelable { |
| 575 | ctor public ConnectionSettings(android.os.Parcel); |
| 576 | ctor public ConnectionSettings(int); |
| 577 | ctor public ConnectionSettings(int, int, boolean); |
| 578 | method public int describeContents(); |
| 579 | method public int getConnectionId(); |
Roman Birg | c46e0ff | 2016-02-10 18:59:16 -0800 | [diff] [blame] | 580 | method public int getSubId(); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 581 | method public int getValue(); |
| 582 | method public boolean isOverride(); |
| 583 | method public void setOverride(boolean); |
Roman Birg | c46e0ff | 2016-02-10 18:59:16 -0800 | [diff] [blame] | 584 | method public void setSubId(int); |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 585 | method public void setValue(int); |
| 586 | method public void writeToParcel(android.os.Parcel, int); |
| 587 | field public static final int PROFILE_CONNECTION_2G3G4G = 9; // 0x9 |
| 588 | field public static final int PROFILE_CONNECTION_BLUETOOTH = 7; // 0x7 |
Bruno Martins | bd39ad8 | 2020-04-21 00:17:21 +0100 | [diff] [blame] | 589 | field public static final int PROFILE_CONNECTION_LOCATION = 6; // 0x6 |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 590 | field public static final int PROFILE_CONNECTION_MOBILEDATA = 0; // 0x0 |
| 591 | field public static final int PROFILE_CONNECTION_NFC = 8; // 0x8 |
| 592 | field public static final int PROFILE_CONNECTION_SYNC = 5; // 0x5 |
| 593 | field public static final int PROFILE_CONNECTION_WIFI = 1; // 0x1 |
| 594 | field public static final int PROFILE_CONNECTION_WIFIAP = 2; // 0x2 |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 595 | } |
| 596 | |
| 597 | public static class ConnectionSettings.BooleanState { |
| 598 | ctor public ConnectionSettings.BooleanState(); |
Bruno Martins | b485a25 | 2020-04-21 10:49:51 +0100 | [diff] [blame] | 599 | field public static final int STATE_DISABLED = 0; // 0x0 |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 600 | field public static final int STATE_ENABLED = 1; // 0x1 |
| 601 | } |
| 602 | |
Adnan Begovic | 6b7fd5f | 2015-07-31 13:47:25 -0700 | [diff] [blame] | 603 | public final class LockSettings implements android.os.Parcelable { |
| 604 | ctor public LockSettings(android.os.Parcel); |
| 605 | ctor public LockSettings(); |
| 606 | ctor public LockSettings(int); |
| 607 | method public int describeContents(); |
| 608 | method public int getValue(); |
| 609 | method public void setValue(int); |
| 610 | method public void writeToParcel(android.os.Parcel, int); |
| 611 | } |
| 612 | |
Adnan Begovic | eddb89c | 2015-07-13 14:00:20 -0700 | [diff] [blame] | 613 | public final class RingModeSettings implements android.os.Parcelable { |
| 614 | ctor public RingModeSettings(android.os.Parcel); |
| 615 | ctor public RingModeSettings(); |
| 616 | ctor public RingModeSettings(java.lang.String, boolean); |
| 617 | method public int describeContents(); |
| 618 | method public java.lang.String getValue(); |
| 619 | method public boolean isOverride(); |
| 620 | method public void setOverride(boolean); |
| 621 | method public void setValue(java.lang.String); |
| 622 | method public void writeToParcel(android.os.Parcel, int); |
| 623 | field public static final java.lang.String RING_MODE_MUTE = "mute"; |
| 624 | field public static final java.lang.String RING_MODE_NORMAL = "normal"; |
| 625 | field public static final java.lang.String RING_MODE_VIBRATE = "vibrate"; |
| 626 | } |
| 627 | |
| 628 | public final class StreamSettings implements android.os.Parcelable { |
| 629 | ctor public StreamSettings(android.os.Parcel); |
| 630 | ctor public StreamSettings(int); |
| 631 | ctor public StreamSettings(int, int, boolean); |
| 632 | method public int describeContents(); |
| 633 | method public int getStreamId(); |
| 634 | method public int getValue(); |
| 635 | method public boolean isOverride(); |
| 636 | method public void setOverride(boolean); |
| 637 | method public void setValue(int); |
| 638 | method public void writeToParcel(android.os.Parcel, int); |
| 639 | } |
| 640 | |
Adnan Begovic | 273f2db | 2015-05-28 19:47:47 -0700 | [diff] [blame] | 641 | } |
| 642 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 643 | package lineageos.providers { |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 644 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 645 | public final class LineageSettings { |
| 646 | ctor public LineageSettings(); |
| 647 | field public static final java.lang.String ACTION_DATA_USAGE = "lineageos.settings.ACTION_DATA_USAGE"; |
| 648 | 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] | 649 | 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] | 650 | field public static final java.lang.String AUTHORITY = "lineagesettings"; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 651 | } |
| 652 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 653 | public static final class LineageSettings.Global extends android.provider.Settings.NameValueTable { |
| 654 | ctor public LineageSettings.Global(); |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 655 | method public static float getFloat(android.content.ContentResolver, java.lang.String, float); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 656 | 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] | 657 | method public static int getInt(android.content.ContentResolver, java.lang.String, int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 658 | 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] | 659 | method public static long getLong(android.content.ContentResolver, java.lang.String, long); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 660 | 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] | 661 | method public static java.lang.String getString(android.content.ContentResolver, java.lang.String); |
Joey | a37b3cd | 2018-07-05 21:18:18 +0200 | [diff] [blame] | 662 | 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] | 663 | method public static android.net.Uri getUriFor(java.lang.String); |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 664 | method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float); |
| 665 | method public static boolean putInt(android.content.ContentResolver, java.lang.String, int); |
| 666 | method public static boolean putLong(android.content.ContentResolver, java.lang.String, long); |
| 667 | method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String); |
| 668 | field public static final android.net.Uri CONTENT_URI; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 669 | field public static final java.lang.String SYS_PROP_LINEAGE_SETTING_VERSION = "sys.lineage_settings_global_version"; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 670 | } |
| 671 | |
Michael Bestas | e613b86 | 2018-01-01 22:37:05 +0200 | [diff] [blame] | 672 | public static class LineageSettings.LineageSettingNotFoundException extends android.util.AndroidException { |
| 673 | ctor public LineageSettings.LineageSettingNotFoundException(java.lang.String); |
| 674 | } |
| 675 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 676 | public static final class LineageSettings.Secure extends android.provider.Settings.NameValueTable { |
| 677 | ctor public LineageSettings.Secure(); |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 678 | method public static float getFloat(android.content.ContentResolver, java.lang.String, float); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 679 | 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] | 680 | method public static int getInt(android.content.ContentResolver, java.lang.String, int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 681 | 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] | 682 | method public static long getLong(android.content.ContentResolver, java.lang.String, long); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 683 | 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] | 684 | method public static java.lang.String getString(android.content.ContentResolver, java.lang.String); |
Joey | a37b3cd | 2018-07-05 21:18:18 +0200 | [diff] [blame] | 685 | 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] | 686 | method public static android.net.Uri getUriFor(java.lang.String); |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 687 | method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float); |
| 688 | method public static boolean putInt(android.content.ContentResolver, java.lang.String, int); |
| 689 | method public static boolean putLong(android.content.ContentResolver, java.lang.String, long); |
| 690 | method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String); |
| 691 | field public static final android.net.Uri CONTENT_URI; |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 692 | 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] | 693 | field public static final java.lang.String TRUST_WARNINGS = "trust_warnings"; |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 694 | } |
| 695 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 696 | public static final class LineageSettings.System extends android.provider.Settings.NameValueTable { |
| 697 | ctor public LineageSettings.System(); |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 698 | method public static float getFloat(android.content.ContentResolver, java.lang.String, float); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 699 | 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] | 700 | method public static int getInt(android.content.ContentResolver, java.lang.String, int); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 701 | 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] | 702 | method public static long getLong(android.content.ContentResolver, java.lang.String, long); |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 703 | 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] | 704 | method public static java.lang.String getString(android.content.ContentResolver, java.lang.String); |
Joey | a37b3cd | 2018-07-05 21:18:18 +0200 | [diff] [blame] | 705 | 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] | 706 | method public static android.net.Uri getUriFor(java.lang.String); |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 707 | method public static boolean putFloat(android.content.ContentResolver, java.lang.String, float); |
| 708 | method public static boolean putInt(android.content.ContentResolver, java.lang.String, int); |
| 709 | method public static boolean putLong(android.content.ContentResolver, java.lang.String, long); |
| 710 | 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] | 711 | field public static final java.lang.String APP_SWITCH_WAKE_SCREEN = "app_switch_wake_screen"; |
| 712 | field public static final java.lang.String ASSIST_WAKE_SCREEN = "assist_wake_screen"; |
| 713 | 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] | 714 | field public static final java.lang.String BATTERY_LIGHT_BRIGHTNESS_LEVEL = "battery_light_brightness_level"; |
| 715 | 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] | 716 | field public static final java.lang.String BATTERY_LIGHT_ENABLED = "battery_light_enabled"; |
| 717 | field public static final java.lang.String BATTERY_LIGHT_FULL_COLOR = "battery_light_full_color"; |
| 718 | field public static final java.lang.String BATTERY_LIGHT_LOW_COLOR = "battery_light_low_color"; |
| 719 | field public static final java.lang.String BATTERY_LIGHT_MEDIUM_COLOR = "battery_light_medium_color"; |
| 720 | field public static final java.lang.String BATTERY_LIGHT_PULSE = "battery_light_pulse"; |
| 721 | 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] | 722 | 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] | 723 | field public static final java.lang.String CALL_RECORDING_FORMAT = "call_recording_format"; |
| 724 | field public static final java.lang.String CAMERA_LAUNCH = "camera_launch"; |
| 725 | field public static final java.lang.String CAMERA_SLEEP_ON_RELEASE = "camera_sleep_on_release"; |
| 726 | 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] | 727 | field public static final android.net.Uri CONTENT_URI; |
Arian | 5f3ded7 | 2020-07-29 16:01:55 +0200 | [diff] [blame] | 728 | field public static final java.lang.String DISPLAY_ANTI_FLICKER = "display_anti_flicker"; |
Steve Kondik | 1dab5a0 | 2016-03-31 11:23:36 -0700 | [diff] [blame] | 729 | 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] | 730 | 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] | 731 | field public static final java.lang.String DISPLAY_CABC = "display_low_power"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 732 | field public static final java.lang.String DISPLAY_COLOR_ADJUSTMENT = "display_color_adjustment"; |
| 733 | field public static final java.lang.String DISPLAY_COLOR_ENHANCE = "display_color_enhance"; |
Steve Kondik | 87590f0 | 2016-07-20 11:20:02 -0700 | [diff] [blame] | 734 | 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] | 735 | 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] | 736 | field public static final java.lang.String DISPLAY_TEMPERATURE_DAY = "display_temperature_day"; |
| 737 | field public static final java.lang.String DISPLAY_TEMPERATURE_MODE = "display_temperature_mode"; |
| 738 | field public static final java.lang.String DISPLAY_TEMPERATURE_NIGHT = "display_temperature_night"; |
| 739 | field public static final java.lang.String DOUBLE_TAP_SLEEP_GESTURE = "double_tap_sleep_gesture"; |
Michael Bestas | fcadbf5 | 2016-02-10 01:39:17 +0200 | [diff] [blame] | 740 | field public static final java.lang.String HEADSET_CONNECT_PLAYER = "headset_connect_player"; |
Ramii Ahmed | a726201 | 2021-07-06 07:41:17 +0000 | [diff] [blame] | 741 | field public static final java.lang.String HIGH_TOUCH_POLLING_RATE_ENABLE = "high_touch_polling_rate_enable"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 742 | field public static final java.lang.String HIGH_TOUCH_SENSITIVITY_ENABLE = "high_touch_sensitivity_enable"; |
| 743 | field public static final java.lang.String HOME_WAKE_SCREEN = "home_wake_screen"; |
| 744 | field public static final java.lang.String INCREASING_RING = "increasing_ring"; |
| 745 | field public static final java.lang.String INCREASING_RING_RAMP_UP_TIME = "increasing_ring_ramp_up_time"; |
| 746 | field public static final java.lang.String INCREASING_RING_START_VOLUME = "increasing_ring_start_vol"; |
| 747 | field public static final java.lang.String KEY_APP_SWITCH_ACTION = "key_app_switch_action"; |
| 748 | field public static final java.lang.String KEY_APP_SWITCH_LONG_PRESS_ACTION = "key_app_switch_long_press_action"; |
| 749 | field public static final java.lang.String KEY_ASSIST_ACTION = "key_assist_action"; |
| 750 | field public static final java.lang.String KEY_ASSIST_LONG_PRESS_ACTION = "key_assist_long_press_action"; |
Nico | c3b5589 | 2020-03-10 15:52:30 +0200 | [diff] [blame] | 751 | field public static final java.lang.String KEY_EDGE_LONG_SWIPE_ACTION = "key_edge_long_swipe_action"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 752 | field public static final java.lang.String KEY_HOME_DOUBLE_TAP_ACTION = "key_home_double_tap_action"; |
| 753 | field public static final java.lang.String KEY_HOME_LONG_PRESS_ACTION = "key_home_long_press_action"; |
| 754 | field public static final java.lang.String KEY_MENU_ACTION = "key_menu_action"; |
| 755 | field public static final java.lang.String KEY_MENU_LONG_PRESS_ACTION = "key_menu_long_press_action"; |
| 756 | 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] | 757 | field public static final java.lang.String LOCKSCREEN_ROTATION = "lockscreen_rotation"; |
Luca Stefani | 5596210 | 2018-07-02 10:10:34 +0200 | [diff] [blame] | 758 | 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] | 759 | field public static final java.lang.String MENU_WAKE_SCREEN = "menu_wake_screen"; |
| 760 | field public static final java.lang.String NAVBAR_LEFT_IN_LANDSCAPE = "navigation_bar_left"; |
| 761 | field public static final java.lang.String NAVIGATION_BAR_MENU_ARROW_KEYS = "navigation_bar_menu_arrow_keys"; |
Jesse Chan | d649b1d | 2020-05-19 14:31:46 +0800 | [diff] [blame] | 762 | field public static final java.lang.String NAVIGATION_BAR_HINT = "navigation_bar_hint"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 763 | field public static final java.lang.String NAV_BUTTONS = "nav_buttons"; |
| 764 | 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] | 765 | 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] | 766 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_COLOR = "notification_light_pulse_call_color"; |
| 767 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_LED_OFF = "notification_light_pulse_call_led_off"; |
| 768 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CALL_LED_ON = "notification_light_pulse_call_led_on"; |
| 769 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CUSTOM_ENABLE = "notification_light_pulse_custom_enable"; |
| 770 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_CUSTOM_VALUES = "notification_light_pulse_custom_values"; |
| 771 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_COLOR = "notification_light_pulse_default_color"; |
| 772 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_OFF = "notification_light_pulse_default_led_off"; |
| 773 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_DEFAULT_LED_ON = "notification_light_pulse_default_led_on"; |
| 774 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_COLOR = "notification_light_pulse_vmail_color"; |
| 775 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_LED_OFF = "notification_light_pulse_vmail_led_off"; |
| 776 | field public static final java.lang.String NOTIFICATION_LIGHT_PULSE_VMAIL_LED_ON = "notification_light_pulse_vmail_led_on"; |
| 777 | field public static final java.lang.String NOTIFICATION_LIGHT_SCREEN_ON = "notification_light_screen_on_enable"; |
| 778 | field public static final java.lang.String NOTIFICATION_PLAY_QUEUE = "notification_play_queue"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 779 | field public static final java.lang.String PROXIMITY_ON_WAKE = "proximity_on_wake"; |
| 780 | field public static final java.lang.String QS_SHOW_BRIGHTNESS_SLIDER = "qs_show_brightness_slider"; |
| 781 | field public static final java.lang.String RECENTS_SHOW_SEARCH_BAR = "recents_show_search_bar"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 782 | field public static final java.lang.String SHOW_ALARM_ICON = "show_alarm_icon"; |
| 783 | field public static final java.lang.String STATUS_BAR_AM_PM = "status_bar_am_pm"; |
| 784 | field public static final java.lang.String STATUS_BAR_BATTERY_STYLE = "status_bar_battery_style"; |
| 785 | field public static final java.lang.String STATUS_BAR_BRIGHTNESS_CONTROL = "status_bar_brightness_control"; |
| 786 | field public static final java.lang.String STATUS_BAR_CLOCK = "status_bar_clock"; |
| 787 | field public static final java.lang.String STATUS_BAR_IME_SWITCHER = "status_bar_ime_switcher"; |
Adnan Begovic | 2d4d514 | 2015-12-23 11:15:05 -0800 | [diff] [blame] | 788 | field public static final java.lang.String STATUS_BAR_QUICK_QS_PULLDOWN = "qs_quick_pulldown"; |
| 789 | field public static final java.lang.String STATUS_BAR_SHOW_BATTERY_PERCENT = "status_bar_show_battery_percent"; |
Zhao Wei Liew | 33fc2d4 | 2016-10-09 09:43:44 +0800 | [diff] [blame] | 790 | 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] | 791 | field public static final java.lang.String SWAP_VOLUME_KEYS_ON_ROTATION = "swap_volume_keys_on_rotation"; |
| 792 | 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] | 793 | 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] | 794 | 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] | 795 | 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] | 796 | 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] | 797 | 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] | 798 | field public static final java.lang.String USE_EDGE_SERVICE_FOR_GESTURES = "edge_service_for_gestures"; |
| 799 | field public static final java.lang.String VOLBTN_MUSIC_CONTROLS = "volbtn_music_controls"; |
| 800 | 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] | 801 | 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] | 802 | field public static final java.lang.String VOLUME_WAKE_SCREEN = "volume_wake_screen"; |
niks255 | 783463c | 2016-01-29 12:13:00 +0300 | [diff] [blame] | 803 | field public static final java.lang.String ZEN_ALLOW_LIGHTS = "allow_lights"; |
| 804 | 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] | 805 | } |
| 806 | |
| 807 | } |
| 808 | |
Joey | c0b21ca | 2018-04-03 15:42:18 +0200 | [diff] [blame] | 809 | package lineageos.trust { |
| 810 | |
| 811 | public class TrustInterface { |
| 812 | method public static lineageos.trust.TrustInterface getInstance(android.content.Context); |
| 813 | method public int getLevelForFeature(int); |
| 814 | method public boolean postNotificationForFeature(int); |
| 815 | method public boolean removeNotificationForFeature(int); |
| 816 | field public static final int ERROR_UNDEFINED = -1; // 0xffffffff |
| 817 | field public static final int TRUST_FEATURE_ENCRYPTION = 4; // 0x4 |
Tobias Tefke | fa05f27 | 2018-06-14 12:04:36 +0200 | [diff] [blame] | 818 | field public static final int TRUST_FEATURE_KEYS = 5; // 0x5 |
Joey | c0b21ca | 2018-04-03 15:42:18 +0200 | [diff] [blame] | 819 | field public static final int TRUST_FEATURE_LEVEL_BAD = 2; // 0x2 |
| 820 | field public static final int TRUST_FEATURE_LEVEL_GOOD = 0; // 0x0 |
| 821 | field public static final int TRUST_FEATURE_LEVEL_POOR = 1; // 0x1 |
| 822 | field public static final int TRUST_FEATURE_PLATFORM_SECURITY_PATCH = 2; // 0x2 |
Joey | c0b21ca | 2018-04-03 15:42:18 +0200 | [diff] [blame] | 823 | field public static final int TRUST_FEATURE_SELINUX = 0; // 0x0 |
| 824 | field public static final int TRUST_FEATURE_VENDOR_SECURITY_PATCH = 3; // 0x3 |
| 825 | 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] | 826 | field public static final int TRUST_WARN_PUBLIC_KEY = 4; // 0x4 |
Joey | c8a06b9 | 2018-06-30 21:15:37 +0200 | [diff] [blame] | 827 | field public static final int TRUST_WARN_SELINUX = 1; // 0x1 |
Joey | c0b21ca | 2018-04-03 15:42:18 +0200 | [diff] [blame] | 828 | } |
| 829 | |
| 830 | } |
| 831 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 832 | package lineageos.util { |
Steve Kondik | 567b430 | 2016-02-27 12:04:03 +0100 | [diff] [blame] | 833 | |
| 834 | public class ColorUtils { |
| 835 | ctor public ColorUtils(); |
| 836 | method public static double calculateDeltaE(double, double, double, double, double, double); |
| 837 | method public static float[] convertRGBtoLAB(int); |
| 838 | method public static int dropAlpha(int); |
| 839 | method public static int findPerceptuallyNearestColor(int, int[]); |
| 840 | method public static int findPerceptuallyNearestSolidColor(int); |
| 841 | method public static int generateAlertColorFromDrawable(android.graphics.drawable.Drawable); |
Steve Kondik | 987ecb3 | 2016-08-29 00:27:00 -0700 | [diff] [blame] | 842 | 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] | 843 | method public static float[] temperatureToRGB(int); |
| 844 | } |
| 845 | |
| 846 | } |