Searched refs:resolveDensity (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | Drawable.java | 1151 opts.inScreenDensity = Drawable.resolveDensity(res, 0); in createFromResourceStream() 1486 static int resolveDensity(@Nullable Resources r, int parentDensity) { in resolveDensity() method in Drawable
|
D | BitmapDrawable.java | 822 state.mTargetDensity = Drawable.resolveDensity(r, 0); in updateStateFromTypedArray() 984 mTargetDensity = resolveDensity(res, mBitmapState.mTargetDensity); in updateLocalState()
|
D | LayerDrawable.java | 182 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);
|
D | GradientDrawable.java | 1181 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);
|
D | DrawableContainer.java | 718 mDensity = Drawable.resolveDensity(res, orig != null ? orig.mDensity : 0); in DrawableContainerState() 930 final int targetDensity = Drawable.resolveDensity(res, mDensity); in updateDensity()
|
D | VectorDrawable.java | 256 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()
|
D | RippleDrawable.java | 1046 mDensity = Drawable.resolveDensity(res, mState.mDensity); in RippleDrawable()
|
D | NinePatchDrawable.java | 748 mTargetDensity = Drawable.resolveDensity(res, mTargetDensity); in updateLocalState()
|