Methods Summary |
---|
public Cancelable | createFileDescriptorFactoryAsync(RequestKey requestKey, Callback callback)
return null;
|
public java.io.InputStream | createInputStream()
return mResources.openRawResource(mResId);
|
public boolean | equals(java.lang.Object o)
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ResourceRequestKey that = (ResourceRequestKey) o;
if (mResId != that.mResId) {
return false;
}
return true;
|
public static com.android.bitmap.ResourceRequestKey | from(android.content.res.Resources res, int resId)Create a new request key with the given resource id. A resId of 0 will
return a null request key.
if (resId != 0) {
return new ResourceRequestKey(res, resId);
}
return null;
|
public boolean | hasOrientationExif()
return false;
|
public int | hashCode()
return mResId;
|
public java.lang.String | toString()
return String.format("ResourceRequestKey: %d", mResId);
|