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