Commit graph

3022 commits

Author SHA1 Message Date
Neil Fuller
61522762f0 DevSite locale var update for hl url param.
Change-Id: I083009804d08246ffce4d4fe87fa9906ba5aaccc
2016-02-17 17:27:31 -05:00
smain@google.com
1c2d8c41ba move the parameter_list() method to macros_overrides
Change-Id: Ia8dcbc0cac478a9f89d90ec04a924c579bca3abb
2016-02-09 15:18:30 -08:00
smain@google.com
a0a6d3220f Revise API reference templates to make them compatible
with both DAC and DevSite. Includes a variety of cleanup and redesign.
Now prints method parameters and return values even if not documented in source.
Now prints return value data type.
Now prints method name as heading without arguments, then the full signature below.
New heading styles with more spacing and removed background color.

Change-Id: I7a991df5e8d0d7ac8ff81c20b4b4692e67eb88aa
2016-02-09 15:02:51 -08:00
Dirk Dougherty
01c63ddc2b Merge "Fix toggle icon in reference to match site-wide behavior." into mnc-docs 2016-02-06 01:45:34 +00:00
Dirk Dougherty
878d700e40 Fix toggle icon in reference to match site-wide behavior.
Change-Id: I0743cd456210921c50777a37e2cf4580f79be64d
2016-02-05 17:05:18 -08:00
Amanda Kassay
9f2d9086d6 Merge "Full width search cover width bug fix." into mnc-docs 2016-02-04 14:58:35 +00:00
Neil Fuller
3d039178d7 Remove synchronized from the public API docs
The information is not useful. Javadoc hasn't included this
information for years.

Bug: 25767152
Change-Id: Ic0a398851b90fbf85785d5cf946e7f4c1aaa4be4
(cherry picked from commit a37bdc89b4)
2016-02-03 22:10:16 +00:00
Amanda Kassay
ef8d0d2811 Full width search cover width bug fix.
Change-Id: I32531f1096a41dc9949e5eb28105fa5ae56a4d3f
2016-02-03 15:53:04 -05:00
Dirk Dougherty
82e929d57c Read sdk vars from centralized files. Fix a couple of issues in navigation labels and alignment.
Change-Id: I71da51cd20ac68ad6bc82cf8d9507cda965ec88b
2016-01-30 14:10:02 -08:00
Dirk Dougherty
6857e477f5 Merge "Read page-defined hdf vars for sdk from a central file." into mnc-docs 2016-01-30 19:07:01 +00:00
Dirk Dougherty
4eb5dacd17 Read page-defined hdf vars for sdk from a central file.
Change-Id: I3a38492c5ae44f810a720957291d7e94e1e7d8ea
2016-01-29 12:01:35 -08:00
Dirk Dougherty
6f10d4d761 Rebased Updated templates, styles, scripts for dac.
Change-Id: Ida1a7f39cb6df0255f8f9c8e96a2270a0283c59e
2016-01-28 18:28:16 -08:00
Dirk Dougherty
0dc81b905f Update templates-sdk-dev to current templates-sdk.
Change-Id: I8c3da5a59d128ab5631c86737e3ede9c7f9b8deb
2015-12-08 14:49:52 -08:00
Dirk Dougherty
8e40c00062 Rescope bg image for summit to en landing page only. Increment metadata, js, css v args.
Change-Id: I468cefe39d6b021b68411f08f81fef5813df22ec
2015-11-20 12:14:57 -08:00
Dirk Dougherty
8c28b0aa2a Add image for dev summit banner.
Change-Id: I0bf233439723b9615d0e5c377a1dca3326c524ff
2015-11-18 18:09:17 -08:00
Dirk Dougherty
a2c9b9191a Let ChangeNavLang switch lang for p as well as a element.
Change-Id: I2e9e450c8d773765b61c6967a3f6529eb29b8dc2
2015-10-16 22:14:43 +00:00
Dirk Dougherty
ad185004de Add hreflang to pages for seo across languages.
Change-Id: I0b57bdc59fd182d26d8fa19f4c2ec05bd233571e
2015-10-14 18:24:37 -07:00
smain@google.com
b63101dab4 add unique ID to each windows download link.
These IDs are necessary for the TOS wall to identify which link should be applied to the download button.

Fix for:
b/24695766

