Code example for InputConnection

Methods: getExtractedText

0
            } 
 
            public ExtractedText getExtractedText(ExtractedTextRequest arg0,
                    int arg1) {
                Log.w(TAG, "getExtractedText" + arg0 + "," + arg1);
                return ic.getExtractedText(arg0,arg1);
            } 
 
            public CharSequence getTextAfterCursor(int n, int flags) {
                Log.w(TAG, "getTextAfterCursor(" + n + "," + flags + ")");
                return ic.getTextAfterCursor(n,flags);
            } 
 
            public CharSequence getTextBeforeCursor(int n, int flags) {
                Log.w(TAG, "getTextBeforeCursor(" + n + "," + flags + ")");
                return ic.getTextBeforeCursor(n,flags);
            } 
 
            public boolean performContextMenuAction(int arg0) {
                Log.w(TAG, "performContextMenuAction" + arg0);
                return ic.performContextMenuAction(arg0);