/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowImageView.java | 23 private int resourceId; field in ShadowImageView 53 this.resourceId = resId; in setImageResource() 63 protected Drawable buildDrawable(int resourceId) { in buildDrawable() argument 64 if (isDrawableXml(resourceId)) { in buildDrawable() 66 int[] resourceIds = resourceLoader.getDrawableIds(resourceId); in buildDrawable() 72 if (resourceLoader.isAnimatableXml(resourceId)) { in buildDrawable() 80 shadowOf(layerDrawable).setLoadedFromResourceId(resourceId); in buildDrawable() 85 getResources(), resourceId)); in buildDrawable() 95 private boolean isDrawableXml(int resourceId) { in isDrawableXml() argument 97 .isDrawableXml(resourceId); in isDrawableXml() [all …]
|
D | ShadowDrawable.java | 67 public static Drawable createFromResourceId(int resourceId) { in createFromResourceId() argument 69 shadowOf(bitmap).setLoadedFromResourceId(resourceId); in createFromResourceId() 197 public void setLoadedFromResourceId(int resourceId) { in setLoadedFromResourceId() argument 198 loadedFromResourceId = resourceId; in setLoadedFromResourceId()
|
D | ShadowTypedValue.java | 196 typedValue.resourceId = other.resourceId; in setTo() 212 if (typedValue.resourceId != 0) { in toString() 213 sb.append(" r=0x").append(Integer.toHexString(typedValue.resourceId)); in toString()
|
D | ShadowRemoteViews.java | 82 public void setImageViewResource(int viewId, final int resourceId) { in setImageViewResource() argument 86 ((ImageView) view).setImageResource(resourceId); in setImageViewResource()
|
D | ShadowBitmapFactory.java | 96 public static void provideWidthAndHeightHints(int resourceId, int width, int height) { in provideWidthAndHeightHints() argument 97 widthAndHeightMap.put("resource:" + getResourceName(resourceId), new Point(width, height)); in provideWidthAndHeightHints()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
D | IntegerResourceLoader.java | 13 public int getValue( int resourceId ) { in getValue() argument 14 … String resourceIdDebugString = String.valueOf(resourceId) + " (" + "0x" + Integer.toHexString(res… in getValue() 15 String resourceName = resourceExtractor.getResourceName(resourceId); in getValue() 17 throw new IllegalArgumentException("No such resource: " + resourceId); in getValue() 28 Integer resourceId = resourceExtractor.getResourceId(resourceName, isSystem); in getValue() local 32 return getValue(resourceId); in getValue()
|
D | ResourceLoader.java | 425 public boolean isDrawableXml( int resourceId ) { in isDrawableXml() argument 427 return drawableResourceLoader.isXml( resourceId ); in isDrawableXml() 430 public boolean isAnimatableXml( int resourceId ) { in isAnimatableXml() argument 432 return drawableResourceLoader.isAnimationDrawable( resourceId ); in isAnimatableXml() 435 public int[] getDrawableIds( int resourceId ) { in getDrawableIds() argument 437 return drawableResourceLoader.getDrawableIds( resourceId ); in getDrawableIds() 440 public Drawable getXmlDrawable( int resourceId ) { in getXmlDrawable() argument 441 return drawableResourceLoader.getXmlDrawable( resourceId ); in getXmlDrawable() 444 public Drawable getAnimDrawable( int resourceId ) { in getAnimDrawable() argument 445 return getInnerRClassDrawable( resourceId, "$anim", AnimationDrawable.class ); in getAnimDrawable() [all …]
|
D | DrawableResourceLoader.java | 61 public boolean isXml(int resourceId) { in isXml() argument 62 return documents.containsKey(resourceExtractor.getResourceName(resourceId)); in isXml() 133 protected int[] getDrawableIds(int resourceId) { in getDrawableIds() argument 134 String resourceName = resourceExtractor.getResourceName(resourceId); in getDrawableIds() 155 public boolean isAnimationDrawable(int resourceId) { in isAnimationDrawable() argument 156 Document document = documents.get(resourceExtractor.getResourceName(resourceId)); in isAnimationDrawable()
|
D | StringResourceLoader.java | 12 public String getValue(int resourceId) { in getValue() argument 13 return stringResolver.getValue(resourceExtractor.getResourceName(resourceId)); in getValue()
|
D | DimenResourceLoader.java | 14 public float getValue(int resourceId) { in getValue() argument 15 return dimenResolver.getValue(resourceExtractor.getResourceName(resourceId)); in getValue()
|
D | RawResourceLoader.java | 18 public InputStream getValue(int resourceId) { in getValue() argument 19 String resourceFileName = resourceExtractor.getResourceName(resourceId); in getValue()
|
D | StringArrayResourceLoader.java | 24 public String[] getArrayValue(int resourceId) { in getArrayValue() argument 25 String resourceName = resourceExtractor.getResourceName(resourceId); in getArrayValue()
|
D | ResourceExtractor.java | 86 public String getResourceName(int resourceId) { in getResourceName() argument 87 return resourceIdToString.get(resourceId); in getResourceName()
|
D | PluralResourceLoader.java | 24 public String getValue(int resourceId, int quantity) { in getValue() argument 25 String name = resourceExtractor.getResourceName(resourceId); in getValue()
|
D | PreferenceLoader.java | 68 public PreferenceScreen inflatePreferences(Context context, int resourceId) { in inflatePreferences() argument 69 return inflatePreferences(context, resourceExtractor.getResourceName(resourceId)); in inflatePreferences()
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
D | CanvasReplayStateView.js | 90 selectResource: function(resourceId) argument 92 if (resourceId === this._resourceSelector.selectedOption().value) 96 if (resourceId === option.value) { 221 var resourceId = argument.resourceId; 222 if (!resourceId || this._resourceIdToDescription[resourceId]) 224 this._resourceIdToDescription[resourceId] = argument.description; 255 …(argument.description, WebInspector.UIString("Show state of this resource."), argument.resourceId); 405 _resourceKindId: function(resourceId) argument 407 var description = (resourceId && this._resourceIdToDescription[resourceId]) || "";
|
D | CanvasProfileView.js | 350 var contextId = contexts[i].resourceId || ""; 1142 if (callArgument.resourceId) { 1144 element.__resourceId = callArgument.resourceId; 1221 getResourceState: function(resourceId, userCallback) argument 1223 resourceId = resourceId || this._defaultResourceId; 1224 if (!resourceId) { 1228 var effectiveResourceId = /** @type {!CanvasAgent.ResourceId} */ (resourceId);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/util/ |
D | TestAttributeSet.java | 127 public boolean getAttributeBooleanValue(int resourceId, boolean defaultValue) { in getAttributeBooleanValue() argument 134 Integer resourceId = defaultValue; in getAttributeResourceValue() local 136 resourceId = resourceExtractor.getResourceId(value); in getAttributeResourceValue() 138 return resourceId == null ? defaultValue : resourceId; in getAttributeResourceValue() 142 public int getAttributeResourceValue(int resourceId, int defaultValue) { in getAttributeResourceValue() argument 143 String attrName = resourceExtractor.getResourceName(resourceId); in getAttributeResourceValue()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/matchers/ |
D | ImageViewHasDrawableMatcher.java | 35 private String nameOrUnset(ResourceLoader resourceLoader, int resourceId) { in nameOrUnset() argument 36 return resourceId == 0 ? "unset" : resourceLoader.getNameForId(resourceId); in nameOrUnset()
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | TypedValueTest.java | 66 expectedValue.resourceId = 5; in testSetTo() 76 assertThat(expectedValue.resourceId, equalTo(actualValue.resourceId)); in testSetTo()
|
/external/chromium_org/chrome/browser/ui/cocoa/apps/ |
D | app_shim_menu_controller_mac.mm | 78 resourceId:(int)resourceId 96 resourceId:(int)resourceId 109 resourceId_ = resourceId; 177 resourceId:IDS_ABOUT_MAC 184 resourceId:IDS_HIDE_APP_MAC 191 resourceId:IDS_EXIT_MAC 198 resourceId:0 208 resourceId:0 215 resourceId:0
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
D | SelectPopupDialog.java | 109 int resourceId; in getSelectDialogLayout() local 112 resourceId = styledAttributes.getResourceId(isMultiChoice ? 0 : 1, 0); in getSelectDialogLayout() 114 return resourceId; in getSelectDialogLayout()
|
/external/droiddriver/src/com/google/android/droiddriver/finders/ |
D | By.java | 102 public static ByAttribute<String> resourceId(String resourceId) { in resourceId() method in By 103 return attribute(Attribute.RESOURCE_ID, OBJECT_EQUALS, resourceId); in resourceId()
|
/external/chromium/chrome/browser/ui/cocoa/translate/ |
D | before_translate_infobar_controller.mm | 17 int resourceId, const string16& param) { 18 string16 title = l10n_util::GetStringFUTF16(resourceId, param);
|
/external/chromium_org/chrome/browser/ui/cocoa/infobars/ |
D | before_translate_infobar_controller.mm | 18 int resourceId, const base::string16& param) { 19 base::string16 title = l10n_util::GetStringFUTF16(resourceId, param);
|