Searched refs:TextInfo (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/core/java/android/view/textservice/
H A DTextInfo.aidl19 parcelable TextInfo;
H A DTextInfo.java26 public final class TextInfo implements Parcelable { class in inherits:Parcelable
35 public TextInfo(String text) { method in class:TextInfo
42 * @param cookie the cookie for this TextInfo
43 * @param sequence the sequence number for this TextInfo
45 public TextInfo(String text, int cookie, int sequence) { method in class:TextInfo
54 public TextInfo(Parcel source) { method in class:TextInfo
81 * @return the cookie of TextInfo
88 * @return the sequence of TextInfo
97 public static final Parcelable.Creator<TextInfo> CREATOR
98 = new Parcelable.Creator<TextInfo>() {
[all...]
H A DSpellCheckerSession.java33 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) {
192 * @deprecated use {@link SpellCheckerSession#getSentenceSuggestions(TextInfo[], int)} instead
195 public void getSuggestions(TextInfo textInfo, int suggestionsLimit) {
196 getSuggestions(new TextInfo[] {textInfo}, suggestionsLimit, false);
204 * @deprecated use {@link SpellCheckerSession#getSentenceSuggestions(TextInfo[], int)} instead
208 TextInfo[] textInfos, int suggestionsLimit, boolean sequentialWords) {
245 public final TextInfo[] mTextInfo
[all...]
/frameworks/base/core/java/com/android/internal/textservice/
H A DISpellCheckerSession.aidl19 import android.view.textservice.TextInfo;
26 in TextInfo[] textInfos, int suggestionsLimit, boolean multipleWords);
27 void onGetSentenceSuggestionsMultiple(in TextInfo[] textInfos, int suggestionsLimit);
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextSRTSource.h52 struct TextInfo { struct in class:android::TimedTextSRTSource
60 KeyedVector<int64_t, TextInfo> mTextVector;
65 off64_t *offset, int64_t *startTimeUs, TextInfo *info);
H A DTimedTextSRTSource.cpp92 TextInfo info;
127 off64_t *offset, int64_t *startTimeUs, TextInfo *info) {
255 const TextInfo &info = mTextVector.valueAt(mIndex);
/frameworks/base/core/java/android/service/textservice/
H A DSpellCheckerService.java34 import android.view.textservice.TextInfo;
56 * <p>{@link SpellCheckerService.Session#onGetSuggestions(TextInfo, int)}
58 * It receives {@link android.view.textservice.TextInfo} and returns
61 * {@link SpellCheckerService.Session#onGetSuggestionsMultiple(TextInfo[], int, boolean)} for
117 * Get suggestions for specified text in TextInfo.
125 public abstract SuggestionsInfo onGetSuggestions(TextInfo textInfo, int suggestionsLimit);
136 * {@link SpellCheckerService.Session#onGetSuggestions(TextInfo, int)}
138 public SuggestionsInfo[] onGetSuggestionsMultiple(TextInfo[] textInfos,
151 * Get sentence suggestions for specified texts in an array of TextInfo.
162 * {@link SpellCheckerService.Session#onGetSuggestions(TextInfo, in
[all...]
/frameworks/base/core/java/android/widget/
H A DSpellChecker.java34 import android.view.textservice.TextInfo;
272 TextInfo[] textInfos = new TextInfo[mLength];
297 textInfos[textInfosCount++] = new TextInfo(word, mCookie, mIds[i]);
299 Log.d(TAG, "create TextInfo: (" + i + "/" + mLength + ")" + word
309 TextInfo[] textInfosCopy = new TextInfo[textInfosCount];

Completed in 95 milliseconds