15297 Commits

Author SHA1 Message Date
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
Makoto Onuki
2a3fe7d979 App Shortcut: Clarify which attributes must be resources
am: 104f805337

Change-Id: I85eb5652c978fe4c41059158cf1d0f180b51fdd7
2016-11-11 23:14:22 +00:00
Kevin Hufnagle
867d09fe18 Merge "App Shortcut: Clarify which attributes must be resources" into nyc-mr1-dev 2016-11-11 22:44:06 +00:00
Hemal Patel
2e594bcc74 Docs: Revised the Drawable example am: ad302b60f4 am: 32bda49ae3 am: 618d339f3c am: 972fed3d41 am: 3fb153b196
am: 6a263b9faf

Change-Id: I9a246348630e85edeac441b310326f5c216585e9
2016-11-07 23:03:25 +00:00
Hemal Patel
6a263b9faf Docs: Revised the Drawable example am: ad302b60f4 am: 32bda49ae3 am: 618d339f3c am: 972fed3d41
am: 3fb153b196

Change-Id: Ia04ece98157476b62aed61766c2b0bdb5978a592
2016-11-07 22:52:37 +00:00
Hemal Patel
618d339f3c Docs: Revised the Drawable example am: ad302b60f4
am: 32bda49ae3

Change-Id: I811bb218f83087c5dd602b4382c7496e019dcb0b
2016-11-07 22:21:07 +00:00
Hemal Patel
32bda49ae3 Docs: Revised the Drawable example
am: ad302b60f4

Change-Id: I3504dde2e7a31a50c59e3be239ae0160f84435ef
2016-11-07 22:10:59 +00:00
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
Kevin Hufnagle
98a11580ef docs: Added note - test subscriptions cannot use reserved IDs
The "Testing In-app Billing" page now includes a note which explains
that test subscription purchases must use real purchase IDs, not
any of the IDs reserved for testing one-time in-app purchases.

Bug: 27352434
Change-Id: I625178c3517ce9940bc4746d99f1d506fd5e944b
2016-10-31 15:56:50 -07:00
Kevin Hufnagle
145b377b38 docs: Added descriptions of IAB subscription-specific settings.
The "Adding items one at a time to a product list" section on the
"In-app Billing Administration" page now includes a new sub-section,
"Adding subscription details," which describes the settings that developers
can configure when creating a new subscription associated with an app.

Bug: 28765727
Change-Id: Ie24c5dc505b11ebf9db0798add1a3150eaee59bc
2016-10-31 15:07:50 -07:00
Makoto Onuki
104f805337 App Shortcut: Clarify which attributes must be resources
Test: javadoc only -- m -j32 offline-sdk-docs

Bug 32495737

Change-Id: I4c3884172761b128d07f1c2948ab7ccc53951a7e
2016-10-31 11:31:45 -07:00
Cheryl Potter
34a6b577ce docs: change gpu debugger redirect b/31781348 am: afbf16f908 am: fb4f5497b7 am: 2e7c67f3cd am: 90d300a0b1 am: 4fdbfbf48d
am: b2576a6cce

Change-Id: Ia135d813bf5bf65b52f144d25815715c0c52a48e
2016-10-25 15:29:30 +00:00
Cheryl Potter
b2576a6cce docs: change gpu debugger redirect b/31781348 am: afbf16f908 am: fb4f5497b7 am: 2e7c67f3cd am: 90d300a0b1
am: 4fdbfbf48d

Change-Id: Icd72fc57ab7a2c21509065213c8b292e2c29ed8a
2016-10-25 15:24:55 +00:00
Cheryl Potter
2e7c67f3cd docs: change gpu debugger redirect b/31781348 am: afbf16f908
am: fb4f5497b7

Change-Id: I1c550fa22586145ec949fe54ef727be814624340
2016-10-25 15:10:22 +00:00
Cheryl Potter
fb4f5497b7 docs: change gpu debugger redirect b/31781348
am: afbf16f908

Change-Id: I6fa42074ba2fe6019f0bf817a7b21650d2a0dd43
2016-10-25 15:03:23 +00:00
Cheryl Potter
afbf16f908 docs: change gpu debugger redirect
b/31781348

Change-Id: I7e374dcec975ba45b03f1cde656a438f986c5093
2016-10-24 21:29:23 -07:00
George French
81efa30831 docs: Update startService() & bindService() documentation (Proj13) am: 9748d76be9 am: e8e196d007 am: d544dc785b am: 5d1af7d918 am: 511fdef6c5
am: 434ea7aed4

