/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/view/ |
D | NavigationBarButton.java | 49 Drawable[] drawables = getCompoundDrawablesRelative(); in init() local 50 for (int i = 0; i < drawables.length; i++) { in init() 51 if (drawables[i] != null) { in init() 52 drawables[i] = TintedDrawable.wrap(drawables[i]); in init() 55 setCompoundDrawablesRelativeWithIntrinsicBounds(drawables[0], drawables[1], in init() 56 drawables[2], drawables[3]); in init() 100 Drawable[] drawables = new Drawable[6]; in getAllCompoundDrawables() local 102 drawables[0] = compoundDrawables[0]; // left in getAllCompoundDrawables() 103 drawables[1] = compoundDrawables[1]; // top in getAllCompoundDrawables() 104 drawables[2] = compoundDrawables[2]; // right in getAllCompoundDrawables() [all …]
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | PlaybackControlsRow.java | 97 public void setDrawables(Drawable[] drawables) { in setDrawables() argument 98 mDrawables = drawables; in setDrawables() 220 Drawable[] drawables = new Drawable[2]; 221 drawables[INDEX_PLAY] = getStyledDrawable(context, 223 drawables[INDEX_PAUSE] = getStyledDrawable(context, 225 setDrawables(drawables); 227 String[] labels = new String[drawables.length]; 260 Drawable[] drawables = new Drawable[numSpeeds + 1]; 261 drawables[0] = getStyledDrawable(context, 263 setDrawables(drawables); [all …]
|
D | MultiActionsProvider.java | 53 public void setDrawables(Drawable[] drawables) { in setDrawables() argument 54 mDrawables = drawables; in setDrawables() 55 if (mIndex > drawables.length - 1) { in setDrawables() 56 mIndex = drawables.length - 1; in setDrawables()
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
D | TextViewBindingAdapter.java | 147 Drawable[] drawables = view.getCompoundDrawables(); in setDrawableBottom() local 148 view.setCompoundDrawables(drawables[0], drawables[1], drawables[2], drawable); in setDrawableBottom() 154 Drawable[] drawables = view.getCompoundDrawables(); in setDrawableLeft() local 155 view.setCompoundDrawables(drawable, drawables[1], drawables[2], drawables[3]); in setDrawableLeft() 161 Drawable[] drawables = view.getCompoundDrawables(); in setDrawableRight() local 162 view.setCompoundDrawables(drawables[0], drawables[1], drawable, in setDrawableRight() 163 drawables[3]); in setDrawableRight() 169 Drawable[] drawables = view.getCompoundDrawables(); in setDrawableTop() local 170 view.setCompoundDrawables(drawables[0], drawable, drawables[2], in setDrawableTop() 171 drawables[3]); in setDrawableTop() [all …]
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | DrawableContainer.java | 933 final Drawable[] drawables = mDrawables; in setLayoutDirection() local 935 if (drawables[i] != null) { in setLayoutDirection() 936 final boolean childChanged = drawables[i].setLayoutDirection(layoutDirection); in setLayoutDirection() 976 final Drawable[] drawables = mDrawables; in applyTheme() local 978 if (drawables[i] != null && drawables[i].canApplyTheme()) { in applyTheme() 979 drawables[i].applyTheme(theme); in applyTheme() 982 mChildrenChangingConfigurations |= drawables[i].getChangingConfigurations(); in applyTheme() 993 final Drawable[] drawables = mDrawables; in canApplyTheme() local 995 final Drawable d = drawables[i]; in canApplyTheme() 1015 final Drawable[] drawables = mDrawables; in mutate() local [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyButtonDrawable.java | 42 private KeyButtonDrawable(Drawable[] drawables) { in KeyButtonDrawable() argument 43 super(drawables); in KeyButtonDrawable() 44 for (int i = 0; i < drawables.length; i++) { in KeyButtonDrawable() 48 mHasDarkDrawable = drawables.length > 1; in KeyButtonDrawable()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | BackgroundManager.java | 251 TranslucentLayerDrawable(BackgroundManager manager, Drawable[] drawables) { in TranslucentLayerDrawable() argument 252 super(drawables); in TranslucentLayerDrawable() 254 int count = drawables.length; in TranslucentLayerDrawable() 257 mWrapper[i] = new DrawableWrapper(drawables[i]); in TranslucentLayerDrawable() 394 Drawable[] drawables = new Drawable[numChildren]; in createTranslucentLayerDrawable() local 396 drawables[i] = layerDrawable.getDrawable(i); in createTranslucentLayerDrawable() 398 TranslucentLayerDrawable result = new TranslucentLayerDrawable(this, drawables); in createTranslucentLayerDrawable()
|
/frameworks/base/core/java/android/util/ |
D | LauncherIcons.java | 117 Drawable[] drawables = base == null in getBadgedDrawable() local 120 return new LayerDrawable(drawables); in getBadgedDrawable()
|
/frameworks/base/tools/aapt/ |
D | Resource.cpp | 1291 sp<ResourceTypeSet> drawables; in buildResources() local 1328 if (!applyFileOverlay(bundle, assets, &drawables, "drawable") || in buildResources() 1345 if (drawables != NULL) { in buildResources() 1347 err = preProcessImages(bundle, assets, drawables, "drawable"); in buildResources() 1350 err = makeFileResources(bundle, assets, &table, drawables, "drawable"); in buildResources() 1587 if (drawables != NULL) { in buildResources() 1588 ResourceDirIterator it(drawables, String8("drawable")); in buildResources()
|
/frameworks/base/core/java/android/widget/ |
D | TextView.java | 2787 final boolean drawables = left != null || top != null || right != null || bottom != null; 2788 if (!drawables) { 2988 final boolean drawables = start != null || top != null 2991 if (!drawables) { 6550 final TextView.Drawables drawables = mDrawables; in invalidateDrawable() local 6551 if (drawables != null) { in invalidateDrawable() 6552 if (drawable == drawables.mShowing[Drawables.LEFT]) { in invalidateDrawable() 6558 scrollY += compoundPaddingTop + (vspace - drawables.mDrawableHeightLeft) / 2; in invalidateDrawable() 6560 } else if (drawable == drawables.mShowing[Drawables.RIGHT]) { in invalidateDrawable() 6565 scrollX += (mRight - mLeft - mPaddingRight - drawables.mDrawableSizeRight); in invalidateDrawable() [all …]
|
D | RemoteViews.java | 2206 Drawable[] drawables = isRelative 2212 Drawable d = drawables[index];
|