Home
last modified time | relevance | path

Searched refs:NotFoundException (Results 1 – 25 of 51) 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/base/tools/layoutlib/bridge/src/android/content/res/
DBridgeResources.java156 public Drawable getDrawable(int id) throws NotFoundException { in getDrawable()
171 public int getColor(int id) throws NotFoundException { in getColor()
192 public ColorStateList getColorStateList(int id) throws NotFoundException { in getColorStateList()
211 public CharSequence getText(int id) throws NotFoundException { in getText()
234 public XmlResourceParser getLayout(int id) throws NotFoundException { in getLayout()
278 public XmlResourceParser getAnimation(int id) throws NotFoundException { in getAnimation()
317 public TypedArray obtainTypedArray(int id) throws NotFoundException { in obtainTypedArray()
323 public float getDimension(int id) throws NotFoundException { in getDimension()
357 public int getDimensionPixelOffset(int id) throws NotFoundException { in getDimensionPixelOffset()
385 public int getDimensionPixelSize(int id) throws NotFoundException { in getDimensionPixelSize()
[all …]
DResources_Theme_Delegate.java22 import android.content.res.Resources.NotFoundException;
47 throws NotFoundException { in obtainStyledAttributes()
/frameworks/base/core/java/android/content/res/
DResources.java148 public static class NotFoundException extends RuntimeException { class in Resources
149 public NotFoundException() { in NotFoundException() method in Resources.NotFoundException
152 public NotFoundException(String name) { in NotFoundException() method in Resources.NotFoundException
225 public CharSequence getText(int id) throws NotFoundException { in getText()
230 throw new NotFoundException("String resource ID #0x" in getText()
252 public CharSequence getQuantityText(int id, int quantity) throws NotFoundException { in getQuantityText()
263 throw new NotFoundException("Plural resource ID #0x" + Integer.toHexString(id) in getQuantityText()
313 public String getString(int id) throws NotFoundException { in getString()
318 throw new NotFoundException("String resource ID #0x" in getString()
341 public String getString(int id, Object... formatArgs) throws NotFoundException { in getString()
[all …]
/frameworks/base/core/java/android/view/animation/
DAnimationUtils.java24 import android.content.res.Resources.NotFoundException;
67 throws NotFoundException { in loadAnimation()
74 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" + in loadAnimation()
79 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" + in loadAnimation()
145 throws NotFoundException { in loadLayoutAnimation()
152 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" + in loadLayoutAnimation()
157 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" + in loadLayoutAnimation()
267 public static Interpolator loadInterpolator(Context context, int id) throws NotFoundException { in loadInterpolator()
273 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" + in loadInterpolator()
278 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" + in loadInterpolator()
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java22 import android.content.res.Resources.NotFoundException;
67 throws NotFoundException { in loadAnimator()
74 Resources.NotFoundException rnf = in loadAnimator()
75 new Resources.NotFoundException("Can't load animation resource ID #0x" + in loadAnimator()
80 Resources.NotFoundException rnf = in loadAnimator()
81 new Resources.NotFoundException("Can't load animation resource ID #0x" + in loadAnimator()
157 throws NotFoundException { in loadObjectAnimator()
183 throws NotFoundException { in loadAnimator()
/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarView.java23 import android.content.res.Resources.NotFoundException;
54 } catch (NotFoundException ex) { in PhoneStatusBarView()
/frameworks/base/core/java/android/app/admin/
DDeviceAdminInfo.java33 import android.content.res.Resources.NotFoundException;
353 public CharSequence loadDescription(PackageManager pm) throws NotFoundException { in loadDescription()
364 throw new NotFoundException(); in loadDescription()
/frameworks/base/graphics/java/android/renderscript/
DScriptC.java92 throw new Resources.NotFoundException(); in internalCreate()
DProgram.java272 throw new Resources.NotFoundException(); in setShader()
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
DScriptC.java92 throw new Resources.NotFoundException(); in internalCreate()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccUtils.java20 import android.content.res.Resources.NotFoundException;
262 } catch (NotFoundException e) { in adnStringFieldToString()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DMountServiceTests.java21 import android.content.res.Resources.NotFoundException;
126 } catch (NotFoundException e) { in copyRawToFile()
/frameworks/base/services/java/com/android/server/
DAttributeCache.java148 } catch (Resources.NotFoundException e) { in get()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCallerInfoTest.java129 public String getString(int resId) throws Resources.NotFoundException { in getString()
/frameworks/base/core/java/android/accounts/
DChooseAccountActivity.java109 } catch (Resources.NotFoundException e) { in getDrawableForType()
DGrantCredentialsPermissionActivity.java145 } catch (Resources.NotFoundException e) { in getAccountLabel()
DChooseAccountTypeActivity.java143 } catch (Resources.NotFoundException e) { in buildTypeToAuthDescriptionMap()
/frameworks/base/core/java/android/widget/
DSuggestionsAdapter.java546 } catch (Resources.NotFoundException nfe) { in getDrawableFromResourceValue()
567 } catch (Resources.NotFoundException ex) { in getDrawable()
DToast.java264 throws Resources.NotFoundException { in makeText()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java459 throws Resources.NotFoundException { in obtainStyledAttributes()
464 throw new Resources.NotFoundException(); in obtainStyledAttributes()
726 throws Resources.NotFoundException { in createStyleBasedTypedArray()
/frameworks/base/core/java/com/android/internal/widget/
DPasswordEntryKeyboardHelper.java234 } catch (Resources.NotFoundException e) { in setVibratePattern()
/frameworks/base/core/java/android/content/
DContext.java384 int resid, int[] attrs) throws Resources.NotFoundException { in obtainStyledAttributes()

123