/packages/apps/IM/src/com/android/im/app/ |
H A D | BrandingResources.java | 124 int resId = getPackageResourceId(id); 125 if (resId != 0) { 126 return mPackageRes.getDrawable(resId); 169 int resId = getPackageResourceId(id); 170 if (resId != 0) { 171 return mPackageRes.getString(resId, formatArgs); 188 int resId = getPackageResourceId(id); 189 if (resId != 0) { 190 return mPackageRes.getStringArray(resId); 202 Integer resId [all...] |
H A D | ErrorResUtils.java | 29 int resId = getErrorResId(code); 30 if (resId == 0) { 33 return res.getString(resId, args);
|
/packages/apps/Phone/src/com/android/phone/ |
H A D | InCallMenuItemView.java | 117 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);
|
H A D | NotificationMgr.java | 493 int resId; 513 resId = android.R.drawable.stat_sys_vp_phone_call_on_hold; 515 resId = android.R.drawable.stat_sys_phone_call_on_hold; 520 resId = com.android.internal.R.drawable.stat_sys_vp_phone_call_bluetooth; 522 resId = com.android.internal.R.drawable.stat_sys_phone_call_bluetooth; 526 resId = android.R.drawable.stat_sys_vp_phone_call; 528 resId = android.R.drawable.stat_sys_phone_call; 532 // Note we can't just bail out now if (resId == mInCallResId), 538 if (DBG) log("- Updating status bar icon: " + resId); 539 mInCallResId = resId; [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | BinaryDictionary.java | 54 * @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);
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | AccountSelectionUtil.java | 61 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/Camera/src/com/android/camera/ui/ |
H A D | ResourceTexture.java | 33 public ResourceTexture(Context context, int resId) { argument 35 mResId = resId;
|
H A D | NinePatchTexture.java | 41 public NinePatchTexture(Context context, int resId) { argument 43 this.mResId = resId;
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | DockSettings.java | 106 int resId = R.string.dock_audio_summary_unknown; 109 resId = R.string.dock_audio_summary_car; 112 resId = R.string.dock_audio_summary_desk; 115 resId = R.string.dock_audio_summary_none; 117 mAudioSettings.setSummary(resId);
|
/packages/apps/Stk/src/com/android/stk/ |
H A D | StkDialogActivity.java | 154 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 D | ToneDialog.java | 127 private void sendResponse(int resId) { argument 130 args.putInt(StkAppService.RES_ID, resId);
|
H A D | StkMenuActivity.java | 320 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);
|
H A D | StkInputActivity.java | 184 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);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | LiveFolderIcon.java | 37 static LiveFolderIcon fromXml(int resId, Launcher launcher, ViewGroup group, argument 41 LayoutInflater.from(launcher).inflate(resId, group, false);
|
H A D | FolderIcon.java | 46 static FolderIcon fromXml(int resId, Launcher launcher, ViewGroup group, argument 49 FolderIcon icon = (FolderIcon) LayoutInflater.from(launcher).inflate(resId, group, false);
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
H A D | XmlKeyboardLoader.java | 754 int resId = xrp.getAttributeResourceValue(null, name, 0); 756 if (resId == 0) { 766 return Integer.parseInt(mContext.getResources().getString(resId)); 771 int resId = xrp.getAttributeResourceValue(null, name, 0); 773 if (resId == 0) { 783 return mContext.getResources().getColor(resId); 788 int resId = xrp.getAttributeResourceValue(null, name, 0); 789 if (resId == 0) { 792 return mContext.getResources().getString(resId); 797 int resId [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | AccountSettingsUtils.java | 139 int resId = xml.getAttributeResourceValue(null, name, 0); 140 if (resId == 0) { 144 return context.getString(resId);
|
H A D | AccountSetupCheckSettings.java | 280 private void setMessage(final int resId) { argument 286 mMessageView.setText(getString(resId));
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | SymbolList.java | 127 int resId = xrp.getAttributeResourceValue(null, name, 0); 128 if (resId == 0) { 131 return mWnn.getString(resId);
|
/packages/apps/Camera/src/com/android/camera/ |
H A D | PreferenceInflater.java | 50 public CameraPreference inflate(int resId) { argument 51 return inflate(mContext.getResources().getXml(resId));
|
/packages/apps/Protips/src/com/android/protips/ |
H A D | ProtipWidget.java | 138 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/Mms/src/com/android/mms/util/ |
H A D | SmileyParser.java | 178 int resId = mSmileyToRes.get(matcher.group()); 179 builder.setSpan(new ImageSpan(mContext, resId),
|
/packages/apps/Contacts/src/com/android/contacts/ |
H A D | ImportVCardActivity.java | 130 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);
|
/packages/apps/Email/src/com/android/email/ |
H A D | Controller.java | 321 int resId = -1; 324 resId = R.string.mailbox_name_server_inbox; 327 resId = R.string.mailbox_name_server_outbox; 330 resId = R.string.mailbox_name_server_drafts; 333 resId = R.string.mailbox_name_server_trash; 336 resId = R.string.mailbox_name_server_sent; 339 resId = R.string.mailbox_name_server_junk; 342 return resId != -1 ? mContext.getString(resId) : "";
|
/packages/apps/Contacts/src/com/android/contacts/ui/ |
H A D | QuickContactWindow.java | 637 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);
|