/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/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/model/ |
D | CategoryTest.java | 48 final String categoryId = "Album"; in testConstructor() local 50 final Cursor cursor = generateCursorForCategory(categoryId, categoryName, in testConstructor() 62 assertThat(category.getId()).isEqualTo(categoryId); in testConstructor() 65 private static Cursor generateCursorForCategory(String categoryId, String categoryName, in generateCursorForCategory() argument 68 cursor.addRow(new Object[] {categoryId, 1, categoryName, coverId, itemCount, in generateCursorForCategory()
|
/packages/modules/ExtServices/java/src/android/ext/services/autofill/ |
D | AutofillFieldClassificationServiceImpl.java | 66 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/modules/StatsD/statsd/src/utils/ |
D | RestrictedPolicyManager.cpp | 33 const StatsdRestrictionCategory categoryId) const { in getRestrictedCategoryTtl() 34 return mRestrictionCategoryTtlInDaysMap.find(categoryId) != in getRestrictedCategoryTtl() 36 ? mRestrictionCategoryTtlInDaysMap.at(categoryId) in getRestrictedCategoryTtl()
|
D | RestrictedPolicyManager.h | 49 int32_t getRestrictedCategoryTtl(StatsdRestrictionCategory categoryId) const;
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | SystemStaticWallpaperInfo.java | 106 String categoryId, AttributeSet attrs) { in fromAttributeSet() argument 119 categoryId, drawableResId, wallpaperTitleResId, wallpaperSubtitle1ResId, in fromAttributeSet() 131 Resources stubApkResources, String categoryId) { in getAll() argument 134 int listResId = stubApkResources.getIdentifier(categoryId + WALLPAPERS_RES_SUFFIX, in getAll() 160 partnerStubPackageName, wallpaperResName, categoryId, in getAll()
|
D | LiveWallpaperInfo.java | 87 public static LiveWallpaperInfo fromAttributeSet(Context context, String categoryId, in fromAttributeSet() argument 91 Log.w(TAG, "Live wallpaper declaration without id in category " + categoryId); in fromAttributeSet() 96 return fromPackageAndServiceName(context, categoryId, wallpaperId, packageName, in fromAttributeSet() 105 public static LiveWallpaperInfo fromPackageAndServiceName(Context context, String categoryId, in fromPackageAndServiceName() argument 138 return new LiveWallpaperInfo(wallpaperInfo, false, categoryId); in fromPackageAndServiceName()
|
D | CreativeCategory.java | 158 String categoryId = cursor.getString( in readCreativeWallpapers() local 160 if (!TextUtils.equals(categoryId, collectionId)) { in readCreativeWallpapers()
|
/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/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | WallpaperParserImpl.kt | 131 categoryId: String in parseXmlForWallpapersForASingleCategory() 146 categoryId, in parseXmlForWallpapersForASingleCategory() 153 categoryId, in parseXmlForWallpapersForASingleCategory()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastResources.java | 105 int categoryId = getCmasCategoryResId(cmasInfo); in appendCmasAlertDetails() local 106 if (categoryId != 0) { in appendCmasAlertDetails() 108 context.getString(categoryId)); in appendCmasAlertDetails()
|