/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/src/com/android/providers/media/photopicker/sync/ |
D | MediaSetsSyncWorker.java | 79 final String categoryId = getInputData().getString(SYNC_WORKER_INPUT_CATEGORY_ID); in doWork() local 84 checkValidityOfWorkerInputParams(categoryId, syncSource, categoryAuthority); in doWork() 87 + syncSource + " for " + categoryId); in doWork() 94 syncMediaSets(syncSource, categoryId, categoryAuthority, mimeTypes); in doWork() 97 + " for categoryId " + categoryId); in doWork() 102 + syncSource + " with categoryId " + categoryId, e); in doWork() 108 String categoryId, int syncSource, String categoryAuth) in checkValidityOfWorkerInputParams() argument 110 Objects.requireNonNull(categoryId); in checkValidityOfWorkerInputParams() 111 if (categoryId.isEmpty()) { in checkValidityOfWorkerInputParams() 127 int syncSource, @NonNull String categoryId, in syncMediaSets() argument [all …]
|
D | MediaSetsResetWorker.java | 59 final String categoryId = getInputData().getString(SYNC_WORKER_INPUT_CATEGORY_ID); in doWork() local 69 boolean isMediaInMediaSetsCacheDeleted = clearMediaSetsContentCache(categoryId, authority); in doWork() 70 boolean isMediaSetsCacheDeleted = clearMediaSetsCache(syncSource, categoryId, authority); in doWork() 81 @NonNull String categoryId, in clearMediaSetsCache() argument 84 requireNonNull(categoryId); in clearMediaSetsCache() 94 MediaSetsDatabaseUtil.clearMediaSetsCache(database, categoryId, authority); in clearMediaSetsCache() 115 @NonNull String categoryId, in clearMediaSetsContentCache() 118 requireNonNull(categoryId); in clearMediaSetsContentCache() 129 .getMediaSetPickerIdsForGivenCategoryId(database, categoryId, authority); in clearMediaSetsContentCache()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/v2/sqlite/ |
D | MediaSetsDatabaseUtil.java | 62 @NonNull String categoryId, @NonNull String authority, in cacheMediaSets() argument 67 requireNonNull(categoryId); in cacheMediaSets() 72 mediaSetMetadataCursor, categoryId, authority, mimeTypesAsString); in cacheMediaSets() 174 final String categoryId = requestParams.getCategoryId(); in getMediaSetsForCategory() local 182 requireNonNull(categoryId); in getMediaSetsForCategory() 204 .getColumnName(), categoryId)) in getMediaSetsForCategory() 294 @NonNull String categoryId, in clearMediaSetsCache() argument 298 requireNonNull(categoryId); in clearMediaSetsCache() 305 String[] whereArgs = new String[] { categoryId, authority }; in clearMediaSetsCache() 324 @NonNull String categoryId, in getMediaSetPickerIdsForGivenCategoryId() argument [all …]
|
D | MediaGroupCursorUtils.java | 268 final String categoryId = requireNonNull( in getMediaGroupCursorForCategories() local 305 categoryId, in getMediaGroupCursorForCategories()
|
/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/providers/MediaProvider/src/com/android/providers/media/photopicker/v2/ |
D | PickerNotificationSender.java | 183 @NonNull String categoryId) { in notifyMediaSetsChange() argument 185 requireNonNull(categoryId); in notifyMediaSetsChange() 187 + "given categoryId " + categoryId); in notifyMediaSetsChange() 189 getMediaSetsUpdateUri(categoryId), /* observer */ null in notifyMediaSetsChange() 193 private static Uri getMediaSetsUpdateUri(@NonNull String categoryId) { in getMediaSetsUpdateUri() argument 196 .appendPath(categoryId) in getMediaSetsUpdateUri()
|
/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/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/sync/ |
D | MediaInMediaSetsSyncWorkerTest.java | 188 String categoryId = "categoryId"; in testMediaInMediaSetSyncWithCloudProvider() local 196 mDatabase, c, categoryId, auth, mimeTypes); in testMediaInMediaSetSyncWithCloudProvider() 201 extras.putString(MediaSetsSyncRequestParams.KEY_PARENT_CATEGORY_ID, categoryId); in testMediaInMediaSetSyncWithCloudProvider() 309 String categoryId = "categoryId"; in testMediaInMediaSetsSyncLocalProvider() local 317 mDatabase, c, categoryId, auth, mimeTypes); in testMediaInMediaSetsSyncLocalProvider() 322 extras.putString(MediaSetsSyncRequestParams.KEY_PARENT_CATEGORY_ID, categoryId); in testMediaInMediaSetsSyncLocalProvider() 413 String categoryId = "categoryId"; in testMediaSetContentsSyncLoop() local 421 mDatabase, c, categoryId, auth, mimeTypes); in testMediaSetContentsSyncLoop() 426 extras.putString(MediaSetsSyncRequestParams.KEY_PARENT_CATEGORY_ID, categoryId); in testMediaSetContentsSyncLoop() 508 String categoryId = "categoryId"; in testMediaInMediaSetSyncComplete() local [all …]
|
D | PickerSyncManagerTest.java | 769 String categoryId = "id"; in testMediaSetsSyncLocalProvider() local 776 extras.putString(MediaSetsSyncRequestParams.KEY_PARENT_CATEGORY_ID, categoryId); in testMediaSetsSyncLocalProvider() 808 .isEqualTo(categoryId); in testMediaSetsSyncLocalProvider() 825 .isEqualTo(categoryId); in testMediaSetsSyncLocalProvider() 838 String categoryId = "id"; in testMediaSetsSyncCloudProvider() local 845 extras.putString(MediaSetsSyncRequestParams.KEY_PARENT_CATEGORY_ID, categoryId); in testMediaSetsSyncCloudProvider() 877 .isEqualTo(categoryId); in testMediaSetsSyncCloudProvider() 894 .isEqualTo(categoryId); in testMediaSetsSyncCloudProvider()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/categorygrid/data/ |
D | CategoryDataServiceImpl.kt | 146 mediaSetsUpdateCallbackFlow?.collect { categoryId: String -> in <lambda>() method 151 categoryId, in <lambda>() 154 getMediaSetPagingSourceForCategoryId(categoryId)?.invalidate() in <lambda>() 189 val categoryId: String = uri.lastPathSegment ?: "-1" in <lambda>() constant 190 trySend(categoryId) in <lambda>() 208 categoryId: String in <lambda>() 211 if (category.id == categoryId) { in <lambda>()
|
/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 | 89 public static LiveWallpaperInfo fromAttributeSet(Context context, String categoryId, in fromAttributeSet() argument 93 Log.w(TAG, "Live wallpaper declaration without id in category " + categoryId); in fromAttributeSet() 98 return fromPackageAndServiceName(context, categoryId, wallpaperId, packageName, in fromAttributeSet() 107 public static LiveWallpaperInfo fromPackageAndServiceName(Context context, String categoryId, in fromPackageAndServiceName() argument 140 return new LiveWallpaperInfo(wallpaperInfo, false, categoryId); in fromPackageAndServiceName()
|
D | CreativeCategory.java | 167 String categoryId = cursor.getString( in readCreativeWallpapers() local 169 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/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()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/viewmodel/ |
D | WallpaperCarouselViewModel.kt | 188 val categoryId: String, in <lambda>() constant in NavigationEvent.NavigateToWallpaperCollection
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/util/ |
D | PickerDbTestUtils.java | 338 public static Cursor getMediaCategoriesCursor(String categoryId) { in getMediaCategoriesCursor() argument 350 categoryId, in getMediaCategoriesCursor()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/category/ui/view/ |
D | CategoriesFragment.kt | 142 navigationEvent.categoryId, in <lambda>()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/category/ui/viewmodel/ |
D | CategoriesViewModel.kt | 469 val categoryId: String, in <lambda>() constant in com.android.wallpaper.picker.category.ui.viewmodel.CategoriesViewModel.NavigationEvent.NavigateToWallpaperCollection
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/v2/ |
D | PickerDataLayerV2Test.java | 828 String categoryId = "id"; in testQueryMediaSets() local 842 mFacade.getDatabase(), cursor, categoryId, in testQueryMediaSets() local 852 extras.putString(MediaSetsSyncRequestParams.KEY_PARENT_CATEGORY_ID, categoryId); in testQueryMediaSets()
|