14930 Commits

Author SHA1 Message Date
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
Alan Viverette
d88a7ffc7c Update references to removed APIs
Test: make PRODUCT-sdk_google_aw_x86-sdk
Change-Id: I8e13f43520e609808a9825fa3c89f4233076c5a9
2017-03-17 16:48:12 -04:00
Elliot Waite
0ce4b0e4c3 Fix @links in reference docs. am: 54de77470d am: ab978c035e am: 28ba4722a9
am: 9b21265b2c

Change-Id: If246ebdb36cf2832d5a6c42cbe752e290b6fb6e8
2017-01-26 04:49:33 +00:00
Elliot Waite
9b21265b2c Fix @links in reference docs. am: 54de77470d am: ab978c035e
am: 28ba4722a9

Change-Id: I98177a8cf0a20677e140406bb7371474ca259e5b
2017-01-26 04:44:54 +00:00
Elliot Waite
28ba4722a9 Fix @links in reference docs. am: 54de77470d
am: ab978c035e

Change-Id: If0d0613362e0ea95cf48eaf9a16d3eea48b589ea
2017-01-26 04:39:57 +00:00
Elliot Waite
54de77470d Fix @links in reference docs.
Change-Id: I40cea46efd80c448640ff69753698fe8404da40b
2017-01-25 17:00:55 -08:00
Romain Guy
c9ba559021 Add wide color gamut and HDR resource qualifiers
Bug: 32984164
Test: Config_test, AaptConfig_test and aapt2_tests
Change-Id: Ie9c82bfe2d36b1d6180ee223250ab5bb2ce90dd4
2017-01-19 18:44:00 -08:00
Zak Cohen
1a6acdbb86 Introduce new UI_MODE_TYPE_VR_HEADSET and qualifier.
Bug: 30989383
Test: Unit test for aapt2
Change-Id: I66dc65af6327b94fed74538bee08cada0b8be4fa
2017-01-11 11:44:47 -08:00
Xin Li
16bb6dcd45 Merge "Use half-width quotes in code example." am: 1fe99a819c am: 161d1487ba am: 2cb75e822d
am: 2b555e366e

Change-Id: I15790d515674c1697256143d417b651bc0ebad02
2017-01-05 22:14:22 +00:00
Xin Li
2b555e366e Merge "Use half-width quotes in code example." am: 1fe99a819c am: 161d1487ba
am: 2cb75e822d

Change-Id: I04cd0d83d7f808068d5021fb28d7b8b868f90c3b
2017-01-05 22:05:33 +00:00
Xin Li
2cb75e822d Merge "Use half-width quotes in code example." am: 1fe99a819c
am: 161d1487ba

Change-Id: Ia4814baf438c72d4ceed3be864e391513ed1c78e
2017-01-05 21:57:48 +00:00
Xin Li
5c14ebbbfa Use half-width quotes in code example.
Test: m -j49 -k docs
BUG: 34106216
Change-Id: I366b0bf085ad3fd166b7961301bb8c35da6a7630
2017-01-05 11:49:43 -08:00
Kevin Hufnagle
b5936940e8 docs: Added descriptions of IAB subscription-specific settings. am: 145b377b38 am: 4418907d50 am: c32df53fc7 am: d7c1e9bcd0 am: fb99d1450d am: 63d1963345 am: c580c3401a
am: a4a0906431

Change-Id: Ia91cab4a08489b22ebef4d152e4ab40cb300bc4a
2017-01-04 01:55:18 +00:00
Kevin Hufnagle
a4a0906431 docs: Added descriptions of IAB subscription-specific settings. am: 145b377b38 am: 4418907d50 am: c32df53fc7 am: d7c1e9bcd0 am: fb99d1450d am: 63d1963345
am: c580c3401a

Change-Id: I66640153bd0dcaeca11f1e82fc0d721d995281ff
2017-01-04 01:49:20 +00:00
Kevin Hufnagle
c580c3401a docs: Added descriptions of IAB subscription-specific settings. am: 145b377b38 am: 4418907d50 am: c32df53fc7 am: d7c1e9bcd0 am: fb99d1450d
am: 63d1963345

Change-Id: I586a41814eb4f0d15d411e03b80c02dfa782b5eb
2017-01-04 01:45:26 +00:00
Kevin Hufnagle
c3bfedf5fa docs: Added note - test subscriptions cannot use reserved IDs am: 98a11580ef am: c8ccc66e85 am: 1c85b504e2 am: 01e3564a0d am: c2aae1a1e7
am: 2427b36665

