885d82d4274170873919660550c28df9ee14ca1b |
|
29-Sep-2012 |
Romain Guy <romainguy@google.com> |
reset() should reset. Otherwise it would be called something else. Bug #7256095 Change-Id: I610bbcaccdceaf2b5bb5f9d231283335911d4cd9
/frameworks/base/graphics/java/android/graphics/Paint.java
|
029b6330380a21787647ed9faa9aa2d6ee93da82 |
|
13-Apr-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Improve Paint.setTextLocale() Change-Id: Iffc9f8816f48dbd431b3b430a7c48f8d646703f3
/frameworks/base/graphics/java/android/graphics/Paint.java
|
517825f1a9f14f92908bd7859b91b927c2eec6d9 |
|
07-Apr-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add Paint.setTextLocale() - will be used for better shaping CJK and other goodies Change-Id: If64945a337edd915f5ebb88f04b6fd18e92ca587
/frameworks/base/graphics/java/android/graphics/Paint.java
|
68fc1dfce050f1406f751e71cadd1b9fdb0f825c |
|
20-Jan-2012 |
Romain Guy <romainguy@google.com> |
Remove unused code Change-Id: Ife0a43f3cfe64a1e74401b10bf74d37cbeefb5af
/frameworks/base/graphics/java/android/graphics/Paint.java
|
f9d9c065ed75f1196316a9a31f92309f602cef76 |
|
20-Jan-2012 |
Romain Guy <romainguy@google.com> |
Deprecate unused APIs Change-Id: I0107e246b632dda96b8b025217936954f1f46283
/frameworks/base/graphics/java/android/graphics/Paint.java
|
f68832bcc1069c70ef27248da6d82e9f9056955a |
|
12-Sep-2011 |
Romain Guy <romainguy@google.com> |
Turn hinting back on The difference is not obvious when compared to no hinting, and turning off hinting has undesirable side effects because of the lack of sub- pixel positioning when rendering text. Change-Id: If2162ba079f68f33b33aed444e80036fdbf015bb
/frameworks/base/graphics/java/android/graphics/Paint.java
|
8b5a8b5bed98bd1c048864abcf39dfc3875518cb |
|
01-Sep-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Code cleaning"
|
7d892dcc8a18376f499527a160c6c0ed664e22b1 |
|
01-Sep-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Code cleaning - remove unused constant - fix spelling Change-Id: I0053129b33c2ee472db84e14d4b2ace5d97d20a8
/frameworks/base/graphics/java/android/graphics/Paint.java
|
e7197a996ff9c4a51d32dd2f918aab97d2b191ef |
|
31-Aug-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Fix bug #5233207 android.graphics.cts.PaintTest#testBreakText fails on IRK56F trygon-userdebug"
|
8fa6503feb1954d8c11a0591a567e6acedf7abe9 |
|
30-Aug-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #5233207 android.graphics.cts.PaintTest#testBreakText fails on IRK56F trygon-userdebug - Paint.breakText() API was regressing on the argument validation: a count < 0 is a valid one Change-Id: I6d09294ee9f21901ba00017ce0d73f757fc7b147
/frameworks/base/graphics/java/android/graphics/Paint.java
|
bb66c21f01b42f533878613f57d5894817c32c93 |
|
28-Aug-2011 |
Jeff Sharkey <jsharkey@android.com> |
Make Paint.set() copy shadow config. Also unify all Java variable copying into single method. Change-Id: I8fefa615f6f164ae5662913d612b388b46890089
/frameworks/base/graphics/java/android/graphics/Paint.java
|
f43fa5746ee5b81a6e386d36594094d079ac8160 |
|
13-Aug-2011 |
Dianne Hackborn <hackbod@google.com> |
Turn off hinting by default for higher density displays. Also adds an API for apps to control whether hinting is used. Change-Id: I1a06b06255fbb8d0f02a8ce48c2cd60019088ed3
/frameworks/base/graphics/java/android/graphics/Paint.java
|
7f9f99ea11051614a7727dfb9f9578b518e76e3c |
|
11-Aug-2011 |
Xavier Ducrohet <xav@android.com> |
Make some methods/fields package private so that layoutlib can access them. Change-Id: I4aeadfbaf8a4f6a459fa19937c21ac23d9e5fb64
/frameworks/base/graphics/java/android/graphics/Paint.java
|
8984b41665f7ea2f0fdbc8ce00556b9e7762668e |
|
10-Aug-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add more Paint text APIs parameters checks Change-Id: Idd04e9937b821180f46852451405bb9c6d59da37
/frameworks/base/graphics/java/android/graphics/Paint.java
|
15c097a1c23105cdc0dd66dd5605ff35467d7118 |
|
08-Aug-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add more optimizations for Text measuring / breaking / getting advances - do not go to native if this is not needed (empty or null text) - do expandMetricsFromPaint() in TextLine when needed instead of calling handleText() with emty string just for doing expandMetricsFromPaint() Change-Id: I1f566ccef66cbc990ebbb77ef149899119e37e84
/frameworks/base/graphics/java/android/graphics/Paint.java
|
4c7dbc04958cb585a2b68eaa664e816f0d84da9f |
|
08-Aug-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #4584320 Single Line EditText not drawing correctly with spans applied (ICS) - provide a better fix by still using the full context of the text (versus using the text only) Change-Id: I542335e98117921d75c191e90a9b2018ca356ac9
/frameworks/base/graphics/java/android/graphics/Paint.java
|
f2ce877c1dde094ab599f0d3103145c9381ab260 |
|
06-Aug-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #4584320 Single Line EditText not drawing correctly with spans applied (ICS) - use correct 0 index for computing advance thru the char buffer (the buffer is created from TextUtils.getChars()) - udpate unit tests Change-Id: Iaeb07658b79ecdf5e17395d55afb7c84965bb0fc
/frameworks/base/graphics/java/android/graphics/Paint.java
|
b1216dd916e0f5fdec29684120c5bcc904800916 |
|
02-Aug-2011 |
Romain Guy <romainguy@google.com> |
Copy constructors should actually copy stuff. Bug #5027094 Change-Id: Iab6bf652e0b9bdd1bbc794e7c4218f46bafdd1a4
/frameworks/base/graphics/java/android/graphics/Paint.java
|
0a1413e4bf9dcda2a8abb2287e43f612a7fb2453 |
|
22-Apr-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Clean getTextRunAdvances() APIs - remove ICU reference in API names - use a "reserved" int parameter to pass either "0" for Harfbuzz or "1" for "ICU" Change-Id: I88b4f76feafd203a6999cd7349402fa36a9a4b2a
/frameworks/base/graphics/java/android/graphics/Paint.java
|
eee49c699c035ffba188417489f40d34f587d65c |
|
25-Mar-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix text redering issue where the text was sometimes truncated - mostly was visible in Settings apps / Wi-Fi networks summary info for each network - correctly setup the local SkPaint for advances computation - improve test app for adding live resizing Change-Id: Ia031fe1b115b521ba55c7e68f2a26300f02e48ca
/frameworks/base/graphics/java/android/graphics/Paint.java
|
9f82b580d744ce4baf057b061994394dcf239eed |
|
08-Mar-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Use Harfbuzz instead of ICU4C for computing advances - use Harfbuzz shaper for shaping and getting glyphs - add test app for showing result of drawText() and drawGlyphs() - add private API in Canvas and Paint for test app Change-Id: Ia15be216f8636d2d864066e9b7de2f53008c30f6
/frameworks/base/graphics/java/android/graphics/Paint.java
|
8a9f9d880da83877206d0a52d03c784e936d3814 |
|
16-Feb-2011 |
Brian Muramatsu <btmura@google.com> |
Fix Paint#breakText(char[]..) JavaDoc The JavaDoc says that if the "...count is negative then the characters before index are measured in reverse order. This allows for measuring the end of string." However, the native code doesn't work its way backwards from the given index when the count is negative. It always passes Skia the substring starting from index and the absolute value of count. Its better to fix the JavaDoc rather than the behavior, since this API is public and has been this way for some time. It is also used by TextUtils.ellipsize indirectly, so its best to avoid breaking that sensitive code. Change-Id: I8bd51def6ec98251e355370710eb44f58fb737c4
/frameworks/base/graphics/java/android/graphics/Paint.java
|
1feba8bb02d26225f6ab013d50889a4d2e0c56f3 |
|
28-Jan-2011 |
Gilles Debunne <debunne@google.com> |
Fix for an IOOBoundsException in Paint. Bug 3331706 The temporary buffer starts at index 0 and shifts indexes by contextStart. offset has to be changed accordingly. Note that I didn't try to reproduce the monkey bug after this fix, but it seems like a perfect explanation for the exception. Change-Id: Ie69adc413670caed283bc46effc69f17a102922c
/frameworks/base/graphics/java/android/graphics/Paint.java
|
27c1d4debb3848f5accd5673fffeeacad3e61648 |
|
16-Dec-2010 |
Chet Haase <chet@google.com> |
Fix minor animation and doc issues Change-Id: I0ea077d9434ac3e22e8600f22ca4a24a6a46965c
/frameworks/base/graphics/java/android/graphics/Paint.java
|
0bb000931bb841e75903d655552d1626ae158707 |
|
03-Dec-2010 |
Gilles Debunne <debunne@google.com> |
Fix in vertical measurement in text lines with different text sizes The last span of the TextLine was defining the FontMetrics, instead of min/maxing the different values. Bug 3220698 Change-Id: I7394b1699a15aeee4cc38462d561faf329d3e1f6
/frameworks/base/graphics/java/android/graphics/Paint.java
|
1e45aae5de003657e5d18f74d34998f5de5db5b7 |
|
14-Aug-2010 |
Romain Guy <romainguy@google.com> |
Add drop shadows. Change-Id: Ic6a72409d4785968d1fbdff229f17ee5c00b240b
/frameworks/base/graphics/java/android/graphics/Paint.java
|
694b519ac647fe998fd396fe0784cc8e179aadc4 |
|
22-Jul-2010 |
Romain Guy <romainguy@google.com> |
Add text rendering. Change-Id: Ibe5a9fa844d531b31b55e43de403a98d49f659b9
/frameworks/base/graphics/java/android/graphics/Paint.java
|
a1db574036c9bc2d397b69f8200594027e1fff16 |
|
20-Jul-2010 |
Romain Guy <romainguy@google.com> |
Add preliminary support for text rendering. Change-Id: I547eb631dbda24d13960d54b4144fb8908fd8a49
/frameworks/base/graphics/java/android/graphics/Paint.java
|
f7cb1f75fdaedf996cab7c4690b080adc7bc5b97 |
|
02-Jul-2010 |
Doug Felt <dougfelt@google.com> |
Support bidi/shaping for getTextPath Move layout-related code into separate class since it's needed by both canvas and paint. Change-Id: Iba89a1d94d7cca650255ffa3cbc952b988a51b54
/frameworks/base/graphics/java/android/graphics/Paint.java
|
c7d53494f1fbd9f9d74af89053ff9fdb1ccbac6c |
|
25-Jun-2010 |
Romain Guy <romainguy@android.com> |
Implement quickReject() and drawRect(). The OpenGL ES 2.0 renderer can now draw colored rectangles. At least there's something on screen now. Change-Id: I80a13ccc1dd56784edf74f2670a364f30700234a
/frameworks/base/graphics/java/android/graphics/Paint.java
|
0c702b88c5d0d4380930b920f5be6e66dd95a0d8 |
|
14-May-2010 |
Doug Felt <dougfelt@google.com> |
Move shaping to native. Add internal API (getTextRunAdvances) to Paint, use when measuring. Add internal API (getTextRunCursor) to Paint, use when determining valid cursor positions. Remove java-level shaping code. Remove 'prep' code in TextLine (except for replacement text) since shaping now is done on the fly as needed in native. Provide explicit shaping context bounds to internal text measuring, cursor movement, and rendering APIs. Update for to changes in external API in ushape.h. Change-Id: I146958b624802ce8553125e5c3c6c03031bc9608
/frameworks/base/graphics/java/android/graphics/Paint.java
|
f47d7405bbcb25d7cdf89ebb059f41520fe9ab87 |
|
22-Apr-2010 |
Doug Felt <dougfelt@google.com> |
Modify Canvas drawText to run bidi and shape. Adds drawTextRun as internal API on Canvas and GraphicsOperations. Adds implementation to implementors of GraphicsOperations. Adds state and API on Paint to control the bidi algorithm when used by Canvas. This API is currently hidden. The drawText changes are incomplete since shaping is not yet available in the native code. Change-Id: I4368048aef9545df0953a349381771603e04b619
/frameworks/base/graphics/java/android/graphics/Paint.java
|
d404d6f162cfd4071c8ff3a2d44b1077307e2102 |
|
14-Apr-2010 |
Mike Reed <reed@google.com> |
update dox for FILL_AND_STROKE style Change-Id: I7835068a376dfa4d8c18d8bb20d97941a058e89f http://b/issue?id=2590047
/frameworks/base/graphics/java/android/graphics/Paint.java
|
c20a9608f379b23aee473f992a327ac26a31ba17 |
|
29-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
Whoops, these shouldn't be public. Change-Id: I66057b1fb63b97ad79cea7056849274c6a7b3ed4
/frameworks/base/graphics/java/android/graphics/Paint.java
|
afa78967b8553443aa32579d78970a076d7581f6 |
|
29-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
Hack to fix issue #2125365: Sports Trivia compatability with Eclair Adds a mechanism to tell Paint the scaling factor its target canvas will have, for it to compute font metrics based on the correct font size. Only TextView uses this, but that is enough for the large majority of apps. Change-Id: I6cacaa0dd26d40ee3ad959bed0028678d6e9016e
/frameworks/base/graphics/java/android/graphics/Paint.java
|
33a31b314f571ddcbef003e8a399c20ddeff6905 |
|
12-May-2009 |
Dirk Dougherty <nobody@android.com> |
AI 148752: Fix description of breakText() param. BUG=1790234 Automated import of CL 148752
/frameworks/base/graphics/java/android/graphics/Paint.java
|
c39a6e0c51e182338deb8b63d07933b585134929 |
|
11-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@137873
/frameworks/base/graphics/java/android/graphics/Paint.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/graphics/java/android/graphics/Paint.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/graphics/java/android/graphics/Paint.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/graphics/java/android/graphics/Paint.java
|