Searched refs:drawables (Results 1 – 6 of 6) sorted by relevance
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/view/ |
D | NavigationBarButton.java | 51 Drawable[] drawables = getCompoundDrawablesRelative(); in init() local 52 for (int i = 0; i < drawables.length; i++) { in init() 53 if (drawables[i] != null) { in init() 54 drawables[i] = TintedDrawable.wrap(drawables[i]); in init() 58 drawables[0], drawables[1], drawables[2], drawables[3]); in init() 118 Drawable[] drawables = new Drawable[6]; in getAllCompoundDrawables() local 120 drawables[0] = compoundDrawables[0]; // left in getAllCompoundDrawables() 121 drawables[1] = compoundDrawables[1]; // top in getAllCompoundDrawables() 122 drawables[2] = compoundDrawables[2]; // right in getAllCompoundDrawables() 123 drawables[3] = compoundDrawables[3]; // bottom in getAllCompoundDrawables() [all …]
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | DrawableContainer.java | 938 final Drawable[] drawables = mDrawables; in setLayoutDirection() local 940 if (drawables[i] != null) { in setLayoutDirection() 941 final boolean childChanged = drawables[i].setLayoutDirection(layoutDirection); in setLayoutDirection() 981 final Drawable[] drawables = mDrawables; in applyTheme() local 983 if (drawables[i] != null && drawables[i].canApplyTheme()) { in applyTheme() 984 drawables[i].applyTheme(theme); in applyTheme() 987 mChildrenChangingConfigurations |= drawables[i].getChangingConfigurations(); in applyTheme() 998 final Drawable[] drawables = mDrawables; in canApplyTheme() local 1000 final Drawable d = drawables[i]; in canApplyTheme() 1020 final Drawable[] drawables = mDrawables; in mutate() local [all …]
|
/frameworks/base/core/java/android/util/ |
D | LauncherIcons.java | 119 Drawable[] drawables = base == null in getBadgedDrawable() local 122 return new LayerDrawable(drawables); in getBadgedDrawable()
|
/frameworks/base/tools/aapt/ |
D | Resource.cpp | 1321 sp<ResourceTypeSet> drawables; in buildResources() local 1358 if (!applyFileOverlay(bundle, assets, &drawables, "drawable") || in buildResources() 1375 if (drawables != NULL) { in buildResources() 1377 err = preProcessImages(bundle, assets, drawables, "drawable"); in buildResources() 1380 err = makeFileResources(bundle, assets, &table, drawables, "drawable"); in buildResources() 1617 if (drawables != NULL) { in buildResources() 1618 ResourceDirIterator it(drawables, String8("drawable")); in buildResources()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyView.java | 694 Drawable[] drawables = button.getCompoundDrawables(); in getLeftCompoundDrawableWidthWithPadding() local 695 Drawable leftDrawable = drawables[0]; in getLeftCompoundDrawableWidthWithPadding()
|
/frameworks/base/core/java/android/widget/ |
D | TextView.java | 2819 final boolean drawables = left != null || top != null || right != null || bottom != null; in setCompoundDrawables() 2820 if (!drawables) { in setCompoundDrawables() 3020 final boolean drawables = start != null || top != null in setCompoundDrawablesRelative() 3023 if (!drawables) { in setCompoundDrawablesRelative() 7640 final TextView.Drawables drawables = mDrawables; in invalidateDrawable() local 7641 if (drawables != null) { in invalidateDrawable() 7642 if (drawable == drawables.mShowing[Drawables.LEFT]) { in invalidateDrawable() 7648 scrollY += compoundPaddingTop + (vspace - drawables.mDrawableHeightLeft) / 2; in invalidateDrawable() 7650 } else if (drawable == drawables.mShowing[Drawables.RIGHT]) { in invalidateDrawable() 7655 scrollX += (mRight - mLeft - mPaddingRight - drawables.mDrawableSizeRight); in invalidateDrawable() [all …]
|