summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDirk Dougherty <ddougherty@google.com>2015-05-22 23:05:13 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-05-22 23:05:14 +0000
commit61e6be640b1e5d6ae4cacf0a2e62a7f66f42202c (patch)
treebf7424c350547bc07fd6d07d6051063c2808caa2
parentdd4dc4a0bec72cbfae8a3b27c72d75e90d38c79b (diff)
parent78c688fa708f659097c3778a547c47c65df94664 (diff)
downloadframeworks_base-61e6be640b1e5d6ae4cacf0a2e62a7f66f42202c.zip
frameworks_base-61e6be640b1e5d6ae4cacf0a2e62a7f66f42202c.tar.gz
frameworks_base-61e6be640b1e5d6ae4cacf0a2e62a7f66f42202c.tar.bz2
Merge "Doc change: updates for preview content." into mnc-preview-docs
-rw-r--r--docs/html-ndk/ndk/index.jd5
-rw-r--r--docs/html/develop/index.jd6
-rw-r--r--docs/html/distribute/googleplay/cast.jd2
-rw-r--r--docs/html/distribute/index.jd3
-rw-r--r--docs/html/google/index.jd5
-rw-r--r--docs/html/images/cards/card-api-overview_16-9_2x.pngbin0 -> 2795 bytes
-rw-r--r--docs/html/images/cards/card-preview_16-9_2x.pngbin6853 -> 6135 bytes
-rw-r--r--docs/html/images/cards/card-samples_16-9_2x.pngbin0 -> 28891 bytes
-rw-r--r--docs/html/images/cards/card-set-up_16-9_2x.pngbin3511 -> 3527 bytes
-rw-r--r--docs/html/images/cards/card-support_16-9_2x.pngbin8787 -> 8785 bytes
-rw-r--r--docs/html/images/cards/course-nanodegree-lg_2x.jpgbin8160 -> 0 bytes
-rw-r--r--docs/html/images/cards/course-nanodegree_2x.jpgbin5445 -> 0 bytes
-rw-r--r--docs/html/images/cards/course-nanodegree_2x.pngbin0 -> 816104 bytes
-rw-r--r--docs/html/images/cards/course-ud825_2x.png (renamed from docs/html/images/cards/course-ud825.png)bin1007974 -> 1007974 bytes
-rw-r--r--docs/html/images/cards/course-ud849_2x.jpg (renamed from docs/html/images/cards/course-ud849.jpg)bin40893 -> 40893 bytes
-rw-r--r--docs/html/images/cards/course-ud853_2x.jpg (renamed from docs/html/images/cards/course-ud853.jpg)bin27415 -> 27415 bytes
-rw-r--r--docs/html/images/google/hero-play-services_2x.pngbin0 -> 98245 bytes
-rw-r--r--docs/html/index.jd8
-rw-r--r--docs/html/jd_collections.js10
-rw-r--r--docs/html/jd_extras.js24
-rw-r--r--docs/html/preview/index.jd52
-rw-r--r--docs/html/training/index.jd18
22 files changed, 89 insertions, 44 deletions
diff --git a/docs/html-ndk/ndk/index.jd b/docs/html-ndk/ndk/index.jd
index 6723ed7..3ab95c8 100644
--- a/docs/html-ndk/ndk/index.jd
+++ b/docs/html-ndk/ndk/index.jd
@@ -43,9 +43,10 @@ footer.hide=1
<section class="dac-section dac-gray dac-small dac-invert" id="latest"><div class="wrap">
<h2 class="norule">Latest</h2>
<div class="resource-widget resource-flow-layout col-16"
- data-query="type:blog+tag:featured+tag:preview"
+ data-query="type:blog+tag:ndk"
data-cardSizes="6x6"
- data-maxResults="3"></div>
+ data-maxResults="6"
+ data-initial-results="3"></div>
</div></section>
<section class="dac-section dac-light"><div class="wrap">
diff --git a/docs/html/develop/index.jd b/docs/html/develop/index.jd
index 4ba0b09..7c56a69 100644
--- a/docs/html/develop/index.jd
+++ b/docs/html/develop/index.jd
@@ -58,7 +58,8 @@ excludeFromSuggestions=true
<div class="resource-widget resource-flow-layout col-16"
data-query="collection:develop/landing/latest"
data-cardSizes="6x6"
- data-maxResults="3"></div>
+ data-maxResults="9"
+ data-initial-results="3"></div>
</div></section>
<section class="dac-section dac-light"><div class="wrap">
@@ -125,5 +126,6 @@ excludeFromSuggestions=true
data-query="collection:develop/landing/courses"
data-sortOrder="random"
data-cardSizes="6x6"
- data-maxResults="6"></div>
+ data-initial-results="6"
+ data-maxResults="12"></div>
</div></section>
diff --git a/docs/html/distribute/googleplay/cast.jd b/docs/html/distribute/googleplay/cast.jd
index 55bc1a9..339142e 100644
--- a/docs/html/distribute/googleplay/cast.jd
+++ b/docs/html/distribute/googleplay/cast.jd
@@ -1,4 +1,4 @@
-page.title=Stream with Google Cast
+page.title=Stream Your Content with Google Cast
page.metaDescription=Let users stream your video and audio content to their TVs and speakers.
page.tags=cast, video, chromecast
@jd:body
diff --git a/docs/html/distribute/index.jd b/docs/html/distribute/index.jd
index d3f3836..c8928df 100644
--- a/docs/html/distribute/index.jd
+++ b/docs/html/distribute/index.jd
@@ -22,7 +22,8 @@ page.metaDescription=The most visited store in the world for Android apps. Cloud
data-query="type:youtube+tag:googleplay+tag:developerstory+tag:featured, type:blog+tag:googleplay+tag:distribute+tag:featured"
data-sortOrder="-timestamp"
data-cardSizes="6x6"
- data-maxResults="3"></div>
+ data-maxResults="12"
+ data-initial-results="3"></div>
</div></section>
<section class="dac-section dac-invert dac-darken-bg" style="background-image: url(/images/distribute/google-play-bg.jpg)"><div class="wrap">
diff --git a/docs/html/google/index.jd b/docs/html/google/index.jd
index e7a5167..8538161 100644
--- a/docs/html/google/index.jd
+++ b/docs/html/google/index.jd
@@ -11,7 +11,7 @@ footer.hide=1
<div class="wrap">
<div class="cols dac-hero-content">
<div class="col-1of2 col-push-1of2 dac-hero-figure">
- <img class="dac-hero-image" src="/design/media/hero-material-design.png">
+ <img class="dac-hero-image" src="/images/google/hero-play-services_2x.png">
</div>
<div class="col-1of2 col-pull-1of2">
<h1 class="dac-hero-title">Build better apps with Google</h1>
@@ -44,7 +44,8 @@ footer.hide=1
<div class="resource-widget resource-flow-layout col-16"
data-query="type:blog+tag:googleservices+tag:featured+tag:develop"
data-cardSizes="6x6"
- data-maxResults="3"></div>
+ data-maxResults="9"
+ data-initial-results="3"></div>
</div>
</section>
diff --git a/docs/html/images/cards/card-api-overview_16-9_2x.png b/docs/html/images/cards/card-api-overview_16-9_2x.png
new file mode 100644
index 0000000..8ee4c27
--- /dev/null
+++ b/docs/html/images/cards/card-api-overview_16-9_2x.png
Binary files differ
diff --git a/docs/html/images/cards/card-preview_16-9_2x.png b/docs/html/images/cards/card-preview_16-9_2x.png
index dd80f6a..e790c9d 100644
--- a/docs/html/images/cards/card-preview_16-9_2x.png
+++ b/docs/html/images/cards/card-preview_16-9_2x.png
Binary files differ
diff --git a/docs/html/images/cards/card-samples_16-9_2x.png b/docs/html/images/cards/card-samples_16-9_2x.png
new file mode 100644
index 0000000..39d50a6
--- /dev/null
+++ b/docs/html/images/cards/card-samples_16-9_2x.png
Binary files differ
diff --git a/docs/html/images/cards/card-set-up_16-9_2x.png b/docs/html/images/cards/card-set-up_16-9_2x.png
index 0283801..460e13b 100644
--- a/docs/html/images/cards/card-set-up_16-9_2x.png
+++ b/docs/html/images/cards/card-set-up_16-9_2x.png
Binary files differ
diff --git a/docs/html/images/cards/card-support_16-9_2x.png b/docs/html/images/cards/card-support_16-9_2x.png
index 08b3290..7f6e1f9 100644
--- a/docs/html/images/cards/card-support_16-9_2x.png
+++ b/docs/html/images/cards/card-support_16-9_2x.png
Binary files differ
diff --git a/docs/html/images/cards/course-nanodegree-lg_2x.jpg b/docs/html/images/cards/course-nanodegree-lg_2x.jpg
deleted file mode 100644
index c32769b..0000000
--- a/docs/html/images/cards/course-nanodegree-lg_2x.jpg
+++ /dev/null
Binary files differ
diff --git a/docs/html/images/cards/course-nanodegree_2x.jpg b/docs/html/images/cards/course-nanodegree_2x.jpg
deleted file mode 100644
index db3702b..0000000
--- a/docs/html/images/cards/course-nanodegree_2x.jpg
+++ /dev/null
Binary files differ
diff --git a/docs/html/images/cards/course-nanodegree_2x.png b/docs/html/images/cards/course-nanodegree_2x.png
new file mode 100644
index 0000000..8f99703
--- /dev/null
+++ b/docs/html/images/cards/course-nanodegree_2x.png
Binary files differ
diff --git a/docs/html/images/cards/course-ud825.png b/docs/html/images/cards/course-ud825_2x.png
index 77f98b5..77f98b5 100644
--- a/docs/html/images/cards/course-ud825.png
+++ b/docs/html/images/cards/course-ud825_2x.png
Binary files differ
diff --git a/docs/html/images/cards/course-ud849.jpg b/docs/html/images/cards/course-ud849_2x.jpg
index 41b7ecf..41b7ecf 100644
--- a/docs/html/images/cards/course-ud849.jpg
+++ b/docs/html/images/cards/course-ud849_2x.jpg
Binary files differ
diff --git a/docs/html/images/cards/course-ud853.jpg b/docs/html/images/cards/course-ud853_2x.jpg
index 94adfb0..94adfb0 100644
--- a/docs/html/images/cards/course-ud853.jpg
+++ b/docs/html/images/cards/course-ud853_2x.jpg
Binary files differ
diff --git a/docs/html/images/google/hero-play-services_2x.png b/docs/html/images/google/hero-play-services_2x.png
new file mode 100644
index 0000000..118e7a7
--- /dev/null
+++ b/docs/html/images/google/hero-play-services_2x.png
Binary files differ
diff --git a/docs/html/index.jd b/docs/html/index.jd
index 70274eb..7fae38a 100644
--- a/docs/html/index.jd
+++ b/docs/html/index.jd
@@ -7,9 +7,11 @@ page.customHeadTag=<meta name="google-site-verification" content="sa-bIAI6GKvct3
<!-- <div class="dac-hero-carousel" data-carousel-query="collection:index/carousel">
</div> -->
+<section class="dac-hero-carousel">
-<article class="dac-expand dac-hero dac-invert active" style="background-color: rgb(38, 50, 56);">
-<a class="dac-hero-carousel-action" href="{@docRoot}preview/index.html">
+<!-- <article class="dac-expand dac-hero dac-invert active" style="background-color: rgb(38, 50, 56);"> -->
+<article class="dac-expand dac-hero dac-invert active" style="background-color: #455A64;">
+<a href="/preview/index.html">
<div class="wrap" style="max-width:1100px;">
<div class="cols dac-hero-content">
<div class="col-10of16 col-push-6of16 dac-hero-figure">
@@ -30,7 +32,7 @@ page.customHeadTag=<meta name="google-site-verification" content="sa-bIAI6GKvct3
</div>
</div>
</a>
-</article>
+</article></section>
<div class="actions-bar dac-expand dac-invert">
<div class="wrap dac-offset-parent">
diff --git a/docs/html/jd_collections.js b/docs/html/jd_collections.js
index 421f87a..050bf10 100644
--- a/docs/html/jd_collections.js
+++ b/docs/html/jd_collections.js
@@ -1383,11 +1383,15 @@ var RESOURCE_COLLECTIONS = {
"title": "",
"resources": [
"preview/overview.html",
- "preview/api-overview.html",
+ "preview/download.html",
"preview/setup-sdk.html",
"preview/samples.html",
- "preview/reference.html",
- "preview/support.html"
+ "preview/support.html",
+ "preview/api-overview.html",
+ "preview/features/runtime-permissions.html",
+ "preview/api-changes.html",
+ "preview/api-overview.html",
+ "preview/backup/index.html",
]
},
"autolanding": {
diff --git a/docs/html/jd_extras.js b/docs/html/jd_extras.js
index 6f6d31d..eb9639d 100644
--- a/docs/html/jd_extras.js
+++ b/docs/html/jd_extras.js
@@ -2623,7 +2623,7 @@ DISTRIBUTE_RESOURCES = DISTRIBUTE_RESOURCES.concat([
"group":"",
"keywords": ["mobile","ux","design"],
"tags": ["courses"],
- "image":"images/cards/course-ud849.jpg",
+ "image":"images/cards/course-ud849_2x.jpg",
"lang":"en",
"type":"online course"
},
@@ -2635,7 +2635,7 @@ DISTRIBUTE_RESOURCES = DISTRIBUTE_RESOURCES.concat([
"group":"",
"keywords": ["start","firstapp","sdk"],
"tags": ["courses"],
- "image":"images/cards/course-ud853.jpg",
+ "image":"images/cards/course-ud853_2x.jpg",
"lang":"en",
"type":"online course"
},
@@ -2647,19 +2647,19 @@ DISTRIBUTE_RESOURCES = DISTRIBUTE_RESOURCES.concat([
"group":"",
"keywords": ["performance","battery"],
"tags": ["courses"],
- "image":"images/cards/course-ud825.png",
+ "image":"images/cards/course-ud825_2x.png",
"lang":"en",
"type":"online course"
},
{
"title":"Enroll in the Android Nanodegree",
"titleFriendly":"",
- "summary":"Sign up to learn about Android and receive a certification of your efforts.",
- "url":"https://www.udacity.com/android-nanodegree",
+ "summary":"Enroll in the Android Nanodegree to build the skills to work as an Android developer.",
+ "url":"https://www.udacity.com/android",
"group":"",
"keywords": ["nanodegree"],
"tags": ["courses"],
- "image":"images/cards/course-nanodegree-lg.jpg",
+ "image":"images/cards/course-nanodegree_2x.png",
"lang":"en",
"type":"online course"
},
@@ -2671,7 +2671,7 @@ DISTRIBUTE_RESOURCES = DISTRIBUTE_RESOURCES.concat([
"group":"",
"keywords": ["android, experts"],
"tags": ["courses"],
- "image":"images/cards/course-ud855.jpg",
+ "image":"images/cards/course-ud855_2x.jpg",
"lang":"en",
"type":"online course"
},
@@ -2683,7 +2683,7 @@ DISTRIBUTE_RESOURCES = DISTRIBUTE_RESOURCES.concat([
"group":"",
"keywords": ["wear, tv, auto"],
"tags": ["courses"],
- "image":"images/cards/course-ud875.jpg",
+ "image":"images/cards/course-ud875_2x.jpg",
"lang":"en",
"type":"online course"
},
@@ -2695,7 +2695,7 @@ DISTRIBUTE_RESOURCES = DISTRIBUTE_RESOURCES.concat([
"group":"",
"keywords": ["google, play services, google services"],
"tags": ["courses"],
- "image":"images/cards/course-ud876.jpg",
+ "image":"images/cards/course-ud876_2x.jpg",
"lang":"en",
"type":"online course"
},
@@ -2707,7 +2707,7 @@ DISTRIBUTE_RESOURCES = DISTRIBUTE_RESOURCES.concat([
"group":"",
"keywords": ["design, pure, material"],
"tags": ["courses"],
- "image":"images/cards/course-ud862.jpg",
+ "image":"images/cards/course-ud862_2x.jpg",
"lang":"en",
"type":"online course"
},
@@ -2719,7 +2719,7 @@ DISTRIBUTE_RESOURCES = DISTRIBUTE_RESOURCES.concat([
"group":"",
"keywords": ["firstapp",],
"tags": ["courses"],
- "image":"images/cards/course-ud837.jpg",
+ "image":"images/cards/course-ud837_2x.jpg",
"lang":"en",
"type":"online course"
},
@@ -2731,7 +2731,7 @@ DISTRIBUTE_RESOURCES = DISTRIBUTE_RESOURCES.concat([
"group":"",
"keywords": ["gradle","studio", "sdk"],
"tags": ["courses"],
- "image":"images/cards/course-ud867.jpg",
+ "image":"images/cards/course-ud867_2x.jpg",
"lang":"en",
"type":"online course"
},
diff --git a/docs/html/preview/index.jd b/docs/html/preview/index.jd
index da7b5ea..b1f14ac 100644
--- a/docs/html/preview/index.jd
+++ b/docs/html/preview/index.jd
@@ -7,35 +7,32 @@ header.hide=1
footer.hide=1
@jd:body
-<section class="dac-expand dac-hero dac-light" style="background-repeat:no-repeat">
- <div class="wrap">
+<section class="dac-expand dac-hero dac-light" >
+ <div class="wrap" style="max-width:1100px">
<div class="cols dac-hero-content">
<div class="col-9of16 col-push-7of16 dac-hero-figure">
- <img class="dac-hero-image" src="{@docRoot}images/home/devices-hero_620px_2x.png">
+ <img class="dac-hero-image" src="/images/home/devices-hero_620px_2x.png">
</div>
- <div class="col-7of16 col-pull-9of16">
+ <div class="col-6of16 col-pull-8of16">
<h1 class="dac-hero-title">Android M Developer Preview</h1>
<p class="dac-hero-description">
Get ready for the next version of Android. Test your apps on Nexus 5, 6, 9, and
- Player. Explore what's new &mdash; a runtime permissions model, power saving Volta features, and new assist technology.
+ Player. Explore what's new &mdash; a <strong>runtime permissions</strong> model,
+ power-saving <strong>Volta features</strong>, new <strong>assist technology</strong>,
+ and more.
</p>
- <a class="dac-hero-cta" href="{@docRoot}preview/overview.html">
+ <a class="dac-hero-cta" href="/preview/overview.html">
<span class="dac-sprite dac-auto-chevron"></span>
Get Started!
</a><br>
</div>
</div>
- <div class="dac-section dac-small">
- <div class="resource-widget resource-flow-layout col-16"
- data-query="collection:preview/landing/resources"
- data-cardSizes="6x2"
- data-maxResults="3"></div>
- </div>
- </div>
+
</section>
+
<div class="wrap dac-offset-parent">
<a class="dac-fab dac-scroll-button" data-scroll-button href="#latest">
<i class="dac-sprite dac-arrow-down-gray"></i>
@@ -43,9 +40,34 @@ footer.hide=1
</div>
<section class="dac-section dac-gray dac-small dac-invert" id="latest"><div class="wrap">
+ <h2 class="norule">Resources</h2>
+<div class="dac-section dac-small">
+ <div class="resource-widget resource-flow-layout col-16"
+ data-query="collection:preview/landing/resources"
+ data-cardSizes="6x2"
+ data-maxResults="6"></div>
+ </div>
+ </div></section>
+
+
+
+<section class="dac-section dac-section-light" id="build-apps"><div class="wrap">
+ <h1 class="dac-section-title">Get your apps ready</h1>
+ <div class="dac-section-subtitle">
+ Resources to help you learn about Android M and get your app ready.
+ </div>
+ <div class="resource-widget resource-flow-layout col-16"
+ data-query="collection:preview/landing/resources"
+ data-cardSizes="6x6"
+ data-maxResults="6"></div>
+</div></section>
+
+
+<section class="dac-section dac-gray dac-small dac-invert" id="latest"><div class="wrap">
<h2 class="norule">Latest</h2>
<div class="resource-widget resource-flow-layout col-16"
- data-query="type:blog+tag:featured+tag:preview"
+ data-query="type:blog+tag:featured"
data-cardSizes="6x6"
- data-maxResults="3"></div>
+ data-maxResults="6"
+ data-initial-results="3"</div>
</div></section>
diff --git a/docs/html/training/index.jd b/docs/html/training/index.jd
index c39ea54..862e185 100644
--- a/docs/html/training/index.jd
+++ b/docs/html/training/index.jd
@@ -15,8 +15,8 @@ Classes are organized into several groups you can see at the top-level of the le
<div>
<div style="float:left; width:40%; margin-right:30px">
- <p>If you think you might prefer to learn the basics through interactive video training,
- check out this trailer for a course in the fundamentals of Android development.</p>
+ <p>If you prefer to learn through interactive video training,
+ check out this trailer for a course about the fundamentals of Android development.</p>
<p><a href="https://www.udacity.com/course/ud853" class="button">
Start the video course</a></p>
</div>
@@ -26,4 +26,16 @@ Classes are organized into several groups you can see at the top-level of the le
</div>
</div>
-<div style="clear:left"></div> \ No newline at end of file
+<div style="clear:left"></div>
+
+ <div><h2 class="norule">Online video courses</h2>
+ <p>If you prefer to learn through interactive video training,
+ check out these free courses.</p>
+ <div class="resource-widget resource-flow-layout col-16"
+ data-query="collection:develop/landing/courses"
+ data-sortOrder="random"
+ data-cardSizes="6x6"
+ data-maxResults="9"
+ data-initial-results="3"></div>
+</div>
+</div> \ No newline at end of file