Searched defs:categoryId (Results 1 - 4 of 4) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
H A DDynamicGridKeyboard.java55 final int maxKeyCount, final int categoryId) {
63 mIsRecents = categoryId == EmojiCategory.ID_RECENTS;
54 DynamicGridKeyboard(final SharedPreferences prefs, final Keyboard templateKeyboard, final int maxKeyCount, final int categoryId) argument
H A DEmojiCategory.java68 public CategoryProperties(final int categoryId, final int pageCount) { argument
69 mCategoryId = categoryId;
221 private void addShownCategoryId(final int categoryId) { argument
222 // Load a keyboard of categoryId
223 getKeyboard(categoryId, 0 /* categoryPageId */);
225 new CategoryProperties(categoryId, getCategoryPageCount(categoryId));
229 private boolean isShownCategoryId(final int categoryId) { argument
231 if (prop.mCategoryId == categoryId) {
238 public static String getCategoryName(final int categoryId, fina argument
247 getCategoryTabIcon(final int categoryId) argument
251 getAccessibilityDescription(final int categoryId) argument
267 getCategoryPageSize(final int categoryId) argument
278 setCurrentCategoryId(final int categoryId) argument
300 getTabIdFromCategoryId(final int categoryId) argument
311 getPageIdFromCategoryId(final int categoryId) argument
330 getCategoryPageCount(final int categoryId) argument
361 getCategoryKeyboardMapKey(final int categoryId, final int id) argument
365 getKeyboard(final int categoryId, final int id) argument
[all...]
H A DEmojiPalettesView.java148 private void addTab(final TabHost host, final int categoryId) { argument
149 final String tabId = EmojiCategory.getCategoryName(categoryId, 0 /* categoryPageId */);
157 iconView.setImageResource(mEmojiCategory.getCategoryTabIcon(categoryId));
158 iconView.setContentDescription(mEmojiCategory.getAccessibilityDescription(categoryId));
246 final int categoryId = mEmojiCategory.getCategoryId(tabId);
247 setCurrentCategoryId(categoryId, false /* force */);
255 setCurrentCategoryId(newPos.first /* categoryId */, false /* force */);
414 private void setCurrentCategoryId(final int categoryId, final boolean force) { argument
416 if (oldCategoryId == categoryId && !force) {
427 mEmojiCategory.setCurrentCategoryId(categoryId);
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
H A DSettings.java421 final SharedPreferences prefs, final int categoryId, final int categoryPageId) {
422 final String key = PREF_EMOJI_CATEGORY_LAST_TYPED_ID + categoryId;
427 final SharedPreferences prefs, final int categoryId) {
428 final String key = PREF_EMOJI_CATEGORY_LAST_TYPED_ID + categoryId;
433 final SharedPreferences prefs, final int categoryId) {
434 prefs.edit().putInt(PREF_LAST_SHOWN_EMOJI_CATEGORY_ID, categoryId).apply();
420 writeLastTypedEmojiCategoryPageId( final SharedPreferences prefs, final int categoryId, final int categoryPageId) argument
426 readLastTypedEmojiCategoryPageId( final SharedPreferences prefs, final int categoryId) argument
432 writeLastShownEmojiCategoryId( final SharedPreferences prefs, final int categoryId) argument

Completed in 510 milliseconds