- 12 Jan, 2011 1 commit
-
-
Wei-Ta Chen authored
Backport changes/fixes related to tile-based decoder from Honeycomb to Gingerbread. Bug: 3309014 //////////////////////////////////////////////////////////////////// This is a combination of 3 commits. Fix 3071104, where decodeRegion returned false for some large image. decodeRegion() returns false when it cannot find a suitable color config for SkScaledBitmapSampler. Currently SkScaledBitmapSampler does not support RGB_565. If cinfo->out_color_space is set to RGB_565 and we require SkScaledBitmapSampler to do the extra sampling, we will fail in finding a suitable color config for SkScaledBitmapSampler. To fix it, we add support of RGB_565 into SkSclaedBitmapSampler. Change-Id: I506f4f8c55518ff356345e616e16c4b4cd0712de Fix 3117581, where BitmapRegionDecoder fails in building tile index for PNG files. The virtual method of building tile index in SkImageDecoder was changed to onBuildTileIndex(). SkPNGImageDecoder needs to override the method. Change-Id: I7c78844a4d4f7aadff5fa8fa1aa99173317139b2 Add fPreferQualityOverSpeed to SkImageDecoder. Currently the field only affects JPEG decode, in that when it is set to true, we choose a more accurate, but slightly slower, IDCT method. Bug: 3238925 /////////////////////////////////////////////////////////////////////
-
- 24 Sep, 2010 1 commit
-
-
satok authored
Change-Id: I1eccbe49f88c155b4b5490e2783db9d3ef2371be
-
- 23 Sep, 2010 1 commit
-
-
Wei-Ta Chen authored
Merge "Rename SkLargeBitmap to SkBitmapRegionDecoder (the previous renaming was reverted)." into gingerbread
-
- 20 Sep, 2010 3 commits
-
-
Wei-Ta Chen authored
The change is identical to https://android-git.corp.google.com/g/#change,64714 . Change-Id: If0136fcc96bcdab323607b701e2ef69ddf42f63d
-
Wei-Ta Chen authored
Change-Id: I8bd5a45ac788cbfb42048ca7527a1c941078d66b
-
Joseph Wen authored
Change-Id: Ie506dbf914cca9ad8a55747657abbe2a245ef217
-
- 10 Sep, 2010 1 commit
-
-
Joseph Wen authored
Change-Id: I6d214e4d8cce49f7e12eeb924493161dadd5aa26
-
- 09 Sep, 2010 2 commits
-
-
Joseph Wen authored
Change-Id: Iac0ac65dd87629e274b5985f2c21e21d7e673d17
-
Joseph Wen authored
We can not determined the input SkStream length by getLength() Change-Id: I2c0420f4312736ec742da4af9b4315af3418e2c7
-
- 08 Sep, 2010 1 commit
-
-
Wei-Ta Chen authored
This reverts commit 2d8e7825.
-
- 06 Sep, 2010 1 commit
-
-
Wei-Ta Chen authored
Change-Id: I093aea3d5e3e89c75b5086ede2b8bb30d8ceed95
-
- 23 Aug, 2010 1 commit
-
-
Joseph Wen authored
The calculation of actualSampleSize should be rounding up not down. Change-Id: I2964e92265d9e3b1e8e6843c3d1fc0a1528afd4a
-
- 19 Aug, 2010 1 commit
-
-
Romain Guy authored
Change-Id: I64904bf4d77a0d84f92d31024f48a2e3e0514f73
-
- 17 Aug, 2010 1 commit
-
-
Joseph Wen authored
Change-Id: If1fd071cad08b23bc44c4ca29bcc71a9c68696b9
-
- 16 Aug, 2010 1 commit
-
-
Joseph Wen authored
Change-Id: I795129d55a0a7da90b4d604a902066868933d2a9
-
- 16 Jul, 2010 1 commit
-
-
The Android Open Source Project authored
Change-Id: I934a898aadc1c466f0385e0f77353fd2f39d706a
-
- 19 May, 2010 2 commits
-
-
The Android Open Source Project authored
Merge commit 'f6f43bd2' into kraken * commit 'f6f43bd2': Use SkScalarMulDiv where appropriate
-
The Android Open Source Project authored
Change-Id: Ic9add408166bf9a0350db904e15912b723e55a15
-
- 18 May, 2010 1 commit
-
-
Jean-Baptiste Queru authored
Change-Id: I0871ad4aa742706d6bc0cef62925de1c2a20c99d
-
- 12 May, 2010 2 commits
-
-
The Android Open Source Project authored
Merge commit '4701b5d2' into kraken * commit '4701b5d2': Corrected a bug in SkPaint::breakText. Added GetUnitsPerEM method to SkFontHost
-
The Android Open Source Project authored
Change-Id: Ic7024b390883841714ac6fb5f6a11f87a9f707a6
-
- 11 May, 2010 3 commits
-
-
Jean-Baptiste Queru authored
-
Peter Eliasson authored
The bug occurs when linear text is meassured. E.g. without this correction, the following test case will fail String s = new String("abcdef"); Paint p = new Paint(); p.setLinearText(true); float width = p.measureText(s); int numberOfCharacters = p.breakText(s, true, width, null); assertTrue(numberOfCharacters == s.length()); The reason for this bug is that canonical text size is used to messure linear text while the maxWidth is not scaled correspondingly. Change-Id: Iede2d769e43e0914f3e877ee1f46eeeb6b5405ac Signed-off-by:
Peter Eliasson <peter.eliasson.x@sonyericsson.com>
-
Peter Eliasson authored
GetUnitsPerEM can be used as convenience method to find out the number of font units per EM square without having to fetch the head table. Change-Id: I6f09b86a13e020ff74156571782f4bc822b7c1f3
-
- 10 May, 2010 2 commits
-
-
The Android Open Source Project authored
Merge commit 'ff1f6696' into kraken * commit 'ff1f6696': Improved error handling when font loading fails. Added drawPosTextOnPath method. Adding check for missing color map in GIF decoder.
-
The Android Open Source Project authored
Change-Id: I064902aa9745342ccfe868331ccc000767e92fc0
-
- 07 May, 2010 3 commits
-
-
Jean-Baptiste Queru authored
-
Jean-Baptiste Queru authored
-
David Turner authored
-
- 06 May, 2010 3 commits
-
-
Dan Bornstein authored
Merge commit '7ef57352' into kraken * commit '7ef57352': For issue #2651381, allow library prelinking.
-
Dan Bornstein authored
Merge commit 'f393f015' into froyo-plus-aosp * commit 'f393f015': For issue #2651381, allow library prelinking.
-
Dan Bornstein authored
Change-Id: Id386c3cf549c5856de1c0c0a91665b20e59672e0
-
- 03 May, 2010 2 commits
-
-
The Android Open Source Project authored
Merge commit 'a024a01e' into kraken * commit 'a024a01e': Update skia/emoji license notices for better accuracy
-
The Android Open Source Project authored
Merge commit '49bb5903' into froyo-plus-aosp * commit '49bb5903': Update skia/emoji license notices for better accuracy
-
- 28 Apr, 2010 4 commits
-
-
The Android Open Source Project authored
Merge commit 'f6a9f499' into kraken * commit 'f6a9f499': Update skia/emoji license notices for better accuracy
-
The Android Open Source Project authored
Change-Id: I8d2072f805d76c51824b65447def412d21ca99ca
-
The Android Open Source Project authored
Change-Id: I1e93e5d5d0f1c859819f3a84566647fd736e5fb5
-
The Android Open Source Project authored
Bug: 2638848 Change-Id: I4e028825bfb45b2a4c484899f3ec4cba3d96deb1
-
- 26 Apr, 2010 2 commits
-
-
Peter Eliasson authored
Without this this patch, an application could trigger a platform crash by calling: Typeface typeface = Typeface.createFromFile(""); boolean isBold = typeface.isBold(); The crash occurs since the find_name_and_style function does not return an error code. Change-Id: Id1d2a43b47d956c5a52f01e7d4b8cbb12631d59a
-
Andreas Borglin authored
The drawPosTextOnPath method allows for text positioned on a straight line to be drawn along a path. This method can be used by layout engines to implement the Canvas::drawTextOnPath method for complex scripts. Change-Id: I2f9c22b8c97eeacb61cd6de7429ba875a1e7ade9
-