OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e161f75
)
docs: update Paint.setTextSize() to indicate pixel units
author
Mark Lu
<marklu@google.com>
Fri, 16 Dec 2016 22:23:47 +0000
(14:23 -0800)
committer
Mark Lu
<marklu@google.com>
Sat, 17 Dec 2016 07:23:29 +0000
(07:23 +0000)
bug:
2321154
Change-Id: Ic71404677a8079c744b99d4848d69c6ff52089ab
graphics/java/android/graphics/Paint.java
patch
|
blob
|
history
diff --git
a/graphics/java/android/graphics/Paint.java
b/graphics/java/android/graphics/Paint.java
index
cfbe672
..
cac9537
100644
(file)
--- a/
graphics/java/android/graphics/Paint.java
+++ b/
graphics/java/android/graphics/Paint.java
@@
-1404,7
+1404,7
@@
public class Paint {
/**
* Return the paint's text size.
*
- * @return the paint's text size.
+ * @return the paint's text size
in pixel units
.
*/
public float getTextSize() {
return nGetTextSize(mNativePaint);
@@
-1415,7
+1415,7
@@
public class Paint {
/**
* Set the paint's text size. This value must be > 0
*
- * @param textSize set the paint's text size.
+ * @param textSize set the paint's text size
in pixel units
.
*/
public void setTextSize(float textSize) {
nSetTextSize(mNativePaint, textSize);