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