Change-Id: I1b5b8b516a5b8d7fd8433c02011cb4fb2044b71f
(cherry picked from commit 3d59345527)
2015-10-09 23:55:17 +00:00
David Friedman
819be875de Docs: Adds Vietnamese, Indonesian to DAC lang-selector.
Change-Id: I5f1050f595801197c32578e866a6b6bb97db7ed9
2015-10-05 17:13:38 -07:00
Dirk Dougherty
859c2033e0 Doc change: increment css/js v= to force cache refresh.
Change-Id: I7cb976e3c65f9dc175e3c5153433e20a79edc31a
2015-09-29 01:07:44 -07:00
Quddus Chong
439ad8b652 Merge "docs: Removed navigation heading for Develop > Preview" into mnc-mr-docs 2015-09-22 21:59:30 +00:00
Quddus Chong
2cb2f687f8 docs: Removed navigation heading for Develop > Preview
Change-Id: Id6b86346bf5bcb562c167d48f2e8b3b73d94e0de
2015-09-04 15:10:21 -07:00
smain@google.com
c509cb079d Fix bug that caused table of Studio links to result in "stand-alone" tools instructions.
bug: 23570662

Change-Id: I7482eddbeffa581307bf7f76b9653de41966b6f9
(cherry picked from commit 4ffdc8faf2)
2015-08-31 21:26:03 +00:00
smain@google.com
e0b15d46e2 fix a few bugs in the studio download button behavior:
- make button text always white (avoid blue on blue during hover)
 - revise logic to add the platform name to download button to avoid weird duplicity bug on small screens
 - remove the animation script when clicking download before agree because it reloaded the page (unkown cause)
depends on: https://googleplex-android-review.git.corp.google.com/#/c/752757/

Change-Id: I1b2b4ff9c0b0cbbd34f1c77a2b736fe3425a16e4
(cherry picked from commit ed7e864a73)
2015-08-24 16:35:32 +00:00
Dirk Dougherty
6a8f88cdec adjust image placement for m hero on medium screens.
Change-Id: I644837bf151549ad8dbbfb194f8e699233362933
2015-08-14 21:19:22 -07:00
Joe Fernandez
71e0a80c2c Merge "doc change: Add hero image for m and css for landing pages." into mnc-dev 2015-08-13 23:02:37 +00:00
Dirk Dougherty
083da20347 doc change: Add hero image for m and css for landing pages.
Change-Id: I52ddba716eebf821f8f5dbd888d6e3519f4284d4
2015-08-13 12:37:34 -07:00
Dianne Hackborn
25abc5a38e Merge "Fix issie #23116383: Include security patch level in Settings" into mnc-dev 2015-08-13 00:46:58 +00:00
Dianne Hackborn
e593e5c42a Fix issie #23116383: Include security patch level in Settings
Change-Id: I46303c064d1365781a2c8a05bd6087518afb2aec
2015-08-12 16:29:08 -07:00
Omari Stephens
a76428792f Add the ability to display annotations in the generated docs
(cherry-picked from commit 87c44d8a11)
Bug: 8440225
Change-Id: I41c1c7909b283832b818b8860ffe370cd4328f20
2015-08-10 17:48:08 -07:00
Tao Bao
cce673b675 Read fstab from the source build.
When creating incremental OTAs, we should always use the fstab from the
source build instead of the target.

Bug: 21948974
Change-Id: I8b6a18f64b412f782184f9d382544ed0ce093fb4
(cherry picked from commit dd24da9ec9)
2015-07-29 14:30:08 -07:00
Tao Bao
7f8ecb7f5c Merge "Zero out blocks that may be touched by dm-verity." into mnc-dev 2015-07-10 20:44:25 +00:00
Tao Bao
2fd2c9bfd6 Zero out blocks that may be touched by dm-verity.
dm-verity may touch some blocks that are not in the care_map due to
block device read-ahead. It will fail if such blocks contain
non-zeroes. As a workaround, we mark them as extended blocks and
zero out explicitly to avoid dm-verity failures.

Bug: 20881595
Change-Id: I54e24e70ad822c0d6d7af43301f74d24505f4461
2015-07-10 12:16:56 -07:00
Thierry Strudel
74a81e6633 fix device specific fs_config on build server
fs_config function from libcutils, in order to properly set the xattr FS
used to define device specific uid, gid, permissions and capabilities,
now needs TARGET_OUT make variable to be passed explicitly to all tools
using it:
  fs_config
  fs_get_stats used by mktarball.sh
  make_ext4fs used by mkuserimg.sh
  mksquashfs used by mksquashfsimage.sh

Bug: 21989305
Bug: 22048934
Change-Id: I6caf9cf870882fce2ead93027767092c29b75ded
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2015-07-10 10:55:54 -07:00
Dirk Dougherty
26b3ec5a68 am 0da02191: am aee6585c: Update js/css versions and add pt-br.
* commit '0da02191ccc2030a3b4ac81500fdcabb72570049':
  Update js/css versions and add pt-br.
2015-07-08 11:44:24 +00:00
Dirk Dougherty
0da02191cc am aee6585c: Update js/css versions and add pt-br.
* commit 'aee6585c3237b11f33b83e9dd96d93449e3e2259':
  Update js/css versions and add pt-br.
