Home
last modified time | relevance | path

Searched refs:NotFoundException (Results 1 – 25 of 70) sorted by relevance

123

/frameworks/base/test-runner/src/android/test/mock/
DMockResources.java51 public CharSequence getText(int id) throws NotFoundException { in getText()
56 public CharSequence getQuantityText(int id, int quantity) throws NotFoundException { in getQuantityText()
61 public String getString(int id) throws NotFoundException { in getString()
66 public String getString(int id, Object... formatArgs) throws NotFoundException { in getString()
72 throws NotFoundException { in getQuantityString()
77 public String getQuantityString(int id, int quantity) throws NotFoundException { in getQuantityString()
87 public CharSequence[] getTextArray(int id) throws NotFoundException { in getTextArray()
92 public String[] getStringArray(int id) throws NotFoundException { in getStringArray()
97 public int[] getIntArray(int id) throws NotFoundException { in getIntArray()
102 public TypedArray obtainTypedArray(int id) throws NotFoundException { in obtainTypedArray()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DResourcesWrapper.java54 public CharSequence getText(int id) throws NotFoundException { in getText()
59 public CharSequence getQuantityText(int id, int quantity) throws NotFoundException { in getQuantityText()
64 public String getString(int id) throws NotFoundException { in getString()
69 public String getString(int id, Object... formatArgs) throws NotFoundException { in getString()
75 throws NotFoundException { in getQuantityString()
80 public String getQuantityString(int id, int quantity) throws NotFoundException { in getQuantityString()
90 public CharSequence[] getTextArray(int id) throws NotFoundException { in getTextArray()
95 public String[] getStringArray(int id) throws NotFoundException { in getStringArray()
100 public int[] getIntArray(int id) throws NotFoundException { in getIntArray()
105 public TypedArray obtainTypedArray(int id) throws NotFoundException { in obtainTypedArray()
[all …]
DTintResources.java42 public Drawable getDrawable(int id) throws NotFoundException { in getDrawable()
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DBridgeResources.java157 public Drawable getDrawable(int id) throws NotFoundException { in getDrawable()
177 public int getColor(int id) throws NotFoundException { in getColor()
198 public ColorStateList getColorStateList(int id) throws NotFoundException { in getColorStateList()
217 public CharSequence getText(int id) throws NotFoundException { in getText()
240 public XmlResourceParser getLayout(int id) throws NotFoundException { in getLayout()
284 public XmlResourceParser getAnimation(int id) throws NotFoundException { in getAnimation()
323 public TypedArray obtainTypedArray(int id) throws NotFoundException { in obtainTypedArray()
329 public float getDimension(int id) throws NotFoundException { in getDimension()
363 public int getDimensionPixelOffset(int id) throws NotFoundException { in getDimensionPixelOffset()
391 public int getDimensionPixelSize(int id) throws NotFoundException { in getDimensionPixelSize()
[all …]
DResources_Theme_Delegate.java28 import android.content.res.Resources.NotFoundException;
68 throws NotFoundException { in obtainStyledAttributes()
/frameworks/base/core/java/android/view/animation/
DAnimationUtils.java26 import android.content.res.Resources.NotFoundException;
69 throws NotFoundException { in loadAnimation()
76 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" + in loadAnimation()
81 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" + in loadAnimation()
147 throws NotFoundException { in loadLayoutAnimation()
154 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" + in loadLayoutAnimation()
159 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" + in loadLayoutAnimation()
269 public static Interpolator loadInterpolator(Context context, int id) throws NotFoundException { in loadInterpolator()
275 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" + in loadInterpolator()
280 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" + in loadInterpolator()
[all …]
/frameworks/base/core/java/android/content/res/
DResources.java214 public static class NotFoundException extends RuntimeException { class in Resources
215 public NotFoundException() { in NotFoundException() method in Resources.NotFoundException
218 public NotFoundException(String name) { in NotFoundException() method in Resources.NotFoundException
294 public CharSequence getText(int id) throws NotFoundException { in getText()
299 throw new NotFoundException("String resource ID #0x" in getText()
323 public CharSequence getQuantityText(int id, int quantity) throws NotFoundException { in getQuantityText()
334 throw new NotFoundException("Plural resource ID #0x" + Integer.toHexString(id) in getQuantityText()
384 public String getString(int id) throws NotFoundException { in getString()
389 throw new NotFoundException("String resource ID #0x" in getString()
412 public String getString(int id, Object... formatArgs) throws NotFoundException { in getString()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/animation/
DAnimatorInflater_Delegate.java23 import android.content.res.Resources.NotFoundException;
34 throws NotFoundException { in loadAnimator()
40 throws NotFoundException { in loadAnimator()
46 float pathErrorScale) throws NotFoundException { in loadAnimator()
56 throws NotFoundException { in loadAnimator()
/frameworks/support/v4/api21/android/support/v4/content/res/
DResourcesCompatApi21.java20 import android.content.res.Resources.NotFoundException;
26 throws NotFoundException { in getDrawable()
31 throws NotFoundException { in getDrawableForDensity()
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java22 import android.content.res.Resources.NotFoundException;
86 throws NotFoundException { in loadAnimator()
101 throws NotFoundException { in loadAnimator()
107 float pathErrorScale) throws NotFoundException { in loadAnimator()
137 Resources.NotFoundException rnf = in loadAnimator()
138 new Resources.NotFoundException("Can't load animation resource ID #0x" + in loadAnimator()
143 Resources.NotFoundException rnf = in loadAnimator()
144 new Resources.NotFoundException("Can't load animation resource ID #0x" + in loadAnimator()
154 throws NotFoundException { in loadStateListAnimator()
179 Resources.NotFoundException rnf = in loadStateListAnimator()
[all …]
/frameworks/support/v4/java/android/support/v4/content/res/
DResourcesCompat.java20 import android.content.res.Resources.NotFoundException;
50 throws NotFoundException { in getDrawable()
83 throws NotFoundException { in getDrawableForDensity()
/frameworks/support/v4/ics-mr1/android/support/v4/content/res/
DResourcesCompatIcsMr1.java20 import android.content.res.Resources.NotFoundException;
26 throws NotFoundException { in getDrawableForDensity()
/frameworks/base/core/java/android/app/
DWallpaperInfo.java29 import android.content.res.Resources.NotFoundException;
221 public CharSequence loadAuthor(PackageManager pm) throws NotFoundException { in loadAuthor()
222 if (mAuthorResource <= 0) throw new NotFoundException(); in loadAuthor()
235 public CharSequence loadDescription(PackageManager pm) throws NotFoundException { in loadDescription()
247 if (mDescriptionResource <= 0) throw new NotFoundException(); in loadDescription()
/frameworks/base/core/tests/coretests/src/android/os/storage/
DStorageManagerBaseTest.java21 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/base/core/java/android/app/admin/
DDeviceAdminInfo.java33 import android.content.res.Resources.NotFoundException;
369 public CharSequence loadDescription(PackageManager pm) throws NotFoundException { in loadDescription()
380 throw new NotFoundException(); in loadDescription()
/frameworks/base/media/java/android/media/
DRingtone.java22 import android.content.res.Resources.NotFoundException;
342 } catch (NotFoundException nfe) { in playFallbackRingtone()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DValueParser.java24 import android.content.res.Resources.NotFoundException;
304 } catch (NotFoundException e) { in retrieveAlphaId()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DScriptC.java101 throw new Resources.NotFoundException(); in internalCreate()
/frameworks/base/core/java/android/content/pm/
DLauncherActivityInfo.java163 } catch (Resources.NotFoundException e) { in getBadgedIcon()
/frameworks/base/rs/java/android/renderscript/
DScriptC.java120 throw new Resources.NotFoundException(); in internalCreate()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DMountServiceTests.java21 import android.content.res.Resources.NotFoundException;
126 } catch (NotFoundException e) { in copyRawToFile()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccUtils.java20 import android.content.res.Resources.NotFoundException;
260 } catch (NotFoundException e) { in adnStringFieldToString()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccUtils.java20 import android.content.res.Resources.NotFoundException;
260 } catch (NotFoundException e) { in adnStringFieldToString()
/frameworks/base/services/core/java/com/android/server/
DAttributeCache.java135 } catch (Resources.NotFoundException e) { in get()
/frameworks/base/telecomm/java/android/telecom/
DPhoneAccount.java23 import android.content.res.Resources.NotFoundException;
616 } catch (NotFoundException | MissingResourceException e) { in createIconDrawable()

123