1// Signature format: 2.0 2package android.app { 3 4 public class Notification implements android.os.Parcelable { 5 method @Deprecated public String getChannel(); 6 method public static Class<? extends android.app.Notification.Style> getNotificationStyleClass(String); 7 method @Deprecated public long getTimeout(); 8 method @Deprecated public void setLatestEventInfo(android.content.Context, CharSequence, CharSequence, android.app.PendingIntent); 9 } 10 11 public static final class Notification.BubbleMetadata implements android.os.Parcelable { 12 method @Deprecated @Nullable public android.graphics.drawable.Icon getBubbleIcon(); 13 method @Deprecated @Nullable public android.app.PendingIntent getBubbleIntent(); 14 } 15 16 public static final class Notification.BubbleMetadata.Builder { 17 method @Deprecated @NonNull public android.app.Notification.BubbleMetadata.Builder createIntentBubble(@NonNull android.app.PendingIntent, @NonNull android.graphics.drawable.Icon); 18 method @Deprecated @NonNull public android.app.Notification.BubbleMetadata.Builder createShortcutBubble(@NonNull String); 19 } 20 21 public static class Notification.Builder { 22 method @Deprecated public android.app.Notification.Builder setChannel(String); 23 method @Deprecated public android.app.Notification.Builder setTimeout(long); 24 } 25 26} 27 28package android.app.slice { 29 30 public final class Slice implements android.os.Parcelable { 31 field @Deprecated public static final String EXTRA_SLIDER_VALUE = "android.app.slice.extra.SLIDER_VALUE"; 32 field @Deprecated public static final String SUBTYPE_SLIDER = "slider"; 33 } 34 35 public static class Slice.Builder { 36 ctor @Deprecated public Slice.Builder(@NonNull android.net.Uri); 37 method @Deprecated public android.app.slice.Slice.Builder addTimestamp(long, @Nullable String, java.util.List<java.lang.String>); 38 method @Deprecated public android.app.slice.Slice.Builder setSpec(android.app.slice.SliceSpec); 39 } 40 41 public final class SliceItem implements android.os.Parcelable { 42 method @Deprecated public long getTimestamp(); 43 field @Deprecated public static final String FORMAT_TIMESTAMP = "long"; 44 } 45 46 public class SliceManager { 47 method @Deprecated @Nullable public android.app.slice.Slice bindSlice(@NonNull android.net.Uri, @NonNull java.util.List<android.app.slice.SliceSpec>); 48 method @Deprecated @Nullable public android.app.slice.Slice bindSlice(@NonNull android.content.Intent, @NonNull java.util.List<android.app.slice.SliceSpec>); 49 method @Deprecated public void pinSlice(@NonNull android.net.Uri, @NonNull java.util.List<android.app.slice.SliceSpec>); 50 } 51 52 public abstract class SliceProvider extends android.content.ContentProvider { 53 method @Deprecated public android.app.slice.Slice onBindSlice(android.net.Uri, java.util.List<android.app.slice.SliceSpec>); 54 } 55 56} 57 58package android.app.usage { 59 60 public class StorageStatsManager { 61 method @Deprecated public long getFreeBytes(String) throws java.io.IOException; 62 method @Deprecated public long getTotalBytes(String) throws java.io.IOException; 63 method @Deprecated public boolean isQuotaSupported(String); 64 method @Deprecated public android.app.usage.ExternalStorageStats queryExternalStatsForUser(String, android.os.UserHandle) throws java.io.IOException; 65 method @Deprecated public android.app.usage.StorageStats queryStatsForPackage(String, String, android.os.UserHandle) throws java.io.IOException, android.content.pm.PackageManager.NameNotFoundException; 66 method @Deprecated public android.app.usage.StorageStats queryStatsForUid(String, int) throws java.io.IOException; 67 method @Deprecated public android.app.usage.StorageStats queryStatsForUser(String, android.os.UserHandle) throws java.io.IOException; 68 } 69 70} 71 72package android.content { 73 74 public abstract class ContentProvider implements android.content.ComponentCallbacks2 { 75 method @Deprecated @Nullable public final String getCallingFeatureId(); 76 } 77 78 public abstract class ContentResolver { 79 method @Deprecated public void notifyChange(@NonNull Iterable<android.net.Uri>, @Nullable android.database.ContentObserver, int); 80 } 81 82 public abstract class Context { 83 method @Deprecated @NonNull public android.content.Context createFeatureContext(@Nullable String); 84 method @Deprecated @Nullable public String getFeatureId(); 85 method public abstract android.content.SharedPreferences getSharedPreferences(java.io.File, int); 86 method public abstract java.io.File getSharedPreferencesPath(String); 87 } 88 89 public class ContextWrapper extends android.content.Context { 90 method public android.content.SharedPreferences getSharedPreferences(java.io.File, int); 91 method public java.io.File getSharedPreferencesPath(String); 92 } 93 94 public class Intent implements java.lang.Cloneable android.os.Parcelable { 95 field @Deprecated public static final String EXTRA_QUICK_VIEW_ADVANCED = "android.intent.extra.QUICK_VIEW_ADVANCED"; 96 } 97 98} 99 100package android.content.pm { 101 102 public class PackageInfo implements android.os.Parcelable { 103 field public static final int REQUESTED_PERMISSION_REQUIRED = 1; // 0x1 104 } 105 106 public abstract class PackageManager { 107 method public abstract boolean setInstantAppCookie(@Nullable byte[]); 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 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 @Deprecated public class AvoidXfermode extends android.graphics.Xfermode { 131 ctor public AvoidXfermode(int, int, android.graphics.AvoidXfermode.Mode); 132 } 133 134 public enum AvoidXfermode.Mode { 135 enum_constant public static final android.graphics.AvoidXfermode.Mode AVOID; 136 enum_constant public static final android.graphics.AvoidXfermode.Mode TARGET; 137 } 138 139 public class Canvas { 140 method @Deprecated public boolean clipRegion(@NonNull android.graphics.Region, @NonNull android.graphics.Region.Op); 141 method @Deprecated public boolean clipRegion(@NonNull android.graphics.Region); 142 method @Deprecated public int save(int); 143 field @Deprecated public static final int CLIP_SAVE_FLAG = 2; // 0x2 144 field @Deprecated public static final int CLIP_TO_LAYER_SAVE_FLAG = 16; // 0x10 145 field @Deprecated public static final int FULL_COLOR_LAYER_SAVE_FLAG = 8; // 0x8 146 field @Deprecated public static final int HAS_ALPHA_LAYER_SAVE_FLAG = 4; // 0x4 147 field @Deprecated public static final int MATRIX_SAVE_FLAG = 1; // 0x1 148 } 149 150 public final class ImageDecoder implements java.lang.AutoCloseable { 151 method @Deprecated public boolean getAsAlphaMask(); 152 method @Deprecated public boolean getConserveMemory(); 153 method @Deprecated public boolean getDecodeAsAlphaMask(); 154 method @Deprecated public boolean getMutable(); 155 method @Deprecated public boolean getRequireUnpremultiplied(); 156 method @Deprecated public android.graphics.ImageDecoder setAsAlphaMask(boolean); 157 method @Deprecated public void setConserveMemory(boolean); 158 method @Deprecated public android.graphics.ImageDecoder setDecodeAsAlphaMask(boolean); 159 method @Deprecated public android.graphics.ImageDecoder setMutable(boolean); 160 method @Deprecated public android.graphics.ImageDecoder setRequireUnpremultiplied(boolean); 161 method @Deprecated public android.graphics.ImageDecoder setResize(int, int); 162 method @Deprecated public android.graphics.ImageDecoder setResize(int); 163 field @Deprecated public static final int ERROR_SOURCE_ERROR = 3; // 0x3 164 field @Deprecated public static final int ERROR_SOURCE_EXCEPTION = 1; // 0x1 165 field @Deprecated public static final int ERROR_SOURCE_INCOMPLETE = 2; // 0x2 166 } 167 168 @Deprecated public static class ImageDecoder.IncompleteException extends java.io.IOException { 169 ctor public ImageDecoder.IncompleteException(); 170 } 171 172 @Deprecated public class LayerRasterizer extends android.graphics.Rasterizer { 173 ctor public LayerRasterizer(); 174 method public void addLayer(android.graphics.Paint, float, float); 175 method public void addLayer(android.graphics.Paint); 176 } 177 178 public class Paint { 179 method @Deprecated public android.graphics.Rasterizer getRasterizer(); 180 method @Deprecated public android.graphics.Rasterizer setRasterizer(android.graphics.Rasterizer); 181 } 182 183 public class Picture { 184 method @Deprecated public static android.graphics.Picture createFromStream(@NonNull java.io.InputStream); 185 method @Deprecated public void writeToStream(@NonNull java.io.OutputStream); 186 } 187 188 @Deprecated public class PixelXorXfermode extends android.graphics.Xfermode { 189 ctor public PixelXorXfermode(int); 190 } 191 192 public class Rasterizer { 193 ctor public Rasterizer(); 194 } 195 196} 197 198package android.graphics.drawable { 199 200 public class AnimatedImageDrawable extends android.graphics.drawable.Drawable implements android.graphics.drawable.Animatable2 { 201 method @Deprecated public int getLoopCount(int); 202 method @Deprecated public void setLoopCount(int); 203 field @Deprecated public static final int LOOP_INFINITE = -1; // 0xffffffff 204 } 205 206} 207 208package android.hardware { 209 210 public final class SensorDirectChannel implements java.nio.channels.Channel { 211 method @Deprecated public boolean isValid(); 212 } 213 214} 215 216package android.location { 217 218 public class Location implements android.os.Parcelable { 219 method @Deprecated public void removeBearingAccuracy(); 220 method @Deprecated public void removeSpeedAccuracy(); 221 method @Deprecated public void removeVerticalAccuracy(); 222 } 223 224} 225 226package android.media { 227 228 public final class AudioFormat implements android.os.Parcelable { 229 ctor public AudioFormat(); 230 } 231 232} 233 234package android.media.tv { 235 236 public class TvView extends android.view.ViewGroup { 237 method public void requestUnblockContent(android.media.tv.TvContentRating); 238 } 239 240} 241 242package android.net { 243 244 @Deprecated public class NetworkBadging { 245 method @NonNull public static android.graphics.drawable.Drawable getWifiIcon(@IntRange(from=0, to=4) int, int, @Nullable android.content.res.Resources.Theme); 246 field public static final int BADGING_4K = 30; // 0x1e 247 field public static final int BADGING_HD = 20; // 0x14 248 field public static final int BADGING_NONE = 0; // 0x0 249 field public static final int BADGING_SD = 10; // 0xa 250 } 251 252 @IntDef({0x0, 0xa, 0x14, 0x1e}) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface NetworkBadging.Badging { 253 } 254 255 public final class Proxy { 256 field @Deprecated public static final String EXTRA_PROXY_INFO = "android.intent.extra.PROXY_INFO"; 257 } 258 259 @Deprecated public class SSLCertificateSocketFactory extends javax.net.ssl.SSLSocketFactory { 260 method @Deprecated public static org.apache.http.conn.ssl.SSLSocketFactory getHttpSocketFactory(int, android.net.SSLSessionCache); 261 } 262 263 public class TrafficStats { 264 method @Deprecated public static void setThreadStatsUidSelf(); 265 } 266 267} 268 269package android.os { 270 271 public class BatteryManager { 272 ctor public BatteryManager(); 273 } 274 275 public final class PowerManager { 276 method public void goToSleep(long); 277 method @Deprecated public void userActivity(long, boolean); 278 method @Deprecated public void wakeUp(long); 279 } 280 281 public class RecoverySystem { 282 ctor public RecoverySystem(); 283 } 284 285 public static final class StrictMode.ThreadPolicy.Builder { 286 method @NonNull public android.os.StrictMode.ThreadPolicy.Builder penaltyListener(@NonNull android.os.StrictMode.OnThreadViolationListener, @NonNull java.util.concurrent.Executor); 287 } 288 289 public static final class StrictMode.VmPolicy.Builder { 290 method @NonNull public android.os.StrictMode.VmPolicy.Builder penaltyListener(@NonNull android.os.StrictMode.OnVmViolationListener, @NonNull java.util.concurrent.Executor); 291 } 292 293 public final class SystemClock { 294 method @NonNull public static java.time.Clock elapsedRealtimeClock(); 295 method @NonNull public static java.time.Clock uptimeClock(); 296 } 297 298 public class TestLooperManager { 299 method @Deprecated public android.os.MessageQueue getQueue(); 300 } 301 302 public class UserManager { 303 method public android.graphics.drawable.Drawable getBadgedDrawableForUser(android.graphics.drawable.Drawable, android.os.UserHandle, android.graphics.Rect, int); 304 method public android.graphics.drawable.Drawable getBadgedIconForUser(android.graphics.drawable.Drawable, android.os.UserHandle); 305 method public CharSequence getBadgedLabelForUser(CharSequence, android.os.UserHandle); 306 } 307 308} 309 310package android.os.storage { 311 312 public class StorageManager { 313 method @NonNull public android.os.storage.StorageVolume getPrimaryVolume(); 314 method @NonNull public android.os.storage.StorageVolume[] getVolumeList(); 315 } 316 317} 318 319package android.provider { 320 321 public class Browser { 322 method @RequiresPermission(allOf={"com.android.browser.permission.READ_HISTORY_BOOKMARKS", "com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"}, apis="..22") public static final void addSearchUrl(android.content.ContentResolver, String); 323 method @RequiresPermission(value="com.android.browser.permission.READ_HISTORY_BOOKMARKS", apis="..22") public static final boolean canClearHistory(android.content.ContentResolver); 324 method @RequiresPermission(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final void clearHistory(android.content.ContentResolver); 325 method @RequiresPermission(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final void clearSearches(android.content.ContentResolver); 326 method @RequiresPermission(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final void deleteFromHistory(android.content.ContentResolver, String); 327 method @RequiresPermission(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final void deleteHistoryTimeFrame(android.content.ContentResolver, long, long); 328 method @RequiresPermission(value="com.android.browser.permission.READ_HISTORY_BOOKMARKS", apis="..22") public static final android.database.Cursor getAllBookmarks(android.content.ContentResolver) throws java.lang.IllegalStateException; 329 method @RequiresPermission(value="com.android.browser.permission.READ_HISTORY_BOOKMARKS", apis="..22") public static final android.database.Cursor getAllVisitedUrls(android.content.ContentResolver) throws java.lang.IllegalStateException; 330 method @RequiresPermission(value="com.android.browser.permission.READ_HISTORY_BOOKMARKS", apis="..22") public static final void requestAllIcons(android.content.ContentResolver, String, android.webkit.WebIconDatabase.IconListener); 331 method public static final void saveBookmark(android.content.Context, String, String); 332 method @RequiresPermission(allOf={"com.android.browser.permission.READ_HISTORY_BOOKMARKS", "com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"}, apis="..22") public static final void truncateHistory(android.content.ContentResolver); 333 method @RequiresPermission(allOf={"com.android.browser.permission.READ_HISTORY_BOOKMARKS", "com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"}, apis="..22") public static final void updateVisitedHistory(android.content.ContentResolver, String, boolean); 334 field @RequiresPermission.Read(value="com.android.browser.permission.READ_HISTORY_BOOKMARKS", apis="..22") @RequiresPermission.Write(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final android.net.Uri BOOKMARKS_URI; 335 field public static final String[] HISTORY_PROJECTION; 336 field public static final int HISTORY_PROJECTION_BOOKMARK_INDEX = 4; // 0x4 337 field public static final int HISTORY_PROJECTION_DATE_INDEX = 3; // 0x3 338 field public static final int HISTORY_PROJECTION_FAVICON_INDEX = 6; // 0x6 339 field public static final int HISTORY_PROJECTION_ID_INDEX = 0; // 0x0 340 field public static final int HISTORY_PROJECTION_TITLE_INDEX = 5; // 0x5 341 field public static final int HISTORY_PROJECTION_URL_INDEX = 1; // 0x1 342 field public static final int HISTORY_PROJECTION_VISITS_INDEX = 2; // 0x2 343 field public static final String[] SEARCHES_PROJECTION; 344 field public static final int SEARCHES_PROJECTION_DATE_INDEX = 2; // 0x2 345 field public static final int SEARCHES_PROJECTION_SEARCH_INDEX = 1; // 0x1 346 field @RequiresPermission.Read(value="com.android.browser.permission.READ_HISTORY_BOOKMARKS", apis="..22") @RequiresPermission.Write(value="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS", apis="..22") public static final android.net.Uri SEARCHES_URI; 347 field public static final String[] TRUNCATE_HISTORY_PROJECTION; 348 field public static final int TRUNCATE_HISTORY_PROJECTION_ID_INDEX = 0; // 0x0 349 field public static final int TRUNCATE_N_OLDEST = 5; // 0x5 350 } 351 352 public static class Browser.BookmarkColumns implements android.provider.BaseColumns { 353 ctor public Browser.BookmarkColumns(); 354 field public static final String BOOKMARK = "bookmark"; 355 field public static final String CREATED = "created"; 356 field public static final String DATE = "date"; 357 field public static final String FAVICON = "favicon"; 358 field public static final String TITLE = "title"; 359 field public static final String URL = "url"; 360 field public static final String VISITS = "visits"; 361 field public static final String _COUNT = "_count"; 362 field public static final String _ID = "_id"; 363 } 364 365 public static class Browser.SearchColumns implements android.provider.BaseColumns { 366 ctor public Browser.SearchColumns(); 367 field public static final String DATE = "date"; 368 field public static final String SEARCH = "search"; 369 field @Deprecated public static final String URL = "url"; 370 field public static final String _COUNT = "_count"; 371 field public static final String _ID = "_id"; 372 } 373 374 @Deprecated public static final class ContactsContract.Contacts.StreamItems implements android.provider.ContactsContract.StreamItemsColumns { 375 field @Deprecated public static final String CONTENT_DIRECTORY = "stream_items"; 376 } 377 378 @Deprecated public static final class ContactsContract.RawContacts.StreamItems implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemsColumns { 379 field @Deprecated public static final String CONTENT_DIRECTORY = "stream_items"; 380 field public static final String _COUNT = "_count"; 381 field public static final String _ID = "_id"; 382 } 383 384 @Deprecated public static final class ContactsContract.StreamItemPhotos implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemPhotosColumns { 385 field @Deprecated public static final String PHOTO = "photo"; 386 field public static final String _COUNT = "_count"; 387 field public static final String _ID = "_id"; 388 } 389 390 @Deprecated protected static interface ContactsContract.StreamItemPhotosColumns { 391 field @Deprecated public static final String PHOTO_FILE_ID = "photo_file_id"; 392 field @Deprecated public static final String PHOTO_URI = "photo_uri"; 393 field @Deprecated public static final String SORT_INDEX = "sort_index"; 394 field @Deprecated public static final String STREAM_ITEM_ID = "stream_item_id"; 395 field @Deprecated public static final String SYNC1 = "stream_item_photo_sync1"; 396 field @Deprecated public static final String SYNC2 = "stream_item_photo_sync2"; 397 field @Deprecated public static final String SYNC3 = "stream_item_photo_sync3"; 398 field @Deprecated public static final String SYNC4 = "stream_item_photo_sync4"; 399 } 400 401 @Deprecated public static final class ContactsContract.StreamItems implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemsColumns { 402 field @Deprecated public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item"; 403 field @Deprecated public static final android.net.Uri CONTENT_LIMIT_URI; 404 field @Deprecated public static final android.net.Uri CONTENT_PHOTO_URI; 405 field @Deprecated public static final String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item"; 406 field @Deprecated public static final android.net.Uri CONTENT_URI; 407 field @Deprecated public static final String MAX_ITEMS = "max_items"; 408 field public static final String _COUNT = "_count"; 409 field public static final String _ID = "_id"; 410 } 411 412 @Deprecated public static final class ContactsContract.StreamItems.StreamItemPhotos implements android.provider.BaseColumns android.provider.ContactsContract.StreamItemPhotosColumns { 413 field @Deprecated public static final String CONTENT_DIRECTORY = "photo"; 414 field @Deprecated public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/stream_item_photo"; 415 field @Deprecated public static final String CONTENT_TYPE = "vnd.android.cursor.dir/stream_item_photo"; 416 field public static final String _COUNT = "_count"; 417 field public static final String _ID = "_id"; 418 } 419 420 @Deprecated protected static interface ContactsContract.StreamItemsColumns { 421 field @Deprecated public static final String ACCOUNT_NAME = "account_name"; 422 field @Deprecated public static final String ACCOUNT_TYPE = "account_type"; 423 field @Deprecated public static final String COMMENTS = "comments"; 424 field @Deprecated public static final String CONTACT_ID = "contact_id"; 425 field @Deprecated public static final String CONTACT_LOOKUP_KEY = "contact_lookup"; 426 field @Deprecated public static final String DATA_SET = "data_set"; 427 field @Deprecated public static final String RAW_CONTACT_ID = "raw_contact_id"; 428 field @Deprecated public static final String RAW_CONTACT_SOURCE_ID = "raw_contact_source_id"; 429 field @Deprecated public static final String RES_ICON = "icon"; 430 field @Deprecated public static final String RES_LABEL = "label"; 431 field @Deprecated public static final String RES_PACKAGE = "res_package"; 432 field @Deprecated public static final String SYNC1 = "stream_item_sync1"; 433 field @Deprecated public static final String SYNC2 = "stream_item_sync2"; 434 field @Deprecated public static final String SYNC3 = "stream_item_sync3"; 435 field @Deprecated public static final String SYNC4 = "stream_item_sync4"; 436 field @Deprecated public static final String TEXT = "text"; 437 field @Deprecated public static final String TIMESTAMP = "timestamp"; 438 } 439 440 public static final class Settings.Global extends android.provider.Settings.NameValueTable { 441 field @Deprecated public static final String CONTACT_METADATA_SYNC = "contact_metadata_sync"; 442 } 443 444 public static final class Settings.System extends android.provider.Settings.NameValueTable { 445 field public static final String APPEND_FOR_LAST_AUDIBLE = "_last_audible"; 446 field public static final String VOLUME_ALARM = "volume_alarm"; 447 field public static final String VOLUME_BLUETOOTH_SCO = "volume_bluetooth_sco"; 448 field public static final String VOLUME_MUSIC = "volume_music"; 449 field public static final String VOLUME_NOTIFICATION = "volume_notification"; 450 field public static final String VOLUME_RING = "volume_ring"; 451 field public static final String[] VOLUME_SETTINGS; 452 field public static final String VOLUME_SYSTEM = "volume_system"; 453 field public static final String VOLUME_VOICE = "volume_voice"; 454 } 455 456} 457 458package android.speech.tts { 459 460 public abstract class UtteranceProgressListener { 461 method @Deprecated public void onUtteranceRangeStart(String, int, int); 462 } 463 464} 465 466package android.telephony { 467 468 public class NetworkScan { 469 method @Deprecated public void stop() throws android.os.RemoteException; 470 } 471 472 public class TelephonyManager { 473 method @Deprecated @RequiresPermission(android.Manifest.permission.ACCESS_COARSE_LOCATION) public java.util.List<android.telephony.NeighboringCellInfo> getNeighboringCellInfo(); 474 method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.MODIFY_PHONE_STATE, android.Manifest.permission.ACCESS_FINE_LOCATION}) public android.telephony.NetworkScan requestNetworkScan(android.telephony.NetworkScanRequest, android.telephony.TelephonyScanManager.NetworkScanCallback); 475 } 476 477} 478 479package android.text.format { 480 481 public class DateFormat { 482 field @Deprecated public static final char AM_PM = 97; // 0x0061 'a' 483 field @Deprecated public static final char CAPITAL_AM_PM = 65; // 0x0041 'A' 484 field @Deprecated public static final char DATE = 100; // 0x0064 'd' 485 field @Deprecated public static final char DAY = 69; // 0x0045 'E' 486 field @Deprecated public static final char HOUR = 104; // 0x0068 'h' 487 field @Deprecated public static final char HOUR_OF_DAY = 107; // 0x006b 'k' 488 field @Deprecated public static final char MINUTE = 109; // 0x006d 'm' 489 field @Deprecated public static final char MONTH = 77; // 0x004d 'M' 490 field @Deprecated public static final char QUOTE = 39; // 0x0027 '\'' 491 field @Deprecated public static final char SECONDS = 115; // 0x0073 's' 492 field @Deprecated public static final char STANDALONE_MONTH = 76; // 0x004c 'L' 493 field @Deprecated public static final char TIME_ZONE = 122; // 0x007a 'z' 494 field @Deprecated public static final char YEAR = 121; // 0x0079 'y' 495 } 496 497} 498 499package android.text.style { 500 501 public class RasterizerSpan extends android.text.style.CharacterStyle implements android.text.style.UpdateAppearance { 502 ctor public RasterizerSpan(android.graphics.Rasterizer); 503 method public android.graphics.Rasterizer getRasterizer(); 504 method public void updateDrawState(android.text.TextPaint); 505 } 506 507} 508 509package android.util { 510 511 @Deprecated public class FloatMath { 512 method public static float ceil(float); 513 method public static float cos(float); 514 method public static float exp(float); 515 method public static float floor(float); 516 method public static float hypot(float, float); 517 method public static float pow(float, float); 518 method public static float sin(float); 519 method public static float sqrt(float); 520 } 521 522} 523 524package android.view { 525 526 @UiThread public class View implements android.view.accessibility.AccessibilityEventSource android.graphics.drawable.Drawable.Callback android.view.KeyEvent.Callback { 527 method protected void initializeFadingEdge(android.content.res.TypedArray); 528 method protected void initializeScrollbars(android.content.res.TypedArray); 529 } 530 531 public class ViewConfiguration { 532 method public int getScaledScrollFactor(); 533 } 534 535 public static class WindowManager.LayoutParams extends android.view.ViewGroup.LayoutParams implements android.os.Parcelable { 536 field public static final int TYPE_KEYGUARD = 2004; // 0x7d4 537 field public static final int TYPE_STATUS_BAR_PANEL = 2014; // 0x7de 538 } 539 540} 541 542package android.view.translation { 543 544 public final class TranslationManager { 545 method @Deprecated public void addOnDeviceTranslationCapabilityUpdateListener(int, int, @NonNull android.app.PendingIntent); 546 method @Deprecated public void addTranslationCapabilityUpdateListener(int, int, @NonNull android.app.PendingIntent); 547 method @Deprecated @Nullable @WorkerThread public android.view.translation.Translator createOnDeviceTranslator(@NonNull android.view.translation.TranslationContext); 548 method @Deprecated @Nullable @WorkerThread public android.view.translation.Translator createTranslator(@NonNull android.view.translation.TranslationContext); 549 method @Deprecated @NonNull @WorkerThread public java.util.Set<android.view.translation.TranslationCapability> getTranslationCapabilities(int, int); 550 method @Deprecated @Nullable public android.app.PendingIntent getTranslationSettingsActivityIntent(); 551 method @Deprecated public void removeOnDeviceTranslationCapabilityUpdateListener(int, int, @NonNull android.app.PendingIntent); 552 method @Deprecated public void removeTranslationCapabilityUpdateListener(int, int, @NonNull android.app.PendingIntent); 553 } 554 555 public static final class TranslationRequest.Builder { 556 method @Deprecated @NonNull public android.view.translation.TranslationRequest.Builder addTranslationRequestValue(@NonNull android.view.translation.TranslationRequestValue); 557 method @Deprecated @NonNull public android.view.translation.TranslationRequest.Builder addViewTranslationRequest(@NonNull android.view.translation.ViewTranslationRequest); 558 } 559 560 public static final class TranslationResponse.Builder { 561 method @Deprecated @NonNull public android.view.translation.TranslationResponse.Builder setTranslationStatus(int); 562 } 563 564 public final class TranslationSpec implements android.os.Parcelable { 565 ctor @Deprecated public TranslationSpec(@NonNull String, int); 566 method @Deprecated @NonNull public String getLanguage(); 567 } 568 569 public class Translator { 570 method @Deprecated @Nullable public void translate(@NonNull android.view.translation.TranslationRequest, @NonNull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<android.view.translation.TranslationResponse>); 571 } 572 573 public interface UiTranslationStateCallback { 574 method @Deprecated public default void onStarted(@NonNull String, @NonNull String); 575 } 576 577} 578 579package android.webkit { 580 581 public class WebViewClient { 582 method public void onUnhandledInputEvent(android.webkit.WebView, android.view.InputEvent); 583 } 584 585} 586 587package android.widget { 588 589 @android.widget.RemoteViews.RemoteView public class ListView extends android.widget.AbsListView { 590 method protected <T extends android.view.View> T findViewTraversal(@IdRes int); 591 method protected <T extends android.view.View> T findViewWithTagTraversal(Object); 592 } 593 594 public class PopupWindow { 595 method @Deprecated public boolean isClipToScreenEnabled(); 596 method @Deprecated public boolean isLayoutInScreenEnabled(); 597 method @Deprecated public void setClipToScreenEnabled(boolean); 598 method @Deprecated public void setLayoutInScreenEnabled(boolean); 599 } 600 601 @android.widget.RemoteViews.RemoteView public class TextView extends android.view.View implements android.view.ViewTreeObserver.OnPreDrawListener { 602 method public static int getTextColor(android.content.Context, android.content.res.TypedArray, int); 603 method public static android.content.res.ColorStateList getTextColors(android.content.Context, android.content.res.TypedArray); 604 } 605 606} 607 608