Change-Id: Ie6a6ff391b7096b14d495fbb1dcca610af543ce0
2016-10-25 00:50:46 +00:00
George French
434ea7aed4 docs: Update startService() & bindService() documentation (Proj13) am: 9748d76be9 am: e8e196d007 am: d544dc785b am: 5d1af7d918
am: 511fdef6c5

Change-Id: I35750a7e88fee139b40359210086467eec3a5c48
2016-10-25 00:43:36 +00:00
George French
d544dc785b docs: Update startService() & bindService() documentation (Proj13) am: 9748d76be9
am: e8e196d007

Change-Id: I3d804611d1290eb6cf0fa525e492864220fb85fa
2016-10-25 00:26:05 +00:00
George French
e8e196d007 docs: Update startService() & bindService() documentation (Proj13)
am: 9748d76be9

Change-Id: I976128eb4c14ee2587c9cfa9c34f4b3dc006aa38
2016-10-25 00:19:33 +00: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
Daniel Yu
10fd65485b docs: Updating TIF docs for new TIF Companion library. am: e0810402fb am: f8a8260c0d am: 9ce21dc769 am: f45beedf6c am: 3d74d9933c
am: ab9e34f9cd

Change-Id: Ia531f675fa35e876d73099e1bec98d89098b6d1c
2016-10-19 18:29:42 +00:00
Yang Ni
3ac237f663 Updated API reference doc for Single-Source RS am: 51f1e93be7 am: 246b0bcc9a am: 93f0442cbd am: 29ce2a91c9
am: 8baaab047a

Change-Id: I5a8a0cbd3c86914a09ced7015978818382060332
2016-10-19 18:27:25 +00:00
Daniel Yu
ab9e34f9cd docs: Updating TIF docs for new TIF Companion library. am: e0810402fb am: f8a8260c0d am: 9ce21dc769 am: f45beedf6c
am: 3d74d9933c

Change-Id: I199d261d2dfa7d2b92f0dbe6fe7cbc2cbd8c3d64
2016-10-19 18:15:17 +00:00
Yang Ni
8baaab047a Updated API reference doc for Single-Source RS am: 51f1e93be7 am: 246b0bcc9a am: 93f0442cbd
am: 29ce2a91c9

Change-Id: If8d347e881d7260e9a762c9f588ad535c05ee8dd
2016-10-19 18:13:01 +00:00
Andrew Solovay
3cd41abd3d docs: Updating the samples "what's new" for API 7.1 am: c86db22b2f am: 630b6320eb
am: b1d1b8f02c

Change-Id: Ida776d9ba66b95a79dd5a96e552713103a70badb
2016-10-19 17:58:17 +00:00
Daniel Yu
f45beedf6c docs: Updating TIF docs for new TIF Companion library. am: e0810402fb am: f8a8260c0d
am: 9ce21dc769

Change-Id: I1066a9122bab7f3fe620bd23f17adc36559133a4
2016-10-19 17:57:11 +00:00
Daniel Yu
9ce21dc769 docs: Updating TIF docs for new TIF Companion library. am: e0810402fb
am: f8a8260c0d

Change-Id: Ida18c6b46ccff01cb6299b1774fbcc724f54712a
2016-10-19 17:51:36 +00:00
Yang Ni
93f0442cbd Updated API reference doc for Single-Source RS am: 51f1e93be7
am: 246b0bcc9a

Change-Id: I572709a23a33f0a17ad754221c27a042f9c44f2e
2016-10-19 17:51:32 +00:00
Andrew Solovay
b1d1b8f02c docs: Updating the samples "what's new" for API 7.1 am: c86db22b2f
am: 630b6320eb

Change-Id: I124e27242de6de31e6d7d33b4fc93dcb12804caf
2016-10-19 17:46:35 +00:00
Daniel Yu
f8a8260c0d docs: Updating TIF docs for new TIF Companion library.
am: e0810402fb

Change-Id: Ic44c96963d1dd172f07f6564a084ca731bf49762
2016-10-19 17:44:46 +00:00
Yang Ni
246b0bcc9a Updated API reference doc for Single-Source RS
am: 51f1e93be7

Change-Id: Ie8c820ea2d55b16f66afd53034b69d4c770d17e0
2016-10-19 17:37:39 +00:00
Andrew Solovay
630b6320eb docs: Updating the samples "what's new" for API 7.1
am: c86db22b2f

Change-Id: Ic7feef22e3337445f8dccfcb237783a40dd59099
2016-10-19 17:36:46 +00:00
Dan Yu
dc69de5ac6 Merge "docs: Updating TIF docs for new TIF Companion library." into nyc-docs 2016-10-19 17:30:46 +00:00