Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DViewOverlay.java133 ArrayList<Drawable> mDrawables = null; field in ViewOverlay.OverlayViewGroup
150 if (mDrawables == null) { in add()
151 mDrawables = new ArrayList<>(); in add()
153 if (!mDrawables.contains(drawable)) { in add()
155 mDrawables.add(drawable); in add()
165 if (mDrawables != null) { in remove()
166 mDrawables.remove(drawable); in remove()
174 return super.verifyDrawable(who) || (mDrawables != null && mDrawables.contains(who)); in verifyDrawable()
218 if (mDrawables != null) { in clear()
219 for (Drawable drawable : mDrawables) { in clear()
[all …]
/frameworks/support/transition/api14/android/support/transition/
DViewOverlayApi14.java151 ArrayList<Drawable> mDrawables = null; field in ViewOverlayApi14.OverlayViewGroup
175 if (mDrawables == null) { in add()
177 mDrawables = new ArrayList<>(); in add()
179 if (!mDrawables.contains(drawable)) { in add()
181 mDrawables.add(drawable); in add()
188 if (mDrawables != null) { in remove()
189 mDrawables.remove(drawable); in remove()
197 return super.verifyDrawable(who) || (mDrawables != null && mDrawables.contains(who)); in verifyDrawable()
236 if (mDrawables != null) { in clear()
237 mDrawables.clear(); in clear()
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DMultiActionsProvider.java41 private Drawable[] mDrawables; field in MultiActionsProvider.MultiAction
54 mDrawables = drawables; in setDrawables()
67 return mDrawables; in getDrawables()
75 setIndex(mIndex < (mDrawables.length - 1) ? (mIndex + 1) : 0); in incrementIndex()
98 return mDrawables[mIndex];
DPlaybackControlsRow.java81 private Drawable[] mDrawables; field in PlaybackControlsRow.MultiAction
98 mDrawables = drawables; in setDrawables()
125 if (mDrawables != null) { in getActionCount()
126 return mDrawables.length; in getActionCount()
138 return mDrawables == null ? null : mDrawables[index]; in getDrawable()
167 if (mDrawables != null) {
168 setIcon(mDrawables[mIndex]);
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawableContainer.java692 Drawable[] mDrawables; field in DrawableContainer.DrawableContainerState
791 final Drawable[] origDr = orig.mDrawables; in DrawableContainerState()
792 mDrawables = new Drawable[origDr.length]; in DrawableContainerState()
812 mDrawables[i] = origDr[i]; in DrawableContainerState()
817 mDrawables = new Drawable[10]; in DrawableContainerState()
835 if (pos >= mDrawables.length) { in addChild()
843 mDrawables[pos] = dr; in addChild()
866 return mDrawables.length; in getCapacity()
875 mDrawables[index] = prepareDrawable(cs.newDrawable(mSourceRes)); in createAllFutures()
900 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.java597 Drawables mDrawables;
1553 if (mDrawables == null) {
1554 mDrawables = new Drawables(context);
1557 mDrawables.mTintList = drawableTint;
1558 mDrawables.mHasTint = true;
1561 mDrawables.mTintMode = drawableTintMode;
1562 mDrawables.mHasTintMode = true;
2148 Drawables dr = mDrawables;
2150 mDrawables = dr = new Drawables(getContext());
2152 mDrawables.mOverride = true;
[all …]
DEditor.java523 Drawables dr = mTextView.mDrawables; in setErrorIcon()
525 mTextView.mDrawables = dr = new Drawables(mTextView.getContext()); in setErrorIcon()
555 final Drawables dr = mTextView.mDrawables; in getErrorX()
588 final Drawables dr = mTextView.mDrawables; in getErrorY()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java191 private DrawableFeatureState[] mDrawables; field in PhoneWindow
2818 if ((ar = mDrawables) == null || ar.length <= featureId) {
2823 mDrawables = ar = nar;