OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:UserDictionary
(Results
1 - 25
of
31
) sorted by null
1
2
/cts/tests/tests/provider/src/android/provider/cts/
UserDictionary_WordsTest.java
23
import android.provider.
UserDictionary
;
39
UserDictionary
.Words._ID,
40
UserDictionary
.Words.WORD,
41
UserDictionary
.Words.FREQUENCY,
42
UserDictionary
.Words.LOCALE };
70
UserDictionary
.Words.addWord(getContext(), word, frequency,
71
UserDictionary
.Words.LOCALE_TYPE_ALL);
73
Cursor cursor = mContentResolver.query(
UserDictionary
.Words.CONTENT_URI, WORDS_PROJECTION,
74
UserDictionary
.Words.WORD + "='" + word + "'", null, null);
89
UserDictionary
.Words.addWord(mContext, word, frequency, shortcut, locale)
[
all
...]
/packages/apps/Settings/src/com/android/settings/inputmethod/
UserDictionaryCursorLoader.java
23
import android.provider.
UserDictionary
;
35
UserDictionary
.Words._ID,
36
UserDictionary
.Words.WORD,
37
UserDictionary
.Words.SHORTCUT
46
UserDictionary
.Words.LOCALE + "=?";
48
UserDictionary
.Words.LOCALE + " is null";
75
UserDictionary
.Words.CONTENT_URI, QUERY_PROJECTION,
77
"UPPER(" +
UserDictionary
.Words.WORD + ")");
80
candidate = getContext().getContentResolver().query(
UserDictionary
.Words.CONTENT_URI,
82
new String[]{queryLocale}, "UPPER(" +
UserDictionary
.Words.WORD + ")")
[
all
...]
UserDictionarySettings.java
29
import android.provider.
UserDictionary
;
54
private static final String DELETE_SELECTION_WITH_SHORTCUT =
UserDictionary
.Words.WORD
55
+ "=? AND " +
UserDictionary
.Words.SHORTCUT + "=?";
56
private static final String DELETE_SELECTION_WITHOUT_SHORTCUT =
UserDictionary
.Words.WORD
57
+ "=? AND " +
UserDictionary
.Words.SHORTCUT + " is null OR "
58
+
UserDictionary
.Words.SHORTCUT + "=''";
139
new String[]{
UserDictionary
.Words.WORD,
UserDictionary
.Words.SHORTCUT},
207
mCursor.getColumnIndexOrThrow(
UserDictionary
.Words.WORD));
217
mCursor.getColumnIndexOrThrow(
UserDictionary
.Words.SHORTCUT))
[
all
...]
UserDictionaryAddWordContents.java
24
import android.provider.
UserDictionary
;
163
UserDictionary
.Words.addWord(context, newWord.toString(),
170
private static final String[] HAS_WORD_PROJECTION = {
UserDictionary
.Words.WORD };
171
private static final String HAS_WORD_SELECTION_ONE_LOCALE =
UserDictionary
.Words.WORD
172
+ "=? AND " +
UserDictionary
.Words.LOCALE + "=?";
173
private static final String HAS_WORD_SELECTION_ALL_LOCALES =
UserDictionary
.Words.WORD
174
+ "=? AND " +
UserDictionary
.Words.LOCALE + " is null";
180
cursor = context.getContentResolver().query(
UserDictionary
.Words.CONTENT_URI,
184
cursor = context.getContentResolver().query(
UserDictionary
.Words.CONTENT_URI,
UserDictionaryList.java
24
import android.provider.
UserDictionary
;
85
UserDictionary
.Words.CONTENT_URI, new String[]{
UserDictionary
.Words.LOCALE},
94
final int columnIndex = cursor.getColumnIndex(
UserDictionary
.Words.LOCALE);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
UserDictionarySettings.java
17
package com.android.inputmethod.latin.
userdictionary
;
28
import android.provider.
UserDictionary
;
55
{
UserDictionary
.Words._ID,
UserDictionary
.Words.WORD};
57
{
UserDictionary
.Words._ID,
UserDictionary
.Words.WORD,
UserDictionary
.Words.SHORTCUT};
66
UserDictionary
.Words.WORD,
70
UserDictionary
.Words.WORD,
UserDictionary
.Words.SHORTCU
[
all
...]
UserDictionaryList.java
17
package com.android.inputmethod.latin.
userdictionary
;
27
import android.provider.
UserDictionary
;
58
final Cursor cursor = activity.getContentResolver().query(
UserDictionary
.Words.CONTENT_URI,
59
new String[] {
UserDictionary
.Words.LOCALE },
68
final int columnIndex = cursor.getColumnIndex(
UserDictionary
.Words.LOCALE);
UserDictionaryAddWordContents.java
17
package com.android.inputmethod.latin.
userdictionary
;
24
import android.provider.
UserDictionary
;
194
private static final String[] HAS_WORD_PROJECTION = {
UserDictionary
.Words.WORD };
195
private static final String HAS_WORD_SELECTION_ONE_LOCALE =
UserDictionary
.Words.WORD
196
+ "=? AND " +
UserDictionary
.Words.LOCALE + "=?";
197
private static final String HAS_WORD_SELECTION_ALL_LOCALES =
UserDictionary
.Words.WORD
198
+ "=? AND " +
UserDictionary
.Words.LOCALE + " is null";
204
cursor = context.getContentResolver().query(
UserDictionary
.Words.CONTENT_URI,
208
cursor = context.getContentResolver().query(
UserDictionary
.Words.CONTENT_URI,
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
UserDictionaryCompatUtils.java
22
import android.provider.
UserDictionary
;
37
?
UserDictionary
.Words.LOCALE_TYPE_CURRENT :
UserDictionary
.Words.LOCALE_TYPE_ALL;
38
UserDictionary
.Words.addWord(context, word, freq, localeType);
41
// {@link
UserDictionary
.Words#addWord(Context,String,int,String,Locale)} was introduced
46
UserDictionary
.Words.addWord(context, word, freq, shortcut, locale);
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
UserDictionaryListTest.java
27
import android.provider.
UserDictionary
;
47
ShadowContentResolver.registerProviderInternal(
UserDictionary
.AUTHORITY, mContentProvider);
72
new String[]{
UserDictionary
.Words.LOCALE});
UserDictionaryCursorLoaderTest.java
26
import android.provider.
UserDictionary
;
48
ShadowContentResolver.registerProviderInternal(
UserDictionary
.AUTHORITY, mContentProvider);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
PersonalDictionaryLookup.java
24
import android.provider.
UserDictionary
;
52
* data once when created and reloads it when notified of changes to {@link
UserDictionary
}
260
UserDictionary
.Words.CONTENT_URI,
537
Cursor cursor = mResolver.query(
UserDictionary
.Words.CONTENT_URI,
538
null, null, null,
UserDictionary
.Words.DEFAULT_SORT_ORDER);
547
final int dictLocaleIndex = cursor.getColumnIndex(
UserDictionary
.Words.LOCALE);
555
final int dictWordIndex = cursor.getColumnIndex(
UserDictionary
.Words.WORD);
603
final int shortcutIndex = cursor.getColumnIndex(
UserDictionary
.Words.SHORTCUT);
UserBinaryDictionary.java
25
import android.provider.
UserDictionary
.Words;
/frameworks/base/core/java/android/provider/
UserDictionary.java
35
public class
UserDictionary
{
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
UserDictionaryProvider.java
17
package com.android.providers.
userdictionary
;
37
import android.provider.
UserDictionary
;
38
import android.provider.
UserDictionary
.Words;
65
private static final String AUTHORITY =
UserDictionary
.AUTHORITY;
249
Uri wordUri = ContentUris.withAppendedId(
UserDictionary
.Words.CONTENT_URI, rowId);
DictionaryBackupAgent.java
17
package com.android.providers.
userdictionary
;
41
import android.provider.
UserDictionary
.Words;
52
private static final String KEY_DICTIONARY = "
userdictionary
";
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
PersonalDictionaryLookupTest.java
30
import android.provider.
UserDictionary
;
84
UserDictionary
.Words.addWord(mContext, word, frequency, shortcut, locale);
86
Cursor cursor = mContentResolver.query(
UserDictionary
.Words.CONTENT_URI, null,
87
UserDictionary
.Words.WORD + "='" + word + "'", null, null);
89
Uri uri = Uri.withAppendedPath(
UserDictionary
.Words.CONTENT_URI,
90
cursor.getString(cursor.getColumnIndex(
UserDictionary
.Words._ID)));
97
* Deletes the entry for the given word from
UserDictionary
.
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
AndroidWordLevelSpellCheckerSession.java
22
import android.provider.
UserDictionary
.Words;
/external/robolectric/v1/lib/main/
android.jar
/prebuilts/sdk/12/
android.jar
/prebuilts/sdk/14/
android.jar
/prebuilts/sdk/15/
android.jar
/prebuilts/sdk/18/
android.jar
/prebuilts/sdk/19/
android.jar
/prebuilts/sdk/21/
android.jar
Completed in 474 milliseconds
1
2