diff options
Diffstat (limited to 'docs/html/tools')
| -rw-r--r-- | docs/html/tools/debugging/ddms.jd | 4 | ||||
| -rw-r--r-- | docs/html/tools/debugging/debugging-tracing.jd | 12 | ||||
| -rw-r--r-- | docs/html/tools/projects/templates.jd | 5 | ||||
| -rw-r--r-- | docs/html/tools/revisions/studio.jd | 15 | ||||
| -rw-r--r-- | docs/html/tools/studio/index.jd | 3 | ||||
| -rw-r--r-- | docs/html/tools/support-library/features.jd | 5 |
6 files changed, 38 insertions, 6 deletions
diff --git a/docs/html/tools/debugging/ddms.jd b/docs/html/tools/debugging/ddms.jd index 1b59875..5822e27 100644 --- a/docs/html/tools/debugging/ddms.jd +++ b/docs/html/tools/debugging/ddms.jd @@ -204,6 +204,10 @@ parent.link=index.html <li>Click the <strong>Start Method Profiling</strong> button.</li> + <li>In Android 4.4 and later, choose either trace-based profiling or sample-based profiling + with a specified sampling interval. For earlier versions of Android, only trace-based profiling + is available.</li> + <li>Interact with your application to start the methods that you want to profile.</li> <li>Click the <strong>Stop Method Profiling</strong> button. DDMS stops profiling your diff --git a/docs/html/tools/debugging/debugging-tracing.jd b/docs/html/tools/debugging/debugging-tracing.jd index bd4afbc..fa5b4e1 100644 --- a/docs/html/tools/debugging/debugging-tracing.jd +++ b/docs/html/tools/debugging/debugging-tracing.jd @@ -127,7 +127,7 @@ parent.link=index.html {@link android.os.Debug#startMethodTracing() startMethodTracing()} methods. In the call, you specify a base name for the trace files that the system generates. To stop tracing, call {@link android.os.Debug#stopMethodTracing() stopMethodTracing()}. These methods start and stop method - tracing across the entire virtual machine. For example, you could call + tracing across the entire virtual machine. For example, you could call {@link android.os.Debug#startMethodTracing() startMethodTracing()} in your activity's {@link android.app.Activity#onCreate onCreate()} method, and call {@link android.os.Debug#stopMethodTracing() stopMethodTracing()} in that activity's @@ -157,6 +157,13 @@ parent.link=index.html times are only useful in relation to other profile output, so you can see if changes have made the code faster or slower relative to a previous profiling run.</p> + <p>In Android 4.4 and later, you can use sample-based profiling to profile with less runtime + performance impact. To enable sample profiling, call {@link + android.os.Debug#startMethodTracingSampling(java.lang.String, int, int) + startMethodTracingSampling()} with a specified sampling interval. The system will then gather + samples periodically until tracing is stopped via {@link android.os.Debug#stopMethodTracing() + stopMethodTracing()}.</p> + <h2 id="copyingfiles">Copying Trace Files to a Host Machine</h2> <p>After your application has run and the system has created your trace files @@ -277,7 +284,8 @@ dmtracedump [-ho] [-s sortable] [-d trace-base-name] [-g outfile] <trace-base Traceview logging does not handle threads well, resulting in these two problems: <ol> - <li>If a thread exits during profiling, the thread name is not emitted;</li> + <li>If a thread exits during profiling, the thread name is not emitted (fixed in Android 5.1 + and later);</li> <li>The VM reuses thread IDs. If a thread stops and another starts, they may get the same ID.</li> diff --git a/docs/html/tools/projects/templates.jd b/docs/html/tools/projects/templates.jd index 966d25f..002e2c5 100644 --- a/docs/html/tools/projects/templates.jd +++ b/docs/html/tools/projects/templates.jd @@ -1,4 +1,7 @@ page.title=Using Code Templates +page.image=images/cards/card-using-code-templates_16x9_2x.png +page.metaDescription=Quickly create Android app projects with various UI or functional components. +page.tags=studio,templates,firstapp @jd:body <div id="qv-wrapper"> @@ -26,7 +29,7 @@ page.title=Using Code Templates </div> </div> - +<img style="float:right" src="{@docRoot}images/cards/card-using-code-templates_16x9_2x.png"> <p>The SDK tools provide templates for quickly creating Android application projects with the basic structure or for adding components to your existing application modules. The code templates provided by the Android SDK follow the Android design and development guidelines to get you on the diff --git a/docs/html/tools/revisions/studio.jd b/docs/html/tools/revisions/studio.jd index f530a5f..7138efe 100644 --- a/docs/html/tools/revisions/studio.jd +++ b/docs/html/tools/revisions/studio.jd @@ -43,6 +43,21 @@ Android Studio, as denoted by revision number. </p> <div class="toggle-content opened"> <p><a href="#" onclick="return toggleContent(this)"> <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-content-img" + alt=""/>Android Studio v1.2.1</a> <em>(May 2015)</em> + </p> + <div class="toggle-content-toggleme"> + <p>Various fixes and enhancements:</p> + <ul> + <li>Fixed minor performance and feature issues. </li> + </ul> + </div> +</div> + + + +<div class="toggle-content closed"> + <p><a href="#" onclick="return toggleContent(this)"> + <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img" alt=""/>Android Studio v1.2.0</a> <em>(April 2015)</em> </p> diff --git a/docs/html/tools/studio/index.jd b/docs/html/tools/studio/index.jd index a5b14a7..7f7fbad 100644 --- a/docs/html/tools/studio/index.jd +++ b/docs/html/tools/studio/index.jd @@ -1,4 +1,7 @@ page.title=Android Studio Overview +page.image=images/cards/card-android-studio-overview_16x9_2x.jpg +page.metaDescription=Learn about the official IDE for Android. +page.tags=studio,sdk,tools,firstapp @jd:body <div id="qv-wrapper"> diff --git a/docs/html/tools/support-library/features.jd b/docs/html/tools/support-library/features.jd index ee1ed72..573baad 100644 --- a/docs/html/tools/support-library/features.jd +++ b/docs/html/tools/support-library/features.jd @@ -373,9 +373,8 @@ com.android.support:recyclerview-v7:21.0.0 developer guide.</p> <p class="note"> - <strong>Note:</strong> Use of RenderScript with the support library is supported with the Android - Eclipse plugin and Ant build tools. It is <em>not currently</em> supported with Android Studio or - Gradle-based builds. + <strong>Note:</strong> Use of RenderScript with the support library is supported with Android + Studio and Gradle-based builds, as well as the Eclipse plugin and Ant build tools. </p> |
