Home
last modified time | relevance | path

Searched refs:mResId (Results 1 – 12 of 12) 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.java207 private final int mResId; field in IntentTile.PackageDrawableIcon
211 mResId = resId; in PackageDrawableIcon()
218 return Objects.equals(other.mPackage, mPackage) && other.mResId == mResId; in equals()
224 return context.createPackageContext(mPackage, 0).getDrawable(mResId); in getDrawable()
226 Log.w(TAG, "Error loading package drawable pkg=" + mPackage + " id=" + mResId, t); in getDrawable()
233 return String.format("PackageDrawableIcon[pkg=%s,id=0x%08x]", mPackage, mResId); in toString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DShortcutParser.java46 private final int mResId; field in ShortcutParser
70 mResId = resId; in ShortcutParser()
76 if (mResId != 0) { in getShortcuts()
79 XmlResourceParser parser = mResources.getXml(mResId); in getShortcuts()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileImpl.java548 protected final int mResId; field in QSTileImpl.ResourceIcon
551 mResId = resId; in ResourceIcon()
565 return context.getDrawable(mResId); in getDrawable()
570 return context.getDrawable(mResId); in getInvisibleDrawable()
575 return o instanceof ResourceIcon && ((ResourceIcon) o).mResId == mResId; in equals()
580 return String.format("ResourceIcon[resId=0x%08x]", mResId); in toString()
/frameworks/base/core/java/android/content/res/
DResources.java1799 int[] mResId; field in Resources.ThemeKey
1806 if (mResId == null) { in append()
1807 mResId = new int[4]; in append()
1814 mResId = GrowingArrayUtils.append(mResId, mCount, resId); in append()
1827 mResId = other.mResId == null ? null : other.mResId.clone(); in setTo()
1854 if (mResId[i] != t.mResId[i] || mForce[i] != t.mForce[i]) { in equals()
1868 other.mResId = mResId; in clone()
DResourcesImpl.java1458 final int resId = mKey.mResId[j]; in getTheme()
1482 final int resId = mKey.mResId[i]; in rebase()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DResourceIconTest.kt38 assertEquals(it, (QSTileImpl.ResourceIcon.get(it) as QSTileImpl.ResourceIcon).mResId) in testMultipleThreadedPut()
/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/layoutlib/bridge/src/android/graphics/
DImageDecoder.java188 mResId = resId; in ResourceSource()
193 final int mResId; field in ImageDecoder.ResourceSource
/frameworks/layoutlib/bridge/src/android/content/res/
DResources_Theme_Delegate.java116 final int[] resId = key.mResId; in setupResources()
/frameworks/base/graphics/java/android/graphics/
DImageDecoder.java452 mResId = resId; in ResourceSource()
457 final int mResId; field in ImageDecoder.ResourceSource
476 InputStream is = mResources.openRawResource(mResId, value); in createImageDecoder()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt16702 Landroid/content/res/Resources$ThemeKey;->mResId:[I
20724 Landroid/graphics/ImageDecoder$ResourceSource;->mResId:I