Home
last modified time | relevance | path

Searched refs:mResId (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/bitmap/src/com/android/bitmap/
DResourceRequestKey.java30 private int mResId; field in ResourceRequestKey
45 mResId = resId; in ResourceRequestKey()
55 return mResources.openRawResource(mResId); in createInputStream()
76 if (mResId != that.mResId) { in equals()
85 return mResId; in hashCode()
92 return String.format("ResourceRequestKey: %d", mResId); in toString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DIntentTile.java171 private final int mResId; field in IntentTile.PackageDrawableIcon
175 mResId = resId; in PackageDrawableIcon()
182 return Objects.equals(other.mPackage, mPackage) && other.mResId == mResId; in equals()
188 return context.createPackageContext(mPackage, 0).getDrawable(mResId); in getDrawable()
190 Log.w(TAG, "Error loading package drawable pkg=" + mPackage + " id=" + mResId, t); in getDrawable()
197 return String.format("PackageDrawableIcon[pkg=%s,id=0x%08x]", mPackage, mResId); in toString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSTile.java328 private final int mResId; field in QSTile.ResourceIcon
331 mResId = resId; in ResourceIcon()
345 return context.getDrawable(mResId); in getDrawable()
350 return o instanceof ResourceIcon && ((ResourceIcon) o).mResId == mResId; in equals()
355 return String.format("ResourceIcon[resId=0x%08x]", mResId); in toString()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
DBitmapRegionTileSource.java325 private int mResId; field in BitmapRegionTileSource.ResourceBitmapSource
329 mResId = resId; in ResourceBitmapSource()
332 InputStream is = mRes.openRawResource(mResId); in regenerateInputStream()
350 return BitmapFactory.decodeResource(mRes, mResId, options); in loadPreviewBitmap()