Loading api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -11932,6 +11932,7 @@ package android.content.res { method public android.graphics.drawable.Drawable getDrawable(int, android.content.res.Resources.Theme) throws android.content.res.Resources.NotFoundException; method public deprecated android.graphics.drawable.Drawable getDrawableForDensity(int, int) throws android.content.res.Resources.NotFoundException; method public android.graphics.drawable.Drawable getDrawableForDensity(int, int, android.content.res.Resources.Theme); method public float getFloat(int); method public android.graphics.Typeface getFont(int) throws android.content.res.Resources.NotFoundException; method public float getFraction(int, int, int); method public int getIdentifier(java.lang.String, java.lang.String, java.lang.String); core/java/android/content/res/Resources.java +1 −3 Original line number Diff line number Diff line Loading @@ -1129,10 +1129,8 @@ public class Resources { * * @throws NotFoundException Throws NotFoundException if the given ID does * not exist or is not a floating-point value. * @hide Pending API council approval. */ @UnsupportedAppUsage public float getFloat(int id) { public float getFloat(@DimenRes int id) { final TypedValue value = obtainTempTypedValue(); try { mResourcesImpl.getValue(id, value, true); Loading Loading
api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -11932,6 +11932,7 @@ package android.content.res { method public android.graphics.drawable.Drawable getDrawable(int, android.content.res.Resources.Theme) throws android.content.res.Resources.NotFoundException; method public deprecated android.graphics.drawable.Drawable getDrawableForDensity(int, int) throws android.content.res.Resources.NotFoundException; method public android.graphics.drawable.Drawable getDrawableForDensity(int, int, android.content.res.Resources.Theme); method public float getFloat(int); method public android.graphics.Typeface getFont(int) throws android.content.res.Resources.NotFoundException; method public float getFraction(int, int, int); method public int getIdentifier(java.lang.String, java.lang.String, java.lang.String);
core/java/android/content/res/Resources.java +1 −3 Original line number Diff line number Diff line Loading @@ -1129,10 +1129,8 @@ public class Resources { * * @throws NotFoundException Throws NotFoundException if the given ID does * not exist or is not a floating-point value. * @hide Pending API council approval. */ @UnsupportedAppUsage public float getFloat(int id) { public float getFloat(@DimenRes int id) { final TypedValue value = obtainTempTypedValue(); try { mResourcesImpl.getValue(id, value, true); Loading