Change-Id: Ia186ece4f69d2e94b88cb73296674383fe6a00c8
2017-01-04 01:44:44 +00:00
Kevin Hufnagle
2427b36665 docs: Added note - test subscriptions cannot use reserved IDs am: 98a11580ef am: c8ccc66e85 am: 1c85b504e2 am: 01e3564a0d
am: c2aae1a1e7

Change-Id: I6c8f8c224b33c46da62c66765608b02125af8598
2017-01-04 01:37:51 +00:00
Kevin Hufnagle
fb99d1450d docs: Added descriptions of IAB subscription-specific settings. am: 145b377b38 am: 4418907d50 am: c32df53fc7
am: d7c1e9bcd0

Change-Id: I7f9ce1b661f8defca2918eece234a9c26d5f08a3
2017-01-04 01:37:00 +00:00
Kevin Hufnagle
8f8f62a499 docs: Added note - test subscriptions cannot use reserved IDs am: 98a11580ef am: c8ccc66e85 am: 1c85b504e2
am: 01e3564a0d

Change-Id: Iaed661507e97025f1b0c12aa9e808c006c184cac
2017-01-04 01:32:55 +00:00
Kevin Hufnagle
c2aae1a1e7 docs: Added note - test subscriptions cannot use reserved IDs am: 98a11580ef am: c8ccc66e85 am: 1c85b504e2
am: 01e3564a0d

Change-Id: Ic1454c9328a54777ba21cdee438e8d1bf91d5130
2017-01-04 01:32:53 +00:00
Kevin Hufnagle
d7c1e9bcd0 docs: Added descriptions of IAB subscription-specific settings. am: 145b377b38 am: 4418907d50
am: c32df53fc7

Change-Id: Ib2ac681a13b8d3b80feba803f25fdc8dbdcfe4f9
2017-01-04 01:32:24 +00:00
Kevin Hufnagle
c32df53fc7 docs: Added descriptions of IAB subscription-specific settings. am: 145b377b38
am: 4418907d50

Change-Id: I486f53410a427f373daec719bac522289d812e7a
2017-01-04 01:28:19 +00:00
Kevin Hufnagle
4418907d50 docs: Added descriptions of IAB subscription-specific settings.
am: 145b377b38

Change-Id: I1b7a0885f613beb9b7baba8a6b35b59f00989ff3
2017-01-04 01:24:24 +00:00
Kevin Hufnagle
1c85b504e2 docs: Added note - test subscriptions cannot use reserved IDs am: 98a11580ef
am: c8ccc66e85

Change-Id: Id17c38ec7f6b85bcbfaaf676bf3a2f1414fca893
2017-01-04 01:24:23 +00:00
Kevin Hufnagle
c8ccc66e85 docs: Added note - test subscriptions cannot use reserved IDs
am: 98a11580ef

Change-Id: I2c44d24b772d3df80dabab418875a1e9842aebbf
2017-01-04 01:18:47 +00:00
Kevin Hufnagle
dbe9b81ef5 Merge "docs: Added note - test subscriptions cannot use reserved IDs" into nyc-dev 2017-01-04 01:14:23 +00:00
Joe Fernandez
54aa56a5fe docs: Add deprecation message for the developer.android.com docs am: b9bd6cca9e am: 045ae0458a am: e161f75d38 am: 536dc4ecc4 am: bd7fab30dc
am: 4c7e06b361

Change-Id: I2169912d343f7ceacf9ed9f6b3874a747d398f70
2016-12-19 18:24:10 +00:00
Joe Fernandez
4c7e06b361 docs: Add deprecation message for the developer.android.com docs am: b9bd6cca9e am: 045ae0458a am: e161f75d38 am: 536dc4ecc4
am: bd7fab30dc

Change-Id: I1764cf01406aa25d009df76ce4e76e1763ab1be7
2016-12-17 05:09:37 +00:00
Joe Fernandez
206d947de9 docs: Add deprecation message for the developer.android.com docs am: b9bd6cca9e am: 045ae0458a am: e161f75d38
am: 536dc4ecc4

Change-Id: I431cc25fd1658a08497c562abefa05f55df9382f
2016-12-17 04:59:06 +00:00
Joe Fernandez
bd7fab30dc docs: Add deprecation message for the developer.android.com docs am: b9bd6cca9e am: 045ae0458a am: e161f75d38
am: 536dc4ecc4

Change-Id: I00433f2c53c4ae494082ce21a4edb63717347906
2016-12-17 04:59:05 +00:00
Joe Fernandez
e161f75d38 docs: Add deprecation message for the developer.android.com docs am: b9bd6cca9e
am: 045ae0458a

