Skip to content
Snippets Groups Projects
  1. Mar 23, 2020
  2. Jan 21, 2020
    • Eino-Ville Talvala's avatar
      Camera: Add android.scaler.rotateAndCrop control · a9b1d60f
      Eino-Ville Talvala authored
      Intended for backward compatibility support for camera apps that do
      not handle multi-window scenarios like inset portrait or foldables
      with dynamic screen changes.
      
      Test: New CTS tests pass
      Bug: 134631897
      Change-Id: I1cc85d4413e6af2b490b86916933a5cd7ce84a6a
      a9b1d60f
  3. Jan 07, 2020
  4. Mar 19, 2019
  5. Mar 18, 2019
  6. Dec 10, 2018
    • Nader Jawad's avatar
      Added support for additional Blend Modes · 55e49d88
      Nader Jawad authored
      Created new BlendMode enum that maps to XferModes with additional
      supported native values that map to SkBlendMode constants
      Created new BlendModeColorFilter
      Deprecated PorterDuffColorMode and PorterDuffColorFilter in
      favor of BlendMode and BlendModeColorFilter.
      Updated Paint API to use setBlendMode and deprecated setXfermode
      
      Bug: 119671925
      Bug: 112166079
      Bug: 73224934
      Test: Added CTS tests for BlendMode and BlendModeColorFilter
      Change-Id: Idd50e2f0b81975c5ecf6f1c0edd4eb68198d9131
      55e49d88
  7. Jun 07, 2018
  8. May 29, 2018
  9. May 03, 2018
  10. Mar 28, 2018
  11. Mar 24, 2018
    • Siyamed Sinir's avatar
      Update baseline api docs · 07457d42
      Siyamed Sinir authored
      * add an image for better description
      * add constraints between TextView height and padding
      * fix broken link (getLineSpacing)
      
      Test: make -offline-sdk-docs
      Test: Visual inspection on generated doc, screenshot attached to ticket
      Bug: 74032223
      Change-Id: I34b91454d3a43f8cb5a450c8d34de9f1abde0d52
      07457d42
  12. Mar 15, 2018
  13. Feb 03, 2018
  14. Jan 31, 2018
  15. Jan 25, 2018
  16. Jan 23, 2018
  17. Jan 22, 2018
  18. Jan 19, 2018
  19. Jan 08, 2018
    • Andrew Solovay's avatar
      docs: Adding file to support staging reference docs · c40eccd9
      Andrew Solovay authored
      We use the devsite tool to stage reference docs for review (to
      go/dac-stage). That tool is currently broken, because it's expecting
      to find a _reference-head-tags.html file which currently exists in
      Piper but not in Gerrit. Copying that file into Gerrit lets us
      build the Javadocs and stage them. (Files in p/f/b/docs don't
      generally affect anything outside of the doc builds.)
      
      Tested by building docs and staging Adapter.html to:
      go/dac-stage/reference/android/widget/Adapter.html
      
      Test: make ds-docs
      Bug: 71717397
      Change-Id: I05430f2d9f23e62b4423b2d6f304c4be1c43b880
      c40eccd9
  20. Nov 15, 2017
    • Eino-Ville Talvala's avatar
      Camera2: Update generated docs to latest version · 9dc7ec1f
      Eino-Ville Talvala authored
      - Move camera reference doc images to /reference/images
      - Minor formatting changes due to merging SDK/NDK metadata definitions
      - Minor wording changes for the same
      
      Bug: 69175492
      Bug: 29102963
      Bug: 33262893
      Test: Build and manual inspection of generated docs diff
      Change-Id: Ieaf0c1943eba378cc94a22d184734602c40e25e7
      9dc7ec1f
  21. Apr 18, 2017
    • Andrew Solovay's avatar
      docs: Restoring file to allow staging reference docs from Gerrit · c5a8efde
      Andrew Solovay authored
      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
      c5a8efde
  22. Apr 01, 2017
    • Romain Guy's avatar
      Documentation for PorterDuffXfermode · c7dacca0
      Romain Guy authored
      It tooks 10 years, but better late than never!
      
      Bug: 32984164
      Test: Compiled documentation and checked in Chrome
      Change-Id: I6dfd7fba6d3077f8c774b203589083bdbc15f9d2
      c7dacca0
  23. Mar 23, 2017
    • Andrew Solovay's avatar
      Cherrypicked from nyc-mr1-dev docs: Removing Android docs from Gerrit · 205e3264
      Andrew Solovay authored
      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.
      
      Change-Id: Ic74c3f97f9620daf23543930a8b7ed1386f4d172
      
      Bug: 35849713
      205e3264
  24. Mar 22, 2017
    • Andrew Solovay's avatar
      docs: Removing Android dev docs from Gerrit · ecf81768
      Andrew Solovay authored
      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.
      
      Merged to master to resolve conflict.
      Merged-In: Ic74c3f97f9620daf23543930a8b7ed1386f4d172
      
      Bug: 35849713
      Change-Id: I5331cdc968be817ff70ba32dd03fce76493a6ab8
      ecf81768
  25. Mar 21, 2017
    • Andrew Solovay's avatar
      cherry-pick from nyc-mr1-dev docs: Removing Android docs from Gerrit · 63050947
      Andrew Solovay authored
      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
      63050947
  26. Mar 17, 2017
  27. Jan 26, 2017
  28. Jan 20, 2017
  29. Jan 11, 2017
  30. Jan 05, 2017
  31. Dec 17, 2016
  32. Dec 16, 2016
    • Romain Guy's avatar
      Add new RGBA_F16 bitmap config · 9505a655
      Romain Guy authored
      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
      9505a655
  33. Dec 08, 2016
  34. Dec 07, 2016
  35. Dec 01, 2016
  36. Nov 30, 2016
    • Romain Guy's avatar
      Add API to visualize/debug/compare color spaces and colors · 15296a2d
      Romain Guy authored
      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
      15296a2d
  37. Nov 29, 2016
  38. Nov 05, 2016
  39. Oct 31, 2016
    • Kevin Hufnagle's avatar
      docs: Added note - test subscriptions cannot use reserved IDs · 98a11580
      Kevin Hufnagle authored
      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
      98a11580
Loading