Lines Matching full:code
24 <p>A good starting point would be the SoftKeyboard sample code provided as part
25 of the SDK. You can modify the sample code to start building your own input
29 <code>AndroidManifest.xml</code> file, you declare the input method as a
60 <p>The typical life-cycle of an <code>InputMethodService</code> looks like
75 time, <code>InputMethodService.onCreateInputView()</code> will be called. Create
83 and you can return <code>null</code> from calls to
84 <code>InputMethodService.onCreateCandidatesView()</code>, which is the default
102 <p><code>InputMethodService.onStartInputView()</code> is called with an<code>
103 EditorInfo</code> object that contains details about the input type and other
104 attributes of the application's text field.</p><p>(<code>EditorInfo.inputType
105 & EditorInfo.TYPE_CLASS_MASK</code>) can be one of many different values,
109 <li><code>TYPE_CLASS_NUMBER</code></li>
110 <li><code>TYPE_CLASS_DATETIME</code></li>
111 <li><code>TYPE_CLASS_PHONE</code></li>
112 <li><code>TYPE_CLASS_TEXT</code></li>
115 <p>See <code>android.text.InputType</code> for more details.</p>
117 <p><code>EditorInfo.inputType</code> can contain other masked bits that
119 <code>TYPE_TEXT_VARIATION_PASSWORD</code> or <code>TYPE_TEXT_VARIATION_URI</code>
120 or <code>TYPE_TEXT_FLAG_AUTO_COMPLETE</code>.</p>
145 <code>InputConnection.sendKeyEvent()</code>. Here are some examples:</p>
168 <code>android.view.inputmethod.InputConnection</code> are:</p>
171 <li><code>getTextBeforeCursor()</code></li>
172 <li><code>getTextAfterCursor()</code></li>
173 <li><code>deleteSurroundingText()</code></li>
174 <li><code>commitText()</code></li>
212 <code>InputMethodService.onKeyDown()</code> and
213 <code>InputMethodService.onKeyUp().</code> Remember to call
214 <code>super.onKey</code>* if you don't want to consume a certain key
247 git;a=tree" title="LatinIME source code online">LatinIME source code</a>. The