Change-Id: I2257467a9b263897d2af594720de61d29a982709
2016-12-17 04:37:05 +00:00
Joe Fernandez
045ae0458a docs: Add deprecation message for the developer.android.com docs
am: b9bd6cca9e

Change-Id: I3ba7d4519c491bdf09836f096106b4a6bc52e116
2016-12-17 04:26:02 +00:00
Joe Fernandez
b9bd6cca9e docs: Add deprecation message for the developer.android.com docs
Change-Id: Ia091df49099482696abbc3a596cf1787ca904d67
2016-12-16 18:20:56 -08: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
Alan Viverette
1026d1b8b4 Add missing API diffs for support library 25.1.0 am: f11879ae94
am: 95a1aa80ea

Change-Id: I3d1cc31d74adec78673e40df30a15c6fd212bd90
2016-12-12 20:02:30 +00:00
Alan Viverette
95a1aa80ea Add missing API diffs for support library 25.1.0
am: f11879ae94

Change-Id: I40ed7b7bdd2b3016b2fa48c114c78f244552ce1e
2016-12-12 19:55:20 +00:00
Alan Viverette
f11879ae94 Add missing API diffs for support library 25.1.0
Bug: 33457676
Change-Id: I8be25b41fe54ec3cd328373d4577ee3e292f5581
2016-12-08 21:35:05 +00:00
Alan Viverette
b9f2d6cea5 Add missing API diffs for support library 25.0.0 am: 94280c0a91
am: 6b1507c6b0

Change-Id: I6c64979fcd0873a810a17474f8c0e6c4044d05cc
2016-12-07 17:10:55 +00:00
Alan Viverette
6b1507c6b0 Add missing API diffs for support library 25.0.0
am: 94280c0a91

Change-Id: Ia5b4506fa104b161b2f65dd7820f2dec65e65232
2016-12-07 17:02:54 +00:00
Alan Viverette
94280c0a91 Add missing API diffs for support library 25.0.0
Bug: 33408968
Test: n/a
Change-Id: I497b2a24248c1511c0d6eca4d5951451e4870b83
2016-12-07 15:16:46 +00: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
4835467efa Change insecure HTTP resource link to scheme-relative link. am: fc175c08cb
am: c67ea5e3ff

Change-Id: Ia69b611a90b4c72e1cc9aa846ed12e0af685a0f4
2016-12-06 02:05:08 +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
Baligh Uddin
b1df48d326 Merge remote-tracking branch 'goog/cw-f-dev' into fix_merger
Bug: 32849428

* goog/cw-f-dev: (98 commits)
  Revert "Catch KeyStoreException for setting profile lock"
  Fix createConfirmDeviceCredentialIntent for wear for CTS.
  Fix default dialog background colour for watch devices.
  Catch KeyStoreException for setting profile lock
  Add cross-links between FINE and COARSE location permissions. bug: 25371600
  Fixed a bug with the emergency affordance in multi user
  Zygote: Additional whitelists for runtime overlay / other static resources.
  Import translations. DO NOT MERGE
  Import translations. DO NOT MERGE
  Import translations. DO NOT MERGE
  Import translations. DO NOT MERGE
  Import translations. DO NOT MERGE
  Import translations. DO NOT MERGE
  Import translations. DO NOT MERGE
  Zygote : Block SIGCHLD during fork.
  colors: add missing accent_material_{700,50} resources.
  Import translations. DO NOT MERGE
  Import translations. DO NOT MERGE
  Zygote : Block SIGCHLD during fork.
  DO NOT MERGE ANYWHERE Revert "DO NOT MERGE ANYWHERE libhwui: make setSurface asynchronous"
  ...

Change-Id: I63468da5bfa21ed9ac5985bbdbf3a61d4c389aa0
2016-11-22 17:19:45 -08:00
Makoto Onuki
890a14d399 App Shortcut: Clarify which attributes must be resources am: 104f805337 am: 2a3fe7d979 am: b0fd5ba122
am: 7e1b835a4e

Change-Id: I767dcbe980a60af1a3076acdf9234f4241ab7ca1
2016-11-11 23:54:51 +00:00
Makoto Onuki
7e1b835a4e App Shortcut: Clarify which attributes must be resources am: 104f805337 am: 2a3fe7d979
am: b0fd5ba122

Change-Id: I4780d09f8b692dbe76f1726a436f9693281fd488
2016-11-11 23:36:04 +00:00