2009-03-04 11:28:42 +08:00
|
|
|
|
<?cs
|
2012-06-22 09:03:05 +08:00
|
|
|
|
def:fullpage() ?>
|
|
|
|
|
<div id="body-content">
|
|
|
|
|
<?cs /def ?>
|
|
|
|
|
<?cs
|
2009-03-04 11:28:42 +08:00
|
|
|
|
def:sdk_nav() ?>
|
2012-06-22 09:03:05 +08:00
|
|
|
|
<div class="wrap clearfix" id="body-content">
|
|
|
|
|
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
|
|
|
<div id="devdoc-nav" class="scroll-pane">
|
|
|
|
|
|
|
|
|
|
<?cs
|
2009-03-04 11:28:42 +08:00
|
|
|
|
include:"../../../../frameworks/base/docs/html/sdk/sdk_toc.cs" ?>
|
2012-06-22 09:03:05 +08:00
|
|
|
|
|
|
|
|
|
|
2009-03-04 11:28:42 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div> <!-- end side-nav -->
|
2014-05-14 07:55:26 +08:00
|
|
|
|
<?cs /def ?><?cs
|
|
|
|
|
|
|
|
|
|
def:no_nav() ?>
|
|
|
|
|
<div class="wrap clearfix" id="body-content">
|
|
|
|
|
<?cs /def ?><?cs
|
|
|
|
|
|
|
|
|
|
def:tools_nav() ?>
|
|
|
|
|
<div class="wrap clearfix" id="body-content">
|
|
|
|
|
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
|
|
|
<div id="devdoc-nav" class="scroll-pane">
|
2009-12-03 10:01:16 +08:00
|
|
|
|
<?cs
|
2014-05-14 07:55:26 +08:00
|
|
|
|
include:"../../../../frameworks/base/docs/html/tools/tools_toc.cs" ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div> <!-- end side-nav -->
|
|
|
|
|
<script>
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
scrollIntoView("devdoc-nav");
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<?cs /def ?>
|
|
|
|
|
<?cs
|
|
|
|
|
def:training_nav() ?>
|
2012-06-22 09:03:05 +08:00
|
|
|
|
<div class="wrap clearfix" id="body-content">
|
|
|
|
|
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
|
|
|
<div id="devdoc-nav" class="scroll-pane">
|
2014-05-14 07:55:26 +08:00
|
|
|
|
|
2012-06-22 09:03:05 +08:00
|
|
|
|
|
|
|
|
|
<?cs
|
2014-05-14 07:55:26 +08:00
|
|
|
|
include:"../../../../frameworks/base/docs/html/training/training_toc.cs" ?>
|
|
|
|
|
|
2012-06-22 09:03:05 +08:00
|
|
|
|
|
2014-05-14 07:55:26 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div> <!-- end side-nav -->
|
|
|
|
|
<script>
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
scrollIntoView("devdoc-nav");
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<?cs /def ?><?cs
|
2012-06-22 09:03:05 +08:00
|
|
|
|
|
2014-05-14 07:55:26 +08:00
|
|
|
|
def:googleplay_nav() ?>
|
|
|
|
|
<div class="wrap clearfix" id="body-content">
|
|
|
|
|
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
|
|
|
<div id="devdoc-nav" class="scroll-pane">
|
|
|
|
|
<?cs include:"../../../../frameworks/base/docs/html/distribute/googleplay/googleplay_toc.cs" ?>
|
2012-06-22 09:03:05 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div> <!-- end side-nav -->
|
|
|
|
|
<script>
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
scrollIntoView("devdoc-nav");
|
|
|
|
|
});
|
|
|
|
|
</script>
|
2014-05-14 07:55:26 +08:00
|
|
|
|
<?cs /def ?><?cs
|
|
|
|
|
|
|
|
|
|
def:essentials_nav() ?>
|
2012-06-22 09:03:05 +08:00
|
|
|
|
<div class="wrap clearfix" id="body-content">
|
|
|
|
|
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
|
|
|
<div id="devdoc-nav" class="scroll-pane">
|
2014-05-14 07:55:26 +08:00
|
|
|
|
<?cs include:"../../../../frameworks/base/docs/html/distribute/essentials/essentials_toc.cs" ?>
|
2012-06-22 09:03:05 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div> <!-- end side-nav -->
|
|
|
|
|
<script>
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
scrollIntoView("devdoc-nav");
|
|
|
|
|
});
|
|
|
|
|
</script>
|
2014-05-14 07:55:26 +08:00
|
|
|
|
<?cs /def ?><?cs
|
|
|
|
|
|
|
|
|
|
def:users_nav() ?>
|
2012-06-22 09:03:05 +08:00
|
|
|
|
<div class="wrap clearfix" id="body-content">
|
2014-05-14 07:55:26 +08:00
|
|
|
|
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
|
|
|
<div id="devdoc-nav" class="scroll-pane">
|
|
|
|
|
<?cs include:"../../../../frameworks/base/docs/html/distribute/users/users_toc.cs" ?>
|
|
|
|
|
</div>
|
|
|
|
|
</div> <!-- end side-nav -->
|
|
|
|
|
<script>
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
scrollIntoView("devdoc-nav");
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<?cs /def ?><?cs
|
|
|
|
|
|
|
|
|
|
def:engage_nav() ?>
|
|
|
|
|
<div class="wrap clearfix" id="body-content">
|
|
|
|
|
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
2012-06-22 09:03:05 +08:00
|
|
|
|
<div id="devdoc-nav" class="scroll-pane">
|
2014-05-14 07:55:26 +08:00
|
|
|
|
<?cs include:"../../../../frameworks/base/docs/html/distribute/engage/engage_toc.cs" ?>
|
|
|
|
|
</div>
|
|
|
|
|
</div> <!-- end side-nav -->
|
|
|
|
|
<script>
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
scrollIntoView("devdoc-nav");
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<?cs /def ?><?cs
|
2012-06-22 09:03:05 +08:00
|
|
|
|
|
2014-12-16 07:10:06 +08:00
|
|
|
|
def:analyze_nav() ?>
|
|
|
|
|
<div class="wrap clearfix" id="body-content">
|
|
|
|
|
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
|
|
|
<div id="devdoc-nav" class="scroll-pane">
|
|
|
|
|
<?cs include:"../../../../frameworks/base/docs/html/distribute/analyze/analyze_toc.cs" ?>
|
|
|
|
|
</div>
|
|
|
|
|
</div> <!-- end side-nav -->
|
|
|
|
|
<script>
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
scrollIntoView("devdoc-nav");
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<?cs /def ?><?cs
|
|
|
|
|
|
2014-05-14 07:55:26 +08:00
|
|
|
|
def:monetize_nav() ?>
|
|
|
|
|
<div class="wrap clearfix" id="body-content">
|
|
|
|
|
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
|
|
|
<div id="devdoc-nav" class="scroll-pane">
|
|
|
|
|
<?cs include:"../../../../frameworks/base/docs/html/distribute/monetize/monetize_toc.cs" ?>
|
|
|
|
|
</div>
|
|
|
|
|
</div> <!-- end side-nav -->
|
|
|
|
|
<script>
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
scrollIntoView("devdoc-nav");
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<?cs /def ?><?cs
|
2012-06-22 09:03:05 +08:00
|
|
|
|
|
2014-05-14 07:55:26 +08:00
|
|
|
|
def:disttools_nav() ?>
|
|
|
|
|
<div class="wrap clearfix" id="body-content">
|
|
|
|
|
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
|
|
|
<div id="devdoc-nav" class="scroll-pane">
|
|
|
|
|
<?cs include:"../../../../frameworks/base/docs/html/distribute/tools/disttools_toc.cs" ?>
|
|
|
|
|
</div>
|
|
|
|
|
</div> <!-- end side-nav -->
|
|
|
|
|
<script>
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
scrollIntoView("devdoc-nav");
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<?cs /def ?><?cs
|
2012-06-22 09:03:05 +08:00
|
|
|
|
|
2014-05-14 07:55:26 +08:00
|
|
|
|
def:stories_nav() ?>
|
|
|
|
|
<div class="wrap clearfix" id="body-content">
|
|
|
|
|
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
|
|
|
<div id="devdoc-nav" class="scroll-pane">
|
|
|
|
|
<?cs include:"../../../../frameworks/base/docs/html/distribute/stories/stories_toc.cs" ?>
|
2009-12-03 10:01:16 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div> <!-- end side-nav -->
|
|
|
|
|
<script>
|
2012-06-22 09:03:05 +08:00
|
|
|
|
$(document).ready(function() {
|
2009-12-03 10:01:16 +08:00
|
|
|
|
scrollIntoView("devdoc-nav");
|
|
|
|
|
});
|
|
|
|
|
</script>
|
2014-05-14 07:55:26 +08:00
|
|
|
|
<?cs /def ?><?cs
|
|
|
|
|
|
2009-03-04 11:28:42 +08:00
|
|
|
|
def:guide_nav() ?>
|
2012-06-22 09:03:05 +08:00
|
|
|
|
<div class="wrap clearfix" id="body-content">
|
|
|
|
|
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
|
|
|
<div id="devdoc-nav" class="scroll-pane">
|
|
|
|
|
|
|
|
|
|
<?cs
|
2009-03-04 11:28:42 +08:00
|
|
|
|
include:"../../../../frameworks/base/docs/html/guide/guide_toc.cs" ?>
|
2012-06-22 09:03:05 +08:00
|
|
|
|
|
|
|
|
|
|
2009-03-04 11:28:42 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div> <!-- end side-nav -->
|
|
|
|
|
<script>
|
2012-06-22 09:03:05 +08:00
|
|
|
|
$(document).ready(function() {
|
2009-03-04 11:28:42 +08:00
|
|
|
|
scrollIntoView("devdoc-nav");
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<?cs /def ?>
|
2012-03-07 04:25:34 +08:00
|
|
|
|
<?cs
|
|
|
|
|
def:design_nav() ?>
|
2012-06-22 09:03:05 +08:00
|
|
|
|
<div class="wrap clearfix" id="body-content">
|
|
|
|
|
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
|
|
|
<div id="devdoc-nav" class="scroll-pane">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<?cs
|
|
|
|
|
include:"../../../../frameworks/base/docs/html/design/design_toc.cs" ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div> <!-- end side-nav -->
|
|
|
|
|
<script>
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
scrollIntoView("devdoc-nav");
|
|
|
|
|
});
|
|
|
|
|
</script>
|
2012-03-07 04:25:34 +08:00
|
|
|
|
<?cs /def ?>
|
2012-06-22 09:03:05 +08:00
|
|
|
|
<?cs
|
|
|
|
|
def:distribute_nav() ?>
|
|
|
|
|
<div class="wrap clearfix" id="body-content">
|
|
|
|
|
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
|
|
|
<div id="devdoc-nav" class="scroll-pane">
|
2009-03-04 11:28:42 +08:00
|
|
|
|
|
2012-06-22 09:03:05 +08:00
|
|
|
|
<?cs
|
|
|
|
|
include:"../../../../frameworks/base/docs/html/distribute/distribute_toc.cs" ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div> <!-- end side-nav -->
|
|
|
|
|
<script>
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
scrollIntoView("devdoc-nav");
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<?cs /def ?>
|
2012-11-28 09:27:34 +08:00
|
|
|
|
|
|
|
|
|
<?cs
|
2010-09-17 01:43:40 +08:00
|
|
|
|
def:samples_nav() ?>
|
2012-11-28 09:27:34 +08:00
|
|
|
|
<div class="wrap clearfix" id="body-content">
|
|
|
|
|
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
|
|
|
<div id="devdoc-nav" class="scroll-pane">
|
|
|
|
|
|
|
|
|
|
<?cs
|
2010-09-17 01:43:40 +08:00
|
|
|
|
include:"../../../../frameworks/base/docs/html/samples/samples_toc.cs" ?>
|
|
|
|
|
|
2012-11-28 09:27:34 +08:00
|
|
|
|
</div>
|
2010-09-17 01:43:40 +08:00
|
|
|
|
|
2012-11-28 09:27:34 +08:00
|
|
|
|
</div> <!-- end side-nav -->
|
|
|
|
|
<script>
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
scrollIntoView("devdoc-nav");
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<?cs /def ?>
|
|
|
|
|
|
2012-06-22 09:03:05 +08:00
|
|
|
|
<?cs
|
2010-09-17 01:43:40 +08:00
|
|
|
|
def:google_nav() ?>
|
2012-06-22 09:03:05 +08:00
|
|
|
|
<div class="wrap clearfix" id="body-content">
|
2010-09-17 01:43:40 +08:00
|
|
|
|
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
2012-06-22 09:03:05 +08:00
|
|
|
|
<div id="devdoc-nav" class="scroll-pane">
|
|
|
|
|
|
|
|
|
|
<?cs
|
2010-09-17 01:43:40 +08:00
|
|
|
|
include:"../../../../frameworks/base/docs/html/google/google_toc.cs" ?>
|
2012-06-22 09:03:05 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
2010-09-17 01:43:40 +08:00
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
showGoogleRefTree();
|
|
|
|
|
|
|
|
|
|
</script>
|
2012-06-22 09:03:05 +08:00
|
|
|
|
</div> <!-- end side-nav -->
|
|
|
|
|
<script>
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
scrollIntoView("devdoc-nav");
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<?cs /def ?>
|
2010-09-17 01:43:40 +08:00
|
|
|
|
|
2012-06-22 09:03:05 +08:00
|
|
|
|
<?cs
|
2010-09-17 01:43:40 +08:00
|
|
|
|
def:about_nav() ?>
|
2012-06-22 09:03:05 +08:00
|
|
|
|
<div class="wrap clearfix" id="body-content">
|
2010-09-17 01:43:40 +08:00
|
|
|
|
<div class="col-3" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
2012-06-22 09:03:05 +08:00
|
|
|
|
<div id="devdoc-nav" class="scroll-pane">
|
|
|
|
|
|
2010-09-17 01:43:40 +08:00
|
|
|
|
<?cs
|
|
|
|
|
include:"../../../../frameworks/base/docs/html/about/about_toc.cs" ?>
|
2012-06-22 09:03:05 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div> <!-- end side-nav -->
|
|
|
|
|
<script>
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
scrollIntoView("devdoc-nav");
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<?cs /def ?>
|
2010-09-17 01:43:40 +08:00
|
|
|
|
|
2014-03-12 11:17:52 +08:00
|
|
|
|
|
|
|
|
|
<?cs
|
|
|
|
|
def:wear_nav() ?>
|
|
|
|
|
<div class="wrap clearfix" id="body-content">
|
|
|
|
|
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
|
|
|
<div id="devdoc-nav" class="scroll-pane">
|
|
|
|
|
|
|
|
|
|
<?cs
|
|
|
|
|
include:"../../../../frameworks/base/docs/html/wear/wear_toc.cs" ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div> <!-- end side-nav -->
|
|
|
|
|
<script>
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
scrollIntoView("devdoc-nav");
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<?cs /def ?>
|
|
|
|
|
|
2014-06-04 10:35:24 +08:00
|
|
|
|
<?cs
|
|
|
|
|
def:preview_nav() ?>
|
|
|
|
|
<div class="wrap clearfix" id="body-content">
|
|
|
|
|
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
|
|
|
<div id="devdoc-nav" class="scroll-pane">
|
|
|
|
|
<?cs
|
|
|
|
|
include:"../../../../frameworks/base/docs/html/preview/preview_toc.cs" ?>
|
|
|
|
|
</div>
|
|
|
|
|
</div> <!-- end side-nav -->
|
|
|
|
|
<script>
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
scrollIntoView("devdoc-nav");
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<?cs /def ?>
|
|
|
|
|
|
2009-05-21 08:16:35 +08:00
|
|
|
|
<?cs # The default side navigation for the reference docs ?><?cs
|
|
|
|
|
def:default_left_nav() ?>
|
2012-11-30 13:28:48 +08:00
|
|
|
|
<?cs if:reference.gcm || reference.gms ?>
|
|
|
|
|
<?cs call:google_nav() ?>
|
|
|
|
|
<?cs else ?>
|
2012-06-22 09:03:05 +08:00
|
|
|
|
<div class="wrap clearfix" id="body-content">
|
|
|
|
|
<div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
|
|
|
|
|
<div id="devdoc-nav">
|
|
|
|
|
<div id="api-nav-header">
|
|
|
|
|
<div id="api-level-toggle">
|
2013-11-01 05:48:45 +08:00
|
|
|
|
<label for="apiLevelCheckbox" class="disabled"
|
|
|
|
|
title="Select your target API level to dim unavailable APIs">API level: </label>
|
2012-06-22 09:03:05 +08:00
|
|
|
|
<div class="select-wrapper">
|
|
|
|
|
<select id="apiLevelSelector">
|
|
|
|
|
<!-- option elements added by buildApiLevelSelector() -->
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
</div><!-- end toggle -->
|
|
|
|
|
<div id="api-nav-title">Android APIs</div>
|
|
|
|
|
</div><!-- end nav header -->
|
|
|
|
|
<script>
|
|
|
|
|
var SINCE_DATA = [ <?cs
|
|
|
|
|
each:since = since ?>'<?cs
|
|
|
|
|
var:since.name ?>'<?cs
|
|
|
|
|
if:!last(since) ?>, <?cs /if ?><?cs
|
|
|
|
|
/each
|
|
|
|
|
?> ];
|
|
|
|
|
buildApiLevelSelector();
|
|
|
|
|
</script>
|
|
|
|
|
|
2009-05-21 08:16:35 +08:00
|
|
|
|
<div id="swapper">
|
|
|
|
|
<div id="nav-panels">
|
|
|
|
|
<div id="resize-packages-nav">
|
2012-06-22 09:03:05 +08:00
|
|
|
|
<div id="packages-nav" class="scroll-pane">
|
|
|
|
|
|
2009-07-28 00:47:11 +08:00
|
|
|
|
<ul>
|
2013-11-01 05:48:45 +08:00
|
|
|
|
<?cs call:package_link_list(docs.packages) ?>
|
2009-05-21 08:16:35 +08:00
|
|
|
|
</ul><br/>
|
2012-06-22 09:03:05 +08:00
|
|
|
|
|
|
|
|
|
</div> <!-- end packages-nav -->
|
2009-05-21 08:16:35 +08:00
|
|
|
|
</div> <!-- end resize-packages -->
|
2012-06-22 09:03:05 +08:00
|
|
|
|
<div id="classes-nav" class="scroll-pane">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<?cs
|
2009-05-21 08:16:35 +08:00
|
|
|
|
if:subcount(class.package) ?>
|
|
|
|
|
<ul>
|
2013-10-05 07:55:03 +08:00
|
|
|
|
<?cs call:list("Annotations", class.package.annotations) ?>
|
2009-05-21 08:16:35 +08:00
|
|
|
|
<?cs call:list("Interfaces", class.package.interfaces) ?>
|
|
|
|
|
<?cs call:list("Classes", class.package.classes) ?>
|
|
|
|
|
<?cs call:list("Enums", class.package.enums) ?>
|
|
|
|
|
<?cs call:list("Exceptions", class.package.exceptions) ?>
|
|
|
|
|
<?cs call:list("Errors", class.package.errors) ?>
|
|
|
|
|
</ul><?cs
|
|
|
|
|
elif:subcount(package) ?>
|
|
|
|
|
<ul>
|
2013-10-05 07:55:03 +08:00
|
|
|
|
<?cs call:class_link_list("Annotations", package.annotations) ?>
|
2009-05-21 08:16:35 +08:00
|
|
|
|
<?cs call:class_link_list("Interfaces", package.interfaces) ?>
|
|
|
|
|
<?cs call:class_link_list("Classes", package.classes) ?>
|
|
|
|
|
<?cs call:class_link_list("Enums", package.enums) ?>
|
|
|
|
|
<?cs call:class_link_list("Exceptions", package.exceptions) ?>
|
|
|
|
|
<?cs call:class_link_list("Errors", package.errors) ?>
|
|
|
|
|
</ul><?cs
|
|
|
|
|
else ?>
|
|
|
|
|
<p style="padding:10px">Select a package to view its members</p><?cs
|
|
|
|
|
/if ?><br/>
|
2012-06-22 09:03:05 +08:00
|
|
|
|
|
|
|
|
|
|
2009-05-21 08:16:35 +08:00
|
|
|
|
</div><!-- end classes -->
|
|
|
|
|
</div><!-- end nav-panels -->
|
2012-06-22 09:03:05 +08:00
|
|
|
|
<div id="nav-tree" style="display:none" class="scroll-pane">
|
|
|
|
|
<div id="tree-list"></div>
|
2009-05-21 08:16:35 +08:00
|
|
|
|
</div><!-- end nav-tree -->
|
|
|
|
|
</div><!-- end swapper -->
|
2012-06-22 09:03:05 +08:00
|
|
|
|
<div id="nav-swap">
|
|
|
|
|
<a class="fullscreen">fullscreen</a>
|
|
|
|
|
<a href='#' onclick='swapNav();return false;'><span id='tree-link'>Use Tree Navigation</span><span id='panel-link' style='display:none'>Use Panel Navigation</span></a>
|
|
|
|
|
</div>
|
|
|
|
|
</div> <!-- end devdoc-nav -->
|
2009-03-04 11:28:42 +08:00
|
|
|
|
</div> <!-- end side-nav -->
|
2012-06-22 09:03:05 +08:00
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
// init fullscreen based on user pref
|
|
|
|
|
var fullscreen = readCookie("fullscreen");
|
|
|
|
|
if (fullscreen != 0) {
|
|
|
|
|
if (fullscreen == "false") {
|
|
|
|
|
toggleFullscreen(false);
|
|
|
|
|
} else {
|
|
|
|
|
toggleFullscreen(true);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
// init nav version for mobile
|
|
|
|
|
if (isMobile) {
|
|
|
|
|
swapNav(); // tree view should be used on mobile
|
|
|
|
|
$('#nav-swap').hide();
|
|
|
|
|
} else {
|
2009-05-21 08:16:35 +08:00
|
|
|
|
chooseDefaultNav();
|
2009-07-30 03:25:44 +08:00
|
|
|
|
if ($("#nav-tree").is(':visible')) {
|
|
|
|
|
init_default_navtree("<?cs var:toroot ?>");
|
2009-05-21 08:16:35 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
2012-06-22 09:03:05 +08:00
|
|
|
|
// scroll the selected page into view
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
scrollIntoView("packages-nav");
|
|
|
|
|
scrollIntoView("classes-nav");
|
|
|
|
|
});
|
2012-11-30 13:28:48 +08:00
|
|
|
|
</script>
|
|
|
|
|
<?cs /if ?>
|
|
|
|
|
<?cs
|
2009-05-21 08:16:35 +08:00
|
|
|
|
/def ?>
|
2009-03-04 11:28:42 +08:00
|
|
|
|
|
2014-05-14 07:55:26 +08:00
|
|
|
|
|
|
|
|
|
<?cs
|
|
|
|
|
def:header_search_widget() ?>
|
|
|
|
|
<div class="menu-container">
|
|
|
|
|
<div class="moremenu">
|
|
|
|
|
<div id="more-btn"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="morehover" id="moremenu">
|
|
|
|
|
<div class="top"></div>
|
|
|
|
|
<div class="mid">
|
|
|
|
|
<div class="header">Links</div>
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="https://play.google.com/apps/publish/" target="_googleplay">Google Play Developer Console</a></li>
|
|
|
|
|
<li><a href="http://android-developers.blogspot.com/">Android Developers Blog</a></li>
|
|
|
|
|
<li><a href="<?cs var:toroot ?>about/index.html">About Android</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
<div class="header">Android Sites</div>
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="http://www.android.com">Android.com</a></li>
|
|
|
|
|
<li class="active"><a>Android Developers</a></li>
|
|
|
|
|
<li><a href="http://source.android.com">Android Open Source Project</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
<?cs # Include language switcher only in online docs ?>
|
|
|
|
|
<?cs if:android.whichdoc == "online" ?>
|
|
|
|
|
<div class="header">Language</div>
|
|
|
|
|
<div id="language" class="locales">
|
|
|
|
|
<select name="language" onChange="changeLangPref(this.value, true)">
|
|
|
|
|
<option value="en">English</option>
|
|
|
|
|
<option value="es">Español</option>
|
|
|
|
|
<option value="ja">日本語</option>
|
|
|
|
|
<option value="ko">한국어</option>
|
|
|
|
|
<option value="ru">Русский</option>
|
2014-11-19 11:34:34 +08:00
|
|
|
|
<option value="zh-cn">中文(简体)</option>
|
|
|
|
|
<option value="zh-tw">中文(繁體)</option>
|
2014-05-14 07:55:26 +08:00
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
<!--
|
|
|
|
|
loadLangPref();
|
|
|
|
|
//-->
|
|
|
|
|
</script>
|
|
|
|
|
<?cs /if ?>
|
|
|
|
|
<?cs # End of lang switcher ?>
|
|
|
|
|
<br class="clearfix" />
|
|
|
|
|
</div><!-- end 'mid' -->
|
|
|
|
|
<div class="bottom"></div>
|
|
|
|
|
</div><!-- end 'moremenu' -->
|
|
|
|
|
|
|
|
|
|
<div class="search" id="search-container">
|
|
|
|
|
<div class="search-inner">
|
|
|
|
|
<div id="search-btn"></div>
|
|
|
|
|
<div class="left"></div>
|
|
|
|
|
<form onsubmit="return submit_search()">
|
|
|
|
|
<input id="search_autocomplete" type="text" value="" autocomplete="off" name="q"
|
|
|
|
|
onfocus="search_focus_changed(this, true)" onblur="search_focus_changed(this, false)"
|
|
|
|
|
onkeydown="return search_changed(event, true, '<?cs var:toroot ?>')"
|
|
|
|
|
onkeyup="return search_changed(event, false, '<?cs var:toroot ?>')" />
|
|
|
|
|
</form>
|
|
|
|
|
<div class="right"></div>
|
|
|
|
|
<a class="close hide">close</a>
|
|
|
|
|
<div class="left"></div>
|
|
|
|
|
<div class="right"></div>
|
|
|
|
|
</div><!-- end search-inner -->
|
|
|
|
|
</div><!-- end search-container -->
|
|
|
|
|
|
|
|
|
|
<div class="search_filtered_wrapper reference">
|
|
|
|
|
<div class="suggest-card reference no-display">
|
|
|
|
|
<ul class="search_filtered">
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="search_filtered_wrapper docs">
|
|
|
|
|
<div class="suggest-card dummy no-display"> </div>
|
|
|
|
|
<div class="suggest-card develop no-display">
|
|
|
|
|
<ul class="search_filtered">
|
|
|
|
|
</ul>
|
|
|
|
|
<div class="child-card guides no-display">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="child-card training no-display">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="child-card samples no-display">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="suggest-card design no-display">
|
|
|
|
|
<ul class="search_filtered">
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="suggest-card distribute no-display">
|
|
|
|
|
<ul class="search_filtered">
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div><!-- end menu-container (search and menu widget) -->
|
|
|
|
|
<?cs /def ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-04 11:28:42 +08:00
|
|
|
|
<?cs
|
2012-06-22 09:03:05 +08:00
|
|
|
|
def:custom_left_nav() ?><?cs
|
2014-05-14 07:55:26 +08:00
|
|
|
|
if:fullpage ?><?cs
|
|
|
|
|
call:fullpage() ?><?cs
|
|
|
|
|
elif:nonavpage ?><?cs
|
|
|
|
|
call:no_nav() ?><?cs
|
2012-06-22 09:03:05 +08:00
|
|
|
|
elif:guide ?><?cs
|
2009-03-04 11:28:42 +08:00
|
|
|
|
call:guide_nav() ?><?cs
|
2012-06-22 09:03:05 +08:00
|
|
|
|
elif:design ?><?cs
|
|
|
|
|
call:design_nav() ?><?cs
|
|
|
|
|
elif:training ?><?cs
|
|
|
|
|
call:training_nav() ?><?cs
|
|
|
|
|
elif:tools ?><?cs
|
|
|
|
|
call:tools_nav() ?><?cs
|
|
|
|
|
elif:google ?><?cs
|
2012-11-28 09:27:34 +08:00
|
|
|
|
call:google_nav() ?><?cs
|
2010-09-17 01:43:40 +08:00
|
|
|
|
elif:samples ?><?cs
|
|
|
|
|
call:samples_nav() ?><?cs
|
2012-06-22 09:03:05 +08:00
|
|
|
|
elif:distribute ?><?cs
|
2014-05-14 07:55:26 +08:00
|
|
|
|
if:googleplay ?><?cs
|
|
|
|
|
call:googleplay_nav() ?><?cs
|
|
|
|
|
elif:essentials ?><?cs
|
|
|
|
|
call:essentials_nav() ?><?cs
|
|
|
|
|
elif:users ?><?cs
|
|
|
|
|
call:users_nav() ?><?cs
|
|
|
|
|
elif:engage ?><?cs
|
|
|
|
|
call:engage_nav() ?><?cs
|
|
|
|
|
elif:monetize ?><?cs
|
|
|
|
|
call:monetize_nav() ?><?cs
|
2014-12-16 07:10:06 +08:00
|
|
|
|
elif:analyze ?><?cs
|
|
|
|
|
call:analyze_nav() ?><?cs
|
2014-05-14 07:55:26 +08:00
|
|
|
|
elif:disttools ?><?cs
|
|
|
|
|
call:disttools_nav() ?><?cs
|
|
|
|
|
elif:stories ?><?cs
|
|
|
|
|
call:stories_nav() ?><?cs
|
|
|
|
|
/if ?><?cs
|
|
|
|
|
elif:about ?><?cs
|
2014-03-12 11:17:52 +08:00
|
|
|
|
call:about_nav() ?><?cs
|
2014-05-14 07:55:26 +08:00
|
|
|
|
elif:distribute ?><?cs
|
|
|
|
|
call:distribute_nav() ?><?cs
|
2014-03-12 11:17:52 +08:00
|
|
|
|
elif:wear ?><?cs
|
|
|
|
|
call:wear_nav() ?><?cs
|
2014-06-04 10:35:24 +08:00
|
|
|
|
elif:preview ?><?cs
|
|
|
|
|
call:preview_nav() ?><?cs
|
2014-05-14 07:55:26 +08:00
|
|
|
|
else ?><?cs
|
|
|
|
|
call:default_left_nav() ?> <?cs
|
|
|
|
|
/if ?><?cs
|
2009-03-04 11:28:42 +08:00
|
|
|
|
/def ?>
|
|
|
|
|
|
|
|
|
|
<?cs # appears at the bottom of every page ?><?cs
|
|
|
|
|
def:custom_cc_copyright() ?>
|
|
|
|
|
Except as noted, this content is
|
|
|
|
|
licensed under <a href="http://creativecommons.org/licenses/by/2.5/">
|
|
|
|
|
Creative Commons Attribution 2.5</a>. For details and
|
|
|
|
|
restrictions, see the <a href="<?cs var:toroot ?>license.html">Content
|
|
|
|
|
License</a>.<?cs
|
|
|
|
|
/def ?>
|
|
|
|
|
|
|
|
|
|
<?cs
|
|
|
|
|
def:custom_copyright() ?>
|
|
|
|
|
Except as noted, this content is licensed under <a
|
|
|
|
|
href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a>.
|
|
|
|
|
For details and restrictions, see the <a href="<?cs var:toroot ?>license.html">
|
|
|
|
|
Content License</a>.<?cs
|
|
|
|
|
/def ?>
|
|
|
|
|
|
|
|
|
|
<?cs
|
|
|
|
|
def:custom_footerlinks() ?>
|
|
|
|
|
<p>
|
2012-06-22 09:03:05 +08:00
|
|
|
|
<a href="<?cs var:toroot ?>about/index.html">About Android</a> |
|
|
|
|
|
<a href="<?cs var:toroot ?>legal.html">Legal</a> |
|
|
|
|
|
<a href="<?cs var:toroot ?>support.html">Support</a>
|
2009-03-04 11:28:42 +08:00
|
|
|
|
</p><?cs
|
|
|
|
|
/def ?>
|
|
|
|
|
|
2009-04-21 16:00:11 +08:00
|
|
|
|
<?cs # appears on the right side of the blue bar at the bottom off every page ?><?cs
|
2012-12-01 12:16:42 +08:00
|
|
|
|
def:custom_buildinfo() ?><?cs
|
2013-02-21 08:07:32 +08:00
|
|
|
|
if:!google && !reference.gcm && !reference.gms ?>
|
2012-12-01 12:16:42 +08:00
|
|
|
|
Android <?cs var:sdk.version ?> r<?cs var:sdk.rel.id ?> — <?cs
|
2013-01-30 05:34:17 +08:00
|
|
|
|
/if ?>
|
|
|
|
|
<script src="<?cs var:toroot ?>timestamp.js" type="text/javascript"></script>
|
|
|
|
|
<script>document.write(BUILD_TIMESTAMP)</script>
|
2009-04-21 16:00:11 +08:00
|
|
|
|
<?cs /def ?>
|
2010-08-11 09:22:55 +08:00
|
|
|
|
|