Searched refs:categoryId (Results 1 – 5 of 5) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
D | EmojiCategory.java | 68 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 …]
|
D | EmojiPalettesView.java | 148 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 …]
|
D | DynamicGridKeyboard.java | 55 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/ |
D | Settings.java | 421 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/ |
D | CellBroadcastResources.java | 67 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()
|