/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowContext.java | 45 public String getString(int resId) { in getString() argument 46 return realContext.getResources().getString(resId); in getString() 50 public CharSequence getText(int resId) { in getText() argument 51 return realContext.getResources().getText(resId); in getText() 55 public String getString(int resId, Object... formatArgs) { in getString() argument 56 return realContext.getResources().getString(resId, formatArgs); in getString()
|
D | ShadowFragment.java | 114 public final String getString(int resId) { in getString() argument 118 return activity.getString(resId); in getString() 122 public final String getString(int resId, Object... formatArgs) { in getString() argument 126 return activity.getString(resId, formatArgs); in getString()
|
D | ShadowImageView.java | 52 public void setImageResource(int resId) { in setImageResource() argument 53 this.resourceId = resId; in setImageResource() 54 setImageDrawable(buildDrawable(resId)); in setImageResource()
|
D | ShadowStateListDrawable.java | 25 public void addState(int stateId, int resId) { in addState() argument 26 stateToResource.put(stateId, resId); in addState()
|
D | ShadowMediaPlayer.java | 30 public static MediaPlayer create(Context context, int resId) { in create() argument 32 shadowOf(mp).sourceResId = resId; in create()
|
D | ShadowToast.java | 30 public static Toast makeText(Context context, int resId, int duration) { in makeText() argument 31 return makeText(context, context.getResources().getString(resId), duration); in makeText()
|
D | ShadowTextView.java | 180 public final void setHint(int resId) { in setHint() argument 181 this.hintText = getResources().getText(resId); in setHint()
|
D | ShadowView.java | 870 … int resId = attributeSet.getAttributeResourceValue("android", "contentDescription", 0); in applyContentDescriptionAttribute() local 871 contentDescription = context.getResources().getString(resId); in applyContentDescriptionAttribute()
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/gfx/ |
D | BitmapHelper.java | 38 int resId = res.getIdentifier(name, null, null); in decodeDrawableResource() local 42 BitmapFactory.decodeResource(res, resId, options); in decodeDrawableResource() 47 return BitmapFactory.decodeResource(res, resId, options); in decodeDrawableResource()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
D | DrawableResourceLoader.java | 65 public Drawable getXmlDrawable(int resId) { in getXmlDrawable() argument 67 if (!isXml(resId)) { in getXmlDrawable() 71 Document xmlDoc = documents.get(resourceExtractor.getResourceName(resId)); in getXmlDrawable() 168 int resId = resourceExtractor.getResourceId(drawableName.getNodeValue()); in buildStateListDrawable() local 170 shDrawable.addState(stateId, resId); in buildStateListDrawable()
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/base/ |
D | WindowAndroid.java | 108 public void showError(int resId) { in showError() argument 109 showError(mApplicationContext.getString(resId)); in showError()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/view/ |
D | TestWindow.java | 116 @Override public void setFeatureDrawableResource(int featureId, int resId) { in setFeatureDrawableResource() argument 118 featureDrawableResourceResId = resId; in setFeatureDrawableResource()
|
D | TestMenuItem.java | 217 public MenuItem setActionView(int resId) { in setActionView() argument
|