Home
last modified time | relevance | path

Searched refs:Resources (Results 1 – 25 of 766) sorted by relevance

12345678910>>...31

/frameworks/base/core/java/android/view/
DContextThemeWrapper.java22 import android.content.res.Resources;
30 private Resources.Theme mTheme;
33 private Resources mResources;
69 public Resources getResources() { in getResources()
94 @Override public Resources.Theme getTheme() { in getTheme()
99 mThemeResource = Resources.selectDefaultTheme(mThemeResource, in getTheme()
127 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { in onApplyThemeResource()
135 Resources.Theme theme = getBaseContext().getTheme(); in initializeTheme()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteGlobal.java19 import android.content.res.Resources;
75 Resources.getSystem().getString( in getDefaultJournalMode()
84 Resources.getSystem().getInteger( in getJournalSizeLimit()
93 Resources.getSystem().getString( in getDefaultSyncMode()
102 Resources.getSystem().getString( in getWALSyncMode()
111 Resources.getSystem().getInteger( in getWALAutoCheckpoint()
121 Resources.getSystem().getInteger( in getWALConnectionPoolSize()
/frameworks/base/tools/layoutlib/bridge/src/android/animation/
DAnimatorInflater_Delegate.java22 import android.content.res.Resources;
23 import android.content.res.Resources.NotFoundException;
24 import android.content.res.Resources.Theme;
39 /*package*/ static Animator loadAnimator(Resources resources, Theme theme, int id) in loadAnimator()
45 /*package*/ static Animator loadAnimator(Resources resources, Theme theme, int id, in loadAnimator()
54 /*package*/ static ValueAnimator loadAnimator(Resources res, Theme theme, in loadAnimator()
/frameworks/support/v4/api21/android/support/v4/content/res/
DResourcesCompatApi21.java19 import android.content.res.Resources;
20 import android.content.res.Resources.NotFoundException;
21 import android.content.res.Resources.Theme;
25 public static Drawable getDrawable(Resources res, int id, Theme theme) in getDrawable()
30 public static Drawable getDrawableForDensity(Resources res, int id, int density, Theme theme) in getDrawableForDensity()
/frameworks/support/v4/java/android/support/v4/content/res/
DResourcesCompat.java19 import android.content.res.Resources;
20 import android.content.res.Resources.NotFoundException;
21 import android.content.res.Resources.Theme;
49 public static Drawable getDrawable(Resources res, int id, Theme theme) in getDrawable()
82 public static Drawable getDrawableForDensity(Resources res, int id, int density, Theme theme) in getDrawableForDensity()
/frameworks/support/v4/ics-mr1/android/support/v4/content/res/
DResourcesCompatIcsMr1.java19 import android.content.res.Resources;
20 import android.content.res.Resources.NotFoundException;
21 import android.content.res.Resources.Theme;
25 public static Drawable getDrawableForDensity(Resources res, int id, int density) in getDrawableForDensity()
/frameworks/base/graphics/java/android/graphics/drawable/
DTransitionDrawable.java19 import android.content.res.Resources;
88 this(new TransitionState(null, null, null), (Resources) null); in TransitionDrawable()
91 private TransitionDrawable(TransitionState state, Resources res) { in TransitionDrawable()
100 LayerState createConstantState(LayerState state, Resources res) { in createConstantState()
247 TransitionState(TransitionState orig, TransitionDrawable owner, Resources res) { in TransitionState()
253 return new TransitionDrawable(this, (Resources) null); in newDrawable()
257 public Drawable newDrawable(Resources res) { in newDrawable()
DDrawable.java21 import android.content.res.Resources;
22 import android.content.res.Resources.Theme;
950 public static Drawable createFromResourceStream(Resources res, TypedValue value, in createFromResourceStream()
964 public static Drawable createFromResourceStream(Resources res, TypedValue value, in createFromResourceStream()
1008 public static Drawable createFromXml(Resources r, XmlPullParser parser) in createFromXml()
1018 public static Drawable createFromXml(Resources r, XmlPullParser parser, Theme theme) in createFromXml()
1046 public static Drawable createFromXmlInner(Resources r, XmlPullParser parser, AttributeSet attrs) in createFromXmlInner()
1057 public static Drawable createFromXmlInner(Resources r, XmlPullParser parser, AttributeSet attrs, in createFromXmlInner()
1159 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs) in inflate()
1174 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) in inflate()
[all …]
/frameworks/base/core/java/android/app/
DResourcesManager.java25 import android.content.res.Resources;
45 final ArrayMap<ResourcesKey, WeakReference<Resources> > mActiveResources
46 = new ArrayMap<ResourcesKey, WeakReference<Resources> >();
152 public Resources getTopLevelResources(String resDir, String[] splitResDirs, in getTopLevelResources()
157 Resources r; in getTopLevelResources()
163 WeakReference<Resources> wr = mActiveResources.get(key); in getTopLevelResources()
229 r = new Resources(assets, dm, config, compatInfo, token); in getTopLevelResources()
237 WeakReference<Resources> wr = mActiveResources.get(key); in getTopLevelResources()
238 Resources existing = wr != null ? wr.get() : null; in getTopLevelResources()
247 mActiveResources.put(key, new WeakReference<Resources>(r)); in getTopLevelResources()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DResources_Theme_Delegate.java28 import android.content.res.Resources.NotFoundException;
29 import android.content.res.Resources.Theme;
55 Resources thisResources, Theme thisTheme, in obtainStyledAttributes()
66 Resources thisResources, Theme thisTheme, in obtainStyledAttributes()
79 Resources thisResources, Theme thisTheme, in obtainStyledAttributes()
91 Resources thisResources, Theme thisTheme, in resolveAttribute()
102 /*package*/ static TypedArray resolveAttributes(Resources thisResources, Theme thisTheme, in resolveAttributes()
/frameworks/support/v4/java/android/support/v4/graphics/drawable/
DRoundedBitmapDrawableFactory.java19 import android.content.res.Resources;
37 DefaultRoundedBitmapDrawable(Resources res, Bitmap bitmap) { in DefaultRoundedBitmapDrawable()
66 public static RoundedBitmapDrawable create(Resources res, Bitmap bitmap) { in create()
76 public static RoundedBitmapDrawable create(Resources res, in create()
89 public static RoundedBitmapDrawable create(Resources res, in create()
/frameworks/opt/bitmap/src/com/android/bitmap/
DResourceRequestKey.java19 import android.content.res.Resources;
29 private Resources mResources;
36 public static ResourceRequestKey from(Resources res, int resId) { in from()
43 private ResourceRequestKey(Resources res, int resId) { in ResourceRequestKey()
/frameworks/base/core/java/android/content/res/
DConstantState.java50 public T newInstance(Resources res) { in newInstance()
58 public T newInstance(Resources res, Resources.Theme theme) { in newInstance()
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java21 import android.content.res.Resources;
22 import android.content.res.Resources.NotFoundException;
23 import android.content.res.Resources.Theme;
100 public static Animator loadAnimator(Resources resources, Theme theme, int id) in loadAnimator()
106 public static Animator loadAnimator(Resources resources, Theme theme, int id, 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()
155 final Resources resources = context.getResources(); in loadStateListAnimator()
[all …]
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
DUT_rstypes.java20 import android.content.res.Resources;
24 private Resources mRes;
26 protected UT_rstypes(RSTestCore rstc, Resources res, Context ctx) { in UT_rstypes()
DUT_fp_mad.java20 import android.content.res.Resources;
24 private Resources mRes;
26 protected UT_fp_mad(RSTestCore rstc, Resources res, Context ctx) { in UT_fp_mad()
DUT_math.java20 import android.content.res.Resources;
24 private Resources mRes;
26 protected UT_math(RSTestCore rstc, Resources res, Context ctx) { in UT_math()
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DUT_min.java20 import android.content.res.Resources;
24 private Resources mRes;
26 protected UT_min(RSTestCore rstc, Resources res, Context ctx) { in UT_min()
DUT_convert_relaxed.java20 import android.content.res.Resources;
24 private Resources mRes;
26 protected UT_convert_relaxed(RSTestCore rstc, Resources res, Context ctx) { in UT_convert_relaxed()
DUT_convert.java20 import android.content.res.Resources;
24 private Resources mRes;
26 protected UT_convert(RSTestCore rstc, Resources res, Context ctx) { in UT_convert()
DUT_fp_mad.java20 import android.content.res.Resources;
24 private Resources mRes;
26 protected UT_fp_mad(RSTestCore rstc, Resources res, Context ctx) { in UT_fp_mad()
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
DUT_rstypes.java20 import android.content.res.Resources;
24 private Resources mRes;
26 protected UT_rstypes(RSTestCore rstc, Resources res, Context ctx) { in UT_rstypes()
DUT_math.java20 import android.content.res.Resources;
24 private Resources mRes;
26 protected UT_math(RSTestCore rstc, Resources res, Context ctx) { in UT_math()
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
DUT_rstypes.java20 import android.content.res.Resources;
24 private Resources mRes;
26 protected UT_rstypes(RSTestCore rstc, Resources res, Context ctx) { in UT_rstypes()
DUT_rsdebug.java20 import android.content.res.Resources;
24 private Resources mRes;
26 protected UT_rsdebug(RSTestCore rstc, Resources res, Context ctx) { in UT_rsdebug()

12345678910>>...31