Home
last modified time | relevance | path

Searched refs:resolveDensity (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DDrawable.java1151 opts.inScreenDensity = Drawable.resolveDensity(res, 0); in createFromResourceStream()
1486 static int resolveDensity(@Nullable Resources r, int parentDensity) { in resolveDensity() method in Drawable
DBitmapDrawable.java822 state.mTargetDensity = Drawable.resolveDensity(r, 0); in updateStateFromTypedArray()
984 mTargetDensity = resolveDensity(res, mBitmapState.mTargetDensity); in updateLocalState()
DLayerDrawable.java182 final int density = Drawable.resolveDensity(r, 0); in inflate()
211 final int density = Drawable.resolveDensity(t.getResources(), 0); in applyTheme()
1855 mDensity = Drawable.resolveDensity(res, orig.mDensity);
1927 mDensity = Drawable.resolveDensity(res, orig != null ? orig.mDensity : 0);
DGradientDrawable.java1181 mGradientState.setDensity(Drawable.resolveDensity(r, 0));
1201 state.setDensity(Drawable.resolveDensity(t.getResources(), 0));
1842 mDensity = Drawable.resolveDensity(res, orig.mDensity);
1955 final int density = Drawable.resolveDensity(res, mDensity);
DDrawableContainer.java718 mDensity = Drawable.resolveDensity(res, orig != null ? orig.mDensity : 0); in DrawableContainerState()
930 final int targetDensity = Drawable.resolveDensity(res, mDensity); in updateDensity()
DVectorDrawable.java256 final int density = Drawable.resolveDensity(res, mVectorState.mDensity); in updateLocalState()
486 Drawable.resolveDensity(t.getResources(), 0)); in applyTheme()
589 state.setDensity(Drawable.resolveDensity(r, 0)); in inflate()
DRippleDrawable.java1046 mDensity = Drawable.resolveDensity(res, mState.mDensity); in RippleDrawable()
DNinePatchDrawable.java748 mTargetDensity = Drawable.resolveDensity(res, mTargetDensity); in updateLocalState()