/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/ |
ContactsMockPackageManager.java | 41 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) {
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
MediaUtil.java | 34 public abstract void playSound(final Context context, final int resId,
|
Dates.java | 242 int resId; 249 resId = R.plurals.num_minutes_ago; 252 resId = R.plurals.num_hours_ago; 255 resId = R.plurals.num_days_ago; 264 final String format = context.getResources().getQuantityString(resId, (int) count);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
CustomViewToolbar.java | 162 public void setTitle(int resId) { 163 setTitle(getResources().getString(resId)); 172 public void setTitleTextAppearance(Context context, int resId) { 173 mActionBarTitle.setTextAppearance(context, resId);
|
/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);
|
/packages/apps/Stk/src/com/android/stk/ |
StkDialogActivity.java | 264 private void sendResponse(int resId, boolean confirmed) { 271 CatLog.d(LOG_TAG, "Ignore response: id is " + resId); 275 CatLog.d(LOG_TAG, "sendResponse resID[" + resId + "] confirmed[" + confirmed + "]"); 281 args.putInt(StkAppService.RES_ID, resId); 288 private void sendResponse(int resId) { 289 sendResponse(resId, true);
|
StkInputActivity.java | 233 void sendResponse(int resId) { 234 sendResponse(resId, null, false); 237 void sendResponse(int resId, String input, boolean help) { 244 CatLog.d(LOG_TAG, "StkAppService is null, Ignore response: id is " + resId); 248 CatLog.d(LOG_TAG, "sendResponse resID[" + resId + "] input[*****] help[" 254 args.putInt(StkAppService.RES_ID, resId);
|
/frameworks/base/tools/aapt2/ |
Resource.h | 127 ResourceId(uint32_t resId); 148 inline ResourceId::ResourceId(uint32_t resId) : id(resId) { 189 const ResourceId& resId) { 193 << std::hex << resId.id;
|
/packages/apps/Settings/src/com/android/settings/ |
WifiCallingSettings.java | 262 int resId = com.android.internal.R.string.wifi_calling_off_summary; 266 resId = com.android.internal.R.string.wfc_mode_wifi_only_summary; 269 resId = com.android.internal.R.string.wfc_mode_cellular_preferred_summary; 272 resId = com.android.internal.R.string.wfc_mode_wifi_preferred_summary; 278 return resId;
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiSetupActivity.java | 156 private void setNextButtonText(int resId) { 158 mNavigationBar.getNextButton().setText(resId); 181 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { 182 resid = SetupWizardUtils.getTheme(getIntent()); 183 super.onApplyThemeResource(theme, resid, first);
|
/external/eigen/unsupported/Eigen/src/Eigenvalues/ |
ArpackSelfAdjointEigenSolver.h | 427 Scalar *resid = new Scalar[n]; local 456 // residual vector is used, any other values means resid contains the initial residual 509 internal::arpack_wrapper<Scalar, RealScalar>::saupd(&ido, bmat, &n, whch, &nev, &tol, resid, 603 &sigma, bmat, &n, whch, &nev, &tol, resid, &ncv, 639 delete resid; 650 int *nev, float *tol, float *resid, int *ncv, 658 float *tol, float *resid, int *ncv, float *v, 665 int *nev, double *tol, double *resid, int *ncv, 673 double *tol, double *resid, int *ncv, double *v, 683 int *nev, RealScalar *tol, Scalar *resid, int *ncv [all...] |
/frameworks/base/core/java/android/widget/ |
TabWidget.java | 245 * @param resId the resource identifier of the drawable to use as a 248 public void setDividerDrawable(@DrawableRes int resId) { 249 setDividerDrawable(mContext.getDrawable(resId)); 266 * @param resId the resource identifier of the drawable to use as the 269 public void setLeftStripDrawable(@DrawableRes int resId) { 270 setLeftStripDrawable(mContext.getDrawable(resId)); 287 * @param resId the resource identifier of the drawable to use as the 290 public void setRightStripDrawable(@DrawableRes int resId) { 291 setRightStripDrawable(mContext.getDrawable(resId));
|
Toolbar.java | 301 * @param resId theme used to inflate popup menus 304 public void setPopupTheme(@StyleRes int resId) { 305 if (mPopupTheme != resId) { 306 mPopupTheme = resId; 307 if (resId == 0) { 310 mPopupContext = new ContextThemeWrapper(mContext, resId); 337 * @param resId ID of a drawable resource 339 public void setLogo(@DrawableRes int resId) { 340 setLogo(getContext().getDrawable(resId)); 487 * @param resId String resource i [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
QSTile.java | 358 private ResourceIcon(int resId) { 359 mResId = resId; 362 public static Icon get(int resId) { 363 Icon icon = ICONS.get(resId); 365 icon = new ResourceIcon(resId); 366 ICONS.put(resId, icon); 387 return String.format("ResourceIcon[resId=0x%08x]", mResId); 394 public AnimationIcon(int resId) { 395 super(resId);
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
PreferenceManager.java | 102 * @param resId The resource ID of the XML to inflate. 109 public PreferenceScreen inflateFromResource(Context context, int resId, 115 rootPreferences = (PreferenceScreen) inflater.inflate(resId, rootPreferences); 270 * @param resId The resource ID of the preference XML file. 284 public static void setDefaultValues(Context context, int resId, boolean readAgain) { 288 getDefaultSharedPreferencesMode(), resId, readAgain); 301 * @param resId The resource ID of the preference XML file. 320 int sharedPreferencesMode, int resId, boolean readAgain) { 328 pm.inflateFromResource(context, resId, null);
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
ContactDisplayUtils.java | 164 final int resId = isStarred 167 starredView.setImageResource(resId); 184 final int resId = isStarred 187 starredMenuItem.setIcon(resId); 303 final int resId = resources.getIdentifier(name, "drawable", packageName); 305 if (resId == 0) { 312 return getResourceDrawable(resources, resId); 320 private Drawable getResourceDrawable(Resources resources, int resId) 322 Drawable drawable = resources.getDrawable(resId);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
Icon.java | 90 // TYPE_RESOURCE: resId 446 final int resId = inputStream.readInt(); 447 return createWithResource(packageName, resId); 460 * @param resId ID of the drawable resource 462 public static Icon createWithResource(Context context, @DrawableRes int resId) { 467 rep.mInt1 = resId; 476 public static Icon createWithResource(Resources res, @DrawableRes int resId) { 481 rep.mInt1 = resId; 482 rep.mString1 = res.getResourcePackageName(resId); 489 * @param resId ID of the drawable resourc [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
VCardVerifier.java | 106 public void initForImportTest(int vcardType, int resId) { 112 setInputResourceId(resId); 136 private void setInputResourceId(int resId) { 138 mAndroidTestCase.getContext().getResources().openRawResource(resId); 140 AndroidTestCase.fail("Wrong resId: " + resId);
|
/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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
SubtypeLocaleUtils.java | 110 final int resId = res.getIdentifier(resourceName, null, RESOURCE_PACKAGE_NAME); 111 sKeyboardLayoutToNameIdsMap.put(layoutName, resId); 125 final int resId = res.getIdentifier(resourceName, null, RESOURCE_PACKAGE_NAME); 126 sExceptionalLocaleDisplayedInRootLocale.put(localeString, resId); 134 final int resId = res.getIdentifier(resourceName, null, RESOURCE_PACKAGE_NAME); 135 sExceptionalLocaleToNameIdsMap.put(localeString, resId);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
Toolbar.java | 317 * @param resId theme used to inflate popup menus 320 public void setPopupTheme(@StyleRes int resId) { 321 if (mPopupTheme != resId) { 322 mPopupTheme = resId; 323 if (resId == 0) { 326 mPopupContext = new ContextThemeWrapper(getContext(), resId); 354 * @param resId ID of a drawable resource 356 public void setLogo(@DrawableRes int resId) { 357 setLogo(mTintManager.getDrawable(resId)); 504 * @param resId String resource i [all...] |
/cts/tests/app/src/android/app/cts/ |
AppStubActivity.java | 138 int resid, 140 super.onApplyThemeResource(theme,resid,first);
|
/cts/tests/tests/media/src/android/media/cts/ |
FaceView.java | 46 public FaceView(Context context, int resId) { 63 mSourceImage = BitmapFactory.decodeResource(getResources(), resId, bfo);
|
/cts/tests/tests/view/src/android/view/cts/ |
ActionModeTest.java | 156 public void setTitle(int resId) {} 162 public void setSubtitle(int resId) {}
|
ContextThemeWrapperTest.java | 39 protected void onApplyThemeResource(Theme theme, int resid, boolean first) { 41 super.onApplyThemeResource(theme, resid, first);
|