Home
last modified time | relevance | path

Searched refs:resId (Results 1 – 14 of 14) sorted by relevance

/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowContext.java45 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()
DShadowFragment.java122 public final String getString(int resId) { in getString() argument
126 return activity.getString(resId); in getString()
130 public final String getString(int resId, Object... formatArgs) { in getString() argument
134 return activity.getString(resId, formatArgs); in getString()
DShadowImageView.java52 public void setImageResource(int resId) { in setImageResource() argument
53 this.resourceId = resId; in setImageResource()
54 setImageDrawable(buildDrawable(resId)); in setImageResource()
DShadowStateListDrawable.java25 public void addState(int stateId, int resId) { in addState() argument
26 stateToResource.put(stateId, resId); in addState()
DShadowMediaPlayer.java30 public static MediaPlayer create(Context context, int resId) { in create() argument
32 shadowOf(mp).sourceResId = resId; in create()
DShadowToast.java30 public static Toast makeText(Context context, int resId, int duration) { in makeText() argument
31 return makeText(context, context.getResources().getString(resId), duration); in makeText()
DShadowTextView.java180 public final void setHint(int resId) { in setHint() argument
181 this.hintText = getResources().getText(resId); in setHint()
DShadowView.java880 … int resId = attributeSet.getAttributeResourceValue("android", "contentDescription", 0); in applyContentDescriptionAttribute() local
881 contentDescription = context.getResources().getString(resId); in applyContentDescriptionAttribute()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
DDrawableResourceLoader.java65 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/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DListViewActivity.java52 public MyViewAdapter(Context context, int resId, List<View> views) { in MyViewAdapter() argument
53 super(context, resId, views); in MyViewAdapter()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/view/
DTestWindow.java116 @Override public void setFeatureDrawableResource(int featureId, int resId) { in setFeatureDrawableResource() argument
118 featureDrawableResourceResId = resId; in setFeatureDrawableResource()
DTestMenuItem.java217 public MenuItem setActionView(int resId) { in setActionView() argument
/external/robolectric/lib/main/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...