133 Commits

Author SHA1 Message Date
Yin-Chia Yeh
fb7c7fda56 Camera: update tonemap image in html doc
Bug: 74942037
Merged-In: I6ac4bd9e7a6d9bb2b8e3d1303656c0cdc525178b
Change-Id: I6ac4bd9e7a6d9bb2b8e3d1303656c0cdc525178b
2018-06-07 10:42:39 -07:00
Scott Main
ffcc3f2efb Delete static versions of _book.yaml and _project.yaml.
These files are used by devsite only, so are maintained in piper.

bug: 79155333
test: make ds-docs (human review)

Change-Id: I5d5662a2a401872a669dba0916b20a79bcfca7ae
(cherry picked from commit 9e64abe7d79ef6abdd9c2d65e5f3bead9138cdb4)
2018-05-29 18:20:14 +00:00
Adrian Roos
ad1da31764 DisplayCutout: Add clarifying images to LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES
Fixes: 76462084
Test: make doc-comment-check-docs, open $ANDROID_BUILD_TOP/out/target/common/docs/doc-comment-check/reference/android/view/WindowManager.LayoutParams.html, navigate to LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES
Change-Id: I8a9df979cbb062896fa874a163414a4f8a095b21
2018-03-28 15:00:45 +02:00
Florina Muntenescu
57c8b961db Allowing Typeface as a param in TypefaceSpan.
Test: TypefaceSpanTest.java
Bug: 26946279
Change-Id: I99a46fbc41ada567731f034f515998654ce77cb2
2018-02-03 00:45:52 +00:00
TreeHugger Robot
85d8a99310 Merge "Updating more spans" 2018-02-02 00:26:48 +00:00
Florina Muntenescu
139e1b5c01 Updating more spans
Test: N/A
Bug: 72092996
Change-Id: Iecd3595a03cde2a1d58e4be00b7cf9b6783d4e2a
2018-01-31 18:25:02 +00:00
Florina Muntenescu
8ec69a628b Merge "Making QuoteSpan more flexible." 2018-01-26 03:19:11 +00:00
Florina Muntenescu
58414a4867 Update JavaDocs for Alignment, Clickable, Editable and MetricAffecting
spans.

Test: N/A
Bug: 72092996
Change-Id: I716ed3841d7ac0b1cc2f75021ae0e02d1bf05524
2018-01-25 09:06:28 +00:00
Florina Muntenescu
f58a0282a9 Making QuoteSpan more flexible.
Test: QuoteSpanTest
Bug: 72410257
Change-Id: Ie0e159b4f645b7935454ad25fd43c5d0e8f3d7c1
2018-01-25 08:50:49 +00:00
TreeHugger Robot
414b665f2d Merge "Make BulletSpan more flexible and update JavaDoc." 2018-01-23 13:57:29 +00:00
Florina Muntenescu
987189b936 Make BulletSpan more flexible and update JavaDoc.
Test: BulletSpanTest
Bug: 72217003
Change-Id: I0ba4d93bd5a7bac02410e0edbd4b20f254959d4e
2018-01-23 12:08:39 +00:00
Florina Muntenescu
6d0474944a Updating JavaDocs for more spans.
Test: N/A
Bug:72092996
Change-Id: I2706465d3d61117b0b5b9e6a013f213988c92521
2018-01-22 18:40:50 +00:00
Florina Muntenescu
6e6772ff03 Update JavaDoc for BackgroundColorSpan and ForegroundColorSpan.
Test: N/A
Bug: 72092996
Change-Id: Iec7f378557759e2fdd2969f579e1dfd4635b123a
2018-01-19 17:52:31 +00:00
Eino-Ville Talvala
9dc7ec1f54 Camera2: Update generated docs to latest version
- Move camera reference doc images to /reference/images
- Minor formatting changes due to merging SDK/NDK metadata definitions
- Minor wording changes for the same

