Home
last modified time | relevance | path

Searched refs:mResId (Results 1 – 6 of 6) 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.java195 private final int mResId; field in IntentTile.PackageDrawableIcon
199 mResId = resId; in PackageDrawableIcon()
206 return Objects.equals(other.mPackage, mPackage) && other.mResId == mResId; in equals()
212 return context.createPackageContext(mPackage, 0).getDrawable(mResId); in getDrawable()
214 Log.w(TAG, "Error loading package drawable pkg=" + mPackage + " id=" + mResId, t); in getDrawable()
221 return String.format("PackageDrawableIcon[pkg=%s,id=0x%08x]", mPackage, mResId); in toString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSTile.java356 protected final int mResId; field in QSTile.ResourceIcon
359 mResId = resId; in ResourceIcon()
373 Drawable d = context.getDrawable(mResId); in getDrawable()
382 return o instanceof ResourceIcon && ((ResourceIcon) o).mResId == mResId; in equals()
387 return String.format("ResourceIcon[resId=0x%08x]", mResId); in toString()
405 final AnimatedVectorDrawable d = (AnimatedVectorDrawable) context.getDrawable(mResId) in getDrawable()
/frameworks/base/core/java/android/content/res/
DResources.java1807 final int resId = mKey.mResId[j]; in getTheme()
1841 final int resId = mKey.mResId[i]; in rebase()
1849 int[] mResId; field in Resources.ThemeKey
1856 if (mResId == null) { in append()
1857 mResId = new int[4]; in append()
1864 mResId = GrowingArrayUtils.append(mResId, mCount, resId); in append()
1877 mResId = other.mResId == null ? null : other.mResId.clone(); in setTo()
1904 if (mResId[i] != t.mResId[i] || mForce[i] != t.mForce[i]) { in equals()
1918 other.mResId = mResId; in clone()
/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()
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DResources_Theme_Delegate.java115 final int[] resId = key.mResId; in setupResources()