Commit Graph

2965 Commits

Author SHA1 Message Date
Hemal Patel
80956c99b1 Merge "Docs: Revised the Drawable example" into nyc-dev 2016-11-07 21:57:49 +00:00
Hemal Patel
ad302b60f4 Docs: Revised the Drawable example
Revised the Drawable example with VectorDrawable-friendly example

Bug: 18009084
Change-Id: Ia6d0ad46a352601c7032244b17d28b9dd690de1d
2016-11-04 17:08:11 -07:00
George French
9748d76be9 docs: Update startService() & bindService() documentation (Proj13)
Updated Update startService() and bindService() docs to mention that they
no longer support implicit intent. And mentioned that the  Intellegent
job scheduling is now the preferred method for launching services.
We also performed a copy edit, implementing Google styles.

Bug:  18333456
Change-Id: I2b2ec666be870aea15045d30fbc822256d1b9a81
2016-10-24 11:49:41 -07:00
Yang Ni
6aee6e9ca8 Merge "Updated API reference doc for Single-Source RS" into nyc-dev 2016-10-19 17:26:00 +00:00
Hemal Patel
91690d0c68 Merge "Docs: Fixed the code sample" into nyc-dev 2016-09-30 22:27:57 +00:00
Mark Lu
d93a31bbe0 Merge "Docs: Updates to backup documentation" into nyc-dev 2016-09-30 21:40:32 +00:00
Mark Lu
f0968050f6 Docs: Updates to backup documentation
Change-Id: I9349e5f8585687b1159f13029b6c13b89dafd8c9
2016-09-30 13:36:50 -07:00
Joe Fernandez
356348d9e8 Merge "docs: Fixed attribute mismatch between XML and Java code samples for a "Clip" drawable." into nyc-dev 2016-09-30 15:36:07 +00:00
Hemal Patel
a80822a98b Docs: Fixed the code sample
Added permission in the code sample

Bug: 8770919
Change-Id: I5321100938bb876c3c061781f14c07ad9ca53180
2016-09-29 14:53:27 -07:00
Mark Lu
7e8a5e8aa9 Merge "docs: update docs for the multiprocess attribute in provider element" into nyc-dev 2016-09-29 02:55:01 +00:00
Kevin Hufnagle
de85f4d045 Merge "docs: Fixed broken link to "Picture-in-Picture" training guide within "Multi-Window Support" page." into nyc-dev 2016-09-28 20:09:59 +00:00
Andrew Solovay
c7c7c20b2f Merge "docs: Removed support libraries from API Guide TOC" into nyc-dev 2016-09-27 22:52:31 +00:00
Eric Schmidt
d780260f10 Merge "docs: Update BroadcastReceiver docs for performance" into nyc-dev 2016-09-27 21:42:06 +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
aacd1ba6a7 docs: Fixed attribute mismatch between XML and Java code samples for
a "Clip" drawable.

Both code samples now reference the clip drawable itself as an
ImageView object's background, not its drawable.

Bug: 31658431
Change-Id: If42cf877ba151e989c344a591a642116979f56d1
2016-09-26 19:28:37 -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
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
Yang Ni
51f1e93be7 Updated API reference doc for Single-Source RS
Bug: 29544612
Bug: 29879448

This is auto-generated by running frameworks/rs/api/generate.sh, but
only for rsForEach() and rsCreateAllocation().
Editings to the .spec files in frameworks/rs/api were made based on
feedbacks here.

Staging server:
http://yangni.mtv.corp.google.com/guide/topics/renderscript/reference/rs_for_each.html
http://yangni.mtv.corp.google.com/guide/topics/renderscript/reference/rs_allocation_create.html

Change-Id: I072f2f3fffaa9a1a2af101fa8061f61089daf208
2016-09-02 16:04:34 -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
Mark Lu
656fde1875 docs: update docs for the multiprocess attribute in provider element
Bug: 7625079
Change-Id: I671c703c91fc5623ebc3d0645cb7017eb285d27b
2016-08-31 12:55:22 -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