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
/frameworks/base/core/java/android/view/textservice/
TextInfo.aidl
19
parcelable
TextInfo
;
TextInfo.java
26
public final class
TextInfo
implements Parcelable {
35
public
TextInfo
(String text) {
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) {
54
public
TextInfo
(Parcel source) {
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
...]
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/base/core/java/com/android/internal/textservice/
ISpellCheckerSession.aidl
19
import android.view.textservice.
TextInfo
;
26
in
TextInfo
[] textInfos, int suggestionsLimit, boolean multipleWords);
27
void onGetSentenceSuggestionsMultiple(in
TextInfo
[] textInfos, int suggestionsLimit);
/development/samples/SpellChecker/HelloSpellChecker/src/com/example/android/hellospellchecker/
HelloSpellCheckerActivity.java
27
import android.view.textservice.
TextInfo
;
59
// Instantiate
TextInfo
for each query
60
//
TextInfo
can be passed a sequence number and a cookie number to identify the result
64
mScs.getSentenceSuggestions(new
TextInfo
[] {new
TextInfo
("tgisis")}, 3);
65
mScs.getSentenceSuggestions(new
TextInfo
[] {new
TextInfo
(
67
mScs.getSentenceSuggestions(new
TextInfo
[] {new
TextInfo
("hell othere")}, 3);
72
mScs.getSuggestions(new
TextInfo
("tgis"), 3)
[
all
...]
/frameworks/av/media/libstagefright/timedtext/
TimedTextSRTSource.h
52
struct
TextInfo
{
60
KeyedVector<int64_t,
TextInfo
> mTextVector;
65
off64_t *offset, int64_t *startTimeUs,
TextInfo
*info);
TimedTextSRTSource.cpp
92
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/
SpellCheckerService.java
34
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
.
121
* @param
textInfo
the text metadata
123
* @return SuggestionsInfo which contains suggestions for
textInfo
125
public abstract SuggestionsInfo onGetSuggestions(
TextInfo
textInfo
, int suggestionsLimit);
136
* {@link SpellCheckerService.Session#onGetSuggestions(
TextInfo
, int)
[
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/java/src/com/android/inputmethod/latin/spellcheck/
AndroidSpellCheckerSession.java
23
import android.view.textservice.
TextInfo
;
38
private SentenceSuggestionsInfo fixWronglyInvalidatedWordWithSingleQuote(
TextInfo
ti,
116
public SentenceSuggestionsInfo[] onGetSentenceSuggestionsMultiple(
TextInfo
[] textInfos,
134
public SuggestionsInfo[] onGetSuggestionsMultiple(
TextInfo
[] textInfos,
AndroidWordLevelSpellCheckerSession.java
27
import android.view.textservice.
TextInfo
;
198
public SuggestionsInfo onGetSuggestions(final
TextInfo
textInfo
,
200
return onGetSuggestions(
textInfo
, null, suggestionsLimit);
204
final
TextInfo
textInfo
, final String prevWord, final int suggestionsLimit) {
206
final String inText =
textInfo
.getText();
/frameworks/base/core/java/android/widget/
SpellChecker.java
34
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];
/prebuilts/sdk/14/
android.jar
/prebuilts/sdk/current/
android.jar
Completed in 612 milliseconds