1. 04 Aug, 2011 1 commit
    • Michael Kolb's avatar
      remove font cache log msg · 00f5211d
      Michael Kolb authored
             Bug: 5122491
             Remove font cache purge log message
      
      Change-Id: Ib5a23433b8cb1402c96b8d510ed875be7400c80c
      00f5211d
  2. 26 Jul, 2011 2 commits
  3. 21 Jul, 2011 1 commit
    • Vikas Arora's avatar
      Add image cropping support in Skia-WebP decoder. · 8c52c218
      Vikas Arora authored
      Implement virtual methods 'onBuildTileIndex' & 'onDecodeRegion' for
      supporting image cropping for Skia-WebP image Decoder.
      Utilize the native rescaling+Cropping capability of WebP-Decoder to
      implement image cropping.
      - Incorporated code comments from Pascal.
      - Found one bug w.r.t setting SampleSize. Rectifying that in this patch.
      
      Change-Id: Ib7b04129a65ed17f845d0600f3553b9b24846838
      8c52c218
  4. 18 Jul, 2011 1 commit
    • Vikas Arora's avatar
      Implement on-the-fly image resizing (down-scaling). · c5013e38
      Vikas Arora authored
      Implement on-the-fly image resizing (down-scaling) for WebP images.
      The image decoder is aware of the device memory constriant via
      SampleSize set by the application like Webkit/WebCore.
      sampleSize=1 implies no down-scaling. Likewise, SampleSize=2 implies
      resizing image width & height by a factor of '1/2', resulting in '1/4'th
      size for the decoded image.
      SampleSize is merely a hint from the application to the decoder. Decoder
      may choose to ignore this hint and decode the image at full scale.
      Native WebP image decoder (new APIs) supports on-the-fly resizing.
      Making the Skia-WebP decoder 'SampleSize' aware and implementing the
      on-the-fly resizing in this change.
      
      Change-Id: Ibbd62baf4a6ad2d3904aafb22807f4513641e64c
      c5013e38
  5. 15 Jul, 2011 2 commits
    • Chet Haase's avatar
      42ab963d
    • Chet Haase's avatar
      Read font info from system config files · 9c0ebce1
      Chet Haase authored
      This change adds new files in /system/etc: system_fonts.xml and
      fallback_fonts.xml. The change also allows a third file to be added
      by vendors in /vendor/etc/fallback_fonts.xml. These files, loaded at
      boot time, mimic the logic that used to be in code, but which is
      now configurable through editing these files, making the system more
      flexible and easy to work with for us and vendors as future fonts
      are added to the system.
      
      Change-Id: Iac0af4924ca0454c6dde4d53058b1425200ed4b7
      9c0ebce1
  6. 14 Jul, 2011 1 commit
    • Vikas Arora's avatar
      Use the WebP native color-modes for Skia-WebP-Decoder. · 13f6c47b
      Vikas Arora authored
      Remove the custom code for decoding WebP image. Use the native
      color-modes RGBA, RGBA_4444 & RGB_565 for Skia-WebP-Decoder class.
      - Removed other dead code as well.
      
      Change-Id: I414778b71aaea754d92ed6b07ebd7b6336e1f102
      13f6c47b
  7. 12 Jul, 2011 2 commits
  8. 11 Jul, 2011 1 commit
  9. 07 Jul, 2011 4 commits
    • Russell Brenner's avatar
      Add null-check in remove_from_family() · 8af39c6f
      Russell Brenner authored
      An invalid face is not expected here, but still should not be allowed
      to crash.
      
      Bug: 5002710
      Change-Id: Ifd11e918f968d5eef67932e514ea6754819fb7a5
      8af39c6f
    • Russell Brenner's avatar
    • Russell Brenner's avatar
      Restored null-check in SkFontHost::NextLogicalFont · 04b5451c
      Russell Brenner authored
      This updated line was to have been included in CL 118811, but some
      bad gerrit-fu caused it to go amiss.
      
      Bug: 4390209
      Change-Id: Ia7b8e2849cfae3cdfbebc09a91fe26f2355f1ebb
      04b5451c
    • Vikas Arora's avatar
      Add support for WebP incremental decoding. · 82ed3807
      Vikas Arora authored
      Updated the Android-Skia-WebP decoder with following changes:
      - Added support for incremental WebP decoding. So instead of allocating
        input buffer corresponding to the whole image (could be few MBs), the
        input is read iteratively in a buffer size of 64KB.
      - Refactored onDecode method (O(200) lines) to a smaller (O(30) lines)
        method with 2-3 helper functions.
      - Removed low (byte-level) parsing from this code and calling WebP
        public APIs for the same (like WebPGetInfo).
      - Incorporated Pascal's feedback.
      - Few more feedback from Pascal.
      Change-Id: I104822ec3922eca1efc19422908f07770c4c140b
      82ed3807
  10. 06 Jul, 2011 2 commits
    • Russell Brenner's avatar
      Add Droid Ethiopic to fallback list · 9b37d411
      Russell Brenner authored
      Regular and Bold styles are now included in the fallback list.
      
      Bug: 4902641
      Change-Id: Ia88dedb136ab00dee3ae4e4cc5552e0d3a743f13
      9b37d411
    • Russell Brenner's avatar
      Allow multiple styles for fallback fonts · 792a256a
      Russell Brenner authored
      Fallback fonts are now recorded with their styles in the list of
      available fonts (which is now a doubly-linked list). NextLogicalFont()
      has a new parameter, providing the originally requested fontID, from
      which we can determine the requested style, which we then pass to
      find_best_face() to pick from the available styles.
      
      SkFontHost::NextLogicalFont() no longer assumes that origFontID is
      valid (see http://b/issue?id=4980240).
      
      Bug: 4390209
      Change-Id: I2e600f7eb75d207e95bae8cc9ed8379ade396058
      792a256a
  11. 30 Jun, 2011 1 commit
  12. 29 Jun, 2011 1 commit
    • Russell Brenner's avatar
      Allow multiple styles for fallback fonts · da49dc51
      Russell Brenner authored
      Fallback fonts are now recorded with their styles in the list of
      available fonts (which is now a doubly-linked list). NextLogicalFont()
      has a new parameter, providing the originally requested fontID, from
      which we can determine the requested style, which we then pass to
      find_best_face() to pick from the available styles.
      
      Bug: 4390209
      Change-Id: I0c45fd7cefd00df3805bd75df77c519f6d922fe7
      da49dc51
  13. 27 Jun, 2011 2 commits
  14. 25 Jun, 2011 1 commit
    • Russell Brenner's avatar
      Removed invalid assert · bbe1a697
      Russell Brenner authored
      Test for alpha==255 is apparently cloned from
      S32A_Opaque_BlitRow32_arm, but does not apply to Blend variant.
      
      Change-Id: I5d6154399265cb6f8291595a9bc62b2741301590
      bbe1a697
  15. 24 Jun, 2011 6 commits
  16. 23 Jun, 2011 1 commit
  17. 22 Jun, 2011 1 commit
    • Vikas Arora's avatar
      Add WebP Encoder support to SkImageEncoder. · a059123d
      Vikas Arora authored
      Extending Skia-WebP interface to handle the WebP encoding as well.
      The WebP encoding is required for sharing WebP images and transcoding
      images from other formats like PNG/JPEG to WEBP.
      
      Change-Id: I23d52323abf5e7eec0c6d3e0159a1ca7baee468b
      a059123d
  18. 14 Jun, 2011 2 commits
  19. 13 Jun, 2011 5 commits
  20. 08 Jun, 2011 1 commit
  21. 07 Jun, 2011 2 commits