Searched refs:NotFoundException (Results 1 - 25 of 38) sorted by relevance

12

/frameworks/base/test-runner/src/android/test/mock/
H A DMockResources.java51 public CharSequence getText(int id) throws NotFoundException {
56 public CharSequence getQuantityText(int id, int quantity) throws NotFoundException {
61 public String getString(int id) throws NotFoundException {
66 public String getString(int id, Object... formatArgs) throws NotFoundException {
72 throws NotFoundException {
77 public String getQuantityString(int id, int quantity) throws NotFoundException {
87 public CharSequence[] getTextArray(int id) throws NotFoundException {
92 public String[] getStringArray(int id) throws NotFoundException {
97 public int[] getIntArray(int id) throws NotFoundException {
102 public TypedArray obtainTypedArray(int id) throws NotFoundException {
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeResources.java158 public Drawable getDrawable(int id) throws NotFoundException {
165 // id was not found or not resolved. Throw a NotFoundException.
173 public int getColor(int id) throws NotFoundException {
186 // id was not found or not resolved. Throw a NotFoundException.
194 public ColorStateList getColorStateList(int id) throws NotFoundException {
205 // id was not found or not resolved. Throw a NotFoundException.
213 public CharSequence getText(int id) throws NotFoundException {
228 // id was not found or not resolved. Throw a NotFoundException.
236 public XmlResourceParser getLayout(int id) throws NotFoundException {
272 // id was not found or not resolved. Throw a NotFoundException
[all...]
H A DResources_Theme_Delegate.java22 import android.content.res.Resources.NotFoundException;
47 throws NotFoundException {
/frameworks/base/core/java/android/content/res/
H A DResources.java164 public static class NotFoundException extends RuntimeException { class in class:Resources
165 public NotFoundException() { method in class:Resources.NotFoundException
168 public NotFoundException(String name) { method in class:Resources.NotFoundException
237 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
242 public CharSequence getText(int id) throws NotFoundException {
247 throw new NotFoundException("String resource ID #0x"
264 * @throws NotFoundException Throws NotFoundException if the given ID does not exist.
269 public CharSequence getQuantityText(int id, int quantity) throws NotFoundException {
[all...]
/frameworks/base/core/java/android/view/animation/
H A DAnimationUtils.java24 import android.content.res.Resources.NotFoundException;
64 * @throws NotFoundException when the animation cannot be loaded
67 throws NotFoundException {
74 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" +
79 NotFoundException rnf = new NotFoundException("Can't load animation resource ID #0x" +
137 throws NotFoundException {
144 NotFoundException rnf = new NotFoundException("Ca
[all...]
/frameworks/base/core/java/android/animation/
H A DAnimatorInflater.java22 import android.content.res.Resources.NotFoundException;
64 * @throws android.content.res.Resources.NotFoundException when the animation cannot be loaded
67 throws NotFoundException {
74 Resources.NotFoundException rnf =
75 new Resources.NotFoundException("Can't load animation resource ID #0x" +
80 Resources.NotFoundException rnf =
81 new Resources.NotFoundException("Can't load animation resource ID #0x" +
157 throws NotFoundException {
183 throws NotFoundException {
/frameworks/base/core/java/android/app/
H A DWallpaperInfo.java29 import android.content.res.Resources.NotFoundException;
221 public CharSequence loadAuthor(PackageManager pm) throws NotFoundException {
222 if (mAuthorResource <= 0) throw new NotFoundException();
235 public CharSequence loadDescription(PackageManager pm) throws NotFoundException {
247 if (mDescriptionResource <= 0) throw new NotFoundException();
/frameworks/base/graphics/java/android/renderscript/
H A DScriptC.java92 throw new Resources.NotFoundException();
H A DProgram.java213 throw new Resources.NotFoundException();
/frameworks/base/core/java/android/app/admin/
H A DDeviceAdminInfo.java33 import android.content.res.Resources.NotFoundException;
341 public CharSequence loadDescription(PackageManager pm) throws NotFoundException {
352 throw new NotFoundException();
/frameworks/base/core/tests/coretests/src/android/os/storage/
H A DStorageManagerBaseTest.java21 import android.content.res.Resources.NotFoundException;
226 * @throws NotFoundException If the resource file could not be found
228 private void copyRawToFile(int rawResId, File outFile) throws NotFoundException {
233 } catch (NotFoundException e) {
257 } catch (NotFoundException e) {
/frameworks/base/services/java/com/android/server/
H A DAttributeCache.java133 } catch (Resources.NotFoundException e) {
/frameworks/base/core/tests/coretests/src/com/android/server/
H A DMountServiceTests.java23 import android.content.res.Resources.NotFoundException;
124 } catch (NotFoundException e) {
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DCallerInfoTest.java129 public String getString(int resId) throws Resources.NotFoundException {
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DIccUtils.java20 import android.content.res.Resources.NotFoundException;
262 } catch (NotFoundException e) {
/frameworks/base/core/java/android/server/
H A DBluetoothPanProfileHandler.java28 import android.content.res.Resources.NotFoundException;
75 } catch (NotFoundException e) {
/frameworks/base/core/java/android/accounts/
H A DChooseAccountActivity.java109 } catch (Resources.NotFoundException e) {
H A DChooseAccountTypeActivity.java143 } catch (Resources.NotFoundException e) {
/frameworks/base/core/java/android/widget/
H A DToast.java256 * @throws Resources.NotFoundException if the resource can't be found.
259 throws Resources.NotFoundException {
H A DSuggestionsAdapter.java546 } catch (Resources.NotFoundException nfe) {
567 } catch (Resources.NotFoundException ex) {
/frameworks/base/core/java/android/content/
H A DContext.java339 int resid, int[] attrs) throws Resources.NotFoundException {
/frameworks/base/core/java/com/android/internal/widget/
H A DPasswordEntryKeyboardHelper.java206 } catch (Resources.NotFoundException e) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DRecentTasksLoader.java184 } catch (Resources.NotFoundException e) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNavigationBarView.java251 } catch (android.content.res.Resources.NotFoundException ex) {
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java445 throws Resources.NotFoundException {
450 throw new Resources.NotFoundException();
694 throws Resources.NotFoundException {

Completed in 418 milliseconds

12