Home
last modified time | relevance | path

Searched refs:categoryId (Results 1 – 6 of 6) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DEmojiCategory.java68 public CategoryProperties(final int categoryId, final int pageCount) { in CategoryProperties() argument
69 mCategoryId = categoryId; in CategoryProperties()
221 private void addShownCategoryId(final int categoryId) { in addShownCategoryId() argument
223 getKeyboard(categoryId, 0 /* categoryPageId */); in addShownCategoryId()
225 new CategoryProperties(categoryId, getCategoryPageCount(categoryId)); in addShownCategoryId()
229 private boolean isShownCategoryId(final int categoryId) { in isShownCategoryId() argument
231 if (prop.mCategoryId == categoryId) { in isShownCategoryId()
238 public static String getCategoryName(final int categoryId, final int categoryPageId) { in getCategoryName() argument
239 return sCategoryName[categoryId] + "-" + categoryPageId; in getCategoryName()
247 public int getCategoryTabIcon(final int categoryId) { in getCategoryTabIcon() argument
[all …]
DEmojiPalettesView.java148 private void addTab(final TabHost host, final int categoryId) { in addTab() argument
149 final String tabId = EmojiCategory.getCategoryName(categoryId, 0 /* categoryPageId */); in addTab()
157 iconView.setImageResource(mEmojiCategory.getCategoryTabIcon(categoryId)); in addTab()
158 iconView.setContentDescription(mEmojiCategory.getAccessibilityDescription(categoryId)); in addTab()
246 final int categoryId = mEmojiCategory.getCategoryId(tabId); in onTabChanged() local
247 setCurrentCategoryId(categoryId, false /* force */); in onTabChanged()
414 private void setCurrentCategoryId(final int categoryId, final boolean force) { in setCurrentCategoryId() argument
416 if (oldCategoryId == categoryId && !force) { in setCurrentCategoryId()
427 mEmojiCategory.setCurrentCategoryId(categoryId); in setCurrentCategoryId()
428 final int newTabId = mEmojiCategory.getTabIdFromCategoryId(categoryId); in setCurrentCategoryId()
[all …]
DDynamicGridKeyboard.java55 final int maxKeyCount, final int categoryId) { in DynamicGridKeyboard() argument
63 mIsRecents = categoryId == EmojiCategory.ID_RECENTS; in DynamicGridKeyboard()
/packages/modules/ExtServices/src/android/ext/services/autofill/
DAutofillFieldClassificationServiceImpl.java66 final String categoryId = categoryIds.get(j); in calculateScores() local
69 if (algorithms != null && algorithms.containsKey(categoryId)) { in calculateScores()
70 algorithmName = algorithms.get(categoryId); in calculateScores()
72 if (args != null && args.containsKey(categoryId)) { in calculateScores()
73 arg = args.get(categoryId); in calculateScores()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSettings.java421 final SharedPreferences prefs, final int categoryId, final int categoryPageId) { in writeLastTypedEmojiCategoryPageId() argument
422 final String key = PREF_EMOJI_CATEGORY_LAST_TYPED_ID + categoryId; in writeLastTypedEmojiCategoryPageId()
427 final SharedPreferences prefs, final int categoryId) { in readLastTypedEmojiCategoryPageId() argument
428 final String key = PREF_EMOJI_CATEGORY_LAST_TYPED_ID + categoryId; in readLastTypedEmojiCategoryPageId()
433 final SharedPreferences prefs, final int categoryId) { in writeLastShownEmojiCategoryId() argument
434 prefs.edit().putInt(PREF_LAST_SHOWN_EMOJI_CATEGORY_ID, categoryId).apply(); in writeLastShownEmojiCategoryId()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastResources.java67 int categoryId = getCmasCategoryResId(cmasInfo); in appendCmasAlertDetails() local
68 if (categoryId != 0) { in appendCmasAlertDetails()
69 appendMessageDetail(context, buf, R.string.cmas_category_heading, categoryId); in appendCmasAlertDetails()