OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:textInfo
(Results
1 - 14
of
14
) sorted by null
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
TextInfoCompatUtils.java
19
import android.view.textservice.
TextInfo
;
28
// Note that
TextInfo
.getCharSequence() is supposed to be available in API level 21 and later.
30
CompatUtils.getMethod(
TextInfo
.class, "getCharSequence");
32
CompatUtils.getConstructor(
TextInfo
.class, CharSequence.class, int.class, int.class,
42
public static
TextInfo
newInstance(CharSequence charSequence, int start, int end, int cookie,
45
return (
TextInfo
) CompatUtils.newInstance(TEXT_INFO_CONSTRUCTOR_FOR_CHAR_SEQUENCE,
48
return new
TextInfo
(charSequence.subSequence(start, end).toString(), cookie,
53
* Returns the result of {@link
TextInfo
#getCharSequence()} when available. Otherwise returns
54
* the result of {@link
TextInfo
#getText()} as fall back.
55
* @param
textInfo
the instance for which {@link TextInfo#getCharSequence()} o
[
all
...]
/development/samples/SpellChecker/SampleSpellCheckerService/src/com/example/android/samplespellcheckerservice/
SampleSpellCheckerService.java
24
import android.view.textservice.
TextInfo
;
53
* {@link SpellCheckerService.Session#onGetSuggestionsMultiple(
TextInfo
[], int, boolean)}
55
* {@link SpellCheckerService.Session#onGetSuggestionsMultiple(
TextInfo
[], int, boolean)}
57
* {@link SpellCheckerService.Session#onGetSuggestionsMultiple(
TextInfo
[], int, boolean)}.
60
public SuggestionsInfo onGetSuggestions(
TextInfo
textInfo
, int suggestionsLimit) {
62
Log.d(TAG, "onGetSuggestions: " +
textInfo
.getText());
64
final String input =
textInfo
.getText();
80
* {@link SpellCheckerService.Session#onGetSentenceSuggestionsMultiple(
TextInfo
[], int)}
82
* {@link SpellCheckerService.Session#onGetSuggestionsMultiple(
TextInfo
[], int, boolean)
[
all
...]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/compat/
TextInfoCompatUtilsTests.java
28
import android.view.textservice.
TextInfo
;
55
final
TextInfo
textInfo
= TextInfoCompatUtils.newInstance(text,
61
TextInfoCompatUtils.getCharSequenceOrString(
textInfo
);
63
// This should be valid even if
TextInfo
#getCharSequence is not supported.
67
// This is valid only if
TextInfo
#getCharSequence is supported.
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
AndroidSpellCheckerSession.java
25
import android.view.textservice.
TextInfo
;
45
private SentenceSuggestionsInfo fixWronglyInvalidatedWordWithSingleQuote(
TextInfo
ti,
124
public SentenceSuggestionsInfo[] onGetSentenceSuggestionsMultiple(
TextInfo
[] textInfos,
141
* Get sentence suggestions for specified texts in an array of
TextInfo
. This is taken from
152
* {@link SpellCheckerService.Session#onGetSuggestions(
TextInfo
, int)}
154
private SentenceSuggestionsInfo[] splitAndSuggest(
TextInfo
[] textInfos, int suggestionsLimit) {
181
final
TextInfo
[] splitTextInfos = new
TextInfo
[itemsSize];
193
public SuggestionsInfo[] onGetSuggestionsMultiple(
TextInfo
[] textInfos,
202
final
TextInfo
prevTextInfo = textInfos[i - 1]
[
all
...]
AndroidWordLevelSpellCheckerSession.java
28
import android.view.textservice.
TextInfo
;
220
private SuggestionsInfo onGetSuggestionsInternal(final
TextInfo
textInfo
,
222
return onGetSuggestionsInternal(
textInfo
, null, suggestionsLimit);
226
final
TextInfo
textInfo
, final PrevWordsInfo prevWordsInfo,
229
final String inText =
textInfo
.getText();
390
public SuggestionsInfo onGetSuggestions(final
TextInfo
textInfo
,
394
return onGetSuggestionsInternal(
textInfo
, suggestionsLimit)
[
all
...]
/frameworks/wilhelm/src/
data.h
110
XATimedTextStreamInformation
textInfo
;
/frameworks/base/core/java/android/view/textservice/
SpellCheckerSession.java
33
import android.view.textservice.
TextInfo
;
57
* directly, you will need to use {@link #getSuggestions(
TextInfo
, int)} or
58
* {@link #getSuggestions(
TextInfo
[], int, boolean)} for obtaining results from the spell checker
183
public void getSentenceSuggestions(
TextInfo
[] textInfos, int suggestionsLimit) {
190
* @param
textInfo
text metadata for a spell checker
192
* @deprecated use {@link SpellCheckerSession#getSentenceSuggestions(
TextInfo
[], int)} instead
195
public void getSuggestions(
TextInfo
textInfo
, int suggestionsLimit) {
196
getSuggestions(new
TextInfo
[] {
textInfo
}, suggestionsLimit, false)
[
all
...]
/frameworks/wilhelm/src/itf/
IStreamInformation.c
131
*(XATimedTextStreamInformation *)info = streamInfo.
textInfo
;
/frameworks/base/core/java/android/service/textservice/
SpellCheckerService.java
34
import android.view.textservice.
TextInfo
;
55
* <p>{@link SpellCheckerService.Session#onGetSuggestions(
TextInfo
, int)}
57
* It receives {@link android.view.textservice.
TextInfo
} and returns
60
* {@link SpellCheckerService.Session#onGetSuggestionsMultiple(
TextInfo
[], int, boolean)} for
116
* Get suggestions for specified text in
TextInfo
.
120
* @param
textInfo
the text metadata
122
* @return SuggestionsInfo which contains suggestions for
textInfo
124
public abstract SuggestionsInfo onGetSuggestions(
TextInfo
textInfo
, int suggestionsLimit);
135
* {@link SpellCheckerService.Session#onGetSuggestions(
TextInfo
, int)
[
all
...]
/external/robolectric/lib/main/
android.jar
/prebuilts/sdk/14/
android.jar
/prebuilts/sdk/17/
android.jar
/prebuilts/sdk/18/
android.jar
/prebuilts/sdk/19/
android.jar
Completed in 727 milliseconds