From c644ff6d4ffea317420ee843965788a3e74d1969 Mon Sep 17 00:00:00 2001 From: Yohei Yukawa Date: Tue, 29 Apr 2014 04:57:48 +0900 Subject: Revise Javadoc for CURSOR_ANCHOR_MONITOR_MODE_CURSOR_RECT This is a follow-up CL for I3acf2317ae1d763d11 to improve the Javadoc for CURSOR_ANCHOR_MONITOR_MODE_CURSOR_RECT BUG: 14323360 Change-Id: Ie8948eda3ce57da282bd82e8e9a44997f6d53245 --- core/java/android/inputmethodservice/InputMethodService.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'core/java/android/inputmethodservice/InputMethodService.java') diff --git a/core/java/android/inputmethodservice/InputMethodService.java b/core/java/android/inputmethodservice/InputMethodService.java index ec581d1a71e1..505ef9c0a234 100644 --- a/core/java/android/inputmethodservice/InputMethodService.java +++ b/core/java/android/inputmethodservice/InputMethodService.java @@ -255,8 +255,9 @@ public class InputMethodService extends AbstractInputMethodService { public static final int CURSOR_ANCHOR_MONITOR_MODE_NONE = 0x0; /** - * The IME will receive {@link #onUpdateCursor(Rect)} called back with the current - * cursor rectangle in screen coordinates. + * Passing this flag into a call to {@link #setCursorAnchorMonitorMode(int)} will result in + * the cursor rectangle being provided in screen coordinates to subsequent + * {@link #onUpdateCursor(Rect)} callbacks. */ public static final int CURSOR_ANCHOR_MONITOR_MODE_CURSOR_RECT = 0x1; -- cgit v1.2.3