summaryrefslogtreecommitdiffstats
path: root/graphics/java
diff options
context:
space:
mode:
authorMike Reed <reed@google.com>2010-02-18 06:11:39 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-02-18 06:11:39 -0800
commit35d2621b3a62e8ab0a19bb9f760346838f9680dd (patch)
tree418f43fadec2a88b83565b59564edb39999b4ae7 /graphics/java
parenteba3bb06a8018bc12510a266cadc267d2163e949 (diff)
parent7df951595fa99bb4ead7891a2d70e3281314c51e (diff)
downloadframeworks_base-35d2621b3a62e8ab0a19bb9f760346838f9680dd.zip
frameworks_base-35d2621b3a62e8ab0a19bb9f760346838f9680dd.tar.gz
frameworks_base-35d2621b3a62e8ab0a19bb9f760346838f9680dd.tar.bz2
Merge "update dox"
Diffstat (limited to 'graphics/java')
-rw-r--r--graphics/java/android/graphics/AvoidXfermode.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/graphics/java/android/graphics/AvoidXfermode.java b/graphics/java/android/graphics/AvoidXfermode.java
index 2ed042b..7e2722d 100644
--- a/graphics/java/android/graphics/AvoidXfermode.java
+++ b/graphics/java/android/graphics/AvoidXfermode.java
@@ -38,15 +38,15 @@ public class AvoidXfermode extends Xfermode {
*
* There are two modes, and each mode interprets a tolerance value.
*
- * AVOID: In this mode, drawing is allowed only on destination pixels that
+ * Avoid: In this mode, drawing is allowed only on destination pixels that
* are different from the op-color.
- * Tolerance near 0: avoid anything close to the op-color
- * Tolerance near 255: avoid only colors very close to the op-color
- *
- * TARGET: In this mode, drawing only occurs on destination pixels that
+ * Tolerance near 0: avoid any colors even remotely similar to the op-color
+ * Tolerance near 255: avoid only colors nearly identical to the op-color
+
+ * Target: In this mode, drawing only occurs on destination pixels that
* are similar to the op-color
- * Tolerance near 0: draw on colors that are very close to op-color
- * Tolerance near 255: draw on colors that to the op-color
+ * Tolerance near 0: draw only on colors that are nearly identical to the op-color
+ * Tolerance near 255: draw on any colors even remotely similar to the op-color
*/
public AvoidXfermode(int opColor, int tolerance, Mode mode) {
if (tolerance < 0 || tolerance > 255) {