Searched defs:resId (Results 1 - 19 of 19) sorted by relevance

/packages/apps/Camera/src/com/android/camera/
H A DPreferenceInflater.java50 public CameraPreference inflate(int resId) { argument
51 return inflate(mContext.getResources().getXml(resId));
/packages/apps/Camera/src/com/android/camera/ui/
H A DResourceTexture.java33 public ResourceTexture(Context context, int resId) { argument
35 mResId = resId;
H A DNinePatchTexture.java41 public NinePatchTexture(Context context, int resId) { argument
43 this.mResId = resId;
/packages/apps/Stk/src/com/android/stk/
H A DToneDialog.java127 private void sendResponse(int resId) { argument
130 args.putInt(StkAppService.RES_ID, resId);
H A DStkDialogActivity.java154 private void sendResponse(int resId, boolean confirmed) { argument
157 args.putInt(StkAppService.RES_ID, resId);
162 private void sendResponse(int resId) { argument
163 sendResponse(resId, true);
H A DStkInputActivity.java184 private void sendResponse(int resId) { argument
185 sendResponse(resId, null, false);
188 private void sendResponse(int resId, String input, boolean help) { argument
191 args.putInt(StkAppService.RES_ID, resId);
H A DStkMenuActivity.java320 private void sendResponse(int resId) { argument
321 sendResponse(resId, 0, false);
324 private void sendResponse(int resId, int itemId, boolean help) { argument
327 args.putInt(StkAppService.RES_ID, resId);
/packages/apps/Contacts/src/com/android/contacts/util/
H A DAccountSelectionUtil.java61 public AccountSelectedListener(Context context, List<Account> accountList, int resId) { argument
67 mResId = resId;
76 public static Dialog getSelectAccountDialog(Context context, int resId) { argument
77 return getSelectAccountDialog(context, resId, null, null);
80 public static Dialog getSelectAccountDialog(Context context, int resId, argument
82 return getSelectAccountDialog(context, resId, onClickListener, null);
89 public static Dialog getSelectAccountDialog(Context context, int resId, argument
135 new AccountSelectedListener(context, writableAccountList, resId);
152 public static void doImport(Context context, int resId, Account account) { argument
153 switch (resId) {
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DLiveFolderIcon.java37 static LiveFolderIcon fromXml(int resId, Launcher launcher, ViewGroup group, argument
41 LayoutInflater.from(launcher).inflate(resId, group, false);
H A DFolderIcon.java46 static FolderIcon fromXml(int resId, Launcher launcher, ViewGroup group, argument
49 FolderIcon icon = (FolderIcon) LayoutInflater.from(launcher).inflate(resId, group, false);
/packages/apps/Phone/src/com/android/phone/
H A DInCallMenuItemView.java117 public void setIconResource(int resId) { argument
118 if (DBG) log("setIconResource(" + resId + ")...");
119 Drawable iconDrawable = getResources().getDrawable(resId);
128 int resId = mIndicatorState ? android.R.drawable.button_onoff_indicator_on
130 mIndicatorDrawable = getResources().getDrawable(resId);
/packages/apps/Protips/src/com/android/protips/
H A DProtipWidget.java138 private void setIcon(int resId) { argument
139 mIconRes = resId;
193 int resId = context.getResources().getIdentifier(
196 updateViews.setImageViewResource(R.id.tip_callout, resId);
/packages/apps/Contacts/src/com/android/contacts/
H A DExportVCardActivity.java88 public ErrorReasonDisplayer(int resId) { argument
89 mResId = resId;
H A DImportVCardActivity.java130 public DialogDisplayer(int resId) { argument
131 mResId = resId;
757 final int resId = R.string.import_from_sdcard;
760 this, accountList, resId) {
770 showDialog(resId);
798 protected Dialog onCreateDialog(int resId) { argument
799 switch (resId) {
805 return AccountSelectionUtil.getSelectAccountDialog(this, resId,
888 return super.onCreateDialog(resId);
H A DContactsListActivity.java1423 final int resId = this.getItem(position);
1424 ((TextView)convertView).setText(resId);
1447 final int resId = adapter.getItem(which);
1448 switch (resId) {
1451 handleImportRequest(resId);
1466 getResources().getResourceEntryName(resId));
1509 private void handleImportRequest(int resId) { argument
1518 showDialog(resId);
1522 AccountSelectionUtil.doImport(this, resId, (size == 1 ? accountList.get(0) : null));
2068 * @param resId Th
2071 getPhoneActionIcon(Resources r, int resId) argument
[all...]
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountSetupCheckSettings.java280 private void setMessage(final int resId) { argument
286 mMessageView.setText(getString(resId));
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DBinaryDictionary.java54 * @param resId the resource containing the raw binary dictionary
56 public BinaryDictionary(Context context, int resId) { argument
57 if (resId != 0) {
58 loadDictionary(context, resId);
71 private final void loadDictionary(Context context, int resId) { argument
73 String assetName = context.getResources().getString(resId);
H A DLatinKeyboard.java280 public void setExtension(int resId) { argument
281 mExtensionResId = resId;
/packages/apps/Contacts/src/com/android/contacts/ui/
H A DQuickContactWindow.java637 private void setHeaderText(int id, int resId) { argument
638 setHeaderText(id, mContext.getResources().getText(resId));
663 int resId;
666 resId = R.drawable.quickcontact_slider_presence_active;
670 resId = R.drawable.quickcontact_slider_presence_away;
673 resId = R.drawable.quickcontact_slider_presence_busy;
676 resId = R.drawable.quickcontact_slider_presence_inactive;
680 resId = R.drawable.quickcontact_slider_presence_inactive;
682 return mContext.getResources().getDrawable(resId);

Completed in 125 milliseconds