upload android base code part4

This commit is contained in:
August 2018-08-08 17:00:29 +08:00
parent b9e30e05b1
commit 78ea2404cd
23455 changed files with 5250148 additions and 0 deletions

View file

@ -0,0 +1,86 @@
/**
* Link Styles
*/
a:link {
color: #09C;
text-decoration: none;
}
a:visited {
color: #639;
}
a:hover,
a:focus,
a:active {
color: #09C;
}
/**
* Cover Styles
*/
table {
border: none;
margin: 0px;
padding: 0px;
width: 100%;
height: 100%;
background-color: black;
}
td {
border: none;
color: white;
font: 12pt/16pt Roboto, Arial, Helvetica, sans-serif;
background-color: black;
}
.title {
color: white;
font: 62px/72px Roboto, Arial, Helvetica, sans-serif;
padding: 40px 20px 50px 60px;
text-align: left;
}
.subtitle {
color: white;
font: 60px/70px Roboto, Arial, Helvetica, sans-serif;
padding: 50px 0px 40px 60px;
text-align: left;
}
.padding {
padding: 40px 20px 40px 60px;
}
.padding-bottom {
padding: 40px 20px 194px 60px;
}
.cover-text {
font: 20px/25px Roboto, Arial, Helvetica, sans-serif;
color: white;
padding: 5px 5px 5px 60px;
text-align: left;
}
/**
* Body Styles
*/
body {
color: #333;
font: 12pt/16pt Roboto, Arial, Helvetica, sans-serif;
margin: 0px;
padding: 0px;
}
p {
margin: 0px;
padding: 0px;
}

View file

@ -0,0 +1,43 @@
<!DOCTYPE html>
<head>
<title>Android 7.0 Compatibility Definition</title>
<link rel="stylesheet" type="text/css" href="android-cdd-cover.css"/>
</head>
<body>
<table>
<tr>
<td>
<p><img src="images/android-logo.png" alt="Android logo" class="padding"/></p>
<p class="title">Compatibility Definition</p>
</td>
</tr>
<tr>
<td>
<img src="images/android-oreo-blue.png" alt="Oreo cover images"
style="border-top: 5px solid orange; border-bottom: 5px solid orange"/>
</td>
</tr>
<tr>
<td>
<p class="subtitle">Android 8.0</p>
<p class="cover-text">Last updated: September 1, 2017</p>
<p class="cover-text">Copyright &copy; 2017, Google Inc. All rights reserved.</p>
<p class="cover-text"><a href="mailto:compatibility@android.com">compatibility@android.com</a></p>
</td>
</tr>
<tr>
<td>
<p class="padding-bottom"></p>
</td>
</tr>
</table>
</body>
</html>

View file

@ -0,0 +1,37 @@
<!DOCTYPE html>
<html>
<head>
<title>Android 5.1 Compatibility Definition Footer</title>
<link rel="stylesheet" type="text/css" href="android-cdd.css"/>
<script>
function subst() {
var vars={};
var x=window.location.search.substring(1).split('&');
for (var i in x) {var z=x[i].split('=',2);vars[z[0]] = unescape(z[1]);}
var x=['frompage','topage','page','webpage','section','subsection','subsubsection'];
for (var i in x) {
var y = document.getElementsByClassName(x[i]);
for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
}
}
</script>
</head>
<body style="border:0; margin: 0;" onload="subst()">
<div class="footer">
<table class="noborder" style="border-top: 1px solid silver; width: 100%">
<tr>
<td class="noborder"><img src="images/android-logo.png" alt="Android logo"/></td>
<td class="noborder" style="text-align:right">
Page <span class="page"></span> of <span class="topage"></span>
</td>
</tr>
</table>
</div>
</body>
</html>

View file

