Home
last modified time | relevance | path

Searched refs:mDrawables (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/view/
DViewOverlay.java136 ArrayList<Drawable> mDrawables = null; field in ViewOverlay.OverlayViewGroup
153 if (mDrawables == null) { in add()
154 mDrawables = new ArrayList<>(); in add()
156 if (!mDrawables.contains(drawable)) { in add()
158 mDrawables.add(drawable); in add()
168 if (mDrawables != null) { in remove()
169 mDrawables.remove(drawable); in remove()
177 return super.verifyDrawable(who) || (mDrawables != null && mDrawables.contains(who)); in verifyDrawable()
221 if (mDrawables != null) { in clear()
222 for (Drawable drawable : mDrawables) { in clear()
[all …]
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawableContainer.java694 Drawable[] mDrawables; field in DrawableContainer.DrawableContainerState
796 final Drawable[] origDr = orig.mDrawables; in DrawableContainerState()
797 mDrawables = new Drawable[origDr.length]; in DrawableContainerState()
817 mDrawables[i] = origDr[i]; in DrawableContainerState()
822 mDrawables = new Drawable[10]; in DrawableContainerState()
840 if (pos >= mDrawables.length) { in addChild()
848 mDrawables[pos] = dr; in addChild()
871 return mDrawables.length; in getCapacity()
880 mDrawables[index] = prepareDrawable(cs.newDrawable(mSourceRes)); in createAllFutures()
905 return mDrawables; in getChildren()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDessertCaseView.java98 private SparseArray<Drawable> mDrawables = new SparseArray<Drawable>(NUM_PASTRIES); field in DessertCaseView
186 mDrawables.append(resid, d); in DessertCaseView()
305 d = mDrawables.get(pick(XXRARE_PASTRIES)); in fillFreeList()
307 d = mDrawables.get(pick(XRARE_PASTRIES)); in fillFreeList()
309 d = mDrawables.get(pick(RARE_PASTRIES)); in fillFreeList()
311 d = mDrawables.get(pick(PASTRIES)); in fillFreeList()
/frameworks/base/core/java/android/widget/
DTextView.java667 Drawables mDrawables;
1570 if (mDrawables == null) {
1571 mDrawables = new Drawables(context);
1574 mDrawables.mTintList = drawableTint;
1575 mDrawables.mHasTint = true;
1578 mDrawables.mBlendMode = drawableTintMode;
1579 mDrawables.mHasTintMode = true;
2190 Drawables dr = mDrawables; in setRelativeDrawablesIfNeeded()
2192 mDrawables = dr = new Drawables(getContext()); in setRelativeDrawablesIfNeeded()
2194 mDrawables.mOverride = true; in setRelativeDrawablesIfNeeded()
[all …]
DEditor.java747 Drawables dr = mTextView.mDrawables; in setErrorIcon()
749 mTextView.mDrawables = dr = new Drawables(mTextView.getContext()); in setErrorIcon()
779 final Drawables dr = mTextView.mDrawables; in getErrorX()
812 final Drawables dr = mTextView.mDrawables; in getErrorY()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java228 private DrawableFeatureState[] mDrawables; field in PhoneWindow
2852 if ((ar = mDrawables) == null || ar.length <= featureId) {
2857 mDrawables = ar = nar;