diff options
Diffstat (limited to 'api/current.txt')
-rw-r--r-- | api/current.txt | 1006 |
1 files changed, 576 insertions, 430 deletions
diff --git a/api/current.txt b/api/current.txt index 27a8480..9d3dd0f 100644 --- a/api/current.txt +++ b/api/current.txt @@ -25,6 +25,7 @@ package android { field public static final java.lang.String BIND_NFC_SERVICE = "android.permission.BIND_NFC_SERVICE"; field public static final java.lang.String BIND_NOTIFICATION_LISTENER_SERVICE = "android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"; field public static final java.lang.String BIND_PRINT_SERVICE = "android.permission.BIND_PRINT_SERVICE"; + field public static final java.lang.String BIND_PRINT_SPOOLER_SERVICE = "android.permission.BIND_PRINT_SPOOLER_SERVICE"; field public static final java.lang.String BIND_REMOTEVIEWS = "android.permission.BIND_REMOTEVIEWS"; field public static final java.lang.String BIND_TEXT_SERVICE = "android.permission.BIND_TEXT_SERVICE"; field public static final java.lang.String BIND_VPN_SERVICE = "android.permission.BIND_VPN_SERVICE"; @@ -260,7 +261,7 @@ package android { field public static final int activityCloseExitAnimation = 16842939; // 0x10100bb field public static final int activityOpenEnterAnimation = 16842936; // 0x10100b8 field public static final int activityOpenExitAnimation = 16842937; // 0x10100b9 - field public static final int addPrintersActivity = 16843747; // 0x10103e3 + field public static final int addPrintersActivity = 16843750; // 0x10103e6 field public static final int addStatesFromChildren = 16842992; // 0x10100f0 field public static final int adjustViewBounds = 16843038; // 0x101011e field public static final int alertDialogIcon = 16843605; // 0x1010355 @@ -288,13 +289,14 @@ package android { field public static final deprecated int animationResolution = 16843546; // 0x101031a field public static final int antialias = 16843034; // 0x101011a field public static final int anyDensity = 16843372; // 0x101026c + field public static final int apduServiceBanner = 16843757; // 0x10103ed field public static final int apiKey = 16843281; // 0x1010211 field public static final int author = 16843444; // 0x10102b4 field public static final int authorities = 16842776; // 0x1010018 field public static final int autoAdvanceViewId = 16843535; // 0x101030f field public static final int autoCompleteTextViewStyle = 16842859; // 0x101006b field public static final int autoLink = 16842928; // 0x10100b0 - field public static final int autoMirrored = 16843752; // 0x10103e8 + field public static final int autoMirrored = 16843754; // 0x10103ea field public static final int autoStart = 16843445; // 0x10102b5 field public static final deprecated int autoText = 16843114; // 0x101016a field public static final int autoUrlDetect = 16843404; // 0x101028c @@ -335,7 +337,7 @@ package android { field public static final int canRetrieveWindowContent = 16843653; // 0x1010385 field public static final int candidatesTextStyleSpans = 16843312; // 0x1010230 field public static final deprecated int capitalize = 16843113; // 0x1010169 - field public static final int category = 16843749; // 0x10103e5 + field public static final int category = 16843752; // 0x10103e8 field public static final int centerBright = 16842956; // 0x10100cc field public static final int centerColor = 16843275; // 0x101020b field public static final int centerDark = 16842952; // 0x10100c8 @@ -391,7 +393,6 @@ package android { field public static final int cropToPadding = 16843043; // 0x1010123 field public static final int cursorVisible = 16843090; // 0x1010152 field public static final int customNavigationLayout = 16843474; // 0x10102d2 - field public static final int customRoots = 16843751; // 0x10103e7 field public static final int customTokens = 16843579; // 0x101033b field public static final int cycles = 16843220; // 0x10101d4 field public static final int dashGap = 16843175; // 0x10101a7 @@ -485,6 +486,7 @@ package android { field public static final int fadeScrollbars = 16843434; // 0x10102aa field public static final int fadingEdge = 16842975; // 0x10100df field public static final int fadingEdgeLength = 16842976; // 0x10100e0 + field public static final int fadingMode = 16843745; // 0x10103e1 field public static final int fastScrollAlwaysVisible = 16843573; // 0x1010335 field public static final int fastScrollEnabled = 16843302; // 0x1010226 field public static final int fastScrollOverlayPosition = 16843578; // 0x101033a @@ -610,7 +612,7 @@ package android { field public static final int installLocation = 16843447; // 0x10102b7 field public static final int interpolator = 16843073; // 0x1010141 field public static final int isAlwaysSyncable = 16843571; // 0x1010333 - field public static final int isAsciiCapable = 16843750; // 0x10103e6 + field public static final int isAsciiCapable = 16843753; // 0x10103e9 field public static final int isAuxiliary = 16843647; // 0x101037f field public static final int isDefault = 16843297; // 0x1010221 field public static final int isIndicator = 16843079; // 0x1010147 @@ -867,6 +869,7 @@ package android { field public static final int reqKeyboardType = 16843304; // 0x1010228 field public static final int reqNavigation = 16843306; // 0x101022a field public static final int reqTouchScreen = 16843303; // 0x1010227 + field public static final int requireDeviceUnlock = 16843756; // 0x10103ec field public static final int required = 16843406; // 0x101028e field public static final int requiredAccountType = 16843734; // 0x10103d6 field public static final int requiredForAllUsers = 16843728; // 0x10103d0 @@ -965,12 +968,13 @@ package android { field public static final int spinnersShown = 16843595; // 0x101034b field public static final int splitMotionEvents = 16843503; // 0x10102ef field public static final int src = 16843033; // 0x1010119 - field public static final int ssp = 16843744; // 0x10103e0 - field public static final int sspPattern = 16843746; // 0x10103e2 - field public static final int sspPrefix = 16843745; // 0x10103e1 + field public static final int ssp = 16843747; // 0x10103e3 + field public static final int sspPattern = 16843749; // 0x10103e5 + field public static final int sspPrefix = 16843748; // 0x10103e4 field public static final int stackFromBottom = 16843005; // 0x10100fd field public static final int starStyle = 16842882; // 0x1010082 field public static final int startColor = 16843165; // 0x101019d + field public static final int startDelay = 16843746; // 0x10103e2 field public static final int startOffset = 16843198; // 0x10101be field public static final deprecated int startYear = 16843132; // 0x101017c field public static final int stateNotNeeded = 16842774; // 0x1010016 @@ -1014,7 +1018,7 @@ package android { field public static final int summaryOff = 16843248; // 0x10101f0 field public static final int summaryOn = 16843247; // 0x10101ef field public static final int supportsRtl = 16843695; // 0x10103af - field public static final int supportsSwitchingToNextInputMethod = 16843753; // 0x10103e9 + field public static final int supportsSwitchingToNextInputMethod = 16843755; // 0x10103eb field public static final int supportsUploading = 16843419; // 0x101029b field public static final int switchMinWidth = 16843632; // 0x1010370 field public static final int switchPadding = 16843633; // 0x1010371 @@ -1031,7 +1035,7 @@ package android { field public static final int targetActivity = 16843266; // 0x1010202 field public static final int targetClass = 16842799; // 0x101002f field public static final int targetDescriptions = 16843680; // 0x10103a0 - field public static final int targetID = 16843740; // 0x10103dc + field public static final int targetId = 16843740; // 0x10103dc field public static final int targetPackage = 16842785; // 0x1010021 field public static final int targetSdkVersion = 16843376; // 0x1010270 field public static final int taskAffinity = 16842770; // 0x1010012 @@ -1136,6 +1140,7 @@ package android { field public static final int transformPivotX = 16843552; // 0x1010320 field public static final int transformPivotY = 16843553; // 0x1010321 field public static final int transition = 16843743; // 0x10103df + field public static final int transitionOrdering = 16843744; // 0x10103e0 field public static final int translationX = 16843554; // 0x1010322 field public static final int translationY = 16843555; // 0x1010323 field public static final int type = 16843169; // 0x10101a1 @@ -1154,7 +1159,7 @@ package android { field public static final int valueTo = 16843487; // 0x10102df field public static final int valueType = 16843488; // 0x10102e0 field public static final int variablePadding = 16843157; // 0x1010195 - field public static final int vendor = 16843748; // 0x10103e4 + field public static final int vendor = 16843751; // 0x10103e7 field public static final int versionCode = 16843291; // 0x101021b field public static final int versionName = 16843292; // 0x101021c field public static final int verticalCorrection = 16843322; // 0x101023a @@ -2345,7 +2350,6 @@ package android.animation { method public abstract long getDuration(); method public android.animation.TimeInterpolator getInterpolator(); method public java.util.ArrayList<android.animation.Animator.AnimatorListener> getListeners(); - method public java.util.ArrayList<android.animation.Animator.AnimatorPauseListener> getPauseListeners(); method public abstract long getStartDelay(); method public boolean isPaused(); method public abstract boolean isRunning(); @@ -2991,7 +2995,6 @@ package android.app { field public int id; field public android.content.ComponentName origActivity; field public int persistentId; - field public int stackId; } public static class ActivityManager.RunningAppProcessInfo implements android.os.Parcelable { @@ -3167,6 +3170,7 @@ package android.app { public class AppOpsManager { method public int checkOp(int, int, java.lang.String); method public int checkOpNoThrow(int, int, java.lang.String); + method public void checkPackage(int, java.lang.String); method public void finishOp(int, int, java.lang.String); method public void finishOp(int); method public int noteOp(int, int, java.lang.String); @@ -4241,7 +4245,6 @@ package android.app { method public void onCreate(); method public void onDestroy(); method public void onLowMemory(); - method public void onProvideAssistData(android.os.Bundle); method public void onRebind(android.content.Intent); method public deprecated void onStart(android.content.Intent, int); method public int onStartCommand(android.content.Intent, int, int); @@ -4783,68 +4786,165 @@ package android.bluetooth { } public class BluetoothAssignedNumbers { + field public static final int AAMP_OF_AMERICA = 190; // 0xbe field public static final int ACCEL_SEMICONDUCTOR = 74; // 0x4a + field public static final int ACE_SENSOR = 188; // 0xbc + field public static final int ADIDAS = 195; // 0xc3 + field public static final int ADVANCED_PANMOBIL_SYSTEMS = 145; // 0x91 + field public static final int AIROHA_TECHNOLOGY = 148; // 0x94 field public static final int ALCATEL = 36; // 0x24 + field public static final int ALPWISE = 154; // 0x9a + field public static final int AMICCOM_ELECTRONICS = 192; // 0xc0 + field public static final int APLIX = 189; // 0xbd field public static final int APPLE = 76; // 0x4c field public static final int APT_LICENSING = 79; // 0x4f + field public static final int ARCHOS = 207; // 0xcf + field public static final int ARP_DEVICES = 168; // 0xa8 field public static final int ATHEROS_COMMUNICATIONS = 69; // 0x45 field public static final int ATMEL = 19; // 0x13 + field public static final int AUSTCO_COMMUNICATION_SYSTEMS = 213; // 0xd5 + field public static final int AUTONET_MOBILE = 127; // 0x7f field public static final int AVAGO = 78; // 0x4e field public static final int AVM_BERLIN = 31; // 0x1f + field public static final int A_AND_D_ENGINEERING = 105; // 0x69 + field public static final int A_AND_R_CAMBRIDGE = 124; // 0x7c field public static final int BANDSPEED = 32; // 0x20 + field public static final int BAND_XI_INTERNATIONAL = 100; // 0x64 + field public static final int BDE_TECHNOLOGY = 180; // 0xb4 + field public static final int BEATS_ELECTRONICS = 204; // 0xcc + field public static final int BEAUTIFUL_ENTERPRISE = 108; // 0x6c + field public static final int BEKEY = 178; // 0xb2 field public static final int BELKIN_INTERNATIONAL = 92; // 0x5c + field public static final int BINAURIC = 203; // 0xcb + field public static final int BIOSENTRONICS = 219; // 0xdb field public static final int BLUEGIGA = 71; // 0x47 + field public static final int BLUERADIOS = 133; // 0x85 field public static final int BLUETOOTH_SIG = 63; // 0x3f + field public static final int BLUETREK_TECHNOLOGIES = 151; // 0x97 + field public static final int BOSE = 158; // 0x9e + field public static final int BRIARTEK = 109; // 0x6d field public static final int BROADCOM = 15; // 0xf + field public static final int CAEN_RFID = 170; // 0xaa field public static final int CAMBRIDGE_SILICON_RADIO = 10; // 0xa field public static final int CATC = 52; // 0x34 + field public static final int CINETIX = 175; // 0xaf + field public static final int CLARINOX_TECHNOLOGIES = 179; // 0xb3 + field public static final int COLORFY = 156; // 0x9c field public static final int COMMIL = 51; // 0x33 field public static final int CONEXANT_SYSTEMS = 28; // 0x1c + field public static final int CONNECTBLUE = 113; // 0x71 field public static final int CONTINENTAL_AUTOMOTIVE = 75; // 0x4b field public static final int CONWISE_TECHNOLOGY = 66; // 0x42 + field public static final int CREATIVE_TECHNOLOGY = 118; // 0x76 field public static final int C_TECHNOLOGIES = 38; // 0x26 + field public static final int DANLERS = 225; // 0xe1 + field public static final int DELORME_PUBLISHING_COMPANY = 128; // 0x80 + field public static final int DEXCOM = 208; // 0xd0 + field public static final int DIALOG_SEMICONDUCTOR = 210; // 0xd2 field public static final int DIGIANSWER = 12; // 0xc field public static final int ECLIPSE = 53; // 0x35 + field public static final int ECOTEST = 136; // 0x88 + field public static final int ELGATO_SYSTEMS = 206; // 0xce field public static final int EM_MICROELECTRONIC_MARIN = 90; // 0x5a + field public static final int EQUINOX_AG = 134; // 0x86 field public static final int ERICSSON_TECHNOLOGY = 0; // 0x0 + field public static final int EVLUMA = 201; // 0xc9 field public static final int FREE2MOVE = 83; // 0x53 + field public static final int FUNAI_ELECTRIC = 144; // 0x90 + field public static final int GARMIN_INTERNATIONAL = 135; // 0x87 field public static final int GCT_SEMICONDUCTOR = 45; // 0x2d + field public static final int GELO = 200; // 0xc8 + field public static final int GENEQ = 194; // 0xc2 + field public static final int GENERAL_MOTORS = 104; // 0x68 field public static final int GENNUM = 59; // 0x3b + field public static final int GEOFORCE = 157; // 0x9d + field public static final int GIBSON_GUITARS = 98; // 0x62 + field public static final int GN_NETCOM = 103; // 0x67 + field public static final int GN_RESOUND = 137; // 0x89 + field public static final int GOOGLE = 224; // 0xe0 + field public static final int GREEN_THROTTLE_GAMES = 172; // 0xac + field public static final int GROUP_SENSE = 115; // 0x73 + field public static final int HANLYNN_TECHNOLOGIES = 123; // 0x7b field public static final int HARMAN_INTERNATIONAL = 87; // 0x57 + field public static final int HEWLETT_PACKARD = 101; // 0x65 field public static final int HITACHI = 41; // 0x29 + field public static final int HOSIDEN = 221; // 0xdd field public static final int IBM = 3; // 0x3 field public static final int INFINEON_TECHNOLOGIES = 9; // 0x9 + field public static final int INGENIEUR_SYSTEMGRUPPE_ZAHN = 171; // 0xab field public static final int INTEGRATED_SILICON_SOLUTION = 65; // 0x41 field public static final int INTEGRATED_SYSTEM_SOLUTION = 57; // 0x39 field public static final int INTEL = 2; // 0x2 field public static final int INVENTEL = 30; // 0x1e field public static final int IPEXTREME = 61; // 0x3d + field public static final int I_TECH_DYNAMIC_GLOBAL_DISTRIBUTION = 153; // 0x99 + field public static final int JAWBONE = 138; // 0x8a + field public static final int JIANGSU_TOPPOWER_AUTOMOTIVE_ELECTRONICS = 155; // 0x9b + field public static final int JOHNSON_CONTROLS = 185; // 0xb9 field public static final int J_AND_M = 82; // 0x52 + field public static final int KAWANTECH = 212; // 0xd4 field public static final int KC_TECHNOLOGY = 22; // 0x16 + field public static final int KENSINGTON_COMPUTER_PRODUCTS_GROUP = 160; // 0xa0 + field public static final int LAIRD_TECHNOLOGIES = 119; // 0x77 + field public static final int LESSWIRE = 121; // 0x79 + field public static final int LG_ELECTRONICS = 196; // 0xc4 + field public static final int LINAK = 164; // 0xa4 field public static final int LUCENT = 7; // 0x7 + field public static final int LUDUS_HELSINKI = 132; // 0x84 field public static final int MACRONIX = 44; // 0x2c + field public static final int MAGNETI_MARELLI = 169; // 0xa9 field public static final int MANSELLA = 33; // 0x21 field public static final int MARVELL = 72; // 0x48 field public static final int MATSUSHITA_ELECTRIC = 58; // 0x3a + field public static final int MC10 = 202; // 0xca field public static final int MEDIATEK = 70; // 0x46 + field public static final int MESO_INTERNATIONAL = 182; // 0xb6 + field public static final int META_WATCH = 163; // 0xa3 field public static final int MEWTEL_TECHNOLOGY = 47; // 0x2f + field public static final int MICOMMAND = 99; // 0x63 + field public static final int MICROCHIP_TECHNOLOGY = 205; // 0xcd field public static final int MICROSOFT = 6; // 0x6 + field public static final int MINDTREE = 106; // 0x6a + field public static final int MISFIT_WEARABLES = 223; // 0xdf field public static final int MITEL_SEMICONDUCTOR = 16; // 0x10 field public static final int MITSUBISHI_ELECTRIC = 20; // 0x14 field public static final int MOBILIAN_CORPORATION = 55; // 0x37 + field public static final int MONSTER = 112; // 0x70 field public static final int MOTOROLA = 8; // 0x8 + field public static final int MSTAR_SEMICONDUCTOR = 122; // 0x7a + field public static final int MUZIK = 222; // 0xde field public static final int NEC = 34; // 0x22 + field public static final int NEC_LIGHTING = 149; // 0x95 field public static final int NEWLOGIC = 23; // 0x17 + field public static final int NIKE = 120; // 0x78 + field public static final int NINE_SOLUTIONS = 102; // 0x66 field public static final int NOKIA_MOBILE_PHONES = 1; // 0x1 field public static final int NORDIC_SEMICONDUCTOR = 89; // 0x59 field public static final int NORWOOD_SYSTEMS = 46; // 0x2e + field public static final int ODM_TECHNOLOGY = 150; // 0x96 + field public static final int OMEGAWAVE = 174; // 0xae + field public static final int ONSET_COMPUTER = 197; // 0xc5 field public static final int OPEN_INTERFACE = 39; // 0x27 + field public static final int OTL_DYNAMICS = 165; // 0xa5 + field public static final int PANDA_OCEAN = 166; // 0xa6 field public static final int PARROT = 67; // 0x43 field public static final int PARTHUS_TECHNOLOGIES = 14; // 0xe + field public static final int PASSIF_SEMICONDUCTOR = 176; // 0xb0 + field public static final int PETER_SYSTEMTECHNIK = 173; // 0xad field public static final int PHILIPS_SEMICONDUCTORS = 37; // 0x25 field public static final int PLANTRONICS = 85; // 0x55 + field public static final int POLAR_ELECTRO = 107; // 0x6b + field public static final int POLAR_ELECTRO_EUROPE = 209; // 0xd1 + field public static final int PROCTER_AND_GAMBLE = 220; // 0xdc field public static final int QUALCOMM = 29; // 0x1d + field public static final int QUALCOMM_CONNECTED_EXPERIENCES = 216; // 0xd8 + field public static final int QUALCOMM_INNOVATION_CENTER = 184; // 0xb8 + field public static final int QUALCOMM_LABS = 140; // 0x8c + field public static final int QUALCOMM_TECHNOLOGIES = 215; // 0xd7 + field public static final int QUINTIC = 142; // 0x8e + field public static final int QUUPPA = 199; // 0xc7 field public static final int RALINK_TECHNOLOGY = 91; // 0x5b + field public static final int RDA_MICROELECTRONICS = 97; // 0x61 field public static final int REALTEK_SEMICONDUCTOR = 93; // 0x5d field public static final int RED_M = 50; // 0x32 field public static final int RENESAS_TECHNOLOGY = 54; // 0x36 @@ -4853,33 +4953,66 @@ package android.bluetooth { field public static final int RIVIERAWAVES = 96; // 0x60 field public static final int ROHDE_AND_SCHWARZ = 25; // 0x19 field public static final int RTX_TELECOM = 21; // 0x15 + field public static final int SAMSUNG_ELECTRONICS = 117; // 0x75 + field public static final int SARIS_CYCLING_GROUP = 177; // 0xb1 + field public static final int SEERS_TECHNOLOGY = 125; // 0x7d field public static final int SEIKO_EPSON = 64; // 0x40 + field public static final int SELFLY = 198; // 0xc6 + field public static final int SEMILINK = 226; // 0xe2 + field public static final int SENNHEISER_COMMUNICATIONS = 130; // 0x82 + field public static final int SHANGHAI_SUPER_SMART_ELECTRONICS = 114; // 0x72 + field public static final int SHENZHEN_EXCELSECU_DATA_TECHNOLOGY = 193; // 0xc1 field public static final int SIGNIA_TECHNOLOGIES = 27; // 0x1b field public static final int SILICON_WAVE = 11; // 0xb field public static final int SIRF_TECHNOLOGY = 80; // 0x50 field public static final int SOCKET_MOBILE = 68; // 0x44 field public static final int SONY_ERICSSON = 86; // 0x56 + field public static final int SOUND_ID = 111; // 0x6f + field public static final int SPORTS_TRACKING_TECHNOLOGIES = 126; // 0x7e + field public static final int SR_MEDIZINELEKTRONIK = 161; // 0xa1 field public static final int STACCATO_COMMUNICATIONS = 77; // 0x4d + field public static final int STALMART_TECHNOLOGY = 191; // 0xbf + field public static final int STARKEY_LABORATORIES = 186; // 0xba + field public static final int STOLLMAN_E_PLUS_V = 143; // 0x8f field public static final int STONESTREET_ONE = 94; // 0x5e field public static final int ST_MICROELECTRONICS = 48; // 0x30 + field public static final int SUMMIT_DATA_COMMUNICATIONS = 110; // 0x6e + field public static final int SUUNTO = 159; // 0x9f + field public static final int SWIRL_NETWORKS = 181; // 0xb5 field public static final int SYMBOL_TECHNOLOGIES = 42; // 0x2a field public static final int SYNOPSYS = 49; // 0x31 field public static final int SYSTEMS_AND_CHIPS = 62; // 0x3e + field public static final int S_POWER_ELECTRONICS = 187; // 0xbb + field public static final int TAIXINGBANG_TECHNOLOGY = 211; // 0xd3 field public static final int TENOVIS = 43; // 0x2b field public static final int TERAX = 56; // 0x38 field public static final int TEXAS_INSTRUMENTS = 13; // 0xd + field public static final int THINKOPTICS = 146; // 0x92 field public static final int THREECOM = 5; // 0x5 field public static final int THREE_DIJOY = 84; // 0x54 field public static final int THREE_DSP = 73; // 0x49 + field public static final int TIMEKEEPING_SYSTEMS = 131; // 0x83 + field public static final int TIMEX_GROUP_USA = 214; // 0xd6 + field public static final int TOPCORN_POSITIONING_SYSTEMS = 139; // 0x8b field public static final int TOSHIBA = 4; // 0x4 field public static final int TRANSILICA = 24; // 0x18 + field public static final int TRELAB = 183; // 0xb7 field public static final int TTPCOM = 26; // 0x1a + field public static final int TXTR = 218; // 0xda field public static final int TZERO_TECHNOLOGIES = 81; // 0x51 + field public static final int UNIVERSAL_ELECTRONICS = 147; // 0x93 + field public static final int VERTU = 162; // 0xa2 + field public static final int VISTEON = 167; // 0xa7 field public static final int VIZIO = 88; // 0x58 + field public static final int VOYETRA_TURTLE_BEACH = 217; // 0xd9 field public static final int WAVEPLUS_TECHNOLOGY = 35; // 0x23 field public static final int WICENTRIC = 95; // 0x5f field public static final int WIDCOMM = 17; // 0x11 + field public static final int WUXI_VIMICRO = 129; // 0x81 field public static final int ZEEVO = 18; // 0x12 + field public static final int ZER01_TV = 152; // 0x98 + field public static final int ZOMM = 116; // 0x74 + field public static final int ZSCAN_SOFTWARE = 141; // 0x8d } public final class BluetoothClass implements android.os.Parcelable { @@ -5175,6 +5308,7 @@ package android.bluetooth { method public int getConnectionState(android.bluetooth.BluetoothDevice); method public java.util.List<android.bluetooth.BluetoothDevice> getDevicesMatchingConnectionStates(int[]); method public boolean isAudioConnected(android.bluetooth.BluetoothDevice); + method public boolean sendVendorSpecificResultCode(android.bluetooth.BluetoothDevice, java.lang.String, java.lang.String); method public boolean startVoiceRecognition(android.bluetooth.BluetoothDevice); method public boolean stopVoiceRecognition(android.bluetooth.BluetoothDevice); field public static final java.lang.String ACTION_AUDIO_STATE_CHANGED = "android.bluetooth.headset.profile.action.AUDIO_STATE_CHANGED"; @@ -5191,6 +5325,7 @@ package android.bluetooth { field public static final int STATE_AUDIO_CONNECTED = 12; // 0xc field public static final int STATE_AUDIO_CONNECTING = 11; // 0xb field public static final int STATE_AUDIO_DISCONNECTED = 10; // 0xa + field public static final java.lang.String VENDOR_RESULT_CODE_COMMAND_ANDROID = "+ANDROID"; field public static final java.lang.String VENDOR_SPECIFIC_HEADSET_EVENT_COMPANY_ID_CATEGORY = "android.bluetooth.headset.intent.category.companyid"; } @@ -5485,8 +5620,10 @@ package android.content { method public void attachInfo(android.content.Context, android.content.pm.ProviderInfo); method public int bulkInsert(android.net.Uri, android.content.ContentValues[]); method public android.os.Bundle call(java.lang.String, java.lang.String, android.os.Bundle); + method public android.net.Uri canonicalize(android.net.Uri); method public abstract int delete(android.net.Uri, java.lang.String, java.lang.String[]); method public void dump(java.io.FileDescriptor, java.io.PrintWriter, java.lang.String[]); + method public final java.lang.String getCallingPackage(); method public final android.content.Context getContext(); method public final android.content.pm.PathPermission[] getPathPermissions(); method public final java.lang.String getReadPermission(); @@ -5513,6 +5650,7 @@ package android.content { method protected final void setReadPermission(java.lang.String); method protected final void setWritePermission(java.lang.String); method public void shutdown(); + method public android.net.Uri uncanonicalize(android.net.Uri); method public abstract int update(android.net.Uri, android.content.ContentValues, java.lang.String, java.lang.String[]); } @@ -5524,6 +5662,7 @@ package android.content { method public android.content.ContentProviderResult[] applyBatch(java.util.ArrayList<android.content.ContentProviderOperation>) throws android.content.OperationApplicationException, android.os.RemoteException; method public int bulkInsert(android.net.Uri, android.content.ContentValues[]) throws android.os.RemoteException; method public android.os.Bundle call(java.lang.String, java.lang.String, android.os.Bundle) throws android.os.RemoteException; + method public final android.net.Uri canonicalize(android.net.Uri) throws android.os.RemoteException; method public int delete(android.net.Uri, java.lang.String, java.lang.String[]) throws android.os.RemoteException; method public android.content.ContentProvider getLocalContentProvider(); method public java.lang.String[] getStreamTypes(android.net.Uri, java.lang.String) throws android.os.RemoteException; @@ -5538,6 +5677,7 @@ package android.content { method public android.database.Cursor query(android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String) throws android.os.RemoteException; method public android.database.Cursor query(android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String, android.os.CancellationSignal) throws android.os.RemoteException; method public boolean release(); + method public final android.net.Uri uncanonicalize(android.net.Uri) throws android.os.RemoteException; method public int update(android.net.Uri, android.content.ContentValues, java.lang.String, java.lang.String[]) throws android.os.RemoteException; } @@ -5603,7 +5743,7 @@ package android.content { method public final android.os.Bundle call(android.net.Uri, java.lang.String, java.lang.String, android.os.Bundle); method public deprecated void cancelSync(android.net.Uri); method public static void cancelSync(android.accounts.Account, java.lang.String); - method public static void cancelSync(android.content.SyncRequest); + method public final android.net.Uri canonicalize(android.net.Uri); method public final int delete(android.net.Uri, java.lang.String, java.lang.String[]); method public static deprecated android.content.SyncInfo getCurrentSync(); method public static java.util.List<android.content.SyncInfo> getCurrentSyncs(); @@ -5641,6 +5781,7 @@ package android.content { method public static void setMasterSyncAutomatically(boolean); method public static void setSyncAutomatically(android.accounts.Account, java.lang.String, boolean); method public deprecated void startSync(android.net.Uri, android.os.Bundle); + method public final android.net.Uri uncanonicalize(android.net.Uri); method public final void unregisterContentObserver(android.database.ContentObserver); method public final int update(android.net.Uri, android.content.ContentValues, java.lang.String, java.lang.String[]); method public static void validateSyncExtrasBundle(android.os.Bundle); @@ -5824,6 +5965,7 @@ package android.content { field public static final int BIND_WAIVE_PRIORITY = 32; // 0x20 field public static final java.lang.String BLUETOOTH_SERVICE = "bluetooth"; field public static final java.lang.String CAMERA_SERVICE = "camera"; + field public static final java.lang.String CAPTIONING_SERVICE = "captioning"; field public static final java.lang.String CLIPBOARD_SERVICE = "clipboard"; field public static final java.lang.String CONNECTIVITY_SERVICE = "connectivity"; field public static final int CONTEXT_IGNORE_SECURITY = 2; // 0x2 @@ -6238,7 +6380,6 @@ package android.content { field public static final java.lang.String ACTION_PROVIDER_CHANGED = "android.intent.action.PROVIDER_CHANGED"; field public static final java.lang.String ACTION_QUICK_CLOCK = "android.intent.action.QUICK_CLOCK"; field public static final java.lang.String ACTION_REBOOT = "android.intent.action.REBOOT"; - field public static final java.lang.String ACTION_RESTRICTIONS_PIN_CHALLENGE = "android.intent.action.RESTRICTIONS_PIN_CHALLENGE"; field public static final java.lang.String ACTION_RUN = "android.intent.action.RUN"; field public static final java.lang.String ACTION_SCREEN_OFF = "android.intent.action.SCREEN_OFF"; field public static final java.lang.String ACTION_SCREEN_ON = "android.intent.action.SCREEN_ON"; @@ -6263,7 +6404,6 @@ package android.content { field public static final java.lang.String ACTION_USER_INITIALIZE = "android.intent.action.USER_INITIALIZE"; field public static final java.lang.String ACTION_USER_PRESENT = "android.intent.action.USER_PRESENT"; field public static final java.lang.String ACTION_VIEW = "android.intent.action.VIEW"; - field public static final java.lang.String ACTION_VOICE_ASSIST = "android.intent.action.VOICE_ASSIST"; field public static final java.lang.String ACTION_VOICE_COMMAND = "android.intent.action.VOICE_COMMAND"; field public static final deprecated java.lang.String ACTION_WALLPAPER_CHANGED = "android.intent.action.WALLPAPER_CHANGED"; field public static final java.lang.String ACTION_WEB_SEARCH = "android.intent.action.WEB_SEARCH"; @@ -6305,8 +6445,6 @@ package android.content { field public static final deprecated java.lang.String EXTRA_ALLOW_REPLACE = "android.intent.extra.ALLOW_REPLACE"; field public static final java.lang.String EXTRA_ASSIST_CONTEXT = "android.intent.extra.ASSIST_CONTEXT"; field public static final java.lang.String EXTRA_ASSIST_PACKAGE = "android.intent.extra.ASSIST_PACKAGE"; - field public static final java.lang.String EXTRA_ASSIST_SERVICES_CONTEXTS = "android.intent.extra.ASSIST_SERVICES_CONTEXTS"; - field public static final java.lang.String EXTRA_ASSIST_SERVICES_PACKAGES = "android.intent.extra.ASSIST_SERVICES_PACKAGES"; field public static final java.lang.String EXTRA_BCC = "android.intent.extra.BCC"; field public static final java.lang.String EXTRA_BUG_REPORT = "android.intent.extra.BUG_REPORT"; field public static final java.lang.String EXTRA_CC = "android.intent.extra.CC"; @@ -6582,9 +6720,7 @@ package android.content { field public final android.accounts.Account account; field public final java.lang.String authority; field public final android.os.Bundle extras; - field public final boolean isService; field public final long period; - field public final android.content.ComponentName service; } public class ReceiverCallNotAllowedException extends android.util.AndroidRuntimeException { @@ -6705,7 +6841,6 @@ package android.content { public class SyncRequest implements android.os.Parcelable { method public int describeContents(); - method public boolean isExpedited(); method public void writeToParcel(android.os.Parcel, int); field public static final android.os.Parcelable.Creator CREATOR; } @@ -6713,18 +6848,15 @@ package android.content { public static class SyncRequest.Builder { ctor public SyncRequest.Builder(); method public android.content.SyncRequest build(); - method public android.content.SyncRequest.Builder setAllowMetered(boolean); + method public android.content.SyncRequest.Builder setDisallowMetered(boolean); method public android.content.SyncRequest.Builder setExpedited(boolean); method public android.content.SyncRequest.Builder setExtras(android.os.Bundle); method public android.content.SyncRequest.Builder setIgnoreBackoff(boolean); method public android.content.SyncRequest.Builder setIgnoreSettings(boolean); method public android.content.SyncRequest.Builder setManual(boolean); method public android.content.SyncRequest.Builder setNoRetry(boolean); - method public android.content.SyncRequest.Builder setPriority(int); method public android.content.SyncRequest.Builder setSyncAdapter(android.accounts.Account, java.lang.String); - method public android.content.SyncRequest.Builder setSyncAdapter(android.content.ComponentName); - method public android.content.SyncRequest.Builder setTransferSize(long, long); - method public android.content.SyncRequest.Builder syncOnce(long, long); + method public android.content.SyncRequest.Builder syncOnce(); method public android.content.SyncRequest.Builder syncPeriodic(long, long); } @@ -6751,12 +6883,6 @@ package android.content { field public boolean tooManyRetries; } - public abstract class SyncService extends android.app.Service { - ctor public SyncService(); - method public android.os.IBinder onBind(android.content.Intent); - method public abstract void onPerformSync(android.os.Bundle, android.content.SyncResult); - } - public class SyncStats implements android.os.Parcelable { ctor public SyncStats(); ctor public SyncStats(android.os.Parcel); @@ -6779,59 +6905,6 @@ package android.content { method public abstract void onStatusChanged(int); } - public class UndoManager { - ctor public UndoManager(); - method public void addOperation(android.content.UndoOperation<?>, int); - method public void beginUpdate(java.lang.CharSequence); - method public int commitState(android.content.UndoOwner); - method public int countRedos(android.content.UndoOwner[]); - method public int countUndos(android.content.UndoOwner[]); - method public void endUpdate(); - method public int forgetRedos(android.content.UndoOwner[], int); - method public int forgetUndos(android.content.UndoOwner[], int); - method public int getHistorySize(); - method public android.content.UndoOperation<?> getLastOperation(int); - method public android.content.UndoOperation<?> getLastOperation(android.content.UndoOwner, int); - method public T getLastOperation(java.lang.Class<T>, android.content.UndoOwner, int); - method public android.content.UndoOwner getOwner(java.lang.String, java.lang.Object); - method public java.lang.CharSequence getRedoLabel(android.content.UndoOwner[]); - method public java.lang.CharSequence getUndoLabel(android.content.UndoOwner[]); - method public int getUpdateNestingLevel(); - method public boolean hasOperation(android.content.UndoOwner); - method public boolean isInUndo(); - method public boolean isInUpdate(); - method public int redo(android.content.UndoOwner[], int); - method public void restoreInstanceState(android.os.Parcelable); - method public android.os.Parcelable saveInstanceState(); - method public void setHistorySize(int); - method public void setUndoLabel(java.lang.CharSequence); - method public void suggestUndoLabel(java.lang.CharSequence); - method public boolean uncommitState(int, android.content.UndoOwner); - method public int undo(android.content.UndoOwner[], int); - field public static final int MERGE_MODE_ANY = 2; // 0x2 - field public static final int MERGE_MODE_NONE = 0; // 0x0 - field public static final int MERGE_MODE_UNIQUE = 1; // 0x1 - } - - public abstract class UndoOperation implements android.os.Parcelable { - ctor public UndoOperation(android.content.UndoOwner); - ctor protected UndoOperation(android.os.Parcel, java.lang.ClassLoader); - method public boolean allowMerge(); - method public abstract void commit(); - method public int describeContents(); - method public android.content.UndoOwner getOwner(); - method public DATA getOwnerData(); - method public boolean hasData(); - method public boolean matchOwner(android.content.UndoOwner); - method public abstract void redo(); - method public abstract void undo(); - } - - public class UndoOwner { - method public java.lang.Object getData(); - method public java.lang.String getTag(); - } - public class UriMatcher { ctor public UriMatcher(int); method public void addURI(java.lang.String, java.lang.String, int); @@ -7197,7 +7270,7 @@ package android.content.pm { field public static final java.lang.String FEATURE_LOCATION_NETWORK = "android.hardware.location.network"; field public static final java.lang.String FEATURE_MICROPHONE = "android.hardware.microphone"; field public static final java.lang.String FEATURE_NFC = "android.hardware.nfc"; - field public static final java.lang.String FEATURE_NFC_HCE = "android.hardware.nfc.hce"; + field public static final java.lang.String FEATURE_NFC_HOST_CARD_EMULATION = "android.hardware.nfc.hce"; field public static final java.lang.String FEATURE_SCREEN_LANDSCAPE = "android.hardware.screen.landscape"; field public static final java.lang.String FEATURE_SCREEN_PORTRAIT = "android.hardware.screen.portrait"; field public static final java.lang.String FEATURE_SENSOR_ACCELEROMETER = "android.hardware.sensor.accelerometer"; @@ -7371,7 +7444,6 @@ package android.content.pm { method public void dump(android.util.Printer, java.lang.String); field public static final android.os.Parcelable.Creator CREATOR; field public static final int FLAG_ISOLATED_PROCESS = 2; // 0x2 - field public static final int FLAG_PROVIDE_ASSIST_DATA = 4; // 0x4 field public static final int FLAG_SINGLE_USER = 1073741824; // 0x40000000 field public static final int FLAG_STOP_WITH_TASK = 1; // 0x1 field public int flags; @@ -8061,7 +8133,7 @@ package android.database { public class MatrixCursor.RowBuilder { method public android.database.MatrixCursor.RowBuilder add(java.lang.Object); - method public android.database.MatrixCursor.RowBuilder offer(java.lang.String, java.lang.Object); + method public android.database.MatrixCursor.RowBuilder add(java.lang.String, java.lang.Object); } public class MergeCursor extends android.database.AbstractCursor { @@ -10550,6 +10622,10 @@ package android.hardware { field public int width; } + public abstract interface FlushCompleteListener { + method public abstract void onFlushCompleted(android.hardware.Sensor); + } + public class GeomagneticField { ctor public GeomagneticField(float, float, float, long); method public float getDeclination(); @@ -10562,6 +10638,8 @@ package android.hardware { } public final class Sensor { + method public int getFifoMaxEventCount(); + method public int getFifoReservedEventCount(); method public float getMaximumRange(); method public int getMinDelay(); method public java.lang.String getName(); @@ -10612,6 +10690,7 @@ package android.hardware { public abstract class SensorManager { method public boolean cancelTriggerSensor(android.hardware.TriggerEventListener, android.hardware.Sensor); + method public boolean flush(android.hardware.Sensor); method public static float getAltitude(float, float); method public static void getAngleChange(float[], float[], float[]); method public android.hardware.Sensor getDefaultSensor(int); @@ -10625,7 +10704,9 @@ package android.hardware { method public deprecated boolean registerListener(android.hardware.SensorListener, int); method public deprecated boolean registerListener(android.hardware.SensorListener, int, int); method public boolean registerListener(android.hardware.SensorEventListener, android.hardware.Sensor, int); + method public boolean registerListener(android.hardware.SensorEventListener, android.hardware.Sensor, int, int, int, android.hardware.FlushCompleteListener); method public boolean registerListener(android.hardware.SensorEventListener, android.hardware.Sensor, int, android.os.Handler); + method public boolean registerListener(android.hardware.SensorEventListener, android.hardware.Sensor, int, int, int, android.os.Handler, android.hardware.FlushCompleteListener); method public static boolean remapCoordinateSystem(float[], int, int, float[]); method public boolean requestTriggerSensor(android.hardware.TriggerEventListener, android.hardware.Sensor); method public deprecated void unregisterListener(android.hardware.SensorListener); @@ -10724,6 +10805,7 @@ package android.hardware.camera2 { method public abstract void close() throws java.lang.Exception; method public abstract void configureOutputs(java.util.List<android.view.Surface>) throws android.hardware.camera2.CameraAccessException; method public abstract android.hardware.camera2.CaptureRequest createCaptureRequest(int) throws android.hardware.camera2.CameraAccessException; + method public abstract void flush() throws android.hardware.camera2.CameraAccessException; method public abstract android.hardware.camera2.CameraProperties getProperties() throws android.hardware.camera2.CameraAccessException; method public abstract void setErrorListener(android.hardware.camera2.CameraDevice.ErrorListener); method public abstract void setRepeatingBurst(java.util.List<android.hardware.camera2.CaptureRequest>, android.hardware.camera2.CameraDevice.CaptureListener) throws android.hardware.camera2.CameraAccessException; @@ -11799,6 +11881,7 @@ package android.location { field public static final java.lang.String KEY_PROVIDER_ENABLED = "providerEnabled"; field public static final java.lang.String KEY_PROXIMITY_ENTERING = "entering"; field public static final java.lang.String KEY_STATUS_CHANGED = "status"; + field public static final java.lang.String MODE_CHANGED_ACTION = "android.location.MODE_CHANGED"; field public static final java.lang.String NETWORK_PROVIDER = "network"; field public static final java.lang.String PASSIVE_PROVIDER = "passive"; field public static final java.lang.String PROVIDERS_CHANGED_ACTION = "android.location.PROVIDERS_CHANGED"; @@ -11821,17 +11904,17 @@ package android.location { field public static final int TEMPORARILY_UNAVAILABLE = 1; // 0x1 } - public abstract class SettingInjectorService extends android.app.IntentService { + public abstract class SettingInjectorService extends android.app.Service { ctor public SettingInjectorService(java.lang.String); - method protected abstract android.location.SettingInjectorService.Status getStatus(); - method protected final void onHandleIntent(android.content.Intent); - field public static final java.lang.String UPDATE_INTENT = "com.android.location.InjectedSettingChanged"; - } - - public static final class SettingInjectorService.Status { - ctor public SettingInjectorService.Status(java.lang.String, boolean); - field public final boolean enabled; - field public final java.lang.String summary; + method public final android.os.IBinder onBind(android.content.Intent); + method protected abstract boolean onGetEnabled(); + method protected abstract java.lang.String onGetSummary(); + method public final void onStart(android.content.Intent, int); + method public final int onStartCommand(android.content.Intent, int, int); + field public static final java.lang.String ACTION_INJECTED_SETTING_CHANGED = "android.location.InjectedSettingChanged"; + field public static final java.lang.String ACTION_SERVICE_INTENT = "android.location.SettingInjectorService"; + field public static final java.lang.String ATTRIBUTES_NAME = "injected-location-setting"; + field public static final java.lang.String META_DATA_NAME = "android.location.SettingInjectorService"; } } @@ -12055,6 +12138,12 @@ package android.media { method public abstract void onPeriodicNotification(android.media.AudioRecord); } + public final class AudioTimestamp { + ctor public AudioTimestamp(); + field public long framePosition; + field public long nanoTime; + } + public class AudioTrack { ctor public AudioTrack(int, int, int, int, int, int) throws java.lang.IllegalArgumentException; ctor public AudioTrack(int, int, int, int, int, int, int) throws java.lang.IllegalArgumentException; @@ -12077,6 +12166,7 @@ package android.media { method public int getSampleRate(); method public int getState(); method public int getStreamType(); + method public boolean getTimestamp(android.media.AudioTimestamp); method public void pause() throws java.lang.IllegalStateException; method public void play() throws java.lang.IllegalStateException; method public void release(); @@ -12694,6 +12784,7 @@ package android.media { ctor public MediaMuxer(java.lang.String, int) throws java.io.IOException; method public int addTrack(android.media.MediaFormat); method public void release(); + method public void setLocation(float, float); method public void setOrientationHint(int); method public void start(); method public void stop(); @@ -12768,7 +12859,9 @@ package android.media { field public static final int MEDIA_INFO_BUFFERING_START = 701; // 0x2bd field public static final int MEDIA_INFO_METADATA_UPDATE = 802; // 0x322 field public static final int MEDIA_INFO_NOT_SEEKABLE = 801; // 0x321 + field public static final int MEDIA_INFO_SUBTITLE_TIMED_OUT = 902; // 0x386 field public static final int MEDIA_INFO_UNKNOWN = 1; // 0x1 + field public static final int MEDIA_INFO_UNSUPPORTED_SUBTITLE = 901; // 0x385 field public static final int MEDIA_INFO_VIDEO_RENDERING_START = 3; // 0x3 field public static final int MEDIA_INFO_VIDEO_TRACK_LAGGING = 700; // 0x2bc field public static final java.lang.String MEDIA_MIMETYPE_TEXT_SUBRIP = "application/x-subrip"; @@ -13065,6 +13158,7 @@ package android.media { ctor public RemoteControlClient(android.app.PendingIntent); ctor public RemoteControlClient(android.app.PendingIntent, android.os.Looper); method public android.media.RemoteControlClient.MetadataEditor editMetadata(boolean); + method public void setMetadataUpdateListener(android.media.RemoteControlClient.OnMetadataUpdateListener); method public void setOnGetPlaybackPositionListener(android.media.RemoteControlClient.OnGetPlaybackPositionListener); method public void setPlaybackPositionUpdateListener(android.media.RemoteControlClient.OnPlaybackPositionUpdateListener); method public void setPlaybackState(int); @@ -13077,6 +13171,7 @@ package android.media { field public static final int FLAG_KEY_MEDIA_PLAY_PAUSE = 8; // 0x8 field public static final int FLAG_KEY_MEDIA_POSITION_UPDATE = 256; // 0x100 field public static final int FLAG_KEY_MEDIA_PREVIOUS = 1; // 0x1 + field public static final int FLAG_KEY_MEDIA_RATING = 512; // 0x200 field public static final int FLAG_KEY_MEDIA_REWIND = 2; // 0x2 field public static final int FLAG_KEY_MEDIA_STOP = 32; // 0x20 field public static final int PLAYSTATE_BUFFERING = 8; // 0x8 @@ -13091,18 +13186,32 @@ package android.media { } public class RemoteControlClient.MetadataEditor { + method public synchronized void addEditableKey(int); method public synchronized void apply(); method public synchronized void clear(); + method public synchronized void clearEditableKeys(); method public synchronized android.media.RemoteControlClient.MetadataEditor putBitmap(int, android.graphics.Bitmap) throws java.lang.IllegalArgumentException; method public synchronized android.media.RemoteControlClient.MetadataEditor putLong(int, long) throws java.lang.IllegalArgumentException; method public synchronized android.media.RemoteControlClient.MetadataEditor putString(int, java.lang.String) throws java.lang.IllegalArgumentException; field public static final int BITMAP_KEY_ARTWORK = 100; // 0x64 + field public static final int LONG_KEY_RATING_BY_OTHERS = 102; // 0x66 + field public static final int LONG_KEY_RATING_BY_USER = 268435457; // 0x10000001 + field public static final int LONG_KEY_RATING_TYPE = 101; // 0x65 + field public static final long RATING_HEART = -1L; // 0xffffffffffffffffL + field public static final long RATING_NOT_RATED = -101L; // 0xffffffffffffff9bL + field public static final long RATING_THUMB_UP_DOWN = -2L; // 0xfffffffffffffffeL } public static abstract interface RemoteControlClient.OnGetPlaybackPositionListener { method public abstract long onGetPlaybackPosition(); } + public static abstract interface RemoteControlClient.OnMetadataUpdateListener { + method public abstract void onMetadataUpdateBitmap(int, android.graphics.Bitmap); + method public abstract void onMetadataUpdateLong(int, long); + method public abstract void onMetadataUpdateString(int, java.lang.String); + } + public static abstract interface RemoteControlClient.OnPlaybackPositionUpdateListener { method public abstract void onPlaybackPositionUpdate(long); } @@ -15057,8 +15166,10 @@ package android.nfc { public final class NfcAdapter { method public void disableForegroundDispatch(android.app.Activity); method public deprecated void disableForegroundNdefPush(android.app.Activity); + method public void disableReaderMode(android.app.Activity); method public void enableForegroundDispatch(android.app.Activity, android.app.PendingIntent, android.content.IntentFilter[], java.lang.String[][]); method public deprecated void enableForegroundNdefPush(android.app.Activity, android.nfc.NdefMessage); + method public void enableReaderMode(android.app.Activity, android.nfc.NfcAdapter.ReaderCallback, int, android.os.Bundle); method public static android.nfc.NfcAdapter getDefaultAdapter(android.content.Context); method public boolean isEnabled(); method public boolean isNdefPushEnabled(); @@ -15074,7 +15185,15 @@ package android.nfc { field public static final java.lang.String EXTRA_ADAPTER_STATE = "android.nfc.extra.ADAPTER_STATE"; field public static final java.lang.String EXTRA_ID = "android.nfc.extra.ID"; field public static final java.lang.String EXTRA_NDEF_MESSAGES = "android.nfc.extra.NDEF_MESSAGES"; + field public static final java.lang.String EXTRA_READER_PRESENCE_CHECK_DELAY = "presence"; field public static final java.lang.String EXTRA_TAG = "android.nfc.extra.TAG"; + field public static final int FLAG_READER_KOVIO = 16; // 0x10 + field public static final int FLAG_READER_NFC_A = 1; // 0x1 + field public static final int FLAG_READER_NFC_B = 2; // 0x2 + field public static final int FLAG_READER_NFC_F = 4; // 0x4 + field public static final int FLAG_READER_NFC_V = 8; // 0x8 + field public static final int FLAG_READER_NO_PLATFORM_SOUNDS = 256; // 0x100 + field public static final int FLAG_READER_SKIP_NDEF_CHECK = 128; // 0x80 field public static final int STATE_OFF = 1; // 0x1 field public static final int STATE_ON = 3; // 0x3 field public static final int STATE_TURNING_OFF = 4; // 0x4 @@ -15093,6 +15212,10 @@ package android.nfc { method public abstract void onNdefPushComplete(android.nfc.NfcEvent); } + public static abstract interface NfcAdapter.ReaderCallback { + method public abstract void onTagDiscovered(android.nfc.Tag); + } + public final class NfcEvent { field public final android.nfc.NfcAdapter nfcAdapter; } @@ -15118,15 +15241,19 @@ package android.nfc { package android.nfc.cardemulation { - public final class CardEmulationManager { - method public static synchronized android.nfc.cardemulation.CardEmulationManager getInstance(android.nfc.NfcAdapter); + public final class CardEmulation { + method public static synchronized android.nfc.cardemulation.CardEmulation getInstance(android.nfc.NfcAdapter); + method public int getSelectionModeForCategory(java.lang.String); method public boolean isDefaultServiceForAid(android.content.ComponentName, java.lang.String); method public boolean isDefaultServiceForCategory(android.content.ComponentName, java.lang.String); - field public static final java.lang.String ACTION_CHANGE_DEFAULT = "android.nfc.cardemulation.ACTION_CHANGE_DEFAULT"; + field public static final java.lang.String ACTION_CHANGE_DEFAULT = "android.nfc.cardemulation.action.ACTION_CHANGE_DEFAULT"; field public static final java.lang.String CATEGORY_OTHER = "other"; field public static final java.lang.String CATEGORY_PAYMENT = "payment"; field public static final java.lang.String EXTRA_CATEGORY = "category"; field public static final java.lang.String EXTRA_SERVICE_COMPONENT = "component"; + field public static final int SELECTION_MODE_ALWAYS_ASK = 1; // 0x1 + field public static final int SELECTION_MODE_ASK_IF_CONFLICT = 2; // 0x2 + field public static final int SELECTION_MODE_PREFER_DEFAULT = 0; // 0x0 } public abstract class HostApduService extends android.app.Service { @@ -15134,20 +15261,19 @@ package android.nfc.cardemulation { method public final void notifyUnhandled(); method public final android.os.IBinder onBind(android.content.Intent); method public abstract void onDeactivated(int); - method public byte[] processCommandApdu(byte[], android.os.Bundle); - method public abstract deprecated byte[] processCommandApdu(byte[], int); + method public abstract byte[] processCommandApdu(byte[], android.os.Bundle); method public final void sendResponseApdu(byte[]); field public static final int DEACTIVATION_DESELECTED = 1; // 0x1 field public static final int DEACTIVATION_LINK_LOSS = 0; // 0x0 - field public static final java.lang.String SERVICE_INTERFACE = "android.nfc.HostApduService"; - field public static final java.lang.String SERVICE_META_DATA = "android.nfc.HostApduService"; + field public static final java.lang.String SERVICE_INTERFACE = "android.nfc.cardemulation.action.HOST_APDU_SERVICE"; + field public static final java.lang.String SERVICE_META_DATA = "android.nfc.cardemulation.host_apdu_service"; } public abstract class OffHostApduService extends android.app.Service { ctor public OffHostApduService(); method public abstract android.os.IBinder onBind(android.content.Intent); - field public static final java.lang.String SERVICE_INTERFACE = "android.nfc.OffHostApduService"; - field public static final java.lang.String SERVICE_META_DATA = "android.nfc.OffHostApduService"; + field public static final java.lang.String SERVICE_INTERFACE = "android.nfc.cardemulation.action.OFF_HOST_APDU_SERVICE"; + field public static final java.lang.String SERVICE_META_DATA = "android.nfc.cardemulation.off_host_apdu_service"; } } @@ -17541,7 +17667,7 @@ package android.os { field public static final int JELLY_BEAN = 16; // 0x10 field public static final int JELLY_BEAN_MR1 = 17; // 0x11 field public static final int JELLY_BEAN_MR2 = 18; // 0x12 - field public static final int KEY_LIME_PIE = 10000; // 0x2710 + field public static final int KITKAT = 10000; // 0x2710 } public final class Bundle implements java.lang.Cloneable android.os.Parcelable { @@ -18443,14 +18569,13 @@ package android.os { method public java.lang.String getUserName(); method public android.os.Bundle getUserRestrictions(); method public android.os.Bundle getUserRestrictions(android.os.UserHandle); - method public boolean hasRestrictionsPin(); method public boolean isUserAGoat(); method public boolean isUserRunning(android.os.UserHandle); method public boolean isUserRunningOrStopping(android.os.UserHandle); + method public boolean setRestrictionsChallenge(java.lang.String); method public void setUserRestriction(java.lang.String, boolean); method public void setUserRestrictions(android.os.Bundle); method public void setUserRestrictions(android.os.Bundle, android.os.UserHandle); - field public static final java.lang.String DISALLOW_APP_RESTRICTIONS = "no_app_restrictions"; field public static final java.lang.String DISALLOW_CONFIG_BLUETOOTH = "no_config_bluetooth"; field public static final java.lang.String DISALLOW_CONFIG_CREDENTIALS = "no_config_credentials"; field public static final java.lang.String DISALLOW_CONFIG_WIFI = "no_config_wifi"; @@ -18877,6 +19002,7 @@ package android.preference { package android.print { public final class PageRange implements android.os.Parcelable { + ctor public PageRange(int, int); method public int describeContents(); method public int getEnd(); method public int getStart(); @@ -18889,38 +19015,21 @@ package android.print { method public void clear(); method public int describeContents(); method public int getColorMode(); - method public int getDuplexMode(); - method public int getFittingMode(); - method public android.print.PrintAttributes.Tray getInputTray(); method public android.print.PrintAttributes.Margins getMargins(); method public android.print.PrintAttributes.MediaSize getMediaSize(); - method public int getOrientation(); - method public android.print.PrintAttributes.Tray getOutputTray(); method public android.print.PrintAttributes.Resolution getResolution(); method public void writeToParcel(android.os.Parcel, int); field public static final int COLOR_MODE_COLOR = 2; // 0x2 field public static final int COLOR_MODE_MONOCHROME = 1; // 0x1 field public static final android.os.Parcelable.Creator CREATOR; - field public static final int DUPLEX_MODE_LONG_EDGE = 2; // 0x2 - field public static final int DUPLEX_MODE_NONE = 1; // 0x1 - field public static final int DUPLEX_MODE_SHORT_EDGE = 4; // 0x4 - field public static final int FITTING_MODE_FIT_TO_PAGE = 2; // 0x2 - field public static final int FITTING_MODE_NONE = 1; // 0x1 - field public static final int ORIENTATION_LANDSCAPE = 2; // 0x2 - field public static final int ORIENTATION_PORTRAIT = 1; // 0x1 } public static final class PrintAttributes.Builder { ctor public PrintAttributes.Builder(); method public android.print.PrintAttributes create(); method public android.print.PrintAttributes.Builder setColorMode(int); - method public android.print.PrintAttributes.Builder setDuplexMode(int); - method public android.print.PrintAttributes.Builder setFittingMode(int); - method public android.print.PrintAttributes.Builder setInputTray(android.print.PrintAttributes.Tray); method public android.print.PrintAttributes.Builder setMargins(android.print.PrintAttributes.Margins); method public android.print.PrintAttributes.Builder setMediaSize(android.print.PrintAttributes.MediaSize); - method public android.print.PrintAttributes.Builder setOrientation(int); - method public android.print.PrintAttributes.Builder setOutputTray(android.print.PrintAttributes.Tray); method public android.print.PrintAttributes.Builder setResolution(android.print.PrintAttributes.Resolution); } @@ -18930,76 +19039,73 @@ package android.print { method public int getLeftMils(); method public int getRightMils(); method public int getTopMils(); + field public static final android.print.PrintAttributes.Margins NO_MARGINS; } public static final class PrintAttributes.MediaSize { ctor public PrintAttributes.MediaSize(java.lang.String, java.lang.String, int, int); - method public static android.print.PrintAttributes.MediaSize createMediaSize(android.content.pm.PackageManager, int); + method public android.print.PrintAttributes.MediaSize asLandscape(); + method public android.print.PrintAttributes.MediaSize asPortrait(); method public int getHeightMils(); method public java.lang.String getId(); - method public java.lang.String getLabel(); + method public java.lang.String getLabel(android.content.pm.PackageManager); method public int getWidthMils(); - field public static final int ISO_A0 = 1; // 0x1 - field public static final int ISO_A1 = 2; // 0x2 - field public static final int ISO_A10 = 11; // 0xb - field public static final int ISO_A2 = 3; // 0x3 - field public static final int ISO_A3 = 4; // 0x4 - field public static final int ISO_A4 = 5; // 0x5 - field public static final int ISO_A5 = 6; // 0x6 - field public static final int ISO_A6 = 7; // 0x7 - field public static final int ISO_A7 = 8; // 0x8 - field public static final int ISO_A8 = 9; // 0x9 - field public static final int ISO_A9 = 10; // 0xa - field public static final int ISO_B0 = 100; // 0x64 - field public static final int ISO_B1 = 101; // 0x65 - field public static final int ISO_B10 = 110; // 0x6e - field public static final int ISO_B2 = 102; // 0x66 - field public static final int ISO_B3 = 103; // 0x67 - field public static final int ISO_B4 = 104; // 0x68 - field public static final int ISO_B5 = 105; // 0x69 - field public static final int ISO_B6 = 106; // 0x6a - field public static final int ISO_B7 = 107; // 0x6b - field public static final int ISO_B8 = 108; // 0x6c - field public static final int ISO_B9 = 109; // 0x6d - field public static final int ISO_C0 = 200; // 0xc8 - field public static final int ISO_C1 = 201; // 0xc9 - field public static final int ISO_C10 = 210; // 0xd2 - field public static final int ISO_C2 = 202; // 0xca - field public static final int ISO_C3 = 203; // 0xcb - field public static final int ISO_C4 = 204; // 0xcc - field public static final int ISO_C5 = 205; // 0xcd - field public static final int ISO_C6 = 206; // 0xce - field public static final int ISO_C7 = 207; // 0xcf - field public static final int ISO_C8 = 208; // 0xd0 - field public static final int ISO_C9 = 209; // 0xd1 - field public static final int NA_GOVT_LETTER = 301; // 0x12d - field public static final int NA_JUNIOR_LEGAL = 303; // 0x12f - field public static final int NA_LEDGER = 304; // 0x130 - field public static final int NA_LEGAL = 302; // 0x12e - field public static final int NA_LETTER = 300; // 0x12c - field public static final int NA_TBLOID = 305; // 0x131 + method public boolean isPortrait(); + field public static final android.print.PrintAttributes.MediaSize ISO_A0; + field public static final android.print.PrintAttributes.MediaSize ISO_A1; + field public static final android.print.PrintAttributes.MediaSize ISO_A10; + field public static final android.print.PrintAttributes.MediaSize ISO_A2; + field public static final android.print.PrintAttributes.MediaSize ISO_A3; + field public static final android.print.PrintAttributes.MediaSize ISO_A4; + field public static final android.print.PrintAttributes.MediaSize ISO_A5; + field public static final android.print.PrintAttributes.MediaSize ISO_A6; + field public static final android.print.PrintAttributes.MediaSize ISO_A7; + field public static final android.print.PrintAttributes.MediaSize ISO_A8; + field public static final android.print.PrintAttributes.MediaSize ISO_A9; + field public static final android.print.PrintAttributes.MediaSize ISO_B0; + field public static final android.print.PrintAttributes.MediaSize ISO_B1; + field public static final android.print.PrintAttributes.MediaSize ISO_B10; + field public static final android.print.PrintAttributes.MediaSize ISO_B2; + field public static final android.print.PrintAttributes.MediaSize ISO_B3; + field public static final android.print.PrintAttributes.MediaSize ISO_B4; + field public static final android.print.PrintAttributes.MediaSize ISO_B5; + field public static final android.print.PrintAttributes.MediaSize ISO_B6; + field public static final android.print.PrintAttributes.MediaSize ISO_B7; + field public static final android.print.PrintAttributes.MediaSize ISO_B8; + field public static final android.print.PrintAttributes.MediaSize ISO_B9; + field public static final android.print.PrintAttributes.MediaSize ISO_C0; + field public static final android.print.PrintAttributes.MediaSize ISO_C1; + field public static final android.print.PrintAttributes.MediaSize ISO_C10; + field public static final android.print.PrintAttributes.MediaSize ISO_C2; + field public static final android.print.PrintAttributes.MediaSize ISO_C3; + field public static final android.print.PrintAttributes.MediaSize ISO_C4; + field public static final android.print.PrintAttributes.MediaSize ISO_C5; + field public static final android.print.PrintAttributes.MediaSize ISO_C6; + field public static final android.print.PrintAttributes.MediaSize ISO_C7; + field public static final android.print.PrintAttributes.MediaSize ISO_C8; + field public static final android.print.PrintAttributes.MediaSize ISO_C9; + field public static final android.print.PrintAttributes.MediaSize NA_GOVT_LETTER; + field public static final android.print.PrintAttributes.MediaSize NA_JUNIOR_LEGAL; + field public static final android.print.PrintAttributes.MediaSize NA_LEDGER; + field public static final android.print.PrintAttributes.MediaSize NA_LEGAL; + field public static final android.print.PrintAttributes.MediaSize NA_LETTER; + field public static final android.print.PrintAttributes.MediaSize NA_TBLOID; } public static final class PrintAttributes.Resolution { ctor public PrintAttributes.Resolution(java.lang.String, java.lang.String, int, int); method public int getHorizontalDpi(); method public java.lang.String getId(); - method public java.lang.String getLabel(); + method public java.lang.String getLabel(android.content.pm.PackageManager); method public int getVerticalDpi(); } - public static final class PrintAttributes.Tray { - ctor public PrintAttributes.Tray(java.lang.String, java.lang.String); - method public java.lang.String getId(); - method public java.lang.String getLabel(); - } - public abstract class PrintDocumentAdapter { ctor public PrintDocumentAdapter(); method public void onFinish(); method public abstract void onLayout(android.print.PrintAttributes, android.print.PrintAttributes, android.os.CancellationSignal, android.print.PrintDocumentAdapter.LayoutResultCallback, android.os.Bundle); method public void onStart(); - method public abstract void onWrite(android.print.PageRange[], java.io.FileDescriptor, android.os.CancellationSignal, android.print.PrintDocumentAdapter.WriteResultCallback); + method public abstract void onWrite(android.print.PageRange[], android.os.ParcelFileDescriptor, android.os.CancellationSignal, android.print.PrintDocumentAdapter.WriteResultCallback); field public static final java.lang.String METADATA_KEY_PRINT_PREVIEW = "KEY_METADATA_PRINT_PREVIEW"; } @@ -19018,6 +19124,7 @@ package android.print { public final class PrintDocumentInfo implements android.os.Parcelable { method public int describeContents(); method public int getContentType(); + method public long getDataSize(); method public java.lang.String getName(); method public int getPageCount(); method public void writeToParcel(android.os.Parcel, int); @@ -19038,7 +19145,7 @@ package android.print { public class PrintFileDocumentAdapter extends android.print.PrintDocumentAdapter { ctor public PrintFileDocumentAdapter(android.content.Context, java.io.File, android.print.PrintDocumentInfo); method public void onLayout(android.print.PrintAttributes, android.print.PrintAttributes, android.os.CancellationSignal, android.print.PrintDocumentAdapter.LayoutResultCallback, android.os.Bundle); - method public void onWrite(android.print.PageRange[], java.io.FileDescriptor, android.os.CancellationSignal, android.print.PrintDocumentAdapter.WriteResultCallback); + method public void onWrite(android.print.PageRange[], android.os.ParcelFileDescriptor, android.os.CancellationSignal, android.print.PrintDocumentAdapter.WriteResultCallback); } public final class PrintJob { @@ -19060,9 +19167,10 @@ package android.print { method public void writeToParcel(android.os.Parcel, int); field public static final android.os.Parcelable.Creator CREATOR; field public static final int PRINT_JOB_ID_UNDEFINED = -1; // 0xffffffff - field public static final int STATE_CANCELED = 6; // 0x6 - field public static final int STATE_COMPLETED = 4; // 0x4 - field public static final int STATE_FAILED = 5; // 0x5 + field public static final int STATE_BLOCKED = 4; // 0x4 + field public static final int STATE_CANCELED = 7; // 0x7 + field public static final int STATE_COMPLETED = 5; // 0x5 + field public static final int STATE_FAILED = 6; // 0x6 field public static final int STATE_QUEUED = 2; // 0x2 field public static final int STATE_STARTED = 3; // 0x3 } @@ -19077,13 +19185,8 @@ package android.print { method public int describeContents(); method public int getColorModes(); method public void getDefaults(android.print.PrintAttributes); - method public int getDuplexModes(); - method public int getFittingModes(); - method public java.util.List<android.print.PrintAttributes.Tray> getInputTrays(); method public java.util.List<android.print.PrintAttributes.MediaSize> getMediaSizes(); method public android.print.PrintAttributes.Margins getMinMargins(); - method public int getOrientations(); - method public java.util.List<android.print.PrintAttributes.Tray> getOutputTrays(); method public java.util.List<android.print.PrintAttributes.Resolution> getResolutions(); method public void writeToParcel(android.os.Parcel, int); field public static final android.os.Parcelable.Creator CREATOR; @@ -19091,16 +19194,11 @@ package android.print { public static final class PrinterCapabilitiesInfo.Builder { ctor public PrinterCapabilitiesInfo.Builder(android.print.PrinterId); - method public android.print.PrinterCapabilitiesInfo.Builder addInputTray(android.print.PrintAttributes.Tray, boolean); method public android.print.PrinterCapabilitiesInfo.Builder addMediaSize(android.print.PrintAttributes.MediaSize, boolean); - method public android.print.PrinterCapabilitiesInfo.Builder addOutputTray(android.print.PrintAttributes.Tray, boolean); method public android.print.PrinterCapabilitiesInfo.Builder addResolution(android.print.PrintAttributes.Resolution, boolean); method public android.print.PrinterCapabilitiesInfo create(); method public android.print.PrinterCapabilitiesInfo.Builder setColorModes(int, int); - method public android.print.PrinterCapabilitiesInfo.Builder setDuplexModes(int, int); - method public android.print.PrinterCapabilitiesInfo.Builder setFittingModes(int, int); method public android.print.PrinterCapabilitiesInfo.Builder setMinMargins(android.print.PrintAttributes.Margins, android.print.PrintAttributes.Margins); - method public android.print.PrinterCapabilitiesInfo.Builder setOrientations(int, int); } public final class PrinterId implements android.os.Parcelable { @@ -19119,7 +19217,9 @@ package android.print { method public int getStatus(); method public void writeToParcel(android.os.Parcel, int); field public static final android.os.Parcelable.Creator CREATOR; - field public static final int STATUS_READY = 1; // 0x1 + field public static final int STATUS_BUSY = 2; // 0x2 + field public static final int STATUS_IDLE = 1; // 0x1 + field public static final int STATUS_UNAVAILABLE = 3; // 0x3 } public static final class PrinterInfo.Builder { @@ -19129,6 +19229,7 @@ package android.print { method public android.print.PrinterInfo.Builder setCapabilities(android.print.PrinterCapabilitiesInfo); method public android.print.PrinterInfo.Builder setDescription(java.lang.String); method public android.print.PrinterInfo.Builder setName(java.lang.String); + method public android.print.PrinterInfo.Builder setStatus(int); } } @@ -19151,35 +19252,45 @@ package android.print.pdf { public static final class PdfDocument.PageInfo { method public android.graphics.Rect getContentSize(); - method public int getDesity(); method public android.graphics.Matrix getInitialTransform(); method public int getPageNumber(); method public android.graphics.Rect getPageSize(); } public static final class PdfDocument.PageInfo.Builder { - ctor public PdfDocument.PageInfo.Builder(android.graphics.Rect, int, int); + ctor public PdfDocument.PageInfo.Builder(android.graphics.Rect, int); method public android.print.pdf.PdfDocument.PageInfo create(); method public android.print.pdf.PdfDocument.PageInfo.Builder setContentSize(android.graphics.Rect); method public android.print.pdf.PdfDocument.PageInfo.Builder setInitialTransform(android.graphics.Matrix); } + public final class PrintedPdfDocument { + method public void close(); + method public void finishPage(android.print.pdf.PdfDocument.Page); + method public java.util.List<android.print.pdf.PdfDocument.PageInfo> getPages(); + method public static android.print.pdf.PrintedPdfDocument open(android.content.Context, android.print.PrintAttributes); + method public android.print.pdf.PdfDocument.Page startPage(int); + method public void writeTo(java.io.OutputStream); + } + } package android.printservice { public final class PrintDocument { - method public java.io.FileDescriptor getData(); + method public android.os.ParcelFileDescriptor getData(); method public android.print.PrintDocumentInfo getInfo(); } public final class PrintJob { + method public boolean block(java.lang.String); method public boolean cancel(); method public boolean complete(); method public boolean fail(java.lang.String); method public android.printservice.PrintDocument getDocument(); method public int getId(); method public android.print.PrintJobInfo getInfo(); + method public boolean isBlocked(); method public boolean isCancelled(); method public boolean isCompleted(); method public boolean isFailed(); @@ -19208,14 +19319,16 @@ package android.printservice { ctor public PrinterDiscoverySession(); method public final void addPrinters(java.util.List<android.print.PrinterInfo>); method public final java.util.List<android.print.PrinterInfo> getPrinters(); + method public final java.util.List<android.print.PrinterId> getTrackedPrinters(); method public final boolean isDestroyed(); method public final boolean isPrinterDiscoveryStarted(); method public abstract void onDestroy(); - method public abstract void onRequestPrinterUpdate(android.print.PrinterId); method public abstract void onStartPrinterDiscovery(java.util.List<android.print.PrinterId>); + method public abstract void onStartPrinterStateTracking(android.print.PrinterId); method public abstract void onStopPrinterDiscovery(); + method public abstract void onStopPrinterStateTracking(android.print.PrinterId); + method public abstract void onValidatePrinters(java.util.List<android.print.PrinterId>); method public final void removePrinters(java.util.List<android.print.PrinterId>); - method public final void updatePrinters(java.util.List<android.print.PrinterInfo>); } } @@ -19226,8 +19339,8 @@ package android.provider { ctor public AlarmClock(); field public static final java.lang.String ACTION_SET_ALARM = "android.intent.action.SET_ALARM"; field public static final java.lang.String ACTION_SET_TIMER = "android.intent.action.SET_TIMER"; + field public static final java.lang.String ACTION_SHOW_ALARMS = "android.intent.action.SHOW_ALARMS"; field public static final java.lang.String EXTRA_DAYS = "android.intent.extra.alarm.DAYS"; - field public static final java.lang.String EXTRA_DELETE_AFTER_USE = "android.intent.extra.alarm.DELETE_AFTER_USE"; field public static final java.lang.String EXTRA_HOUR = "android.intent.extra.alarm.HOUR"; field public static final java.lang.String EXTRA_LENGTH = "android.intent.extra.alarm.LENGTH"; field public static final java.lang.String EXTRA_MESSAGE = "android.intent.extra.alarm.MESSAGE"; @@ -20649,68 +20762,84 @@ package android.provider { } public final class DocumentsContract { - ctor public DocumentsContract(); - method public static android.net.Uri buildContentsUri(java.lang.String, java.lang.String, java.lang.String); - method public static android.net.Uri buildContentsUri(android.net.Uri); - method public static android.net.Uri buildDocumentUri(java.lang.String, java.lang.String, java.lang.String); - method public static android.net.Uri buildDocumentUri(android.net.Uri, java.lang.String); + method public static android.net.Uri buildChildDocumentsUri(java.lang.String, java.lang.String); + method public static android.net.Uri buildDocumentUri(java.lang.String, java.lang.String); + method public static android.net.Uri buildRecentDocumentsUri(java.lang.String, java.lang.String); method public static android.net.Uri buildRootUri(java.lang.String, java.lang.String); method public static android.net.Uri buildRootsUri(java.lang.String); - method public static android.net.Uri buildSearchUri(java.lang.String, java.lang.String, java.lang.String, java.lang.String); - method public static android.net.Uri buildSearchUri(android.net.Uri, java.lang.String); - method public static android.net.Uri createDocument(android.content.ContentResolver, android.net.Uri, java.lang.String, java.lang.String); - method public static java.lang.String getDocId(android.net.Uri); + method public static android.net.Uri buildSearchDocumentsUri(java.lang.String, java.lang.String, java.lang.String); + method public static boolean deleteDocument(android.content.ContentResolver, android.net.Uri); + method public static java.lang.String getDocumentId(android.net.Uri); + method public static android.graphics.Bitmap getDocumentThumbnail(android.content.ContentResolver, android.net.Uri, android.graphics.Point, android.os.CancellationSignal); method public static android.net.Uri[] getOpenDocuments(android.content.Context); method public static java.lang.String getRootId(android.net.Uri); - method public static java.lang.String getSearchQuery(android.net.Uri); - method public static android.graphics.Bitmap getThumbnail(android.content.ContentResolver, android.net.Uri, android.graphics.Point); - method public static boolean isLocalOnly(android.net.Uri); - method public static void notifyRootsChanged(android.content.Context, java.lang.String); - method public static boolean renameDocument(android.content.ContentResolver, android.net.Uri, java.lang.String); - method public static android.net.Uri setLocalOnly(android.net.Uri); - field public static final java.lang.String EXTRA_HAS_MORE = "has_more"; - field public static final java.lang.String EXTRA_REQUEST_MORE = "request_more"; - field public static final java.lang.String EXTRA_THUMBNAIL_SIZE = "thumbnail_size"; - } - - public static abstract interface DocumentsContract.DocumentColumns implements android.provider.OpenableColumns { - field public static final java.lang.String DOC_ID = "doc_id"; - field public static final java.lang.String FLAGS = "flags"; - field public static final java.lang.String LAST_MODIFIED = "last_modified"; - field public static final java.lang.String MIME_TYPE = "mime_type"; - field public static final java.lang.String SUMMARY = "summary"; - } - - public static class DocumentsContract.Documents { - field public static final java.lang.String DOC_ID_ROOT = "0"; - field public static final int FLAG_PREFERS_GRID = 64; // 0x40 - field public static final int FLAG_SUPPORTS_CREATE = 1; // 0x1 + method public static java.lang.String getSearchDocumentsQuery(android.net.Uri); + field public static final java.lang.String EXTRA_ERROR = "error"; + field public static final java.lang.String EXTRA_INFO = "info"; + field public static final java.lang.String EXTRA_LOADING = "loading"; + } + + public static final class DocumentsContract.Document { + field public static final java.lang.String COLUMN_DISPLAY_NAME = "_display_name"; + field public static final java.lang.String COLUMN_DOCUMENT_ID = "document_id"; + field public static final java.lang.String COLUMN_FLAGS = "flags"; + field public static final java.lang.String COLUMN_ICON = "icon"; + field public static final java.lang.String COLUMN_LAST_MODIFIED = "last_modified"; + field public static final java.lang.String COLUMN_MIME_TYPE = "mime_type"; + field public static final java.lang.String COLUMN_SIZE = "_size"; + field public static final java.lang.String COLUMN_SUMMARY = "summary"; + field public static final int FLAG_DIR_PREFERS_GRID = 32; // 0x20 + field public static final int FLAG_DIR_PREFERS_LAST_MODIFIED = 64; // 0x40 + field public static final int FLAG_DIR_SUPPORTS_CREATE = 8; // 0x8 + field public static final int FLAG_DIR_SUPPORTS_SEARCH = 16; // 0x10 field public static final int FLAG_SUPPORTS_DELETE = 4; // 0x4 - field public static final int FLAG_SUPPORTS_RENAME = 2; // 0x2 - field public static final int FLAG_SUPPORTS_SEARCH = 16; // 0x10 - field public static final int FLAG_SUPPORTS_THUMBNAIL = 8; // 0x8 - field public static final int FLAG_SUPPORTS_WRITE = 32; // 0x20 - field public static final java.lang.String MIME_TYPE_DIR = "vnd.android.cursor.dir/doc"; - } - - public static abstract interface DocumentsContract.RootColumns { - field public static final java.lang.String AVAILABLE_BYTES = "available_bytes"; - field public static final java.lang.String ICON = "icon"; - field public static final java.lang.String ROOT_ID = "root_id"; - field public static final java.lang.String ROOT_TYPE = "root_type"; - field public static final java.lang.String SUMMARY = "summary"; - field public static final java.lang.String TITLE = "title"; - } - - public static class DocumentsContract.Roots { - field public static final java.lang.String MIME_TYPE_DIR = "vnd.android.cursor.dir/root"; - field public static final java.lang.String MIME_TYPE_ITEM = "vnd.android.cursor.item/root"; + field public static final int FLAG_SUPPORTS_THUMBNAIL = 1; // 0x1 + field public static final int FLAG_SUPPORTS_WRITE = 2; // 0x2 + field public static final java.lang.String MIME_TYPE_DIR = "vnd.android.document/directory"; + } + + public static final class DocumentsContract.Root { + field public static final java.lang.String COLUMN_AVAILABLE_BYTES = "available_bytes"; + field public static final java.lang.String COLUMN_DOCUMENT_ID = "document_id"; + field public static final java.lang.String COLUMN_FLAGS = "flags"; + field public static final java.lang.String COLUMN_ICON = "icon"; + field public static final java.lang.String COLUMN_MIME_TYPES = "mime_types"; + field public static final java.lang.String COLUMN_ROOT_ID = "root_id"; + field public static final java.lang.String COLUMN_ROOT_TYPE = "root_type"; + field public static final java.lang.String COLUMN_SUMMARY = "summary"; + field public static final java.lang.String COLUMN_TITLE = "title"; + field public static final int FLAG_ADVANCED = 4; // 0x4 + field public static final int FLAG_LOCAL_ONLY = 2; // 0x2 + field public static final int FLAG_SUPPORTS_CREATE = 1; // 0x1 + field public static final int FLAG_SUPPORTS_RECENTS = 8; // 0x8 field public static final int ROOT_TYPE_DEVICE = 3; // 0x3 - field public static final int ROOT_TYPE_DEVICE_ADVANCED = 4; // 0x4 field public static final int ROOT_TYPE_SERVICE = 1; // 0x1 field public static final int ROOT_TYPE_SHORTCUT = 2; // 0x2 } + public abstract class DocumentsProvider extends android.content.ContentProvider { + ctor public DocumentsProvider(); + method public java.lang.String createDocument(java.lang.String, java.lang.String, java.lang.String) throws java.io.FileNotFoundException; + method public final int delete(android.net.Uri, java.lang.String, java.lang.String[]); + method public void deleteDocument(java.lang.String) throws java.io.FileNotFoundException; + method public java.lang.String getDocumentType(java.lang.String) throws java.io.FileNotFoundException; + method public final java.lang.String getType(android.net.Uri); + method public final android.net.Uri insert(android.net.Uri, android.content.ContentValues); + method public abstract android.os.ParcelFileDescriptor openDocument(java.lang.String, java.lang.String, android.os.CancellationSignal) throws java.io.FileNotFoundException; + method public android.content.res.AssetFileDescriptor openDocumentThumbnail(java.lang.String, android.graphics.Point, android.os.CancellationSignal) throws java.io.FileNotFoundException; + method public final android.os.ParcelFileDescriptor openFile(android.net.Uri, java.lang.String) throws java.io.FileNotFoundException; + method public final android.os.ParcelFileDescriptor openFile(android.net.Uri, java.lang.String, android.os.CancellationSignal) throws java.io.FileNotFoundException; + method public final android.content.res.AssetFileDescriptor openTypedAssetFile(android.net.Uri, java.lang.String, android.os.Bundle) throws java.io.FileNotFoundException; + method public final android.content.res.AssetFileDescriptor openTypedAssetFile(android.net.Uri, java.lang.String, android.os.Bundle, android.os.CancellationSignal) throws java.io.FileNotFoundException; + method public final android.database.Cursor query(android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String); + method public abstract android.database.Cursor queryChildDocuments(java.lang.String, java.lang.String[], java.lang.String) throws java.io.FileNotFoundException; + method public abstract android.database.Cursor queryDocument(java.lang.String, java.lang.String[]) throws java.io.FileNotFoundException; + method public android.database.Cursor queryRecentDocuments(java.lang.String, java.lang.String[]) throws java.io.FileNotFoundException; + method public abstract android.database.Cursor queryRoots(java.lang.String[]) throws java.io.FileNotFoundException; + method public android.database.Cursor querySearchDocuments(java.lang.String, java.lang.String, java.lang.String[]) throws java.io.FileNotFoundException; + method public final int update(android.net.Uri, android.content.ContentValues, java.lang.String, java.lang.String[]); + } + public final deprecated class LiveFolders implements android.provider.BaseColumns { field public static final java.lang.String ACTION_CREATE_LIVE_FOLDER = "android.intent.action.CREATE_LIVE_FOLDER"; field public static final java.lang.String DESCRIPTION = "description"; @@ -21062,6 +21191,7 @@ package android.provider { field public static final java.lang.String ACTION_APPLICATION_DEVELOPMENT_SETTINGS = "android.settings.APPLICATION_DEVELOPMENT_SETTINGS"; field public static final java.lang.String ACTION_APPLICATION_SETTINGS = "android.settings.APPLICATION_SETTINGS"; field public static final java.lang.String ACTION_BLUETOOTH_SETTINGS = "android.settings.BLUETOOTH_SETTINGS"; + field public static final java.lang.String ACTION_CAPTIONING_SETTINGS = "android.settings.CAPTIONING_SETTINGS"; field public static final java.lang.String ACTION_DATA_ROAMING_SETTINGS = "android.settings.DATA_ROAMING_SETTINGS"; field public static final java.lang.String ACTION_DATE_SETTINGS = "android.settings.DATE_SETTINGS"; field public static final java.lang.String ACTION_DEVICE_INFO_SETTINGS = "android.settings.DEVICE_INFO_SETTINGS"; @@ -21079,6 +21209,7 @@ package android.provider { field public static final java.lang.String ACTION_NFCSHARING_SETTINGS = "android.settings.NFCSHARING_SETTINGS"; field public static final java.lang.String ACTION_NFC_PAYMENT_SETTINGS = "android.settings.NFC_PAYMENT_SETTINGS"; field public static final java.lang.String ACTION_NFC_SETTINGS = "android.settings.NFC_SETTINGS"; + field public static final java.lang.String ACTION_PRINT_SETTINGS = "android.settings.ACTION_PRINT_SETTINGS"; field public static final java.lang.String ACTION_PRIVACY_SETTINGS = "android.settings.PRIVACY_SETTINGS"; field public static final java.lang.String ACTION_QUICK_LAUNCH_SETTINGS = "android.settings.QUICK_LAUNCH_SETTINGS"; field public static final java.lang.String ACTION_SEARCH_SETTINGS = "android.search.action.SEARCH_SETTINGS"; @@ -21166,8 +21297,6 @@ package android.provider { method public static float getFloat(android.content.ContentResolver, java.lang.String) throws android.provider.Settings.SettingNotFoundException; method public static int getInt(android.content.ContentResolver, java.lang.String, int); method public static int getInt(android.content.ContentResolver, java.lang.String) throws android.provider.Settings.SettingNotFoundException; - method public static final int getLocationMode(android.content.ContentResolver); - method public static final int getLocationModeForUser(android.content.ContentResolver, int); method public static long getLong(android.content.ContentResolver, java.lang.String, long); method public static long getLong(android.content.ContentResolver, java.lang.String) throws android.provider.Settings.SettingNotFoundException; method public static java.lang.String getString(android.content.ContentResolver, java.lang.String); @@ -21177,8 +21306,6 @@ package android.provider { method public static boolean putInt(android.content.ContentResolver, java.lang.String, int); method public static boolean putLong(android.content.ContentResolver, java.lang.String, long); method public static boolean putString(android.content.ContentResolver, java.lang.String, java.lang.String); - method public static final void setLocationMode(android.content.ContentResolver, int); - method public static final void setLocationModeForUser(android.content.ContentResolver, int, int); method public static final deprecated void setLocationProviderEnabled(android.content.ContentResolver, java.lang.String, boolean); field public static final java.lang.String ACCESSIBILITY_ENABLED = "accessibility_enabled"; field public static final java.lang.String ACCESSIBILITY_SPEAK_PASSWORD = "speak_password"; @@ -21198,11 +21325,12 @@ package android.provider { field public static final deprecated java.lang.String HTTP_PROXY = "http_proxy"; field public static final java.lang.String INPUT_METHOD_SELECTOR_VISIBILITY = "input_method_selector_visibility"; field public static final deprecated java.lang.String INSTALL_NON_MARKET_APPS = "install_non_market_apps"; + field public static final java.lang.String LOCATION_MODE = "location_mode"; field public static final int LOCATION_MODE_BATTERY_SAVING = 2; // 0x2 field public static final int LOCATION_MODE_HIGH_ACCURACY = 3; // 0x3 field public static final int LOCATION_MODE_OFF = 0; // 0x0 field public static final int LOCATION_MODE_SENSORS_ONLY = 1; // 0x1 - field public static final java.lang.String LOCATION_PROVIDERS_ALLOWED = "location_providers_allowed"; + field public static final deprecated java.lang.String LOCATION_PROVIDERS_ALLOWED = "location_providers_allowed"; field public static final java.lang.String LOCK_PATTERN_ENABLED = "lock_pattern_autolock"; field public static final deprecated java.lang.String LOCK_PATTERN_TACTILE_FEEDBACK_ENABLED = "lock_pattern_tactile_feedback_enabled"; field public static final java.lang.String LOCK_PATTERN_VISIBLE = "lock_pattern_visible_pattern"; @@ -21533,6 +21661,7 @@ package android.renderscript { method public deprecated synchronized void resize(int); method public void setFromFieldPacker(int, android.renderscript.FieldPacker); method public void setFromFieldPacker(int, int, android.renderscript.FieldPacker); + method public void setOnBufferAvailableListener(android.renderscript.Allocation.OnBufferAvailableListener); method public void setSurface(android.view.Surface); method public void syncAll(int); field public static final int USAGE_GRAPHICS_CONSTANTS = 8; // 0x8 @@ -21553,6 +21682,10 @@ package android.renderscript { enum_constant public static final android.renderscript.Allocation.MipmapControl MIPMAP_ON_SYNC_TO_TEXTURE; } + public static abstract interface Allocation.OnBufferAvailableListener { + method public abstract void onBufferAvailable(android.renderscript.Allocation); + } + public class AllocationAdapter extends android.renderscript.Allocation { method public static android.renderscript.AllocationAdapter create1D(android.renderscript.RenderScript, android.renderscript.Allocation); method public static android.renderscript.AllocationAdapter create2D(android.renderscript.RenderScript, android.renderscript.Allocation); @@ -21679,6 +21812,7 @@ package android.renderscript { method public static android.renderscript.Element U8_2(android.renderscript.RenderScript); method public static android.renderscript.Element U8_3(android.renderscript.RenderScript); method public static android.renderscript.Element U8_4(android.renderscript.RenderScript); + method public static android.renderscript.Element YUV(android.renderscript.RenderScript); method public static android.renderscript.Element createPixel(android.renderscript.RenderScript, android.renderscript.Element.DataType, android.renderscript.Element.DataKind); method public static android.renderscript.Element createVector(android.renderscript.RenderScript, android.renderscript.Element.DataType, int); method public int getBytesSize(); @@ -22202,7 +22336,7 @@ package android.renderscript { } public final class ScriptIntrinsicColorMatrix extends android.renderscript.ScriptIntrinsic { - method public static android.renderscript.ScriptIntrinsicColorMatrix create(android.renderscript.RenderScript, android.renderscript.Element); + method public static deprecated android.renderscript.ScriptIntrinsicColorMatrix create(android.renderscript.RenderScript, android.renderscript.Element); method public static android.renderscript.ScriptIntrinsicColorMatrix create(android.renderscript.RenderScript); method public void forEach(android.renderscript.Allocation, android.renderscript.Allocation); method public android.renderscript.Script.KernelID getKernelID(); @@ -22236,9 +22370,9 @@ package android.renderscript { public final class ScriptIntrinsicHistogram extends android.renderscript.ScriptIntrinsic { method public static android.renderscript.ScriptIntrinsicHistogram create(android.renderscript.RenderScript, android.renderscript.Element); method public void forEach(android.renderscript.Allocation); - method public void forEach_dot(android.renderscript.Allocation); + method public void forEach_Dot(android.renderscript.Allocation); method public android.renderscript.Script.FieldID getFieldID_Input(); - method public android.renderscript.Script.KernelID getKernelID_seperate(); + method public android.renderscript.Script.KernelID getKernelID_Separate(); method public void setDotCoefficients(float, float, float, float); method public void setOutput(android.renderscript.Allocation); } @@ -22391,8 +22525,11 @@ package android.security { } public final class KeyPairGeneratorSpec implements java.security.spec.AlgorithmParameterSpec { + method public java.security.spec.AlgorithmParameterSpec getAlgorithmParameterSpec(); method public android.content.Context getContext(); method public java.util.Date getEndDate(); + method public int getKeySize(); + method public java.lang.String getKeyType(); method public java.lang.String getKeystoreAlias(); method public java.math.BigInteger getSerialNumber(); method public java.util.Date getStartDate(); @@ -22403,9 +22540,12 @@ package android.security { public static final class KeyPairGeneratorSpec.Builder { ctor public KeyPairGeneratorSpec.Builder(android.content.Context); method public android.security.KeyPairGeneratorSpec build(); + method public android.security.KeyPairGeneratorSpec.Builder setAlgorithmParameterSpec(java.security.spec.AlgorithmParameterSpec); method public android.security.KeyPairGeneratorSpec.Builder setAlias(java.lang.String); method public android.security.KeyPairGeneratorSpec.Builder setEncryptionRequired(); method public android.security.KeyPairGeneratorSpec.Builder setEndDate(java.util.Date); + method public android.security.KeyPairGeneratorSpec.Builder setKeySize(int); + method public android.security.KeyPairGeneratorSpec.Builder setKeyType(java.lang.String) throws java.security.NoSuchAlgorithmException; method public android.security.KeyPairGeneratorSpec.Builder setSerialNumber(java.math.BigInteger); method public android.security.KeyPairGeneratorSpec.Builder setStartDate(java.util.Date); method public android.security.KeyPairGeneratorSpec.Builder setSubject(javax.security.auth.x500.X500Principal); @@ -22665,6 +22805,35 @@ package android.speech { } +package android.speech.hotword { + + public abstract class HotwordRecognitionService extends android.app.Service { + ctor public HotwordRecognitionService(); + method public android.os.IBinder onBind(android.content.Intent); + method public abstract void onStartHotwordRecognition(android.speech.hotword.HotwordRecognitionService.Callback); + method public abstract void onStopHotwordRecognition(); + field public static final int ERROR_AUDIO = 1; // 0x1 + field public static final int ERROR_CLIENT = 4; // 0x4 + field public static final int ERROR_FAILED = 3; // 0x3 + field public static final int ERROR_RECOGNIZER_BUSY = 2; // 0x2 + field public static final int ERROR_SERVICE_ALREADY_STARTED = 6; // 0x6 + field public static final int ERROR_TIMEOUT = 5; // 0x5 + field public static final int ERROR_UNAVAILABLE = 7; // 0x7 + field public static final int EVENT_TYPE_PROMPT_CHANGED = 1; // 0x1 + field public static final java.lang.String KEY_PROMPT_TEXT = "prompt_text"; + field public static final java.lang.String SERVICE_INTERFACE = "android.speech.hotword.HotwordRecognitionService"; + } + + public static class HotwordRecognitionService.Callback { + method public void onError(int) throws android.os.RemoteException; + method public void onHotwordEvent(int, android.os.Bundle) throws android.os.RemoteException; + method public void onHotwordRecognitionStarted() throws android.os.RemoteException; + method public void onHotwordRecognitionStopped() throws android.os.RemoteException; + method public void onHotwordRecognized(android.content.Intent) throws android.os.RemoteException; + } + +} + package android.speech.tts { public abstract interface SynthesisCallback { @@ -25317,6 +25486,119 @@ package android.text.util { } +package android.transition { + + public class AutoTransition extends android.transition.TransitionSet { + ctor public AutoTransition(); + } + + public class ChangeBounds extends android.transition.Transition { + ctor public ChangeBounds(); + method public void captureEndValues(android.transition.TransitionValues); + method public void captureStartValues(android.transition.TransitionValues); + method public void setReparent(boolean); + method public void setResizeClip(boolean); + } + + public class Fade extends android.transition.Visibility { + ctor public Fade(); + ctor public Fade(int); + field public static final int IN = 1; // 0x1 + field public static final int OUT = 2; // 0x2 + } + + public final class Scene { + ctor public Scene(android.view.ViewGroup); + ctor public Scene(android.view.ViewGroup, android.view.ViewGroup); + method public void enter(); + method public void exit(); + method public static android.transition.Scene getSceneForLayout(android.view.ViewGroup, int, android.content.Context); + method public android.view.ViewGroup getSceneRoot(); + method public void setEnterAction(java.lang.Runnable); + method public void setExitAction(java.lang.Runnable); + } + + public abstract class Transition implements java.lang.Cloneable { + ctor public Transition(); + method public android.transition.Transition addListener(android.transition.Transition.TransitionListener); + method public android.transition.Transition addTarget(android.view.View); + method public android.transition.Transition addTargetId(int); + method public abstract void captureEndValues(android.transition.TransitionValues); + method public abstract void captureStartValues(android.transition.TransitionValues); + method public android.transition.Transition clone(); + method public android.animation.Animator createAnimator(android.view.ViewGroup, android.transition.TransitionValues, android.transition.TransitionValues); + method public long getDuration(); + method public android.animation.TimeInterpolator getInterpolator(); + method public java.lang.String getName(); + method public long getStartDelay(); + method public java.util.List<java.lang.Integer> getTargetIds(); + method public java.util.List<android.view.View> getTargets(); + method public java.lang.String[] getTransitionProperties(); + method public android.transition.TransitionValues getTransitionValues(android.view.View, boolean); + method public android.transition.Transition removeListener(android.transition.Transition.TransitionListener); + method public android.transition.Transition removeTarget(android.view.View); + method public android.transition.Transition removeTargetId(int); + method public android.transition.Transition setDuration(long); + method public android.transition.Transition setInterpolator(android.animation.TimeInterpolator); + method public android.transition.Transition setStartDelay(long); + } + + public static abstract interface Transition.TransitionListener { + method public abstract void onTransitionCancel(android.transition.Transition); + method public abstract void onTransitionEnd(android.transition.Transition); + method public abstract void onTransitionPause(android.transition.Transition); + method public abstract void onTransitionResume(android.transition.Transition); + method public abstract void onTransitionStart(android.transition.Transition); + } + + public class TransitionInflater { + method public static android.transition.TransitionInflater from(android.content.Context); + method public android.transition.Transition inflateTransition(int); + method public android.transition.TransitionManager inflateTransitionManager(int, android.view.ViewGroup); + } + + public class TransitionManager { + ctor public TransitionManager(); + method public static void beginDelayedTransition(android.view.ViewGroup); + method public static void beginDelayedTransition(android.view.ViewGroup, android.transition.Transition); + method public static android.transition.Transition getDefaultTransition(); + method public static void go(android.transition.Scene); + method public static void go(android.transition.Scene, android.transition.Transition); + method public void setDefaultTransition(android.transition.Transition); + method public void setTransition(android.transition.Scene, android.transition.Transition); + method public void setTransition(android.transition.Scene, android.transition.Scene, android.transition.Transition); + method public void transitionTo(android.transition.Scene); + } + + public class TransitionSet extends android.transition.Transition { + ctor public TransitionSet(); + method public android.transition.TransitionSet addTransition(android.transition.Transition); + method public void captureEndValues(android.transition.TransitionValues); + method public void captureStartValues(android.transition.TransitionValues); + method public int getOrdering(); + method public android.transition.TransitionSet removeTransition(android.transition.Transition); + method public android.transition.TransitionSet setOrdering(int); + field public static final int ORDERING_SEQUENTIAL = 1; // 0x1 + field public static final int ORDERING_TOGETHER = 0; // 0x0 + } + + public class TransitionValues { + ctor public TransitionValues(); + field public final java.util.Map values; + field public android.view.View view; + } + + public abstract class Visibility extends android.transition.Transition { + ctor public Visibility(); + method public void captureEndValues(android.transition.TransitionValues); + method public void captureStartValues(android.transition.TransitionValues); + method public boolean isVisible(android.transition.TransitionValues); + method public android.animation.Animator onAppear(android.view.ViewGroup, android.transition.TransitionValues, int, android.transition.TransitionValues, int); + method public android.animation.Animator onDisappear(android.view.ViewGroup, android.transition.TransitionValues, int, android.transition.TransitionValues, int); + } + +} + package android.util { public class AndroidException extends java.lang.Exception { @@ -25555,7 +25837,7 @@ package android.util { method public android.util.JsonWriter value(java.lang.Number) throws java.io.IOException; } - public abstract interface LayoutDirection { + public final class LayoutDirection { field public static final int INHERIT = 2; // 0x2 field public static final int LOCALE = 3; // 0x3 field public static final int LTR = 0; // 0x0 @@ -26954,6 +27236,7 @@ package android.view { public class ScaleGestureDetector { ctor public ScaleGestureDetector(android.content.Context, android.view.ScaleGestureDetector.OnScaleGestureListener); + ctor public ScaleGestureDetector(android.content.Context, android.view.ScaleGestureDetector.OnScaleGestureListener, android.os.Handler); method public float getCurrentSpan(); method public float getCurrentSpanX(); method public float getCurrentSpanY(); @@ -26967,6 +27250,7 @@ package android.view { method public long getTimeDelta(); method public boolean isInProgress(); method public boolean onTouchEvent(android.view.MotionEvent); + method public void setQuickScaleEnabled(boolean); } public static abstract interface ScaleGestureDetector.OnScaleGestureListener { @@ -27148,6 +27432,7 @@ package android.view { method public boolean canScrollHorizontally(int); method public boolean canScrollVertically(int); method public void cancelLongPress(); + method public final void cancelPendingInputEvents(); method public boolean checkInputConnectionProxy(android.view.View); method public void clearAnimation(); method public void clearFocus(); @@ -27211,7 +27496,6 @@ package android.view { method public java.lang.CharSequence getContentDescription(); method public final android.content.Context getContext(); method protected android.view.ContextMenu.ContextMenuInfo getContextMenuInfo(); - method public android.view.transition.Scene getCurrentScene(); method public static int getDefaultSize(int, int); method public android.view.Display getDisplay(); method public final int[] getDrawableState(); @@ -27376,6 +27660,7 @@ package android.view { method protected void onAnimationEnd(); method protected void onAnimationStart(); method protected void onAttachedToWindow(); + method public void onCancelPendingInputEvents(); method public boolean onCheckIsTextEditor(); method protected void onConfigurationChanged(android.content.res.Configuration); method protected void onCreateContextMenu(android.view.ContextMenu); @@ -27647,9 +27932,9 @@ package android.view { field public static final int SOUND_EFFECTS_ENABLED = 134217728; // 0x8000000 field public static final deprecated int STATUS_BAR_HIDDEN = 1; // 0x1 field public static final deprecated int STATUS_BAR_VISIBLE = 0; // 0x0 - field public static final int SYSTEM_UI_FLAG_ALLOW_TRANSIENT = 2048; // 0x800 field public static final int SYSTEM_UI_FLAG_FULLSCREEN = 4; // 0x4 field public static final int SYSTEM_UI_FLAG_HIDE_NAVIGATION = 2; // 0x2 + field public static final int SYSTEM_UI_FLAG_IMMERSIVE = 2048; // 0x800 field public static final int SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN = 1024; // 0x400 field public static final int SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION = 512; // 0x200 field public static final int SYSTEM_UI_FLAG_LAYOUT_STABLE = 256; // 0x100 @@ -28089,6 +28374,7 @@ package android.view { method public android.view.ViewPropertyAnimator setInterpolator(android.animation.TimeInterpolator); method public android.view.ViewPropertyAnimator setListener(android.animation.Animator.AnimatorListener); method public android.view.ViewPropertyAnimator setStartDelay(long); + method public android.view.ViewPropertyAnimator setUpdateListener(android.animation.ValueAnimator.AnimatorUpdateListener); method public void start(); method public android.view.ViewPropertyAnimator translationX(float); method public android.view.ViewPropertyAnimator translationXBy(float); @@ -28553,6 +28839,7 @@ package android.view.accessibility { method public void addAction(int); method public void addChild(android.view.View); method public void addChild(android.view.View, int); + method public boolean canOpenPopup(); method public int describeContents(); method public java.util.List<android.view.accessibility.AccessibilityNodeInfo> findAccessibilityNodeInfosByText(java.lang.String); method public java.util.List<android.view.accessibility.AccessibilityNodeInfo> findAccessibilityNodeInfosByViewId(java.lang.String); @@ -28561,18 +28848,17 @@ package android.view.accessibility { method public int getActions(); method public void getBoundsInParent(android.graphics.Rect); method public void getBoundsInScreen(android.graphics.Rect); - method public android.os.Bundle getBundle(); method public android.view.accessibility.AccessibilityNodeInfo getChild(int); method public int getChildCount(); method public java.lang.CharSequence getClassName(); method public android.view.accessibility.AccessibilityNodeInfo.CollectionInfo getCollectionInfo(); method public android.view.accessibility.AccessibilityNodeInfo.CollectionItemInfo getCollectionItemInfo(); method public java.lang.CharSequence getContentDescription(); + method public android.os.Bundle getExtras(); method public int getInputType(); method public android.view.accessibility.AccessibilityNodeInfo getLabelFor(); method public android.view.accessibility.AccessibilityNodeInfo getLabeledBy(); method public int getMovementGranularities(); - method public boolean getOpensPopup(); method public java.lang.CharSequence getPackageName(); method public android.view.accessibility.AccessibilityNodeInfo getParent(); method public android.view.accessibility.AccessibilityNodeInfo.RangeInfo getRangeInfo(); @@ -28611,6 +28897,7 @@ package android.view.accessibility { method public void setAccessibilityFocused(boolean); method public void setBoundsInParent(android.graphics.Rect); method public void setBoundsInScreen(android.graphics.Rect); + method public void setCanOpenPopup(boolean); method public void setCheckable(boolean); method public void setChecked(boolean); method public void setClassName(java.lang.CharSequence); @@ -28635,7 +28922,6 @@ package android.view.accessibility { method public void setLongClickable(boolean); method public void setMovementGranularities(int); method public void setMultiLine(boolean); - method public void setOpensPopup(boolean); method public void setPackageName(java.lang.CharSequence); method public void setParent(android.view.View); method public void setParent(android.view.View, int); @@ -28687,17 +28973,17 @@ package android.view.accessibility { } public static final class AccessibilityNodeInfo.CollectionInfo { - method public int getHorizontalSize(); - method public int getVerticalSize(); + method public int getColumnCount(); + method public int getRowCount(); method public boolean isHierarchical(); method public static android.view.accessibility.AccessibilityNodeInfo.CollectionInfo obtain(int, int, boolean); } public static final class AccessibilityNodeInfo.CollectionItemInfo { - method public int getHorizontalPosition(); - method public int getHorizontalSpan(); - method public int getVerticalPosition(); - method public int getVerticalSpan(); + method public int getColumnIndex(); + method public int getColumnSpan(); + method public int getRowIndex(); + method public int getRowSpan(); method public boolean isHeading(); method public static android.view.accessibility.AccessibilityNodeInfo.CollectionItemInfo obtain(int, int, int, int, boolean); } @@ -28770,15 +29056,15 @@ package android.view.accessibility { } public class CaptioningManager { - ctor public CaptioningManager(); - method public static final float getFontSize(android.content.ContentResolver); - method public static final java.util.Locale getLocale(android.content.ContentResolver); - method public static final boolean isEnabled(android.content.ContentResolver); - field public static final java.lang.String ACTION_CAPTIONING_SETTINGS = "android.settings.CAPTIONING_SETTINGS"; + method public void addCaptioningChangeListener(android.view.accessibility.CaptioningManager.CaptioningChangeListener); + method public final float getFontScale(); + method public final java.util.Locale getLocale(); + method public android.view.accessibility.CaptioningManager.CaptionStyle getUserStyle(); + method public final boolean isEnabled(); + method public void removeCaptioningChangeListener(android.view.accessibility.CaptioningManager.CaptioningChangeListener); } public static final class CaptioningManager.CaptionStyle { - method public static android.view.accessibility.CaptioningManager.CaptionStyle defaultUserStyle(android.content.ContentResolver); method public android.graphics.Typeface getTypeface(); field public static final int EDGE_TYPE_DROP_SHADOW = 2; // 0x2 field public static final int EDGE_TYPE_NONE = 0; // 0x0 @@ -28789,6 +29075,14 @@ package android.view.accessibility { field public final int foregroundColor; } + public static abstract class CaptioningManager.CaptioningChangeListener { + ctor public CaptioningManager.CaptioningChangeListener(); + method public void onEnabledChanged(boolean); + method public void onFontScaleChanged(float); + method public void onLocaleChanged(java.util.Locale); + method public void onUserStyleChanged(android.view.accessibility.CaptioningManager.CaptionStyle); + } + } package android.view.animation { @@ -29480,155 +29774,6 @@ package android.view.textservice { } -package android.view.transition { - - public class AutoTransition extends android.view.transition.TransitionGroup { - ctor public AutoTransition(); - } - - public class Crossfade extends android.view.transition.Transition { - ctor public Crossfade(); - method protected void captureValues(android.view.transition.TransitionValues, boolean); - method public int getFadeBehavior(); - method public int getResizeBehavior(); - method public void setFadeBehavior(int); - method public void setResizeBehavior(int); - field public static final int FADE_BEHAVIOR_CROSSFADE = 0; // 0x0 - field public static final int FADE_BEHAVIOR_OUT_IN = 2; // 0x2 - field public static final int FADE_BEHAVIOR_REVEAL = 1; // 0x1 - field public static final int RESIZE_BEHAVIOR_NONE = 0; // 0x0 - field public static final int RESIZE_BEHAVIOR_SCALE = 1; // 0x1 - } - - public class Fade extends android.view.transition.Visibility { - ctor public Fade(); - ctor public Fade(int); - field public static final int IN = 1; // 0x1 - field public static final int OUT = 2; // 0x2 - } - - public class Move extends android.view.transition.Transition { - ctor public Move(); - method protected void captureValues(android.view.transition.TransitionValues, boolean); - method public void setReparent(boolean); - method public void setResizeClip(boolean); - } - - public class Recolor extends android.view.transition.Transition { - ctor public Recolor(); - method protected void captureValues(android.view.transition.TransitionValues, boolean); - } - - public class Rotate extends android.view.transition.Transition { - ctor public Rotate(); - method protected void captureValues(android.view.transition.TransitionValues, boolean); - } - - public final class Scene { - ctor public Scene(android.view.ViewGroup); - ctor public Scene(android.view.ViewGroup, int, android.content.Context); - ctor public Scene(android.view.ViewGroup, android.view.ViewGroup); - method public void enter(); - method public void exit(); - method public android.view.ViewGroup getSceneRoot(); - method public void setEnterAction(java.lang.Runnable); - method public void setExitAction(java.lang.Runnable); - } - - public class Slide extends android.view.transition.Visibility { - ctor public Slide(); - } - - public class TextChange extends android.view.transition.Transition { - ctor public TextChange(); - method protected void captureValues(android.view.transition.TransitionValues, boolean); - method public void setChangeBehavior(int); - field public static final int CHANGE_BEHAVIOR_IN = 2; // 0x2 - field public static final int CHANGE_BEHAVIOR_KEEP = 0; // 0x0 - field public static final int CHANGE_BEHAVIOR_OUT = 1; // 0x1 - field public static final int CHANGE_BEHAVIOR_OUT_IN = 3; // 0x3 - } - - public abstract class Transition implements java.lang.Cloneable { - ctor public Transition(); - method public void addListener(android.view.transition.Transition.TransitionListener); - method protected void cancel(); - method protected abstract void captureValues(android.view.transition.TransitionValues, boolean); - method public android.view.transition.Transition clone(); - method public long getDuration(); - method public android.animation.TimeInterpolator getInterpolator(); - method public java.util.ArrayList<android.view.transition.Transition.TransitionListener> getListeners(); - method public java.lang.String getName(); - method public long getStartDelay(); - method public int[] getTargetIds(); - method public android.view.View[] getTargets(); - method public java.lang.String[] getTransitionProperties(); - method protected android.view.transition.TransitionValues getTransitionValues(android.view.View, boolean); - method protected android.animation.Animator play(android.view.ViewGroup, android.view.transition.TransitionValues, android.view.transition.TransitionValues); - method public void removeListener(android.view.transition.Transition.TransitionListener); - method public android.view.transition.Transition setDuration(long); - method public void setInterpolator(android.animation.TimeInterpolator); - method public void setStartDelay(long); - method public android.view.transition.Transition setTargetIds(int...); - method public android.view.transition.Transition setTargets(android.view.View...); - } - - public static abstract interface Transition.TransitionListener { - method public abstract void onTransitionCancel(android.view.transition.Transition); - method public abstract void onTransitionEnd(android.view.transition.Transition); - method public abstract void onTransitionPause(android.view.transition.Transition); - method public abstract void onTransitionResume(android.view.transition.Transition); - method public abstract void onTransitionStart(android.view.transition.Transition); - } - - public class TransitionGroup extends android.view.transition.Transition { - ctor public TransitionGroup(); - ctor public TransitionGroup(int); - method public void addTransitions(android.view.transition.Transition...); - method protected void captureValues(android.view.transition.TransitionValues, boolean); - method public void removeTransition(android.view.transition.Transition); - method public void setOrdering(int); - field public static final int SEQUENTIALLY = 1; // 0x1 - field public static final int TOGETHER = 0; // 0x0 - } - - public class TransitionInflater { - method public static android.view.transition.TransitionInflater from(android.content.Context); - method public android.view.transition.Scene inflateScene(int, android.view.ViewGroup); - method public android.view.transition.Transition inflateTransition(int); - method public android.view.transition.TransitionManager inflateTransitionManager(int, android.view.ViewGroup); - } - - public class TransitionManager { - ctor public TransitionManager(); - method public static void beginDelayedTransition(android.view.ViewGroup, android.view.transition.Transition); - method public android.view.transition.Transition getDefaultTransition(); - method public static void go(android.view.transition.Scene); - method public static void go(android.view.transition.Scene, android.view.transition.Transition); - method public static void go(android.view.ViewGroup, java.lang.Runnable); - method public static void go(android.view.ViewGroup, java.lang.Runnable, android.view.transition.Transition); - method public void setDefaultTransition(android.view.transition.Transition); - method public void setTransition(android.view.transition.Scene, android.view.transition.Transition); - method public void setTransition(android.view.transition.Scene, android.view.transition.Scene, android.view.transition.Transition); - method public void transitionTo(android.view.transition.Scene); - } - - public class TransitionValues { - ctor public TransitionValues(); - field public final java.util.Map values; - field public android.view.View view; - } - - public abstract class Visibility extends android.view.transition.Transition { - ctor public Visibility(); - method protected android.animation.Animator appear(android.view.ViewGroup, android.view.transition.TransitionValues, int, android.view.transition.TransitionValues, int); - method protected void captureValues(android.view.transition.TransitionValues, boolean); - method protected android.animation.Animator disappear(android.view.ViewGroup, android.view.transition.TransitionValues, int, android.view.transition.TransitionValues, int); - method public boolean isVisible(android.view.transition.TransitionValues); - } - -} - package android.webkit { public class ConsoleMessage { @@ -30176,6 +30321,7 @@ package android.widget { ctor public AbsListView(android.content.Context, android.util.AttributeSet, int); method public void afterTextChanged(android.text.Editable); method public void beforeTextChanged(java.lang.CharSequence, int, int, int); + method public boolean canScrollList(int); method public void clearChoices(); method public void clearTextFilter(); method public void deferNotifyDataSetChanged(); @@ -30207,6 +30353,7 @@ package android.widget { method protected void layoutChildren(); method public void onFilterComplete(int); method public void onGlobalLayout(); + method public void onInitializeAccessibilityNodeInfoForItem(android.view.View, int, android.view.accessibility.AccessibilityNodeInfo); method public boolean onRemoteAdapterConnected(); method public void onRemoteAdapterDisconnected(); method public void onRestoreInstanceState(android.os.Parcelable); @@ -30216,7 +30363,7 @@ package android.widget { method public int pointToPosition(int, int); method public long pointToRowId(int, int); method public void reclaimViews(java.util.List<android.view.View>); - method public boolean scrollListBy(int); + method public void scrollListBy(int); method public void setAdapter(android.widget.ListAdapter); method public void setCacheColorHint(int); method public void setChoiceMode(int); @@ -30971,7 +31118,6 @@ package android.widget { method public int getAlignmentMode(); method public int getColumnCount(); method public int getOrientation(); - method public android.util.Printer getPrinter(); method public int getRowCount(); method public boolean getUseDefaultMargins(); method public boolean isColumnOrderPreserved(); @@ -30981,7 +31127,6 @@ package android.widget { method public void setColumnCount(int); method public void setColumnOrderPreserved(boolean); method public void setOrientation(int); - method public void setPrinter(android.util.Printer); method public void setRowCount(int); method public void setRowOrderPreserved(boolean); method public void setUseDefaultMargins(boolean); @@ -31219,6 +31364,7 @@ package android.widget { ctor public ListPopupWindow(android.content.Context, android.util.AttributeSet, int); ctor public ListPopupWindow(android.content.Context, android.util.AttributeSet, int, int); method public void clearListSelection(); + method public android.view.View.OnTouchListener createDragToOpenListener(android.view.View); method public void dismiss(); method public android.view.View getAnchorView(); method public int getAnimationStyle(); @@ -31430,6 +31576,7 @@ package android.widget { public class PopupMenu { ctor public PopupMenu(android.content.Context, android.view.View); method public void dismiss(); + method public android.view.View.OnTouchListener getDragToOpenListener(); method public android.view.Menu getMenu(); method public android.view.MenuInflater getMenuInflater(); method public void inflate(int); @@ -32258,7 +32405,6 @@ package android.widget { method public int getTotalPaddingTop(); method public final android.text.method.TransformationMethod getTransformationMethod(); method public android.graphics.Typeface getTypeface(); - method public final android.content.UndoManager getUndoManager(); method public android.text.style.URLSpan[] getUrls(); method public boolean hasSelection(); method public boolean isCursorVisible(); @@ -32357,7 +32503,6 @@ package android.widget { method public final void setTransformationMethod(android.text.method.TransformationMethod); method public void setTypeface(android.graphics.Typeface, int); method public void setTypeface(android.graphics.Typeface); - method public final void setUndoManager(android.content.UndoManager, java.lang.String); method public void setWidth(int); } @@ -32439,6 +32584,7 @@ package android.widget { ctor public VideoView(android.content.Context); ctor public VideoView(android.content.Context, android.util.AttributeSet); ctor public VideoView(android.content.Context, android.util.AttributeSet, int); + method public void addSubtitleSource(java.io.InputStream, android.media.MediaFormat); method public boolean canPause(); method public boolean canSeekBackward(); method public boolean canSeekForward(); |