@ -0,0 +1,374 @@
/**
* Link Styles
*/
a:link {
color: #09C;
text-decoration: underline;
}
a:visited {
color: #639;
}
a:hover,
a:focus,
a:active {
color: #09C;
}
/**
* Cover Styles
*/
#cover {
width: 10.5in;
height: 13.25in;
background-color: orange;
}
#cover-top {
background-color: black;
width: 100%;
height: 3in;
padding-top: 70px;
margin-bottom: 10px;
}
#cover-image {
background-color: black;
width: 100%;
height: 5in;
padding: 0px;
margin: 20px 0px 8px 0px;
}
#cover-bottom {
background-color: black;
width: 100%;
height: 3.7in;
padding: 40px 0px 40px 0px;
margin-top: 8px;
}
#cover a:link,
#cover a:visited,
#cover a:hover {
text-decoration: none;
}
#main {
width: 950px;
overflow: visible;
page-break-before: always;
}
#footer {
width: 8.5in;
height: .75in;
margin-top: .25in;
color: #333;
font: 10pt/14pt Roboto, Arial, Helvetica, sans-serif;
}
.title {
color: white;
font: 84px/90px Roboto, Arial, Helvetica, sans-serif;
padding: 40pt 20pt 15pt 50pt;
text-align: left;
}
.subtitle {
color: white;
font: 60px/70px Roboto, Arial, Helvetica, sans-serif;
padding: 40pt 5pt 40pt 60pt;
text-align: left;
}
.right {
text-align: right;
}
.white {
color: white;
}
.padding {
padding: 20pt 20pt 0pt 60pt;
}
.cover-text {
font: 20px/25px Roboto, Arial, Helvetica, sans-serif;
color: white;
padding: 5pt 5pt 5pt 60pt;
text-align: left;
}
.small {
font-size: 65%;
font-weight: 700;
}
/**
* Heading Styles
*/
h1 {
color: #333;
font: 22pt/24pt Roboto, Arial, Helvetica, sans-serif;
padding: 10pt 0pt 0pt 0pt;
text-align: left;
}
h2 {
color: #693;
font: 20pt/22pt Roboto, Arial, Helvetica, sans-serif;
padding: 8pt 0pt 0pt 0pt;
text-align: left;
page-break-after: avoid;
}
h3 {
color: #333;
font: bold 18pt/20pt Roboto, Arial, Helvetica, sans-serif;
padding: 4pt 0pt 0pt 0pt;
text-align: left;
page-break-after: avoid;
}
h4 {
color: #607D8B;
font: bold 16pt/18pt Roboto, Arial, Helvetica, sans-serif;
padding: 4pt 0pt 0pt 0pt;
text-align: left;
page-break-after: avoid;
}
h5 {
color: #333;
font: italic 16pt/18pt Roboto, Arial, Helvetica, sans-serif;
padding: 0pt 0pt 0pt 0pt;
text-align: left;
page-break-after: avoid;
}
/**
* Use h6 ONLY for table of contents
*/
h6 {
color: #333;
font: bold 16pt/18pt Roboto, Arial, Helvetica, sans-serif;
padding: 10pt 0pt 0pt 0pt;
text-align: left;
page-break-before: always;
}
/**
* Body Styles
*/
body {
color: #333;
font: 16pt/20pt Roboto, Arial, Helvetica, sans-serif;
margin: 0;
padding: 5pt 5pt 5pt 10pt;
}
p {
color: #333;
font: 16pt/20pt Roboto, Arial, Helvetica, sans-serif;
margin: 0;
padding: 5pt 0pt 1pt 0pt;
}
li {
color: #333;
font: 16pt/20pt Roboto, Arial, Helvetica, sans-serif;
margin: 0;
padding: 2pt 50pt 2pt 0pt;
}
sup {
font-weight: 800;
font-size: 10pt;
}
code {
font-family: "Lucida Console";
}
/**
* Table Styles
*/
table {
border: 1px solid gray;
border-collapse: collapse;
margin: 10px 0px 10px 0px;
width: 100%;
overflow: visible;
}
td {
border: 1px solid gray;
color: #333;
font: 16pt/20pt Roboto, Arial, Helvetica, sans-serif;
padding: 5pt;
overflow: visible;
}
th {
background-color: #CCC;
border: 1px solid gray;
color: #333;
font: bold 16pt/20pt Roboto, Arial, Helvetica, sans-serif;
padding: 5pt;
overflow: visible;
}
p.table_footnote {
color: #333;
font: 14pt/16pt Roboto, Arial, Helvetica, sans-serif;
margin: 0;
padding: 5pt 5pt 5pt 5pt;
}
li.table_list {
color: #333;
font: 16pt/20t Roboto, Arial, Helvetica, sans-serif;
margin-left: -10pt;
padding: 2pt 0pt 2pt 0pt;
}
/**
* Used in the footer
*/
table.noborder {
border: 0px;
margin: 10px 0px 10px 0px;
width: 100%;
}
td.noborder {
border: 0px;
color: #333;
font: 10pt/12pt Roboto, Arial, Helvetica, sans-serif;
padding: 10px 0px 5px 0px;
}
/**
* TOC Styles
*/
#toc a:link,
#toc a:visited,
#toc a:hover {
color: black;
text-decoration: none;
}
#toc p.toc_h1 a:link,
#toc p.toc_h1 a:visited,
#toc p.toc_h1 a:hover {
color: #99CC00;
}
#toc {
width: 950px;
}
#toc_left {
float: left;
padding-top:15px;
padding-bottom:15px;
width: 470px;
}
#toc_right {
float: right;
padding-top:15px;
padding-bottom:15px;
width: 470px;
}
p.toc_h1 {
color: #99CC00;
font: 20pt/22pt Roboto, Arial, Helvetica, sans-serif;
padding: 15px 0px 0px 0px;
}
p.toc_h2 {
color: black;
font: 18pt/20pt Roboto, Arial, Helvetica, sans-serif;
margin-left: 20px;
padding: 15px 0px 0px 0px;
}
p.toc_h3 {
color: black;
font: 16pt/18pt Roboto, Arial, Helvetica, sans-serif;
margin-left: 45px;
padding: 10px 0px 0px 0px;
}
p.toc_h4 {
color: black;
font: 14pt/16pt Roboto, Arial, Helvetica, sans-serif;
margin-left: 85px;
padding: 10px 0px 0px 0px;
}
p.toc_h5 {
color: black;
font: 14pt/16pt Roboto, Arial, Helvetica, sans-serif;
margin-left: 105px;
}
/**
* Note Styles
*/
div.note
{
border-left: 20px solid #0099cc;
padding-left: 10px;
margin: 5px 40px 5px 5px;
}
div.tip
{
border-left: 4px solid #93c47d;
padding-left: 10px;
margin: 5px 40px 5px 5px;
}
div.warning
{
border-left: 4px solid red;
padding-left: 10px;
margin: 5px 40px 5px 5px;
}
/**
* Media Styles
*/
@media print {
@page {
margin: 1in;
}
}

View file

@ -0,0 +1,27 @@
<html devsite>
<head>
<title>{{title}}</title>
<meta name="project_path" value="{{project_path}}" />
<meta name="book_path" value="{{book_path}}" />
</head>
<body>
<!--
Copyright 2017 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
{{body_html}}
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 584 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 490 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 354 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 KiB