1 page.title=Android Lollipop 2 3 @jd:body 4 5 6 <div style="float:right;"> 7 <img src="{@docRoot}images/home/l-hero_2x.png" srcset="/images/home/l-hero.png 1x, /images/home/l-hero_2x.png 2x"> 8 </div> 9 10 <p> Android Android 5.0 Lollipop .</p> 11 12 <p> API . Android , , TV .</p> 13 14 <p> API <a href="{@docRoot}about/versions/android-5.0.html">Android 5.0 API </a> . <a href="http://www.android.com/versions/lollipop-5-0/">www.android.com</a> Android 5.0 .</p> 15 16 17 <div id="qv-wrapper"> 18 <div id="qv"> 19 <h2> </h2> 20 <ol> 21 <ul style="list-style-type:none;"> 22 <li><a href="#Material"> </a></li> 23 <li><a href="#Perf"> </a></li> 24 <li><a href="#Notifications"></a></li> 25 <li><a href="#TV"> </a></li> 26 <li><a href="#Documents"> </a></li> 27 <li><a href="#Connectivity"> </a></li> 28 <li><a href="#Graphics"> </a></li> 29 <li><a href="#Audio"> </a></li> 30 <li><a href="#Camera"> </a></li> 31 <li><a href="#Work"> Android</a></li> 32 <li><a href="#ScreenCapture"> </a></li> 33 <li><a href="#Sensors"> </a></li> 34 <li><a href="#WebView">Chromium WebView</a></li> 35 <li><a href="#Accessibility"> </a></li> 36 <li><a href="#Battery"> </a></li> 37 </ol> 38 </div> 39 </div> 40 41 42 43 <h2 id="Material"> </h2> 44 45 <p>Android 5.0 Android <a href="http://www.google.com/design/spec"> </a> UI . </p> 46 47 48 49 <p> <strong>3D </strong> z- , <strong> </strong> .</p> 50 51 52 <p> <strong> </strong> . <strong> </strong> , .</p> 53 54 55 56 <div style="width:290px;margin-right:35px;float:left"> 57 <div class="framed-nexus5-port-span-5"> 58 <video class="play-on-hover" autoplay=""> 59 <source src="/design/material/videos/ContactsAnim.mp4"> 60 <source src="/design/videos/ContactsAnim.webm"> 61 <source src="/design/videos/ContactsAnim.ogv"> 62 </video> 63 </div> 64 <div style="font-size:10pt;margin-left:20px;margin-bottom:30px"> 65 <em> </em> 66 </div> 67 </div> 68 69 70 <p> , , . 71 72 <p> XML . .</p> 73 74 <p><strong>RenderThread</strong> UI . </p> 75 76 77 <h2 id="Perf"> </h2> 78 79 <p>Android 5.0 .</p> 80 81 <p>Android <strong>ART </strong> , AOT(ahead-of-time), JIT(just-in-time) . ARM, x86 MIPS 64 .</p> 82 83 <p>ART . GC , v- . ART . </p> 84 85 <p>Android 5.0 Nexus 9 NVIDIA Tegra K1 <strong>64 </strong> . . 64 . ARM v8, x86~64 MIPS-64 ABI NDK .</p> 86 87 <p> Android 5.0 A/V . .</p> 88 89 90 <h2 id="Notifications"></h2> 91 92 <p>Android 5.0 , . </p> 93 94 <img src="{@docRoot}images/versions/notification-headsup.png" style="float:right; margin:0 0 40px 60px" width="300" height="224" /> 95 96 <p> <strong> </strong> . , , . </p> 97 98 <p> <strong> </strong> .</p> 99 100 <p> <strong> </strong> ( ), , .</p> 101 102 <p> '' 6 , RemoteView .</p> 103 104 105 106 <h2 id="TV"> </h2> 107 108 <p><a href="http://developer.android.com/tv/index.html">Android TV</a> TV TV . Android TV .</p> 109 110 <p>Android TV <strong> </strong> , . 3 UI Android <strong> UI </strong> <a href="{@docRoot}tools/support-library/features.html#v17-leanback">v17 </a> .</p> 111 112 <p><strong>Android TIF(TV )</strong> TV HDMI , TV IPTV . TV TV , HDMI-CEC . </p> 113 114 <p>TV TV , . TV TV .</p> 115 116 117 118 <img src="{@docRoot}images/versions/recents_screen_2x.png" srcset="{@docRoot}images/versions/recents_screen.png 1x, {@docRoot}images/versions/recents_screen_2x.png 2x" style="float:right; margin:0 0 40px 60px" width="300" height="521" /> 119 120 <h2 id="Documents"> </h2> 121 122 <p>Android 5.0 '' ( '') .</p> 123 124 <p> API .</p> 125 126 <p> . , , . </p> 127 128 129 130 <h2 id="Connectivity"> </h2> 131 132 <p>Android 5.0 <strong>BLE( )</strong> API ( ) ( ) .</p> 133 134 <p> <strong> </strong> (: Wi-Fi, , ). .</p> 135 136 <p> <strong>NFC</strong> API NFC AID( ID) . UTF-8 NDEF .</p> 137 138 139 140 <h2 id="Graphics"> </h2> 141 142 <p> <strong><a href="http://www.khronos.org/opengles/3_X/">Khronos OpenGL ES 3.1</a></strong> , 2D 3D </p> 143 144 <p>OpenGL ES 3.1 , , , ETC2/EAC , , .</p> 145 146 147 <div class="figure" style="width:350px; margin:0 0 0 60px"> 148 <img src="{@docRoot}images/versions/rivalknights.png" style="float:right;" width="350" height="525" /> 149 <p class="img-caption">Gameloft Rival Knights AEP ASTC(Adaptive Scalable Texture Compression) ES 3.1 HDR( ) .</p> 150 </div> 151 152 <p> Android 5.0 , , ASTC , OpenGL ES <strong>AEP(Android )</strong> . AEP GPU .</p> 153 154 155 <h2 id="Audio"> </h2> 156 157 <p> <strong> </strong> . , . , / / .</p> 158 159 <p> <strong> </strong> 5.1 7.1 8 .</p> 160 161 <p> <strong> </strong> . .</p> 162 163 <p> , <strong>TTS( ) </strong> . API , , , .</p> 164 165 <p> Android <strong>USB </strong> USB , , . Android 5.0 <strong>Opus</strong> .</p> 166 167 <p> <strong>{@link android.media.session.MediaSession}</strong> API .</p> 168 169 170 <h2 id="Camera"> </h2> 171 172 <p>Android 5.0 <strong> API</strong> YUV Bayer RAW RAW , ISO , . YUV 30FPS .</p> 173 174 <p> .</p> 175 176 <p> H.265 <strong>HEVC( )</strong> . </p> 177 178 <p> Android 5.0 <strong> </strong> (4K) . </p> 179 180 181 182 <div class="figure" style="width:320px; margin:1em 0 0 20px;padding-left:2em;"> 183 <img style="float:right; margin:0 1em 1em 2em" src="{@docRoot}images/android-5.0/managed_apps_launcher@2x.png" srcset="{@docRoot}images/android-5.0/managed_apps_launcher@2x.png 2x" alt="" width="300" /> 184 <p class="img-caption"> .</p> 185 </div> 186 187 188 <h2 id="Work"> Android</h2> 189 190 <p> bring-your-own-device( ) <a href="{@docRoot}about/versions/android-5.0.html#Enterprise"> </a> . IT .</p> 191 192 <p> . .</p> 193 194 <p> IT <a href="{@docRoot}about/versions/android-5.0.html#DeviceOwner"> </a> . .</p> 195 196 197 198 <h2 id="ScreenCapture"> </h2> 199 200 <p>Android 5.0 . </p> 201 202 <p> .</p> 203 204 205 <h2 id="Sensors"> </h2> 206 207 <p>Android 5.0 <strong> </strong> , <strong> </strong> . </p> 208 209 <p> <strong> </strong> <em></em> , <em></em> <em></em> .</p> 210 211 212 213 <h2 id="WebView">Chromium WebView</h2> 214 215 <div style="float:right;margin:1em 2em 1em 2em;"> 216 <img src="/images/kk-chromium-icon.png" alt="" height="160" style="margin-bottom:0em;"> 217 </div> 218 219 <p>Android 5.0 Chromium M37 {@link android.webkit.WebView} Chromium , <strong>WebRTC</strong>, <strong>WebAudio</strong> <strong>WebGL</strong> . </p> 220 221 <p>Chromium M37 <strong> </strong> ( , DOM, HTML ) . WebView <a href="http://polymer-project.org/">Polymer</a> <a href="https://www.polymer-project.org/docs/elements/material.html"> </a> .</p> 222 223 <p>Android 4.4 WebView Chromium Chromium Google Play .</p> 224 225 <p> Chromium Google Play WebView , Android 5.0 WebView API .</p> 226 227 228 229 <h2 id="Accessibility"> </h2> 230 231 <p> API UI .</p> 232 233 <p> IME( ) API IME .</p> 234 235 236 237 <h2 id="Battery"> </h2> 238 239 <p> <strong> </strong> API , Wi-Fi .</p> 240 241 <p> <code>dumpsys batterystats</code> <strong> </strong> . , UID .</p> 242 243 <img src="{@docRoot}images/versions/battery_historian.png" srcset="{@docRoot}images/versions/battery_historian@2x.png 2x" alt="" width="760" height="462" /> 244 <p class="img-caption">Battery Historian <code>dumpsys batterystats</code> , <a href="https://github.com/google/battery-historian">https://github.com/google/battery-historian</a> .</p> 245