Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DEmojiCategory.java58 public CategoryProperties(final int categoryId, final int pageCount) { in CategoryProperties() argument
59 mCategoryId = categoryId; in CategoryProperties()
142 private void addShownCategoryId(final int categoryId) { in addShownCategoryId() argument
144 getKeyboard(categoryId, 0 /* cagetoryPageId */); in addShownCategoryId()
146 new CategoryProperties(categoryId, getCategoryPageCount(categoryId)); in addShownCategoryId()
150 public String getCategoryName(final int categoryId, final int categoryPageId) { in getCategoryName() argument
151 return sCategoryName[categoryId] + "-" + categoryPageId; in getCategoryName()
159 public int getCategoryTabIcon(final int categoryId) { in getCategoryTabIcon() argument
160 return mCategoryTabIconId[categoryId]; in getCategoryTabIcon()
163 public String getAccessibilityDescription(final int categoryId) { in getAccessibilityDescription() argument
[all …]
DEmojiPalettesView.java151 private void addTab(final TabHost host, final int categoryId) { in addTab() argument
152 final String tabId = mEmojiCategory.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()
413 private void setCurrentCategoryId(final int categoryId, final boolean force) { in setCurrentCategoryId() argument
415 if (oldCategoryId == categoryId && !force) { in setCurrentCategoryId()
426 mEmojiCategory.setCurrentCategoryId(categoryId); in setCurrentCategoryId()
427 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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSettings.java429 final SharedPreferences prefs, final int categoryId, final int categoryPageId) { in writeLastTypedEmojiCategoryPageId() argument
430 final String key = PREF_EMOJI_CATEGORY_LAST_TYPED_ID + categoryId; in writeLastTypedEmojiCategoryPageId()
435 final SharedPreferences prefs, final int categoryId) { in readLastTypedEmojiCategoryPageId() argument
436 final String key = PREF_EMOJI_CATEGORY_LAST_TYPED_ID + categoryId; in readLastTypedEmojiCategoryPageId()
441 final SharedPreferences prefs, final int categoryId) { in writeLastShownEmojiCategoryId() argument
442 prefs.edit().putInt(PREF_LAST_SHOWN_EMOJI_CATEGORY_ID, categoryId).apply(); in writeLastShownEmojiCategoryId()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastResources.java63 int categoryId = getCmasCategoryResId(cmasInfo); in appendCmasAlertDetails() local
64 if (categoryId != 0) { in appendCmasAlertDetails()
65 appendMessageDetail(context, buf, R.string.cmas_category_heading, categoryId); in appendCmasAlertDetails()