/frameworks/base/test-runner/src/android/test/mock/ |
D | MockResources.java | 56 public CharSequence getText(int id) throws NotFoundException { in getText() 61 public CharSequence getQuantityText(int id, int quantity) throws NotFoundException { in getQuantityText() 66 public String getString(int id) throws NotFoundException { in getString() 71 public String getString(int id, Object... formatArgs) throws NotFoundException { in getString() 77 throws NotFoundException { in getQuantityString() 82 public String getQuantityString(int id, int quantity) throws NotFoundException { in getQuantityString() 92 public CharSequence[] getTextArray(int id) throws NotFoundException { in getTextArray() 97 public String[] getStringArray(int id) throws NotFoundException { in getStringArray() 102 public int[] getIntArray(int id) throws NotFoundException { in getIntArray() 107 public TypedArray obtainTypedArray(int id) throws NotFoundException { in obtainTypedArray() [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ResourcesWrapper.java | 52 public CharSequence getText(int id) throws NotFoundException { in getText() 57 public CharSequence getQuantityText(int id, int quantity) throws NotFoundException { in getQuantityText() 62 public String getString(int id) throws NotFoundException { in getString() 67 public String getString(int id, Object... formatArgs) throws NotFoundException { in getString() 73 throws NotFoundException { in getQuantityString() 78 public String getQuantityString(int id, int quantity) throws NotFoundException { in getQuantityString() 88 public CharSequence[] getTextArray(int id) throws NotFoundException { in getTextArray() 93 public String[] getStringArray(int id) throws NotFoundException { in getStringArray() 98 public int[] getIntArray(int id) throws NotFoundException { in getIntArray() 103 public TypedArray obtainTypedArray(int id) throws NotFoundException { in obtainTypedArray() [all …]
|
D | TintResources.java | 44 public Drawable getDrawable(int id) throws NotFoundException { in getDrawable()
|
D | VectorEnabledTintResources.java | 64 public Drawable getDrawable(int id) throws NotFoundException { in getDrawable()
|
/frameworks/base/core/java/android/content/res/ |
D | Resources.java | 190 public static class NotFoundException extends RuntimeException { class in Resources 191 public NotFoundException() { in NotFoundException() method in Resources.NotFoundException 194 public NotFoundException(String name) { in NotFoundException() method in Resources.NotFoundException 198 public NotFoundException(String name, Exception cause) { in NotFoundException() method in Resources.NotFoundException 333 @NonNull public CharSequence getText(@StringRes int id) throws NotFoundException { in getText() 338 throw new NotFoundException("String resource ID #0x" in getText() 354 @NonNull public Typeface getFont(@FontRes int id) throws NotFoundException { in getFont() 366 throw new NotFoundException("Font resource ID #0x" in getFont() 371 Typeface getFont(@NonNull TypedValue value, @FontRes int id) throws NotFoundException { in getFont() 412 throws NotFoundException { in getQuantityText() [all …]
|
D | ResourcesImpl.java | 34 import android.content.res.Resources.NotFoundException; 190 throws NotFoundException { in getValue() 195 throw new NotFoundException("Resource ID #0x" + Integer.toHexString(id)); in getValue() 199 boolean resolveRefs) throws NotFoundException { in getValueForDensity() 204 throw new NotFoundException("Resource ID #0x" + Integer.toHexString(id)); in getValueForDensity() 208 throws NotFoundException { in getValue() 214 throw new NotFoundException("String resource name " + name); in getValue() 230 String getResourceName(@AnyRes int resid) throws NotFoundException { in getResourceName() 233 throw new NotFoundException("Unable to find resource ID #0x" in getResourceName() 238 String getResourcePackageName(@AnyRes int resid) throws NotFoundException { in getResourcePackageName() [all …]
|
D | CompatResources.java | 45 public Drawable getDrawable(@DrawableRes int id) throws NotFoundException { in getDrawable() 51 throws NotFoundException { in getDrawableForDensity() 56 public int getColor(@ColorRes int id) throws NotFoundException { in getColor() 61 public ColorStateList getColorStateList(@ColorRes int id) throws NotFoundException { in getColorStateList()
|
/frameworks/base/core/java/android/view/animation/ |
D | AnimationUtils.java | 23 import android.content.res.Resources.NotFoundException; 103 throws NotFoundException { in loadAnimation() 110 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" + in loadAnimation() 115 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" + in loadAnimation() 181 throws NotFoundException { in loadLayoutAnimation() 188 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" + in loadLayoutAnimation() 193 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" + in loadLayoutAnimation() 304 throws NotFoundException { in loadInterpolator() 310 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" + in loadInterpolator() 315 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" + in loadInterpolator() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
D | Resources_Delegate.java | 44 import android.content.res.Resources.NotFoundException; 189 static int getColor(Resources resources, int id, Theme theme) throws NotFoundException { in getColor() 219 static ColorStateList getColorStateList(Resources resources, int id) throws NotFoundException { in getColorStateList() 225 throws NotFoundException { in getColorStateList() 264 static CharSequence getText(Resources resources, int id) throws NotFoundException { in getText() 287 static CharSequence[] getTextArray(Resources resources, int id) throws NotFoundException { in getTextArray() 301 static String[] getStringArray(Resources resources, int id) throws NotFoundException { in getStringArray() 331 static int[] getIntArray(Resources resources, int id) throws NotFoundException { in getIntArray() 377 throws NotFoundException { in getArrayResourceValue() 427 static XmlResourceParser getLayout(Resources resources, int id) throws NotFoundException { in getLayout() [all …]
|
D | Resources_Theme_Delegate.java | 28 import android.content.res.Resources.NotFoundException; 69 throws NotFoundException { in obtainStyledAttributes()
|
/frameworks/support/compat/java/android/support/v4/content/res/ |
D | ResourcesCompat.java | 25 import android.content.res.Resources.NotFoundException; 76 @Nullable Theme theme) throws NotFoundException { in getDrawable() 109 int density, @Nullable Theme theme) throws NotFoundException { in getDrawableForDensity() 139 throws NotFoundException { in getColor() 169 @Nullable Theme theme) throws NotFoundException { in getColorStateList() 194 throws NotFoundException { in getFont() 208 int style, @Nullable TextView targetView) throws NotFoundException { in getFont() 223 throw new NotFoundException("Font resource ID #0x" in loadFont() 231 throw new NotFoundException("Resource \"" + wrapper.getResourceName(id) + "\" (" in loadFont()
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
D | TestResources.java | 23 public String getString(int id) throws NotFoundException { in getString() 32 throw new NotFoundException(); in getString() 36 public String getString(int id, Object... formatArgs) throws NotFoundException { in getString()
|
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/ |
D | AnimationUtilsCompat.java | 23 import android.content.res.Resources.NotFoundException; 64 throws NotFoundException { in loadInterpolator() 84 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" in loadInterpolator() 89 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" in loadInterpolator()
|
D | AnimatorInflaterCompat.java | 33 import android.content.res.Resources.NotFoundException; 95 throws NotFoundException { in loadAnimator() 117 @AnimatorRes int id) throws NotFoundException { in loadAnimator() 125 @AnimatorRes int id, float pathErrorScale) throws NotFoundException { in loadAnimator() 134 Resources.NotFoundException rnf = in loadAnimator() 135 new Resources.NotFoundException("Can't load animation resource ID #0x" in loadAnimator() 140 Resources.NotFoundException rnf = in loadAnimator() 141 new Resources.NotFoundException("Can't load animation resource ID #0x" in loadAnimator() 871 float pathErrorScale, XmlPullParser parser) throws NotFoundException { in loadObjectAnimator() 889 throws NotFoundException { in loadAnimator()
|
/frameworks/base/core/java/android/app/ |
D | WallpaperInfo.java | 29 import android.content.res.Resources.NotFoundException; 244 public CharSequence loadAuthor(PackageManager pm) throws NotFoundException { in loadAuthor() 245 if (mAuthorResource <= 0) throw new NotFoundException(); in loadAuthor() 258 public CharSequence loadDescription(PackageManager pm) throws NotFoundException { in loadDescription() 270 if (mDescriptionResource <= 0) throw new NotFoundException(); in loadDescription() 281 public Uri loadContextUri(PackageManager pm) throws NotFoundException { in loadContextUri() 282 if (mContextUriResource <= 0) throw new NotFoundException(); in loadContextUri() 303 public CharSequence loadContextDescription(PackageManager pm) throws NotFoundException { in loadContextDescription() 304 if (mContextDescriptionResource <= 0) throw new NotFoundException(); in loadContextDescription()
|
/frameworks/base/core/java/android/animation/ |
D | AnimatorInflater.java | 26 import android.content.res.Resources.NotFoundException; 90 throws NotFoundException { in loadAnimator() 105 throws NotFoundException { in loadAnimator() 111 float pathErrorScale) throws NotFoundException { in loadAnimator() 141 Resources.NotFoundException rnf = in loadAnimator() 142 new Resources.NotFoundException("Can't load animation resource ID #0x" + in loadAnimator() 147 Resources.NotFoundException rnf = in loadAnimator() 148 new Resources.NotFoundException("Can't load animation resource ID #0x" + in loadAnimator() 158 throws NotFoundException { in loadStateListAnimator() 183 Resources.NotFoundException rnf = in loadStateListAnimator() [all …]
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | AndroidPackageInfoFetcher.java | 24 import android.content.res.Resources.NotFoundException; 89 } catch (NotFoundException e) { in getStatements()
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
D | StorageManagerBaseTest.java | 21 import android.content.res.Resources.NotFoundException; 228 private void copyRawToFile(int rawResId, File outFile) throws NotFoundException { in copyRawToFile() 233 } catch (NotFoundException e) { in copyRawToFile() 257 } catch (NotFoundException e) { in createObbFile()
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ |
D | TintResourcesTest.java | 62 public Drawable getDrawable(int id) throws NotFoundException { in getDrawable()
|
/frameworks/support/compat/tests/java/android/support/v4/content/res/ |
D | ResourcesCompatTest.java | 290 @Test(expected = Resources.NotFoundException.class) 316 } catch (Resources.NotFoundException e) { in testGetFont_invalidXmlFile() 322 } catch (Resources.NotFoundException e) { in testGetFont_invalidXmlFile()
|
/frameworks/base/core/java/android/app/admin/ |
D | DeviceAdminInfo.java | 34 import android.content.res.Resources.NotFoundException; 399 public CharSequence loadDescription(PackageManager pm) throws NotFoundException { in loadDescription() 404 throw new NotFoundException(); in loadDescription()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | ValueParser.java | 24 import android.content.res.Resources.NotFoundException; 304 } catch (NotFoundException e) { in retrieveAlphaId()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accounts/ |
D | AuthenticatorHelper.java | 112 } catch (PackageManager.NameNotFoundException|Resources.NotFoundException e) { in getDrawableForType() 137 } catch (Resources.NotFoundException e) { in getLabelForType()
|
/frameworks/base/core/java/android/content/pm/ |
D | LauncherActivityInfo.java | 112 } catch (NameNotFoundException | Resources.NotFoundException exc) { in getIcon()
|
/frameworks/base/rs/java/android/renderscript/ |
D | ScriptC.java | 113 throw new Resources.NotFoundException(); in internalCreate()
|