2015-07-08 11:29:45 +00:00
Dirk Dougherty
bb18cb1a0c am 4187cee6: am 0b9e204d: Support matching unicode characters in suggestions by changing match(regex) to indexOf(string).
* commit '4187cee61b234a135ae2a62c876681a92e911893':
  Support matching unicode characters in suggestions by changing match(regex) to indexOf(string).
2015-07-08 11:21:57 +00:00
Dirk Dougherty
aee6585c32 Update js/css versions and add pt-br.
Change-Id: I0c5f8c8a3c77283e7f53d1c241d09aa39bca4292
2015-07-08 04:12:19 -07:00
Dirk Dougherty
4187cee61b am 0b9e204d: Support matching unicode characters in suggestions by changing match(regex) to indexOf(string).
* commit '0b9e204df09d9630db24f61bb427110501df6743':
  Support matching unicode characters in suggestions by changing match(regex) to indexOf(string).
2015-07-08 11:06:54 +00:00
Dirk Dougherty
0b9e204df0 Support matching unicode characters in suggestions by changing match(regex) to indexOf(string).
Change-Id: I460a5cb43e4be6ff552a7b2d41b6d3957f2d02a2
2015-07-02 14:21:55 -07:00
Tao Bao
41bcf3e425 Fix build.
Change-Id: Id3eb4821a3c3061063a00294bfa268693c773eb8
2015-07-01 19:38:34 -07:00
Tao Bao
8bd720257e resolved conflicts for merge of 8787cd6d to mnc-dev
Change-Id: I19497d05a021c21c905b2bddd5b36d370dc2208f
2015-07-01 18:06:33 -07:00
Tao Bao
608d9d2452 am 1aa1af0e: sparse_img.py: Don\'t write empty map groups.
* commit '1aa1af0e997699bc025e4f0a754692068328d7e6':
  sparse_img.py: Don't write empty map groups.
2015-07-02 00:47:51 +00:00
Simon Wilson
e416a41f3a am 16401ad4: Revert "sparse_img.py: Don\'t write empty map groups."
* commit '16401ad4256178fbe7a2cd8588e6dbf9a6c63180':
  Revert "sparse_img.py: Don't write empty map groups."
2015-07-02 00:47:50 +00:00
Tao Bao
8787cd6d4e resolved conflicts for merge of 7f9470cd to lmp-mr1-ub-dev
Change-Id: Icfc94fcc4178f5fbfad62df9914c84d59d140bb7
2015-07-01 17:44:53 -07:00
Tao Bao
1aa1af0e99 sparse_img.py: Don't write empty map groups.
In certain cases, we may have no mapping of ZERO or NONZERO blocks in
the image (such as squashfs at the moment). Don't write those groups if
they are empty.

Change-Id: I4a1f0105ada2e1573c3d6162457b83725e0d8971
2015-07-01 11:24:30 -07:00
Simon Wilson
16401ad425 Revert "sparse_img.py: Don't write empty map groups."
This reverts commit 7f9470cda3.

Change-Id: I97e2859903fbc4f1e6f0824269ae88b23f63e032
2015-07-01 18:10:28 +00:00
Tao Bao
7f9470cda3 sparse_img.py: Don't write empty map groups.
In certain cases, we may have no mapping of ZERO or NONZERO blocks in
the image (such as squashfs at the moment). Don't write those groups if
they are empty.

Change-Id: I82aa05fbbd79130b08868585edd5298e531c4f5a
2015-07-01 10:10:31 -07:00
Tao Bao
c7a6f1e4f8 Retry adjusting the size computation for reserved blocks.
Due to the change in https://lwn.net/Articles/546473/, kernel reserves a
few extra blocks (lesser of 2% and 4096 blocks) on ext4 FS which leads to
OTA update failures. Adjust the size computation if the device has
BOARD_HAS_EXT4_RESERVED_BLOCKS := true.

It amends the last attemp in [1]. Now it computes the used blocks from the
make_ext4fs output, instead of altering its argument.

[1]: commit efbb5d2e69.

Bug: 21522719
Bug: 22023465
Bug: 22174684
Change-Id: I9783a51abe6581ff5c75db81e78ac606d0f32c4c
2015-06-29 20:45:53 -07:00
Tao Bao
2384d01c1c Revert "Adjust the size computation for reserved blocks"
We should not change the parameter to mkfs_ext4. Bug filed at
b/22174684. Will come up with a new CL.

This reverts commit efbb5d2e69.

Change-Id: I15f7a9a07a65a936ba186d2ce672ec4832ed3e17
2015-06-29 12:55:38 -07:00