Bug: 69175492
Bug: 29102963
Bug: 33262893
Test: Build and manual inspection of generated docs diff
Change-Id: Ieaf0c1943eba378cc94a22d184734602c40e25e7
2017-11-15 13:30:21 -08:00
Andrew Solovay
c5a8efde13 docs: Restoring file to allow staging reference docs from Gerrit
Previously deleted almost all the docs (with CL http://ag/1970807),
since those docs are now managed and staged/published from Piper.
However, reference docs are still generated in Gerrit, so it's useful
to be able to stage those docs from a Gerrit client--and that was
broken by my change, since the staging tool expects to see
_book.yaml and _project.yaml in the reference doc directory. So,
restoring those files to re-enable staging of reference docs from
Gerrit.

The publish process is *not* changed: we still grab a good build
from the appropriate Gerrit branch and migrate those files into
Piper, then publish the Piper files.

Test: make ds-docs ; devsite stage --site=android en/reference
Change-Id: I392f1699dc68767d1ac9b7113a149062e5e48ef7
2017-04-18 14:00:55 -07:00
Romain Guy
c7dacca008 Documentation for PorterDuffXfermode
It tooks 10 years, but better late than never!

Bug: 32984164
Test: Compiled documentation and checked in Chrome
Change-Id: I6dfd7fba6d3077f8c774b203589083bdbc15f9d2
2017-03-31 18:56:37 -07:00
Andrew Solovay
6305094786 cherry-pick from nyc-mr1-dev docs: Removing Android docs from Gerrit
Original Change-Id: I5331cdc968be817ff70ba32dd03fce76493a6ab8
Test: make ds-docs

Android developer docs are now maintained in Piper, go/dac-source

Removing all files from Gerrit, since these files can cause build
errors if they refer to classes that are later removed (whence
bug b/35849713 ).

Gerrit already has readme files in these directories telling people
docs are not maintained here; these readmes will be a lot easier to
spot now.

Ran a doc build with these files deleted, and it seems to work fine,
so submitting this CL *shouldn't* break anything.

Bug: 35849713
Change-Id: Ic74c3f97f9620daf23543930a8b7ed1386f4d172
2017-03-21 14:18:01 -07:00
Romain Guy
9505a65527 Add new RGBA_F16 bitmap config
This configuration uses 64 bits per pixel. Heach component is stored as a
half precision float value (16 bits). Half floats can be decoded/encoded
using android.util.Half.

RGBA_F16 bitmaps are used to decode wide-gamut images stored in 16 bit
formats (PNG 16 bit for instance). aapt is currently not aware of PNG
16 bits so such files must be placed in raw/ resource directories.

This first pass provides only partial drawing support with hardware
acceleration. RGBA_F16 bitmaps are stored in linear space and need
to be encoded to gamma space with the appropriate OETF to be rendered
properly on Android's current surfaces. They are however suitable for
linear blending. Full rendering support will be provided in a future
CL (BitmapShaders might be a bit tricky to handle properly during
shader generation).

Bug: 32984164
Test: bit CtsGraphicsTestCases:android.graphics.cts.BitmapRGBAF16Test

Change-Id: I328e6b567441a1b9d152a3e7be944a2cf63193bd
2016-12-16 09:15:07 -08:00
Elliot Waite
ce6660d1d4 Change insecure HTTP resource link to scheme-relative link. am: fc175c08cb am: c67ea5e3ff am: 4835467efa
am: 27e3cf2a3f

Change-Id: If718e3a97738bd04a262ad03881a011af43f01f8
2016-12-06 02:17:45 +00:00
Elliot Waite
fc175c08cb Change insecure HTTP resource link to scheme-relative link.
Change-Id: Id3c0d448b7aa4cafd87cfa46408c62a6fb0f3e57
2016-11-30 17:42:18 -08:00
Romain Guy
15296a2d34 Add API to visualize/debug/compare color spaces and colors
ColorSpace.createRenderer() returns a ColorSpace.Renderer which
can be used to visualize multiple color spaces and colors (each
associated with a specific color space) in the same CIE 1931 xyY
chromaticity diagram. This API was used to generate all the
diagrams shown in the documentation.

Bug: 32984164
Test: ColorSpaceTest in CTS
Change-Id: Ic94d939d5cfd563d826701f5e876b67b47ed56ec
2016-11-30 09:33:28 -08:00
Romain Guy
199e5a98dd Add images to document built-in color spaces
Bug: 32984164
Test: make offline-sdk-referenceonly-docs and manual validation of output

Change-Id: I2f0e00e5a0581517bb7c535e8aee150f87ac7a6e
2016-11-28 17:38:27 -08:00
Amanda Kassay
9504b4903a Adding projec.yaml files to all top/sub categories.
Change-Id: I8ac3a958852071da46fa08178ca3a74b103e48df
2016-07-19 16:49:01 -04:00
Dirk Dougherty
44b31fa0c4 Merge "fix typo in book path for devsite builds." into mnc-mr-docs 2016-05-15 19:38:52 +00:00
smain@google.com
89d11705a1 Update links for all files under sdk/ that moved to studio/
Change-Id: I624621dfd7df0f441d0b559e5a12029e5e299964
2016-05-15 02:55:23 +00:00
Joe Fernandez
2e30b3a11e docs: DoDS, wearable reference docs
- fix navtree data file for TOC functionality
b/28462526

Change-Id: I8fde25b67972e9b610dddcc402a0e8164600ff71
2016-05-11 17:33:11 -07:00
Dirk Dougherty
6b94e98a20 fix typo in book path for devsite builds.
Change-Id: I06b3bfc6ec2d3e9944bef7f7beb3e710525ae867
2016-05-11 16:32:34 -07:00
Dirk Dougherty
1e0d1c67b4 Merge "Add navtree for wearable support lib." into mnc-mr-docs 2016-05-11 19:42:58 +00:00
Dirk Dougherty
debd2a7d41 Add updated Test Support lib docs to reference.
Change-Id: Ib572c99c07890a9b91aa53154d937ac45605d122
2016-05-11 12:34:12 -07:00
Dirk Dougherty
0da6c2de9a Add navtree for wearable support lib.
Change-Id: Ibc16e3752912ed0653e5ff192cd0983c681c4683
2016-05-11 12:18:24 -07:00
Joe Fernandez
95df02229c docs: DoDS Wear reference docs (regenerated)
b/28462526

Change-Id: I59874b401aafb76f965a9dc734db73abf68a1250
2016-05-10 19:12:36 -07:00
sreevanis
00beb18410 cherrypick from mnc-docs docs: Updated API changes for Dinar wearable support.
Bug:27807732
original Change-Id: Ic63b5af0a3c6c87324285ded60c8877fbf86c24d

Change-Id: Icd3dcbb6c56383817315ba4a6bb3ec7b72a54345
2016-03-29 13:32:35 -07:00
smain@google.com
2b903d08f0 update all hardcoded zippy images to use new Material icon (down-facing instead of right-facing)
this is tied to I33a4ef90359838c02def90beb486e5a2dc21cbf7 which updates the script in kind.

Change-Id: I0c5aed4c2ca1d38e92f07c3e688bfa2d3b574bfc
2016-03-16 12:13:05 -07:00
David Friedman
0571a1d4c3 Docs: Adds three files that were omitted from ag/743190.
Bug: 22979024
Change-Id: Ifdb4e2db5901e654c3d63895997da69dcf8b396b
2015-10-05 13:28:37 -07:00
Quddus Chong
c8fe6745cc docs: Updated Javadocs for Android Testing Support Library v0.4.
bug: 23932175

Change-Id: I6c8859d6a3a7b57e8c774cd8c6cf4ac3188e1fbd
2015-09-16 12:18:46 -07:00
David Friedman
6a21a5a142 am 9f4ddca9: am 56c22d29: Merge "Docs: Creating interactive watch faces Bug: 21721463" into mnc-preview-docs
* commit '9f4ddca909e1f7d4274da3282a05494d6fb2f3f9':
  Docs: Creating interactive watch faces Bug: 21721463
2015-08-20 01:15:08 +00:00
David Friedman
9f4ddca909 am 56c22d29: Merge "Docs: Creating interactive watch faces Bug: 21721463" into mnc-preview-docs
* commit '56c22d29b8727e55073cede04b51e65eb6125b9f':
  Docs: Creating interactive watch faces Bug: 21721463
2015-08-20 00:57:50 +00:00
David Friedman
e6705bf25d Docs: Creating interactive watch faces
Bug: 21721463

Training module and related API-reference documentation. This is new
material for Android Wear D(iamond) release.

Change-Id: I9959bca50fd96812abd7cfb693139986bc59b133
2015-08-19 17:41:57 -07:00
Quddus Chong
db87d7cd9e docs: Re-added gms_lists.js and gcm_lists.js for GMS v7.8 (Reblochon) Javadoc discovery.
Change-Id: I872bbb5069418a4dfb174dda5dd9e86b833f7894
2015-08-17 14:28:32 -07:00
Quddus Chong
28f2ba8e30 docs: Remove Google Play Services pages under Develop > Google Services.
Cherry-pick from Change-Id: I392075b58bebc5556f306c2d20987811efe90b13

Change-Id: I17ad018a0875b653c0706fd9bbe5f637760cdfbc
2015-08-16 21:21:41 -07:00
Quddus Chong
44d911ffe2 docs: Updated gms_lists.js for GMS v7.8 (Reblochon) Javadoc discovery.
Change-Id: Ib9a36ce62b137316ae2b8bc626a0b0377f593a21
2015-08-14 15:59:07 -07:00
Quddus Chong
348d0a68ad am 7af35669: docs: Added Javadocs for Testing Support Library v0.3 and updated the corresponding setup instructions. bug: 21442922
* commit '7af3566912b0e014cfd1704acdeb31a0a7cca0d3':
  docs: Added Javadocs for Testing Support Library v0.3 and updated the corresponding setup instructions. bug: 21442922
2015-06-02 01:07:57 +00:00
Quddus Chong
7af3566912 docs: Added Javadocs for Testing Support Library v0.3 and updated
the corresponding setup instructions.
bug: 21442922

Change-Id: I7374e8102fc95377e83db738ab7ff20510e04faa
2015-06-01 17:18:39 -07:00
smain@google.com
7f6da0c3cb add back the GMS and GCM reference lists to fix search suggest.
mistakenly removed during:
https://googleplex-android-review.git.corp.google.com/#/c/697534/1

Change-Id: I804364d98d5dea6110bb309603c80df84c66a19d
2015-06-01 08:21:07 -07:00
Joe Fernandez
927b8204d5 am 80aa2b3e: Merge "docs: Regen wearable docs with new redesign templates" into mnc-preview-docs
* commit '80aa2b3e9079f847040707b9f1cd5face238137e':
  docs: Regen wearable docs with new redesign templates
2015-05-29 21:51:55 +00:00
Luan Nguyen
c14dce738e docs: Regen wearable docs with new redesign templates
bug:21497653
Change-Id: I7fd0058a14d4adcd14fd584bb10a777987169823
2015-05-29 11:23:15 -07:00
Quddus Chong
4b927284a6 docs: Remove Google Play Services pages under Develop > Google Services.
bug: 21407467

Change-Id: I392075b58bebc5556f306c2d20987811efe90b13
2015-05-26 14:52:08 -07:00
Luan Nguyen
d8573aa517 am dfa79aeb: am d5600855: Merge "docs: Refresh Wearable support library reference for Diamond" into lmp-mr1-ub-docs
* commit 'dfa79aeb6fd119127b790704c30f2d27b464b4a8':
  docs: Refresh Wearable support library reference for Diamond
2015-05-21 14:16:34 +00:00
Luan Nguyen
d560085514 Merge "docs: Refresh Wearable support library reference for Diamond" into lmp-mr1-ub-docs 2015-05-20 23:00:13 +00:00
Jean-Luc Brouillet
79f12bb648 am d967fcbe: am e9f17cda: docs: Overhaul of the RenderScript reference documentation.
* commit 'd967fcbee77b2872cb5ae6b05aaabbbc764f806b':
  docs: Overhaul of the RenderScript reference documentation.
2015-05-05 23:39:28 +00:00