/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
D | KeyCodeDescriptionMapper.java | 148 final int resId; in getDescriptionForSwitchAlphaSymbol() local 156 resId = R.string.spoken_description_to_symbol; in getDescriptionForSwitchAlphaSymbol() 160 resId = R.string.spoken_description_to_alpha; in getDescriptionForSwitchAlphaSymbol() 163 resId = R.string.spoken_description_to_symbol; in getDescriptionForSwitchAlphaSymbol() 166 resId = R.string.spoken_description_to_numeric; in getDescriptionForSwitchAlphaSymbol() 172 return context.getString(resId); in getDescriptionForSwitchAlphaSymbol() 186 final int resId; in getDescriptionForShiftKey() local 191 resId = R.string.spoken_description_caps_lock; in getDescriptionForShiftKey() 195 resId = R.string.spoken_description_shift_shifted; in getDescriptionForShiftKey() 198 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/apps/Launcher3/src/com/android/launcher3/ |
D | Partner.java | 102 int resId = getResources().getIdentifier(RES_DEFAULT_WALLPAPER_HIDDEN, "bool", in hideDefaultWallpaper() local 104 return resId != 0 && getResources().getBoolean(resId); in hideDefaultWallpaper() 108 int resId = getResources().getIdentifier(RES_SYSTEM_WALLPAPER_DIR, "string", in getWallpaperDirectory() local 110 return (resId != 0) ? new File(getResources().getString(resId)) : null; in getWallpaperDirectory() 114 int resId = getResources().getIdentifier(RES_REQUIRE_FIRST_RUN_FLOW, "bool", in requiresFirstRunFlow() local 116 return resId != 0 && getResources().getBoolean(resId); in requiresFirstRunFlow() 131 int resId = getResources().getIdentifier(RES_GRID_NUM_ROWS, in getDeviceProfileOverride() local 133 if (resId > 0) { in getDeviceProfileOverride() 135 dp.numRows = getResources().getInteger(resId); in getDeviceProfileOverride() 138 resId = getResources().getIdentifier(RES_GRID_NUM_COLUMNS, in getDeviceProfileOverride() [all …]
|
D | DefaultLayoutParser.java | 94 final int resId = getAttributeResourceValue(parser, ATTR_WORKSPACE, 0); in parseAndAddNode() local 95 if (resId != 0) { in parseAndAddNode() 97 return parseLayout(resId, screenIds); in parseAndAddNode() 260 final int resId = partnerRes.getIdentifier(Partner.RES_FOLDER, in parseAndAdd() local 262 if (resId != 0) { in parseAndAdd() 263 final XmlResourceParser partnerParser = partnerRes.getXml(resId); in parseAndAdd() 282 final int resId = getAttributeResourceValue(parser, ATTR_FOLDER_ITEMS, 0); in parseAndAdd() local 283 if (resId != 0) { in parseAndAdd() 284 parser = mSourceRes.getXml(resId); in parseAndAdd()
|
/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/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 | 355 public Builder icon(int resId) { in icon() argument 356 mHeader.mAppearence.mIcon = mRes.getDrawable(resId); in icon() 365 public Builder contentIconRes(int resId) { in contentIconRes() argument 366 mHeader.mContentIconRes = resId; in contentIconRes() 370 public Builder title(int resId) { in title() argument 371 mHeader.mAppearence.mTitle = mRes.getString(resId); in title() 375 public Builder description(int resId) { in description() argument 376 mHeader.mAppearence.mDescriptionGetter = new ResourceStringGetter(mRes, resId); in description() 395 public Builder detailedDescription(int resId) { in detailedDescription() argument 396 mHeader.mDetailedDescription = mRes.getString(resId); in detailedDescription() [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
D | AccountSelectionUtil.java | 63 int resId, int subscriptionId) { in AccountSelectedListener() argument 69 mResId = resId; in AccountSelectedListener() 74 int resId) { in AccountSelectedListener() argument 77 this(context, accountList, resId, SubscriptionManager.INVALID_SUBSCRIPTION_ID); in AccountSelectedListener() 86 public static Dialog getSelectAccountDialog(Context context, int resId) { in getSelectAccountDialog() argument 87 return getSelectAccountDialog(context, resId, null, null); in getSelectAccountDialog() 90 public static Dialog getSelectAccountDialog(Context context, int resId, in getSelectAccountDialog() argument 92 return getSelectAccountDialog(context, resId, onClickListener, null); in getSelectAccountDialog() 99 public static Dialog getSelectAccountDialog(Context context, int resId, in getSelectAccountDialog() argument 146 new AccountSelectedListener(context, writableAccountList, resId); in getSelectAccountDialog() [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/interactions/ |
D | ImportExportDialogFragment.java | 157 final int resId = adapter.getItem(which).mChoiceResourceId; in onCreateDialog() 158 switch (resId) { in onCreateDialog() 161 dismissDialog = handleImportRequest(resId, in onCreateDialog() 181 + getActivity().getResources().getResourceEntryName(resId)); in onCreateDialog() 235 private boolean handleImportRequest(int resId, int subscriptionId) { in handleImportRequest() argument 246 args.putInt(KEY_RES_ID, resId); in handleImportRequest() 259 AccountSelectionUtil.doImport(getActivity(), resId, in handleImportRequest() local 300 public AdapterEntry(CharSequence label, int resId, int subId) { in AdapterEntry() argument 302 mChoiceResourceId = resId; in AdapterEntry() 306 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()
|
D | SecuritySettings.java | 739 int resId = getResIdForLockUnlockScreen(context, lockPatternUtils); in getXmlResourcesToIndex() local 742 sir.xmlResId = resId; in getXmlResourcesToIndex() 752 resId = R.xml.security_settings_encrypted; in getXmlResourcesToIndex() 756 resId = R.xml.security_settings_unencrypted; in getXmlResourcesToIndex() 761 sir.xmlResId = resId; in getXmlResourcesToIndex() 786 int resId = (UserManager.get(context).isLinkedUser()) ? in getRawDataToIndex() local 790 data.title = res.getString(resId); in getRawDataToIndex() 833 int resId = getResIdForLockUnlockScreen(context, lockPatternUtils); in getNonIndexableKeys() local 836 if (resId == R.xml.security_settings_biometric_weak && in getNonIndexableKeys()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
D | SelectAccountActivity.java | 59 final int resId = R.string.import_from_sdcard; 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 | 229 public ResourceWallpaperInfo(Resources res, int resId, Drawable thumb) { in ResourceWallpaperInfo() argument 231 mResId = resId; in ResourceWallpaperInfo() 788 Resources res, int resId, int rotation, boolean leftAligned) { in createThumbnail() argument 801 context, res, resId, null, rotation, width, height, false, true, null); in createThumbnail() 926 final int resId = partnerRes.getIdentifier(Partner.RES_WALLPAPERS, "array", in findBundledWallpapers() local 928 if (resId != 0) { in findBundledWallpapers() 929 addWallpapers(bundled, partnerRes, partner.getPackageName(), resId); in findBundledWallpapers() 1016 int resId = sysRes.getIdentifier("default_wallpaper", "drawable", "android"); in getPreKKDefaultWallpaperInfo() local 1027 int rotation = WallpaperCropActivity.getRotationFromExif(res, resId); in getPreKKDefaultWallpaperInfo() 1029 defaultThumbSize, this, 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 | 160 public void showIcon(int resId) { in showIcon() argument 163 if (mIconResId == resId) return; in showIcon() 164 mIconResId = resId; in showIcon() 168 public void setMuteIcon(int resId) { in setMuteIcon() argument 169 if (mMuteIconResId == resId) return; in setMuteIcon() 170 mMuteIconResId = resId; in setMuteIcon()
|
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
D | TargetDrawable.java | 59 public TargetDrawable(Resources res, int resId, int count) { in TargetDrawable() argument 60 mResourceId = resId; in TargetDrawable() 61 setDrawable(res, resId); in TargetDrawable() 65 public void setDrawable(Resources res, int resId) { in setDrawable() argument 68 Drawable drawable = resId == 0 ? null : res.getDrawable(resId); in setDrawable()
|
/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 | 229 void sendResponse(int resId) { in sendResponse() argument 230 sendResponse(resId, null, false); in sendResponse() 233 void sendResponse(int resId, String input, boolean help) { in sendResponse() argument 240 CatLog.d(LOG_TAG, "StkAppService is null, Ignore response: id is " + resId); in sendResponse() 244 CatLog.d(LOG_TAG, "sendResponse resID[" + resId + "] input[" + input + in sendResponse() 250 args.putInt(StkAppService.RES_ID, resId); in sendResponse()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | NetworkActivity.java | 129 int resId = lastIsEthernetConnected ? R.string.connected : R.string.not_connected; 130 return mRes.getString(resId); 146 int resId = lastIsWifiConnected ? R.string.connected : R.string.not_connected; 147 return mRes.getString(resId); 537 int resId = item.getContentIconRes(); in onActionFocused() local 538 if (resId != 0) { in onActionFocused() 539 setIcon(resId); in onActionFocused()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | BottomBar.java | 474 public void setShutterButtonIcon(int resId) { in setShutterButtonIcon() argument 475 Drawable iconDrawable = getResources().getDrawable(resId); in setShutterButtonIcon() 485 public void animateToVideoStop(int resId) { in animateToVideoStop() argument 493 getResources().getDrawable(resId)); in animateToVideoStop() 501 public void animateToFullSize(int resId) { in animateToFullSize() argument 509 getResources().getDrawable(resId)); in animateToFullSize()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
D | AccountType.java | 267 static CharSequence getResourceText(Context context, String packageName, int resId, in getResourceText() argument 269 if (resId != -1 && packageName != null) { in getResourceText() 271 return pm.getText(packageName, resId, null); in getResourceText() 272 } else if (resId != -1) { in getResourceText() 273 return context.getText(resId); in getResourceText()
|
/packages/apps/InCallUI/src/com/android/incallui/ |
D | StatusBarNotifier.java | 463 int resId = R.string.notification_ongoing_call; in getContentString() local 466 resId = R.string.notification_incoming_call; in getContentString() 468 resId = R.string.notification_on_hold; in getContentString() 470 resId = R.string.notification_dialing; in getContentString() 473 resId = R.string.notification_requesting_video_call; in getContentString() 476 return resId; in getContentString()
|