HomeSort by relevance Sort by last modified time
    Searched defs:resId (Results 1 - 25 of 84) sorted by null

1 2 3 4

  /packages/apps/Contacts/src/com/android/contacts/widget/
AlphaTouchInterceptorOverlay.java 52 final int resId = ThemeUtils.getSelectableItemBackground(context.getTheme());
53 mInterceptorLayer.setBackgroundResource(resId);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
ContactDisplayUtils.java 65 int resId;
67 resId = getSmsLabelResourceId(type);
69 resId = getPhoneLabelResourceId(type);
76 return context.getResources().getText(resId);
  /packages/apps/Email/src/com/android/email/
FolderProperties.java 78 int resId = 0;
82 resId = R.string.account_folder_list_summary_inbox;
84 resId = R.string.account_folder_list_summary_starred;
86 resId = R.string.account_folder_list_summary_drafts;
88 resId = R.string.account_folder_list_summary_outbox;
90 if (resId != 0) {
91 return mContext.getString(resId);
217 final int resId = mSpecialMailboxDrawable.getResourceId(type, -1);
218 if (resId != -1) {
219 return mContext.getResources().getDrawable(resId);
    [all...]
  /sdk/apps/NotificationStudio/src/com/android/notificationstudio/generator/
CodeGenerator.java 132 int resId = item.getValueInt();
133 String packageName = context.getResources().getResourcePackageName(resId);
134 String type = context.getResources().getResourceTypeName(resId);
135 String entryName = context.getResources().getResourceEntryName(resId);
  /frameworks/base/core/java/android/webkit/
DateSorter.java 77 int resId = com.android.internal.R.plurals.last_num_days;
78 String format = resources.getQuantityString(resId, NUM_DAYS_AGO);
  /packages/apps/Contacts/src/com/android/contacts/util/
ContactBadgeUtil.java 82 final int resId = resources.getIdentifier(statusLabelRes, "string",
84 if (resId == 0) {
88 labelDisplayValue = resources.getString(resId);
ImageViewDrawableSetter.java 135 final int resId = ContactPhotoManager.getDefaultAvatarResId(true, false);
137 return resources.getDrawable(resId);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DictionaryFactory.java 96 final int resId = DictionaryInfoUtils.getMainDictionaryResourceIdIfAvailableForLocale(
98 if (0 == resId) return null;
99 afd = context.getResources().openRawResourceFd(resId);
101 Log.e(TAG, "Found the resource but it is compressed. resId=" + resId);
DictionaryInfoUtils.java 233 int resId;
238 if ((resId = res.getIdentifier(
240 return resId;
246 if ((resId = res.getIdentifier(dictLanguage, "raw", RESOURCE_PACKAGE_NAME)) != 0) {
247 return resId;
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
DrawableResourceLoader.java 65 public Drawable getXmlDrawable(int resId) {
67 if (!isXml(resId)) {
71 Document xmlDoc = documents.get(resourceExtractor.getResourceName(resId));
168 int resId = resourceExtractor.getResourceId(drawableName.getNodeValue());
170 shDrawable.addState(stateId, resId);
  /frameworks/base/core/tests/overlaytests/OverlayTest/src/com/android/overlaytest/
OverlayBaseTest.java 17 private int calculateRawResourceChecksum(int resId) throws Throwable {
20 input = mResources.openRawResource(resId);
39 private void assertResource(int resId, boolean ewo, boolean ew) throws Throwable {
41 boolean actual = mResources.getBoolean(resId);
45 private void assertResource(int resId, String ewo, String ew) throws Throwable {
47 String actual = mResources.getString(resId);
51 private void assertResource(int resId, int[] ewo, int[] ew) throws Throwable {
53 int[] actual = mResources.getIntArray(resId);
62 final int resId = com.android.internal.R.bool.config_automatic_brightness_available;
63 assertResource(resId, false, true)
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
SelectAccountActivity.java 59 final int resId = R.string.import_from_sdcard;
82 this, accountList, resId) {
95 showDialog(resId);
100 protected Dialog onCreateDialog(int resId, Bundle bundle) {
101 switch (resId) {
107 return AccountSelectionUtil.getSelectAccountDialog(this, resId,
112 return super.onCreateDialog(resId, bundle);
  /packages/apps/Email/src/com/android/email/activity/
UiUtilities.java 40 int resId;
44 resId = R.plurals.message_view_attachment_bytes;
47 resId = R.plurals.message_view_attachment_kilobytes;
50 resId = R.plurals.message_view_attachment_megabytes;
53 resId = R.plurals.message_view_attachment_gigabytes;
56 return res.getQuantityString(resId, value, value);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
KeyCodeDescriptionMapper.java 148 final int resId;
156 resId = R.string.spoken_description_to_symbol;
160 resId = R.string.spoken_description_to_alpha;
163 resId = R.string.spoken_description_to_symbol;
166 resId = R.string.spoken_description_to_numeric;
172 return context.getString(resId);
185 final int resId;
190 resId = R.string.spoken_description_caps_lock;
195 resId = R.string.spoken_description_shift_shifted;
198 resId = R.string.spoken_description_shift
    [all...]
AccessibleKeyboardViewProxy.java 152 final int resId = KEYBOARD_MODE_RES_IDS.get(mode);
153 if (resId == 0) {
157 final String keyboardMode = context.getString(resId);
381 final int resId;
389 resId = R.string.spoken_description_mode_alpha;
393 resId = R.string.spoken_description_mode_symbol;
396 resId = R.string.spoken_description_mode_phone;
399 resId = R.string.spoken_description_mode_phone_shift;
402 resId = -1;
405 if (resId < 0)
    [all...]
  /frameworks/base/core/java/android/preference/
PreferenceGroupAdapter.java 92 private int resId;
99 if (resId == other.resId) {
106 return resId - other.resId;
179 pl.resId = preference.getLayoutResource();
  /packages/apps/Calendar/src/com/android/calendar/event/
EventViewUtils.java 47 int value, resId;
52 resId = R.plurals.Nmins;
54 resId = R.plurals.Nminutes;
58 resId = R.plurals.Nhours;
61 resId = R.plurals.Ndays;
64 String format = resources.getQuantityString(resId, value);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/interactions/
ImportExportDialogFragment.java 94 final int resId = getItem(position);
95 result.setText(resId);
123 final int resId = adapter.getItem(which);
124 switch (resId) {
127 dismissDialog = handleImportRequest(resId);
146 + getActivity().getResources().getResourceEntryName(resId));
200 private boolean handleImportRequest(int resId) {
211 args.putInt(KEY_RES_ID, resId);
223 AccountSelectionUtil.doImport(getActivity(), resId,
  /packages/apps/Mms/src/com/android/mms/util/
SmileyParser.java 190 int resId = mSmileyToRes.get(matcher.group());
191 builder.setSpan(new ImageSpan(mContext, resId),
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothDevicePreference.java 294 int resId = profile.getDrawableResource(btClass);
295 if (resId != 0) {
296 return resId;
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
SymbolList.java 127 int resId = xrp.getAttributeResourceValue(null, name, 0);
128 if (resId == 0) {
131 return mWnn.getString(resId);
  /packages/apps/DeskClock/src/com/android/deskclock/
AlarmAlertFullScreen.java 395 final int resId = mGlowPadView.getResourceIdForTarget(target);
396 switch (resId) {
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountSettingsUtils.java 204 int resId = xml.getAttributeResourceValue(null, name, 0);
205 if (resId == 0) {
209 return context.getString(resId);
  /packages/apps/Protips/src/com/android/protips/
ProtipWidget.java 165 private void setIcon(int resId) {
166 mIconRes = resId;
220 int resId = context.getResources().getIdentifier(
223 updateViews.setImageViewResource(R.id.tip_callout, resId);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
KeyboardTextsSet.java 74 final int resId = res.getIdentifier(resName, "string", packageName);
75 mResourceNameToTextsMap.put(resName, res.getString(resId));
    [all...]

Completed in 687 milliseconds

1 2 3 4