Commit Graph

2955 Commits

Author SHA1 Message Date
Kevin Hufnagle
68af2452aa docs: Fixed broken link to "Picture-in-Picture" training guide within "Multi-Window Support" page.
am: b960272cc4

Change-Id: Iab1ab6556c6e3485d706fcf3e6c2bb25758d37b2
2016-09-28 20:17:27 +00:00
Andrew Solovay
c390412350 docs: Removed support libraries from API Guide TOC
am: 61f956cc25

Change-Id: Ie6bb20af4af2370ef820613b92e9c6053d761ad2
2016-09-27 22:57:56 +00:00
Eric Schmidt
113cdca9fd docs: Update BroadcastReceiver docs for performance
am: 8cf3c1b532

Change-Id: I7c6647a7cf1be2f9af42c8f087916f7692dab2d5
2016-09-27 21:51:57 +00:00
Andrew Solovay
61f956cc25 docs: Removed support libraries from API Guide TOC
See (e.g.) TOC on http://go/dods-stage/guide/ to verify it.
Previously (e.g. on https://developer.android.com/guide/ )
you'd see a "Libaries" menu item between "Data Storage" and
"Administration"; that's gone now.

Already made this change in Critique (http://cr/134027548) but since
we're still publishing docs from Gerrit, thought it's best to
back-port this change.

bug: 31607475
Change-Id: I40ff0bebf76305dcad3ef0fc6fbe271b4a625a57
2016-09-27 11:41:34 -07:00
Eric Schmidt
8cf3c1b532 docs: Update BroadcastReceiver docs for performance
Bug: 30746266
Change-Id: I6d1537872918d955ab11d8596c6c96c64fe4f786
2016-09-27 10:55:38 -07:00
Kevin Hufnagle
b960272cc4 docs: Fixed broken link to "Picture-in-Picture" training guide within
"Multi-Window Support" page.

Bug: 31750518
Change-Id: Ib23093a88a7c5df13cce04e6b2ea55f2d8547910
2016-09-26 16:50:35 -07:00
Kevin Hufnagle
fb61922063 docs: Fixed syntax error in "Content URI patterns" code sample
am: 0355128699

Change-Id: I972ccb7b06910de046459653c405a3f9ab848668
2016-09-26 23:29:21 +00:00
Kevin Hufnagle
69e4872401 docs: Revised "activity launched with NFC intent" code sample to demonstrate using onNewIntent() in these situations
am: bd66ef7f2f

Change-Id: Ie529ad5adcddeef400d9eb3dec5f31cafa677dbe
2016-09-26 23:18:43 +00:00
Kevin Hufnagle
0bf02f3d48 docs: Wi-Fi settings example now uses Settings constant correctly
am: 4d215ad49c

Change-Id: I70db3b4cc271b0860c59fb8365f468a930c75fd9
2016-09-26 22:56:50 +00:00
Kevin Hufnagle
f2017e60ac Merge "docs: Fixed syntax error in "Content URI patterns" code sample" into nyc-dev 2016-09-26 22:53:15 +00:00
Kevin Hufnagle
0f290c9683 Merge "docs: Revised "activity launched with NFC intent" code sample to demonstrate using onNewIntent() in these situations" into nyc-dev 2016-09-26 22:47:43 +00:00
Kevin Hufnagle
fbc19ba2ca Merge "docs: Wi-Fi settings example now uses Settings constant correctly" into nyc-dev 2016-09-26 22:36:40 +00:00
Hemal Patel
ff9f8985d0 Docs: Added contents for Vector Drawables
am: b4bab2d0ee

Change-Id: Ic7e9e869586e764896184ae0a3ba39d909b9702b
2016-09-26 20:53:03 +00:00
TreeHugger Robot
fd0a31c0aa Merge "Docs: Fix missing space" into nyc-dev 2016-09-26 15:22:57 +00:00
Hemal Patel
b4bab2d0ee Docs: Added contents for Vector Drawables
Added contents to give an overview of VectorDrawables and
AnimatedVectorDrawables. For better understanding, added two graphic
files to explain the overall working of the XML file and the graphic
that is rendered as an output of the XML file.

Bug: 28072772
Change-Id: I9b6513c4b6e5aec59f45155963ff732fdd7b5784
2016-09-23 16:00:08 -07:00
Mark Lu
dc24613bf3 Merge "docs: update docs for uses-feature element" into nyc-dev 2016-09-23 22:10:23 +00:00
Mark Lu
c6a1076e40 Merge "docs: Mention SwitchCompat in Switch and toggle documentation" into nyc-dev 2016-09-23 21:47:31 +00:00
Kevin Hufnagle
0355128699 docs: Fixed syntax error in "Content URI patterns" code sample
Bug: 31624162
Change-Id: Id1720c3ebb6eff22384a48d8c1a4ed56abde00f4
2016-09-21 19:51:32 -07:00
Elliot Waite
7c70fed347 Revert fixed at links.
This reverts commit c4ae7827e2.

Change-Id: I65729721ced7fc04d0b9691b63520007adddee29
2016-09-21 16:38:02 -07:00
Josh Horwich
999fe148e4 Docs: Fix missing space
A space got lost when this document got edited recently, this
simply puts it back.

Bug: None
Test: None
Change-Id: I87ee55322d90f6113c3611050d5f5ce1a43bdccb
2016-09-21 14:04:43 -07:00
Eric Schmidt
52fd8f88e1 Merge "docs: Fixed language directory issue localization" into nyc-dev 2016-09-19 19:47:22 +00:00
Kevin Hufnagle
bd66ef7f2f docs: Revised "activity launched with NFC intent" code sample to
demonstrate using onNewIntent() in these situations

Bug: 17129447
Change-Id: I6e60b273f8138be918708f59402866ae617af0cb
2016-09-19 12:45:31 -07:00
Joe Fernandez
1294dde183 docs: Clarification for location permissions and location hardware
b/28052540

Change-Id: I54fa08a3339c1d373164a003a02adeed156fa331
2016-09-16 14:35:05 -07:00
Eric Schmidt
8350cbf824 docs: Fixed language directory issue localization
Bug: 31096141
Change-Id: I571669b752e89f252c80f87ba04a70a81b5f94fd
2016-09-14 14:42:22 -07:00
Kevin Hufnagle
0090727d95 docs: Added note about permission/feature changes with network/GPS.
As of API level 21, the ACCESS_COARSE_LOCATION permission no longer
implies the android.hardware.location.network feature, and the
ACCESS_FINE_LOCATION permission no longer implies the
android.hardware.location.gps feature. Updated several docs
accordingly.

Bug: 28052540
Change-Id: Ia86dfd390f85c7a99b50af862d5096f0ac64a133
2016-09-08 15:53:15 -07:00
Mark Lu
b463a6db08 docs: update docs for uses-feature element
Specifically, update the location of the aapt tool.

Bug: 29007625
Change-Id: I27d7aa02d9b857ea1c61424d1601b0a3b65e48bd
2016-09-02 10:20:20 -07:00
Mark Lu
3404032dfc docs: Mention SwitchCompat in Switch and toggle documentation
Bug: 19574556
Change-Id: I2ebb504b144a442d90cfdf6ab4b407726a3b896f
2016-09-02 10:13:17 -07:00
Andrew Solovay
0b423e5eae docs: Typo fix in multi-window docs
Referred to the "android:resizableActivity" property; should
have been "android:resizeableactivity". English prose, however,
consistently uses the (preferred) spelling "resizable".

See first comment for stage location.

bug: 30566808
Change-Id: I2570ff9269b4d2dc8b11f1c98817e50726be78fc
2016-08-31 19:37:25 -07:00
Kevin Hufnagle
4d215ad49c docs: Wi-Fi settings example now uses Settings constant correctly
The constant ACTION_WIFI_SETTINGS is part of the Settings class, not
the Intent class. An example intent for opening settings has been
changed to reflect this class structure.

Bug: 17464977
Change-Id: I160354a11392ad001c127525983a1b84a4dfbe00
2016-08-30 17:24:20 -07:00
Mark Goldstein
3f97bc25d4 docs: Fix broken camera example
Removed bad out of date instructions and link to better
training pages instead.

Bug: 15562334
Change-Id: I77fe558e665de509eb11a2c668ba7bdcdbab3c6f
2016-08-29 15:55:31 -07:00
Yang Ni
c069ed7f8c Updated user document for Single-Source RenderScript
Bug: 29875503
Bug: 29879448

Added a section introducing the new single-source feature.

Local staging:
http://yangni.mtv.corp.google.com/guide/topics/renderscript/compute.html

This updates
https://developer.android.com/guide/topics/renderscript/compute.html

Change-Id: I62dda3ab60b1678a9580fd2873f64f33d9696e13
2016-08-22 23:33:13 +00:00
Dirk Dougherty
b0ca00431f Doc change: updates for final N landing page and related resources.
Change-Id: Ieeb3dd74a889d6c0118e4ca8575abdaddcde7e73
2016-08-19 19:38:47 -07:00
Hemal Patel
00ff40145d Docs: Renamed Google Now to Google Voice Actions
am: 86bbfaabdd

Change-Id: If177e10f331ca5ade62005337956b0fa81a90f26
2016-08-17 19:37:14 +00:00
David Gross
8cb4ca439e Merge "Update RenderScript docs: reduction, other API 23/24 changes, cleanup." into nyc-dev 2016-08-15 17:17:02 +00:00
David Gross
b50e856fc7 Update RenderScript docs: reduction, other API 23/24 changes, cleanup.
Substantive changes:
- Add discussion of reduction kernels.
- Use RS_KERNEL in place of __attribute__((kernel)).
- Discuss "context" special argument.
- Special arguments x, y, z may be of type int.
- Discuss multiple inputs for mapping kernels.
- Mention that script-side global writes are not visible in Java.
- Rewrite part of discussion regarding when to use support library.
- Change minimum device version for support library from Android 2.2 (API level 8)
  to Android 2.3 (API level 9).

Stylistic changes (better conformance with style guide):
- Proper use of <i> (italic) versus <em> (emphasis).
- Proper case for headings.
- Proper pattern for Android version numbers.
- Do not use e.g. or i.e.
- Prefer active rather than passive voice.
- Prefer present rather than future tense.

Miscellaneous minor editorial changes.

Bug: 27299393
Bug: 30000147

Change-Id: Ie0a26152714cf8f619d4914218f7262d675bb25f
(cherry picked from commit 05eef3040e)
2016-08-12 11:06:29 -07:00
Hemal Patel
ca17f5b8e3 Docs: Changed custom_toast to toast_layout
am: 3b7309d753

Change-Id: I3d85fb321e27643227c568127870c7ad07650c41
2016-08-09 21:03:00 +00:00
Hemal Patel
a70c722c77 Merge "Docs: Changed custom_toast to toast_layout" into nyc-docs 2016-08-09 20:53:12 +00:00
Hemal Patel
86bbfaabdd Docs: Renamed Google Now to Google Voice Actions
This commit contains the following changes:
- Renamed instances of Google Now to Google Voice Actions
- Removed the Intents fired by Google Now section as it is obselete
- Added link to the Google Voice Actions page
- Changed the voice-icon.png's reference link to the System Actions reference
  section on the Google Voice Actions page
- Revised the HTML comment and local CSS by replacing Google Now box with
  Google Voice Actions box.

Bug: 19501778
Change-Id: I3e4364aaceaff4f5bceb090dd4f8da548dfa5c30
2016-08-08 13:05:42 -07:00
Hemal Patel
611f50d62f Docs: Fixed info about spanning multiple columns
am: 64e88cd296

Change-Id: I8c4219e946fddbfc023bbe77549cc12fc0b6bd3a
2016-08-04 19:43:18 +00:00
Hemal Patel
ca7eee3d11 Merge "Docs: Fixed info about spanning multiple columns" into nyc-docs 2016-08-04 19:38:42 +00:00
Kevin Hufnagle
178caa888f docs: Added page on DAC describing ARC manifest file considerations.
Bug: 30114799
Change-Id: I9b8d67d09e4627f22a9fc58421dd52aa3650c235
(cherry picked from commit 97a3d3c3a6)
2016-08-03 23:31:54 +00:00
Hemal Patel
64e88cd296 Docs: Fixed info about spanning multiple columns
Corrected the information related to the spanning of multiple columns.
As per the reference documentation, cells can span multiple columns. Added
information about how to span multiple columns and provided a reference
link for more details.

Bug: 24760839
Change-Id: I32d51d27db94f61dfa83f7fe1fe94ca58708a2d0
2016-08-03 14:28:38 -07:00
Kevin Hufnagle
97a3d3c3a6 docs: Added page on DAC describing ARC manifest file considerations.
Bug: 30114799
Change-Id: I9b8d67d09e4627f22a9fc58421dd52aa3650c235
2016-08-02 22:11:02 -07:00
Hemal Patel
3b7309d753 Docs: Changed custom_toast to toast_layout
Bug: 18909456
Change-Id: Ib3f79436421e5bdbd6ebd18563da081a751ea0e0
2016-08-02 14:47:19 -07:00
Adarsh Fernando
0ead099a87 Docs: fix broken image link in platforms architecture doc
Change-Id: Ie6a9f6c475633336b45cb74719c2cf0724e54971
2016-07-28 14:59:05 -07:00
Adam Lesinski
d779894510 Fix nesting of sample XML code in complex-resources doc
am: 79a5b91d0d

Change-Id: I6c2e2aabf079005df5dc0eea8bcaa04f6438c3fc
2016-07-28 19:31:27 +00:00
Adam Lesinski
79a5b91d0d Fix nesting of sample XML code in complex-resources doc
Bug:30447181
Change-Id: Icea1580f6d919585d488befd62bfa16be7b4a0a6
(cherry picked from commit 4d1e2adf60)
2016-07-28 19:06:53 +00:00
Dirk Dougherty
340a59c77b Doc change: remove notifications guidelines page and redirect to material spec.
am: 9bb0869926

Change-Id: Ie41e3665d31bd44b4a4cfbcf6c50f72efd30a17d
2016-07-28 01:13:34 +00:00
Dirk Dougherty
9bb0869926 Doc change: remove notifications guidelines page and redirect to material spec.
Bug-Id: 28768849
Change-Id: I8f73a3023ae7648cf89d2e31f0cf055195da2bd7
2016-07-28 01:02:39 +00:00
Andrew Solovay
7e7924b074 docs: Fixed bad link to cloud-backup training class
am: c02411f38d

Change-Id: I407879f4ec8fbdfae3551c042dc30e38384ef235
2016-07-28 00:30:37 +00:00