- 04 Aug, 2011 1 commit
-
-
Michael Kolb authored
Bug: 5122491 Remove font cache purge log message Change-Id: Ib5a23433b8cb1402c96b8d510ed875be7400c80c
-
- 26 Jul, 2011 2 commits
-
-
Derek Sollenberger authored
bug: 5009656 Change-Id: Ic91bdb84e42b4d07f88bd6df1a2bedc2031404df
-
Derek Sollenberger authored
This change has also been submitted upstream to Skia in r1954. bug: 5060654 Change-Id: Iac9ce0d9150c59e4db6653081d7f46843ea8f2bf
-
- 21 Jul, 2011 1 commit
-
-
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
-
- 18 Jul, 2011 1 commit
-
-
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
-
- 15 Jul, 2011 2 commits
-
-
Chet Haase authored
-
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
-
- 14 Jul, 2011 1 commit
-
-
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
-
- 12 Jul, 2011 2 commits
-
-
Derek Sollenberger authored
-
Derek Sollenberger authored
bug: 4390209 Change-Id: I74774b43b3f0c903fb96911e156d9911cf55bb68
-
- 11 Jul, 2011 1 commit
-
-
Russell Brenner authored
The change being reverted somehow alters the reference counting of SkTypeface instances, resulting in prematurely freed font data, which is the underlying issue with the disappearing clock on the lockscreen (http://b/5004404). This reverts commit 792a256a. Bug: 5004404 Change-Id: I5c3b225f860ce2dcfc0751bded2d842b43a2d3c4
-
- 07 Jul, 2011 4 commits
-
-
Russell Brenner authored
An invalid face is not expected here, but still should not be allowed to crash. Bug: 5002710 Change-Id: Ifd11e918f968d5eef67932e514ea6754819fb7a5
-
Russell Brenner authored
-
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
-
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
-
- 06 Jul, 2011 2 commits
-
-
Russell Brenner authored
Regular and Bold styles are now included in the fallback list. Bug: 4902641 Change-Id: Ia88dedb136ab00dee3ae4e4cc5552e0d3a743f13
-
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
-
- 30 Jun, 2011 1 commit
-
-
Russell Brenner authored
This reverts commit da49dc51. Bug: 4980240 Change-Id: Ib0470d458db12821a89ce019d395152d06296305
-
- 29 Jun, 2011 1 commit
-
-
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
-
- 27 Jun, 2011 2 commits
-
-
Jean-Baptiste Queru authored
* commit '0896ce1e': Restore legacy behaviors for better compatibility
-
Russell Brenner authored
-
- 25 Jun, 2011 1 commit
-
-
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
-
- 24 Jun, 2011 6 commits
-
-
Jean-Baptiste Queru authored
Change-Id: I536026aab833367350b595b41911e9888cff2e3a
-
Jean-Baptiste Queru authored
Change-Id: Iba2f457ca4e8ea90078d1028e1ea829b3d889285
-
Jean-Baptiste Queru authored
-
Jean-Baptiste Queru authored
Change-Id: Ifdf889d2ed36cc88bdc105cbb629fe2f68111ccd
-
Derek Sollenberger authored
-
Jean-Baptiste Queru authored
-
- 23 Jun, 2011 1 commit
-
-
Derek Sollenberger authored
Change-Id: Ief005abc9eb741ccf5efec3d1f29fe2dfc23103d
-
- 22 Jun, 2011 1 commit
-
-
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
-
- 14 Jun, 2011 2 commits
-
-
Derek Sollenberger authored
Change-Id: Ifcdb6d43f6ee23e6d91d01dc4fe25140f2d3d870
-
Derek Sollenberger authored
-
- 13 Jun, 2011 5 commits
-
-
Jean-Baptiste Queru authored
Change-Id: Iea0c23cf20fb25e7148be1def0623fe40b7c6f23
-
Jean-Baptiste Queru authored
-
Jean-Baptiste Queru authored
Change-Id: Ie9f88806b1083f0b4ef99731bd4f1e42fff467fe
-
Jean-Baptiste Queru authored
-
Jean-Baptiste Queru authored
This makes it easier for now to deal with situations where derived classes don't have an implementation. Change-Id: Iaf4b3495441cb5881ad98633e55da1c5acdd9768
-
- 08 Jun, 2011 1 commit
-
-
Derek Sollenberger authored
-
- 07 Jun, 2011 2 commits
-
-
Shimeng (Simon) Wang authored
-
Vikas Arora authored
issue: 3291572 Change-Id: I86258b82a9105e5db459c436d8bcfa1841609ed7
-