Chris Wren | a05db38 | 2015-06-24 15:18:34 -0400 | [diff] [blame] | 1 | package android.app { |
| 2 | |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 3 | public class Activity extends android.view.ContextThemeWrapper implements android.content.ComponentCallbacks2 android.view.KeyEvent.Callback android.view.LayoutInflater.Factory2 android.view.View.OnCreateContextMenuListener android.view.Window.Callback { |
| 4 | method public deprecated boolean enterPictureInPictureMode(android.app.PictureInPictureArgs); |
| 5 | method public deprecated void setPictureInPictureArgs(android.app.PictureInPictureArgs); |
| 6 | } |
| 7 | |
| 8 | public class ActivityManager { |
| 9 | method public static deprecated int getMaxNumPictureInPictureActions(); |
| 10 | } |
| 11 | |
| 12 | public class KeyguardManager { |
| 13 | method public deprecated void dismissKeyguard(android.app.Activity, android.app.KeyguardManager.KeyguardDismissCallback, android.os.Handler); |
| 14 | } |
| 15 | |
Chris Wren | a05db38 | 2015-06-24 15:18:34 -0400 | [diff] [blame] | 16 | public class Notification implements android.os.Parcelable { |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 17 | method public deprecated java.lang.String getChannel(); |
| 18 | method public deprecated long getTimeout(); |
Chris Wren | a05db38 | 2015-06-24 15:18:34 -0400 | [diff] [blame] | 19 | method public deprecated void setLatestEventInfo(android.content.Context, java.lang.CharSequence, java.lang.CharSequence, android.app.PendingIntent); |
| 20 | } |
| 21 | |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 22 | public static class Notification.Builder { |
| 23 | method public deprecated android.app.Notification.Builder setChannel(java.lang.String); |
| 24 | method public deprecated android.app.Notification.Builder setTimeout(long); |
| 25 | } |
| 26 | |
| 27 | public static final class Notification.TvExtender implements android.app.Notification.Extender { |
| 28 | method public deprecated java.lang.String getChannel(); |
| 29 | } |
| 30 | |
| 31 | public final deprecated class PictureInPictureArgs implements android.os.Parcelable { |
Winson Chung | ca75478 | 2017-05-02 15:14:23 -0700 | [diff] [blame] | 32 | ctor public deprecated PictureInPictureArgs(); |
| 33 | ctor public deprecated PictureInPictureArgs(float, java.util.List<android.app.RemoteAction>); |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 34 | method public static android.app.PictureInPictureArgs convert(android.app.PictureInPictureParams); |
| 35 | method public static android.app.PictureInPictureParams convert(android.app.PictureInPictureArgs); |
| 36 | method public void copyOnlySet(android.app.PictureInPictureArgs); |
| 37 | method public java.util.List<android.app.RemoteAction> getActions(); |
| 38 | method public float getAspectRatio(); |
| 39 | method public android.util.Rational getAspectRatioRational(); |
| 40 | method public android.graphics.Rect getSourceRectHint(); |
| 41 | method public android.graphics.Rect getSourceRectHintInsets(); |
| 42 | method public boolean hasSetActions(); |
| 43 | method public boolean hasSetAspectRatio(); |
| 44 | method public boolean hasSourceBoundsHint(); |
| 45 | method public boolean hasSourceBoundsHintInsets(); |
Winson Chung | ca75478 | 2017-05-02 15:14:23 -0700 | [diff] [blame] | 46 | method public deprecated void setActions(java.util.List<android.app.RemoteAction>); |
| 47 | method public deprecated void setAspectRatio(float); |
| 48 | method public deprecated void setSourceRectHint(android.graphics.Rect); |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 49 | method public deprecated void setSourceRectHintInsets(android.graphics.Rect); |
| 50 | method public void truncateActions(int); |
| 51 | field public static final android.os.Parcelable.Creator<android.app.PictureInPictureArgs> CREATOR; |
| 52 | } |
| 53 | |
| 54 | public static class PictureInPictureArgs.Builder { |
| 55 | ctor public PictureInPictureArgs.Builder(); |
| 56 | method public android.app.PictureInPictureArgs build(); |
| 57 | method public android.app.PictureInPictureArgs.Builder setActions(java.util.List<android.app.RemoteAction>); |
| 58 | method public android.app.PictureInPictureArgs.Builder setAspectRatio(android.util.Rational); |
| 59 | method public android.app.PictureInPictureArgs.Builder setSourceRectHint(android.graphics.Rect); |
| 60 | } |
| 61 | |
Jeff Sharkey | 780861f | 2017-03-20 14:38:04 -0600 | [diff] [blame] | 62 | public final class RecoverableSecurityException extends java.lang.SecurityException implements android.os.Parcelable { |
| 63 | method public deprecated void showAsNotification(android.content.Context); |
| 64 | } |
| 65 | |
Chris Wren | a05db38 | 2015-06-24 15:18:34 -0400 | [diff] [blame] | 66 | } |
| 67 | |
phweiss | 27ee334 | 2016-02-08 16:40:45 +0100 | [diff] [blame] | 68 | package android.app.admin { |
| 69 | |
| 70 | public class DevicePolicyManager { |
| 71 | method public deprecated android.os.UserHandle createAndInitializeUser(android.content.ComponentName, java.lang.String, java.lang.String, android.content.ComponentName, android.os.Bundle); |
| 72 | method public deprecated android.os.UserHandle createUser(android.content.ComponentName, java.lang.String); |
| 73 | } |
| 74 | |
| 75 | } |
| 76 | |
Jeff Sharkey | 789a8fc | 2017-04-16 13:18:35 -0600 | [diff] [blame] | 77 | package android.app.usage { |
| 78 | |
Jeff Sharkey | a4d34d9 | 2017-04-27 11:21:41 -0600 | [diff] [blame] | 79 | public final class StorageStats implements android.os.Parcelable { |
| 80 | method public deprecated long getCodeBytes(); |
| 81 | } |
| 82 | |
Jeff Sharkey | 789a8fc | 2017-04-16 13:18:35 -0600 | [diff] [blame] | 83 | public class StorageStatsManager { |
| 84 | method public deprecated long getFreeBytes(java.lang.String) throws java.io.IOException; |
| 85 | method public deprecated long getTotalBytes(java.lang.String) throws java.io.IOException; |
| 86 | method public deprecated boolean isQuotaSupported(java.lang.String); |
| 87 | method public deprecated android.app.usage.ExternalStorageStats queryExternalStatsForUser(java.lang.String, android.os.UserHandle) throws java.io.IOException; |
| 88 | method public deprecated android.app.usage.StorageStats queryStatsForPackage(java.lang.String, java.lang.String, android.os.UserHandle) throws java.io.IOException, android.content.pm.PackageManager.NameNotFoundException; |
| 89 | method public deprecated android.app.usage.StorageStats queryStatsForUid(java.lang.String, int) throws java.io.IOException; |
| 90 | method public deprecated android.app.usage.StorageStats queryStatsForUser(java.lang.String, android.os.UserHandle) throws java.io.IOException; |
| 91 | } |
| 92 | |
| 93 | } |
| 94 | |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 95 | package android.content { |
| 96 | |
Vladislav Kaznacheev | c35c02f | 2017-04-20 08:38:21 -0700 | [diff] [blame] | 97 | public class ClipData implements android.os.Parcelable { |
| 98 | method public deprecated void addItem(android.content.ClipData.Item, android.content.ContentResolver); |
| 99 | } |
| 100 | |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 101 | public abstract class Context { |
Jeff Sharkey | cf3f0a1 | 2016-03-17 19:57:58 -0600 | [diff] [blame] | 102 | method public abstract android.content.SharedPreferences getSharedPreferences(java.io.File, int); |
| 103 | method public abstract java.io.File getSharedPreferencesPath(java.lang.String); |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 104 | } |
| 105 | |
Garfield Tan | ce1d0e9 | 2017-03-23 10:52:48 -0700 | [diff] [blame] | 106 | public class Intent implements java.lang.Cloneable android.os.Parcelable { |
| 107 | field public static final deprecated java.lang.String EXTRA_QUICK_VIEW_ADVANCED = "android.intent.extra.QUICK_VIEW_ADVANCED"; |
| 108 | } |
| 109 | |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 110 | } |
| 111 | |
Svetoslav | c6d1c34 | 2015-02-26 14:44:43 -0800 | [diff] [blame] | 112 | package android.content.pm { |
| 113 | |
Jeff Sharkey | 789a8fc | 2017-04-16 13:18:35 -0600 | [diff] [blame] | 114 | public class ApplicationInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable { |
| 115 | field public deprecated java.lang.String volumeUuid; |
| 116 | } |
| 117 | |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 118 | public class ComponentInfo extends android.content.pm.PackageItemInfo { |
| 119 | field public deprecated boolean encryptionAware; |
| 120 | } |
| 121 | |
Svetoslav | c6d1c34 | 2015-02-26 14:44:43 -0800 | [diff] [blame] | 122 | public class PackageInfo implements android.os.Parcelable { |
| 123 | field public static final int REQUESTED_PERMISSION_REQUIRED = 1; // 0x1 |
| 124 | } |
| 125 | |
Svetoslav Ganov | 345ffa5 | 2017-04-18 16:08:41 -0700 | [diff] [blame] | 126 | public abstract class PackageManager { |
| 127 | method public abstract boolean setInstantAppCookie(byte[]); |
| 128 | } |
| 129 | |
Jeff Sharkey | f29d196 | 2017-05-01 15:09:11 -0600 | [diff] [blame] | 130 | public class ResolveInfo implements android.os.Parcelable { |
| 131 | field public deprecated boolean instantAppAvailable; |
| 132 | } |
| 133 | |
Svetoslav Ganov | 0cb43ef | 2017-04-18 14:28:35 -0700 | [diff] [blame] | 134 | public final class SharedLibraryInfo implements android.os.Parcelable { |
| 135 | method public boolean isBuiltin(); |
| 136 | method public boolean isDynamic(); |
| 137 | method public boolean isStatic(); |
| 138 | } |
| 139 | |
Svetoslav | c6d1c34 | 2015-02-26 14:44:43 -0800 | [diff] [blame] | 140 | } |
| 141 | |
Jeff Brown | 8faab36 | 2015-04-09 18:52:52 -0700 | [diff] [blame] | 142 | package android.database { |
| 143 | |
| 144 | public abstract class AbstractCursor implements android.database.CrossProcessCursor { |
| 145 | field protected java.lang.Long mCurrentRowID; |
| 146 | field protected int mRowIdColumnIndex; |
| 147 | field protected java.util.HashMap<java.lang.Long, java.util.Map<java.lang.String, java.lang.Object>> mUpdatedRows; |
| 148 | } |
| 149 | |
| 150 | } |
| 151 | |
Derek Sollenberger | 51e7805 | 2016-03-11 09:10:27 -0500 | [diff] [blame] | 152 | package android.graphics { |
| 153 | |
| 154 | public deprecated class AvoidXfermode extends android.graphics.Xfermode { |
| 155 | ctor public AvoidXfermode(int, int, android.graphics.AvoidXfermode.Mode); |
| 156 | } |
| 157 | |
| 158 | public static final class AvoidXfermode.Mode extends java.lang.Enum { |
| 159 | method public static android.graphics.AvoidXfermode.Mode valueOf(java.lang.String); |
| 160 | method public static final android.graphics.AvoidXfermode.Mode[] values(); |
| 161 | enum_constant public static final android.graphics.AvoidXfermode.Mode AVOID; |
| 162 | enum_constant public static final android.graphics.AvoidXfermode.Mode TARGET; |
| 163 | } |
| 164 | |
Derek Sollenberger | b29b16e | 2017-01-04 14:57:43 -0500 | [diff] [blame] | 165 | public class Canvas { |
| 166 | method public deprecated boolean clipRegion(android.graphics.Region, android.graphics.Region.Op); |
| 167 | method public deprecated boolean clipRegion(android.graphics.Region); |
| 168 | } |
| 169 | |
Derek Sollenberger | dcc3630 | 2016-12-09 15:10:39 -0500 | [diff] [blame] | 170 | public deprecated class LayerRasterizer extends android.graphics.Rasterizer { |
| 171 | ctor public LayerRasterizer(); |
| 172 | method public void addLayer(android.graphics.Paint, float, float); |
| 173 | method public void addLayer(android.graphics.Paint); |
| 174 | } |
| 175 | |
| 176 | public class Paint { |
| 177 | method public deprecated android.graphics.Rasterizer getRasterizer(); |
| 178 | method public deprecated android.graphics.Rasterizer setRasterizer(android.graphics.Rasterizer); |
| 179 | } |
| 180 | |
Derek Sollenberger | 51e7805 | 2016-03-11 09:10:27 -0500 | [diff] [blame] | 181 | public deprecated class PixelXorXfermode extends android.graphics.Xfermode { |
| 182 | ctor public PixelXorXfermode(int); |
| 183 | } |
| 184 | |
Derek Sollenberger | dcc3630 | 2016-12-09 15:10:39 -0500 | [diff] [blame] | 185 | public class Rasterizer { |
| 186 | ctor public Rasterizer(); |
| 187 | } |
| 188 | |
Derek Sollenberger | 51e7805 | 2016-03-11 09:10:27 -0500 | [diff] [blame] | 189 | } |
| 190 | |
Peng Xu | 3c8c6a4 | 2017-04-06 18:37:56 -0700 | [diff] [blame] | 191 | package android.hardware { |
| 192 | |
Craig Donner | fd5d331 | 2017-04-19 18:33:36 -0700 | [diff] [blame] | 193 | public final class HardwareBuffer implements java.lang.AutoCloseable android.os.Parcelable { |
| 194 | method public deprecated void destroy(); |
| 195 | method public deprecated boolean isDestroyed(); |
| 196 | } |
| 197 | |
Peng Xu | 3c8c6a4 | 2017-04-06 18:37:56 -0700 | [diff] [blame] | 198 | public final class SensorDirectChannel implements java.nio.channels.Channel { |
| 199 | method public deprecated boolean isValid(); |
| 200 | } |
| 201 | |
| 202 | public abstract class SensorManager { |
| 203 | method public deprecated int configureDirectChannel(android.hardware.SensorDirectChannel, android.hardware.Sensor, int); |
| 204 | } |
| 205 | |
| 206 | } |
| 207 | |
Yu Liu | b87243c | 2017-04-18 16:08:29 -0700 | [diff] [blame] | 208 | package android.location { |
| 209 | |
| 210 | public class Location implements android.os.Parcelable { |
| 211 | method public deprecated void removeBearingAccuracy(); |
| 212 | method public deprecated void removeSpeedAccuracy(); |
| 213 | method public deprecated void removeVerticalAccuracy(); |
| 214 | } |
| 215 | |
| 216 | } |
| 217 | |
Ying Wang | 02937eb | 2015-01-09 11:51:26 -0800 | [diff] [blame] | 218 | package android.media { |
| 219 | |
Jeff Sharkey | 50d1c04 | 2016-02-29 16:34:46 -0700 | [diff] [blame] | 220 | public final class AudioFormat implements android.os.Parcelable { |
Ying Wang | 02937eb | 2015-01-09 11:51:26 -0800 | [diff] [blame] | 221 | ctor public AudioFormat(); |
| 222 | } |
| 223 | |
| 224 | } |
| 225 | |
Dongwon Kang | e12d810 | 2016-03-04 16:45:39 -0800 | [diff] [blame] | 226 | package android.media.tv { |
| 227 | |
Dongwon Kang | 0632d8a | 2016-03-18 07:42:04 -0700 | [diff] [blame] | 228 | public final class TvInputManager { |
| 229 | method public android.media.tv.TvInputManager.Hardware acquireTvInputHardware(int, android.media.tv.TvInputManager.HardwareCallback, android.media.tv.TvInputInfo); |
| 230 | } |
| 231 | |
Dongwon Kang | e12d810 | 2016-03-04 16:45:39 -0800 | [diff] [blame] | 232 | public class TvView extends android.view.ViewGroup { |
| 233 | method public void requestUnblockContent(android.media.tv.TvContentRating); |
| 234 | } |
| 235 | |
| 236 | } |
| 237 | |
Narayan Kamath | 406e1ed | 2014-12-10 18:55:12 +0000 | [diff] [blame] | 238 | package android.net { |
| 239 | |
Lorenzo Colitti | 2187df7 | 2016-12-09 18:39:30 +0900 | [diff] [blame] | 240 | public class ConnectivityManager { |
| 241 | method public deprecated boolean requestRouteToHost(int, int); |
| 242 | method public deprecated int startUsingNetworkFeature(int, java.lang.String); |
| 243 | method public deprecated int stopUsingNetworkFeature(int, java.lang.String); |
| 244 | } |
| 245 | |
Joe LaPenna | 2c60ef0 | 2017-05-01 09:46:01 -0700 | [diff] [blame] | 246 | public deprecated class NetworkBadging { |
| 247 | method public static android.graphics.drawable.Drawable getWifiIcon(int, int, android.content.res.Resources.Theme); |
| 248 | field public static final int BADGING_4K = 30; // 0x1e |
| 249 | field public static final int BADGING_HD = 20; // 0x14 |
| 250 | field public static final int BADGING_NONE = 0; // 0x0 |
| 251 | field public static final int BADGING_SD = 10; // 0xa |
| 252 | } |
| 253 | |
Alex Klyubin | 5e86d95 | 2016-09-21 14:17:26 -0700 | [diff] [blame] | 254 | public abstract class PskKeyManager { |
| 255 | ctor public PskKeyManager(); |
| 256 | field public static final int MAX_IDENTITY_HINT_LENGTH_BYTES = 128; // 0x80 |
| 257 | field public static final int MAX_IDENTITY_LENGTH_BYTES = 128; // 0x80 |
| 258 | field public static final int MAX_KEY_LENGTH_BYTES = 256; // 0x100 |
| 259 | } |
| 260 | |
Narayan Kamath | 406e1ed | 2014-12-10 18:55:12 +0000 | [diff] [blame] | 261 | public class SSLCertificateSocketFactory extends javax.net.ssl.SSLSocketFactory { |
| 262 | method public static deprecated org.apache.http.conn.ssl.SSLSocketFactory getHttpSocketFactory(int, android.net.SSLSessionCache); |
| 263 | } |
| 264 | |
| 265 | } |
| 266 | |
Ying Wang | 02937eb | 2015-01-09 11:51:26 -0800 | [diff] [blame] | 267 | package android.os { |
| 268 | |
Jeff Brown | 6e53931 | 2015-02-24 18:53:21 -0800 | [diff] [blame] | 269 | public class BatteryManager { |
| 270 | ctor public BatteryManager(); |
| 271 | } |
| 272 | |
Ying Wang | 02937eb | 2015-01-09 11:51:26 -0800 | [diff] [blame] | 273 | public final class PowerManager { |
| 274 | method public void goToSleep(long); |
| 275 | method public deprecated void userActivity(long, boolean); |
| 276 | method public void wakeUp(long); |
| 277 | } |
| 278 | |
Andreas Gampe | 70e21e6 | 2015-03-18 16:13:33 -0700 | [diff] [blame] | 279 | public class RecoverySystem { |
| 280 | ctor public RecoverySystem(); |
| 281 | } |
| 282 | |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 283 | public class TestLooperManager { |
| 284 | method public deprecated android.os.MessageQueue getQueue(); |
| 285 | } |
| 286 | |
Ying Wang | 02937eb | 2015-01-09 11:51:26 -0800 | [diff] [blame] | 287 | public class UserManager { |
| 288 | method public android.graphics.drawable.Drawable getBadgedDrawableForUser(android.graphics.drawable.Drawable, android.os.UserHandle, android.graphics.Rect, int); |
| 289 | method public android.graphics.drawable.Drawable getBadgedIconForUser(android.graphics.drawable.Drawable, android.os.UserHandle); |
| 290 | method public java.lang.CharSequence getBadgedLabelForUser(java.lang.CharSequence, android.os.UserHandle); |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 291 | } |
| 292 | |
| 293 | } |
| 294 | |
Jeff Sharkey | c02bfae | 2016-03-27 15:06:53 -0600 | [diff] [blame] | 295 | package android.os.storage { |
| 296 | |
| 297 | public class StorageManager { |
Jeff Sharkey | 789a8fc | 2017-04-16 13:18:35 -0600 | [diff] [blame] | 298 | method public deprecated void allocateBytes(java.io.File, long, int) throws java.io.IOException; |
| 299 | method public deprecated long getAllocatableBytes(java.io.File, int) throws java.io.IOException; |
| 300 | method public deprecated long getCacheQuotaBytes(java.io.File) throws java.io.IOException; |
| 301 | method public deprecated long getCacheQuotaBytes() throws java.io.IOException; |
| 302 | method public deprecated long getCacheSizeBytes(java.io.File) throws java.io.IOException; |
| 303 | method public deprecated long getCacheSizeBytes() throws java.io.IOException; |
| 304 | method public deprecated long getExternalCacheQuotaBytes() throws java.io.IOException; |
| 305 | method public deprecated long getExternalCacheSizeBytes() throws java.io.IOException; |
Jeff Sharkey | c02bfae | 2016-03-27 15:06:53 -0600 | [diff] [blame] | 306 | method public android.os.storage.StorageVolume getPrimaryVolume(); |
| 307 | method public android.os.storage.StorageVolume[] getVolumeList(); |
Jeff Sharkey | b5a35b8 | 2017-03-22 21:30:19 -0600 | [diff] [blame] | 308 | method public deprecated boolean isCacheBehaviorAtomic(java.io.File) throws java.io.IOException; |
| 309 | method public deprecated void setCacheBehaviorAtomic(java.io.File, boolean) throws java.io.IOException; |
Jeff Sharkey | c02bfae | 2016-03-27 15:06:53 -0600 | [diff] [blame] | 310 | } |
| 311 | |
| 312 | } |
| 313 | |
Svetoslav | dbbeeb3 | 2015-02-18 19:16:25 -0800 | [diff] [blame] | 314 | package android.provider { |
| 315 | |
Svetoslav | bfa216a | 2015-06-05 14:20:50 -0700 | [diff] [blame] | 316 | public class Browser { |
| 317 | method public static final void addSearchUrl(android.content.ContentResolver, java.lang.String); |
| 318 | method public static final boolean canClearHistory(android.content.ContentResolver); |
| 319 | method public static final void clearHistory(android.content.ContentResolver); |
| 320 | method public static final void clearSearches(android.content.ContentResolver); |
| 321 | method public static final void deleteFromHistory(android.content.ContentResolver, java.lang.String); |
| 322 | method public static final void deleteHistoryTimeFrame(android.content.ContentResolver, long, long); |
| 323 | method public static final android.database.Cursor getAllBookmarks(android.content.ContentResolver) throws java.lang.IllegalStateException; |
| 324 | method public static final android.database.Cursor getAllVisitedUrls(android.content.ContentResolver) throws java.lang.IllegalStateException; |
| 325 | method public static final void requestAllIcons(android.content.ContentResolver, java.lang.String, android.webkit.WebIconDatabase.IconListener); |
| 326 | method public static final void saveBookmark(android.content.Context, java.lang.String, java.lang.String); |
| 327 | method public static final void truncateHistory(android.content.ContentResolver); |
| 328 | method public static final void updateVisitedHistory(android.content.ContentResolver, java.lang.String, boolean); |
| 329 | field public static final android.net.Uri BOOKMARKS_URI; |
| 330 | field public static final java.lang.String[] HISTORY_PROJECTION; |
| 331 | field public static final int HISTORY_PROJECTION_BOOKMARK_INDEX = 4; // 0x4 |
| 332 | field public static final int HISTORY_PROJECTION_DATE_INDEX = 3; // 0x3 |
| 333 | field public static final int HISTORY_PROJECTION_FAVICON_INDEX = 6; // 0x6 |
| 334 | field public static final int HISTORY_PROJECTION_ID_INDEX = 0; // 0x0 |
| 335 | field public static final int HISTORY_PROJECTION_TITLE_INDEX = 5; // 0x5 |
| 336 | field public static final int HISTORY_PROJECTION_URL_INDEX = 1; // 0x1 |
| 337 | field public static final int HISTORY_PROJECTION_VISITS_INDEX = 2; // 0x2 |
| 338 | field public static final java.lang.String[] SEARCHES_PROJECTION; |
| 339 | field public static final int SEARCHES_PROJECTION_DATE_INDEX = 2; // 0x2 |
| 340 | field public static final int SEARCHES_PROJECTION_SEARCH_INDEX = 1; // 0x1 |
| 341 | field public static final android.net.Uri SEARCHES_URI; |
| 342 | field public static final java.lang.String[] TRUNCATE_HISTORY_PROJECTION; |
| 343 | field public static final int TRUNCATE_HISTORY_PROJECTION_ID_INDEX = 0; // 0x0 |
| 344 | field public static final int TRUNCATE_N_OLDEST = 5; // 0x5 |
| 345 | } |
| 346 | |
| 347 | public static class Browser.BookmarkColumns implements android.provider.BaseColumns { |
| 348 | ctor public Browser.BookmarkColumns(); |
| 349 | field public static final java.lang.String BOOKMARK = "bookmark"; |
| 350 | field public static final java.lang.String CREATED = "created"; |
| 351 | field public static final java.lang.String DATE = "date"; |
| 352 | field public static final java.lang.String FAVICON = "favicon"; |
| 353 | field public static final java.lang.String THUMBNAIL = "thumbnail"; |
| 354 | field public static final java.lang.String TITLE = "title"; |
| 355 | field public static final java.lang.String TOUCH_ICON = "touch_icon"; |
| 356 | field public static final java.lang.String URL = "url"; |
| 357 | field public static final java.lang.String USER_ENTERED = "user_entered"; |
| 358 | field public static final java.lang.String VISITS = "visits"; |
| 359 | } |
| 360 | |
| 361 | public static class Browser.SearchColumns implements android.provider.BaseColumns { |
| 362 | ctor public Browser.SearchColumns(); |
| 363 | field public static final java.lang.String DATE = "date"; |
| 364 | field public static final java.lang.String SEARCH = "search"; |
| 365 | field public static final deprecated java.lang.String URL = "url"; |
| 366 | } |
| 367 | |
Svetoslav Ganov | 6d2c0e5 | 2015-06-23 16:33:36 +0000 | [diff] [blame] | 368 | public static final deprecated class ContactsContract.Contacts.StreamItems { |
| 369 | field public static final deprecated java.lang.String CONTENT_DIRECTORY = "stream_items"; |
| 370 | } |
| 371 | |
| 372 | public static final deprecated class ContactsContract.RawContacts.StreamItems implements android.provider.BaseColumns { |
| 373 | field public static final deprecated java.lang.String CONTENT_DIRECTORY = "stream_items"; |
| 374 | } |
| 375 | |
| 376 | public static final deprecated class ContactsContract.StreamItemPhotos implements android.provider.BaseColumns { |
| 377 | field public static final deprecated java.lang.String PHOTO = "photo"; |
| 378 | } |
| 379 | |
| 380 | protected static abstract deprecated interface ContactsContract.StreamItemPhotosColumns { |
| 381 | field public static final deprecated java.lang.String PHOTO_FILE_ID = "photo_file_id"; |
| 382 | field public static final deprecated java.lang.String PHOTO_URI = "photo_uri"; |
| 383 | field public static final deprecated java.lang.String SORT_INDEX = "sort_index"; |
| 384 | field public static final deprecated java.lang.String STREAM_ITEM_ID = "stream_item_id"; |
| 385 | field public static final deprecated java.lang.String SYNC1 = "stream_item_photo_sync1"; |
| 386 | field public static final deprecated java.lang.String SYNC2 = "stream_item_photo_sync2"; |
| 387 | field public static final deprecated java.lang.String SYNC3 = "stream_item_photo_sync3"; |
| 388 | field public static final deprecated java.lang.String SYNC4 = "stream_item_photo_sync4"; |
| 389 | } |
| 390 | |
| 391 | public static final deprecated class ContactsContract.StreamItems implements android.provider.BaseColumns { |
| 392 | field public static final deprecated java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item"; |
| 393 | field public static final deprecated android.net.Uri CONTENT_LIMIT_URI; |
| 394 | field public static final deprecated android.net.Uri CONTENT_PHOTO_URI; |
| 395 | field public static final deprecated java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item"; |
| 396 | field public static final deprecated android.net.Uri CONTENT_URI; |
| 397 | field public static final deprecated java.lang.String MAX_ITEMS = "max_items"; |
| 398 | } |
| 399 | |
| 400 | public static final deprecated class ContactsContract.StreamItems.StreamItemPhotos implements android.provider.BaseColumns { |
| 401 | field public static final deprecated java.lang.String CONTENT_DIRECTORY = "photo"; |
| 402 | field public static final deprecated java.lang.String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item_photo"; |
| 403 | field public static final deprecated java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item_photo"; |
| 404 | } |
| 405 | |
| 406 | protected static abstract deprecated interface ContactsContract.StreamItemsColumns { |
| 407 | field public static final deprecated java.lang.String ACCOUNT_NAME = "account_name"; |
| 408 | field public static final deprecated java.lang.String ACCOUNT_TYPE = "account_type"; |
| 409 | field public static final deprecated java.lang.String COMMENTS = "comments"; |
| 410 | field public static final deprecated java.lang.String CONTACT_ID = "contact_id"; |
| 411 | field public static final deprecated java.lang.String CONTACT_LOOKUP_KEY = "contact_lookup"; |
| 412 | field public static final deprecated java.lang.String DATA_SET = "data_set"; |
| 413 | field public static final deprecated java.lang.String RAW_CONTACT_ID = "raw_contact_id"; |
| 414 | field public static final deprecated java.lang.String RAW_CONTACT_SOURCE_ID = "raw_contact_source_id"; |
| 415 | field public static final deprecated java.lang.String RES_ICON = "icon"; |
| 416 | field public static final deprecated java.lang.String RES_LABEL = "label"; |
| 417 | field public static final deprecated java.lang.String RES_PACKAGE = "res_package"; |
| 418 | field public static final deprecated java.lang.String SYNC1 = "stream_item_sync1"; |
| 419 | field public static final deprecated java.lang.String SYNC2 = "stream_item_sync2"; |
| 420 | field public static final deprecated java.lang.String SYNC3 = "stream_item_sync3"; |
| 421 | field public static final deprecated java.lang.String SYNC4 = "stream_item_sync4"; |
| 422 | field public static final deprecated java.lang.String TEXT = "text"; |
| 423 | field public static final deprecated java.lang.String TIMESTAMP = "timestamp"; |
| 424 | } |
| 425 | |
Tingting Wang | e0cbda4 | 2016-05-10 15:39:37 -0700 | [diff] [blame] | 426 | public static final class Settings.Global extends android.provider.Settings.NameValueTable { |
| 427 | field public static final deprecated java.lang.String CONTACT_METADATA_SYNC = "contact_metadata_sync"; |
| 428 | } |
| 429 | |
Svetoslav | dbbeeb3 | 2015-02-18 19:16:25 -0800 | [diff] [blame] | 430 | public static final class Settings.System extends android.provider.Settings.NameValueTable { |
| 431 | field public static final java.lang.String APPEND_FOR_LAST_AUDIBLE = "_last_audible"; |
| 432 | field public static final java.lang.String VOLUME_ALARM = "volume_alarm"; |
| 433 | field public static final java.lang.String VOLUME_BLUETOOTH_SCO = "volume_bluetooth_sco"; |
| 434 | field public static final java.lang.String VOLUME_MUSIC = "volume_music"; |
| 435 | field public static final java.lang.String VOLUME_NOTIFICATION = "volume_notification"; |
| 436 | field public static final java.lang.String VOLUME_RING = "volume_ring"; |
| 437 | field public static final java.lang.String[] VOLUME_SETTINGS; |
| 438 | field public static final java.lang.String VOLUME_SYSTEM = "volume_system"; |
| 439 | field public static final java.lang.String VOLUME_VOICE = "volume_voice"; |
| 440 | } |
| 441 | |
Amit Mahajan | a895559 | 2016-05-02 14:45:46 -0700 | [diff] [blame] | 442 | public static final class Telephony.Sms.Intents { |
| 443 | field public static final java.lang.String SMS_EMERGENCY_CB_RECEIVED_ACTION = "android.provider.Telephony.SMS_EMERGENCY_CB_RECEIVED"; |
| 444 | } |
| 445 | |
Svetoslav | dbbeeb3 | 2015-02-18 19:16:25 -0800 | [diff] [blame] | 446 | } |
| 447 | |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 448 | package android.speech.tts { |
| 449 | |
| 450 | public abstract class UtteranceProgressListener { |
| 451 | method public deprecated void onUtteranceRangeStart(java.lang.String, int, int); |
| 452 | } |
| 453 | |
| 454 | } |
| 455 | |
Jeff Sharkey | e06b4d1 | 2016-01-06 14:51:50 -0700 | [diff] [blame] | 456 | package android.test.mock { |
| 457 | |
Stephan Linzner | b51617f | 2016-01-27 18:09:50 -0800 | [diff] [blame] | 458 | public deprecated class MockPackageManager extends android.content.pm.PackageManager { |
Jeff Sharkey | e06b4d1 | 2016-01-06 14:51:50 -0700 | [diff] [blame] | 459 | method public deprecated java.lang.String getDefaultBrowserPackageName(int); |
| 460 | method public deprecated boolean setDefaultBrowserPackageName(java.lang.String, int); |
| 461 | } |
| 462 | |
| 463 | } |
| 464 | |
Ying Wang | 02937eb | 2015-01-09 11:51:26 -0800 | [diff] [blame] | 465 | package android.text.format { |
| 466 | |
| 467 | public class DateFormat { |
| 468 | field public static final deprecated char AM_PM = 97; // 0x0061 'a' |
| 469 | field public static final deprecated char CAPITAL_AM_PM = 65; // 0x0041 'A' |
| 470 | field public static final deprecated char DATE = 100; // 0x0064 'd' |
| 471 | field public static final deprecated char DAY = 69; // 0x0045 'E' |
| 472 | field public static final deprecated char HOUR = 104; // 0x0068 'h' |
| 473 | field public static final deprecated char HOUR_OF_DAY = 107; // 0x006b 'k' |
| 474 | field public static final deprecated char MINUTE = 109; // 0x006d 'm' |
| 475 | field public static final deprecated char MONTH = 77; // 0x004d 'M' |
| 476 | field public static final deprecated char QUOTE = 39; // 0x0027 '\'' |
| 477 | field public static final deprecated char SECONDS = 115; // 0x0073 's' |
| 478 | field public static final deprecated char STANDALONE_MONTH = 76; // 0x004c 'L' |
| 479 | field public static final deprecated char TIME_ZONE = 122; // 0x007a 'z' |
| 480 | field public static final deprecated char YEAR = 121; // 0x0079 'y' |
| 481 | } |
| 482 | |
| 483 | } |
| 484 | |
Derek Sollenberger | dcc3630 | 2016-12-09 15:10:39 -0500 | [diff] [blame] | 485 | package android.text.style { |
| 486 | |
| 487 | public class RasterizerSpan extends android.text.style.CharacterStyle implements android.text.style.UpdateAppearance { |
| 488 | ctor public RasterizerSpan(android.graphics.Rasterizer); |
| 489 | method public android.graphics.Rasterizer getRasterizer(); |
| 490 | } |
| 491 | |
| 492 | } |
| 493 | |
Neil Fuller | d6a2135 | 2015-02-12 10:13:45 +0000 | [diff] [blame] | 494 | package android.util { |
| 495 | |
| 496 | public deprecated class FloatMath { |
| 497 | method public static float ceil(float); |
| 498 | method public static float cos(float); |
| 499 | method public static float exp(float); |
| 500 | method public static float floor(float); |
| 501 | method public static float hypot(float, float); |
| 502 | method public static float pow(float, float); |
| 503 | method public static float sin(float); |
| 504 | method public static float sqrt(float); |
| 505 | } |
| 506 | |
| 507 | } |
| 508 | |
Ying Wang | 02937eb | 2015-01-09 11:51:26 -0800 | [diff] [blame] | 509 | package android.view { |
| 510 | |
| 511 | public class View implements android.view.accessibility.AccessibilityEventSource android.graphics.drawable.Drawable.Callback android.view.KeyEvent.Callback { |
| 512 | method protected void initializeFadingEdge(android.content.res.TypedArray); |
| 513 | method protected void initializeScrollbars(android.content.res.TypedArray); |
| 514 | } |
| 515 | |
Aaron Whyte | f830652 | 2017-03-22 16:30:58 -0700 | [diff] [blame] | 516 | public class ViewConfiguration { |
| 517 | method public int getScaledScrollFactor(); |
| 518 | } |
| 519 | |
Ying Wang | 02937eb | 2015-01-09 11:51:26 -0800 | [diff] [blame] | 520 | public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable { |
| 521 | field public static final int TYPE_KEYGUARD = 2004; // 0x7d4 |
| 522 | } |
| 523 | |
| 524 | } |
| 525 | |
Phil Weaver | be2922f | 2017-04-28 14:58:35 -0700 | [diff] [blame] | 526 | package android.view.accessibility { |
| 527 | |
| 528 | public final class AccessibilityWindowInfo implements android.os.Parcelable { |
| 529 | method public boolean inPictureInPicture(); |
| 530 | } |
| 531 | |
| 532 | } |
| 533 | |
Michael Wright | 1ad3955 | 2016-04-27 13:07:18 -0400 | [diff] [blame] | 534 | package android.webkit { |
| 535 | |
| 536 | public class WebViewClient { |
| 537 | method public void onUnhandledInputEvent(android.webkit.WebView, android.view.InputEvent); |
| 538 | } |
| 539 | |
| 540 | } |
| 541 | |
Ying Wang | 02937eb | 2015-01-09 11:51:26 -0800 | [diff] [blame] | 542 | package android.widget { |
| 543 | |
| 544 | public class TextView extends android.view.View implements android.view.ViewTreeObserver.OnPreDrawListener { |
| 545 | method public static int getTextColor(android.content.Context, android.content.res.TypedArray, int); |
| 546 | method public static android.content.res.ColorStateList getTextColors(android.content.Context, android.content.res.TypedArray); |
| 547 | } |
| 548 | |
| 549 | } |
| 550 | |