/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
D | KeyCodeDescriptionMapper.java | 152 final int resId; in getDescriptionForSwitchAlphaSymbol() local 160 resId = R.string.spoken_description_to_symbol; in getDescriptionForSwitchAlphaSymbol() 164 resId = R.string.spoken_description_to_alpha; in getDescriptionForSwitchAlphaSymbol() 167 resId = R.string.spoken_description_to_symbol; in getDescriptionForSwitchAlphaSymbol() 170 resId = R.string.spoken_description_to_numeric; in getDescriptionForSwitchAlphaSymbol() 176 return context.getString(resId); in getDescriptionForSwitchAlphaSymbol() 190 final int resId; in getDescriptionForShiftKey() local 195 resId = R.string.spoken_description_caps_lock; in getDescriptionForShiftKey() 199 resId = R.string.spoken_description_shift_shifted; in getDescriptionForShiftKey() 202 resId = R.string.spoken_description_symbols_shift; in getDescriptionForShiftKey() [all …]
|
D | MainKeyboardAccessibilityDelegate.java | 153 final int resId; in announceKeyboardType() local 163 resId = R.string.spoken_description_mode_alpha; in announceKeyboardType() 171 resId = R.string.spoken_description_shiftmode_on; in announceKeyboardType() 179 resId = R.string.spoken_description_shiftmode_locked; in announceKeyboardType() 182 resId = R.string.spoken_description_shiftmode_locked; in announceKeyboardType() 185 resId = R.string.spoken_description_mode_symbol; in announceKeyboardType() 188 resId = R.string.spoken_description_mode_symbol_shift; in announceKeyboardType() 191 resId = R.string.spoken_description_mode_phone; in announceKeyboardType() 194 resId = R.string.spoken_description_mode_phone_shift; in announceKeyboardType() 199 sendWindowStateChanged(resId); in announceKeyboardType()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsMockResources.java | 30 public void addResource(int resId, String packageName, String typeName, String entryName) { in addResource() argument 31 mPackages.put(resId, packageName); in addResource() 32 mTypes.put(resId, typeName); in addResource() 33 mEntries.put(resId, entryName); in addResource() 37 public String getResourceName(int resId) throws NotFoundException { in getResourceName() argument 38 if (!mPackages.containsKey(resId)) { in getResourceName() 39 throw new NotFoundException("Resource " + resId + " not found"); in getResourceName() 41 return mPackages.get(resId) + ":" + mTypes.get(resId) + "/" + mEntries.get(resId); in getResourceName() 45 public String getResourcePackageName(int resId) throws NotFoundException { in getResourcePackageName() argument 46 if (!mPackages.containsKey(resId)) { in getResourcePackageName() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Partner.java | 100 int resId = getResources().getIdentifier(RES_DEFAULT_WALLPAPER_HIDDEN, "bool", in hideDefaultWallpaper() local 102 return resId != 0 && getResources().getBoolean(resId); in hideDefaultWallpaper() 106 int resId = getResources().getIdentifier(RES_SYSTEM_WALLPAPER_DIR, "string", in getWallpaperDirectory() local 108 return (resId != 0) ? new File(getResources().getString(resId)) : null; in getWallpaperDirectory() 112 int resId = getResources().getIdentifier(RES_REQUIRE_FIRST_RUN_FLOW, "bool", in requiresFirstRunFlow() local 114 return resId != 0 && getResources().getBoolean(resId); in requiresFirstRunFlow() 123 int resId = getResources().getIdentifier(RES_GRID_NUM_ROWS, in applyInvariantDeviceProfileOverrides() local 125 if (resId > 0) { in applyInvariantDeviceProfileOverrides() 126 numRows = getResources().getInteger(resId); in applyInvariantDeviceProfileOverrides() 129 resId = getResources().getIdentifier(RES_GRID_NUM_COLUMNS, in applyInvariantDeviceProfileOverrides() [all …]
|
D | DefaultLayoutParser.java | 244 final int resId = partnerRes.getIdentifier(Partner.RES_FOLDER, in parseAndAdd() local 246 if (resId != 0) { in parseAndAdd() 247 final XmlResourceParser partnerParser = partnerRes.getXml(resId); in parseAndAdd() 266 final int resId = getAttributeResourceValue(parser, ATTR_FOLDER_ITEMS, 0); in parseAndAdd() local 267 if (resId != 0) { in parseAndAdd() 268 parser = mSourceRes.getXml(resId); in parseAndAdd()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ToastBarOperation.java | 124 final int resId; in getDescription() local 126 resId = R.plurals.conversation_deleted; in getDescription() 130 resId = R.plurals.conversation_folder_changed; in getDescription() 134 resId = R.plurals.conversation_archived; in getDescription() 136 resId = R.plurals.conversation_spammed; in getDescription() 138 resId = R.plurals.conversation_not_spam; in getDescription() 140 resId = R.plurals.conversation_not_important; in getDescription() 142 resId = R.plurals.conversation_muted; in getDescription() 144 resId = R.plurals.conversation_unstarred; in getDescription() 146 resId = R.plurals.conversation_phished; in getDescription() [all …]
|
D | ConversationTipView.java | 116 image.setImageResource(attr.resId); in bindIcon() 272 public int resId; field in ConversationTipView.ImageAttrSet 276 public ImageAttrSet(int resId, int background, String contentDescription) { in ImageAttrSet() argument 277 this.resId = resId; in ImageAttrSet()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/ |
D | Layout.java | 635 public Builder icon(int resId) { in icon() argument 636 mHeader.mAppearance.mIcon = mRes.getDrawable(resId); in icon() 645 public Builder contentIconRes(int resId) { in contentIconRes() argument 646 mHeader.mContentIconRes = resId; in contentIconRes() 650 public Builder title(int resId) { in title() argument 651 mHeader.mAppearance.mTitle = mRes.getString(resId); in title() 655 public Builder description(int resId) { in description() argument 656 mHeader.mAppearance.mDescriptionGetter = new ResourceStringGetter(mRes, resId); in description() 682 public Builder detailedDescription(int resId) { in detailedDescription() argument 683 mHeader.mDetailedDescription = mRes.getString(resId); in detailedDescription() [all …]
|
D | ProgressDialogFragment.java | 58 public void setIcon(@DrawableRes int resId) { in setIcon() argument 59 mIconView.setImageResource(resId); in setIcon() 68 public void setTitle(@StringRes int resId) { in setTitle() argument 69 mTitleView.setText(resId); in setTitle() 76 public void setTitleEnd(@StringRes int resId) { in setTitleEnd() argument 77 mTitleEndView.setText(resId); in setTitleEnd() 85 public void setSummary(@StringRes int resId) { in setSummary() argument 86 mSummaryView.setText(resId); in setSummary()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
D | AccountSelectionUtil.java | 62 int resId, int subscriptionId) { in AccountSelectedListener() argument 68 mResId = resId; in AccountSelectedListener() 73 int resId) { in AccountSelectedListener() argument 76 this(context, accountList, resId, /* subscriptionId = */ -1); in AccountSelectedListener() 85 public static Dialog getSelectAccountDialog(Context context, int resId) { in getSelectAccountDialog() argument 86 return getSelectAccountDialog(context, resId, null, null); in getSelectAccountDialog() 89 public static Dialog getSelectAccountDialog(Context context, int resId, in getSelectAccountDialog() argument 91 return getSelectAccountDialog(context, resId, onClickListener, null); in getSelectAccountDialog() 98 public static Dialog getSelectAccountDialog(Context context, int resId, in getSelectAccountDialog() argument 145 new AccountSelectedListener(context, writableAccountList, resId); in getSelectAccountDialog() [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/interactions/ |
D | ImportExportDialogFragment.java | 162 final int resId = adapter.getItem(which).mChoiceResourceId; in onCreateDialog() 163 switch (resId) { in onCreateDialog() 166 dismissDialog = handleImportRequest(resId, in onCreateDialog() 186 + getActivity().getResources().getResourceEntryName(resId)); in onCreateDialog() 247 private boolean handleImportRequest(int resId, int subscriptionId) { in handleImportRequest() argument 258 args.putInt(KEY_RES_ID, resId); in handleImportRequest() 271 AccountSelectionUtil.doImport(getActivity(), resId, in handleImportRequest() local 312 public AdapterEntry(CharSequence label, int resId, int subId) { in AdapterEntry() argument 314 mChoiceResourceId = resId; in AdapterEntry() 318 public AdapterEntry(String label, int resId) { in AdapterEntry() argument [all …]
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
D | ContactDisplayUtils.java | 164 final int resId = isStarred in configureStarredImageView() local 167 starredView.setImageResource(resId); in configureStarredImageView() 184 final int resId = isStarred in configureStarredMenuItem() local 187 starredMenuItem.setIcon(resId); in configureStarredMenuItem() 303 final int resId = resources.getIdentifier(name, "drawable", packageName); in getDrawable() local 305 if (resId == 0) { in getDrawable() 312 return getResourceDrawable(resources, resId); in getDrawable() 320 private Drawable getResourceDrawable(Resources resources, int resId) in getResourceDrawable() argument 322 Drawable drawable = resources.getDrawable(resId); in getResourceDrawable()
|
/packages/apps/Settings/src/com/android/settings/ |
D | RegulatoryInfoDisplayActivity.java | 63 int resId = getResourceId(); in onCreate() local 64 if (resId != 0) { in onCreate() 66 Drawable d = getDrawable(resId); in onCreate() 81 image.setImageResource(resId); in onCreate() 98 int resId = getResources().getIdentifier( in getResourceId() local 108 resId = id; in getResourceId() 111 return resId; in getResourceId()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
D | SelectAccountActivity.java | 59 final int resId = R.string.import_from_vcf_file; in onCreate() local 82 this, accountList, resId) { in onCreate() 95 showDialog(resId); in onCreate() 100 protected Dialog onCreateDialog(int resId, Bundle bundle) { in onCreateDialog() argument 101 switch (resId) { in onCreateDialog() 107 return AccountSelectionUtil.getSelectAccountDialog(this, resId, in onCreateDialog() 112 return super.onCreateDialog(resId, bundle); in onCreateDialog()
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
D | WallpaperPickerActivity.java | 234 public ResourceWallpaperInfo(Resources res, int resId, Drawable thumb) { in ResourceWallpaperInfo() argument 236 mResId = resId; in ResourceWallpaperInfo() 806 Resources res, int resId, int rotation, boolean leftAligned) { in createThumbnail() argument 819 context, res, resId, null, rotation, width, height, false, true, null); in createThumbnail() 933 final int resId = partnerRes.getIdentifier(Partner.RES_WALLPAPERS, "array", in findBundledWallpapers() local 935 if (resId != 0) { in findBundledWallpapers() 936 addWallpapers(bundled, partnerRes, partner.getPackageName(), resId); in findBundledWallpapers() 1023 int resId = sysRes.getIdentifier("default_wallpaper", "drawable", "android"); in getPreKKDefaultWallpaperInfo() local 1034 int rotation = BitmapUtils.getRotationFromExif(res, resId); in getPreKKDefaultWallpaperInfo() 1036 defaultThumbSize, getContext(), null, null, sysRes, resId, rotation, false); in getPreKKDefaultWallpaperInfo() [all …]
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | Mailbox.java | 418 final int resId; in getSystemMailboxName() local 421 resId = R.string.mailbox_name_server_inbox; in getSystemMailboxName() 424 resId = R.string.mailbox_name_server_outbox; in getSystemMailboxName() 427 resId = R.string.mailbox_name_server_drafts; in getSystemMailboxName() 430 resId = R.string.mailbox_name_server_trash; in getSystemMailboxName() 433 resId = R.string.mailbox_name_server_sent; in getSystemMailboxName() 436 resId = R.string.mailbox_name_server_junk; in getSystemMailboxName() 439 resId = R.string.mailbox_name_server_starred; in getSystemMailboxName() 442 resId = R.string.mailbox_name_server_all_unread; in getSystemMailboxName() 447 return context.getString(resId); in getSystemMailboxName()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | VolumeSeekBarPreference.java | 166 public void showIcon(int resId) { in showIcon() argument 169 if (mIconResId == resId) return; in showIcon() 170 mIconResId = resId; in showIcon() 174 public void setMuteIcon(int resId) { in setMuteIcon() argument 175 if (mMuteIconResId == resId) return; in setMuteIcon() 176 mMuteIconResId = resId; in setMuteIcon()
|
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
D | TargetDrawable.java | 61 public TargetDrawable(Resources res, int resId, int count) { in TargetDrawable() argument 62 mResourceId = resId; in TargetDrawable() 63 setDrawable(res, resId); in TargetDrawable() 67 public void setDrawable(Resources res, int resId) { in setDrawable() argument 70 Drawable drawable = resId == 0 ? null : res.getDrawable(resId); in setDrawable()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | StorageWizardBase.java | 152 protected void setHeaderText(int resId, String... args) { in setHeaderText() argument 153 final CharSequence headerText = TextUtils.expandTemplate(getText(resId), args); in setHeaderText() 158 protected void setBodyText(int resId, String... args) { in setBodyText() argument 160 TextUtils.expandTemplate(getText(resId), args)); in setBodyText() 163 protected void setSecondaryBodyText(int resId, String... args) { in setSecondaryBodyText() argument 165 secondBody.setText(TextUtils.expandTemplate(getText(resId), args)); in setSecondaryBodyText()
|
/packages/apps/InCallUI/src/com/android/incallui/ |
D | StatusBarNotifier.java | 443 int resId = R.string.notification_ongoing_call; in getContentString() local 445 resId = R.string.notification_ongoing_call_wifi; in getContentString() 450 resId = R.string.notification_incoming_call_wifi; in getContentString() 452 resId = R.string.notification_incoming_call; in getContentString() 455 resId = R.string.notification_on_hold; in getContentString() 457 resId = R.string.notification_dialing; in getContentString() 460 resId = R.string.notification_requesting_video_call; in getContentString() 463 return mContext.getString(resId); in getContentString()
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | EventViewUtils.java | 47 int value, resId; in constructReminderLabel() local 52 resId = R.plurals.Nmins; in constructReminderLabel() 54 resId = R.plurals.Nminutes; in constructReminderLabel() 58 resId = R.plurals.Nhours; in constructReminderLabel() 61 resId = R.plurals.Ndays; in constructReminderLabel() 64 String format = resources.getQuantityString(resId, value); in constructReminderLabel()
|
/packages/apps/Stk/src/com/android/stk/ |
D | StkDialogActivity.java | 264 private void sendResponse(int resId, boolean confirmed) { in sendResponse() argument 271 CatLog.d(LOG_TAG, "Ignore response: id is " + resId); in sendResponse() 275 CatLog.d(LOG_TAG, "sendResponse resID[" + resId + "] confirmed[" + confirmed + "]"); in sendResponse() 281 args.putInt(StkAppService.RES_ID, resId); in sendResponse() 288 private void sendResponse(int resId) { in sendResponse() argument 289 sendResponse(resId, true); in sendResponse()
|
D | StkInputActivity.java | 233 void sendResponse(int resId) { in sendResponse() argument 234 sendResponse(resId, null, false); in sendResponse() 237 void sendResponse(int resId, String input, boolean help) { in sendResponse() argument 244 CatLog.d(LOG_TAG, "StkAppService is null, Ignore response: id is " + resId); in sendResponse() 248 CatLog.d(LOG_TAG, "sendResponse resID[" + resId + "] input[*****] help[" in sendResponse() 254 args.putInt(StkAppService.RES_ID, resId); in sendResponse()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | SubtypeLocaleUtils.java | 110 final int resId = res.getIdentifier(resourceName, null, RESOURCE_PACKAGE_NAME); in initLocked() local 111 sKeyboardLayoutToNameIdsMap.put(layoutName, resId); in initLocked() 125 final int resId = res.getIdentifier(resourceName, null, RESOURCE_PACKAGE_NAME); in initLocked() local 126 sExceptionalLocaleDisplayedInRootLocale.put(localeString, resId); in initLocked() 134 final int resId = res.getIdentifier(resourceName, null, RESOURCE_PACKAGE_NAME); in initLocked() local 135 sExceptionalLocaleToNameIdsMap.put(localeString, resId); in initLocked()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | BottomBar.java | 492 public void setShutterButtonIcon(int resId) { in setShutterButtonIcon() argument 493 Drawable iconDrawable = getResources().getDrawable(resId); in setShutterButtonIcon() 503 public void animateToVideoStop(int resId) { in animateToVideoStop() argument 511 getResources().getDrawable(resId)); in animateToVideoStop() 519 public void animateToFullSize(int resId) { in animateToFullSize() argument 527 getResources().getDrawable(resId)); in animateToFullSize()
|