Searched refs:drawables (Results 1 – 11 of 11) sorted by relevance
/aosp12/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/view/ |
H A D | NavigationBarButton.java | 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() 127 drawables[5] = compoundDrawablesRelative[2]; // end in getAllCompoundDrawables() [all …]
|
/aosp12/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | DrawableContainer.java | 937 final Drawable[] drawables = mDrawables; in setLayoutDirection() local 939 if (drawables[i] != null) { in setLayoutDirection() 982 if (drawables[i] != null && drawables[i].canApplyTheme()) { in applyTheme() 999 final Drawable d = drawables[i]; in canApplyTheme() 1021 if (drawables[i] != null) { in mutate() 1022 drawables[i].mutate(); in mutate() 1033 if (drawables[i] != null) { in clearMutated() 1034 drawables[i].clearMutated(); in clearMutated() 1066 if (drawables[i].getPadding(t)) { in getConstantPadding() 1129 final Drawable dr = drawables[i]; in computeConstantSize() [all …]
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
H A D | PowerGaugePreferenceTest.java | 83 final Drawable[] drawables = widgetSummary.getCompoundDrawablesRelative(); in testOnBindViewHolder_showAnomaly_bindAnomalyIcon() local 85 assertThat(drawables[0]).isInstanceOf(VectorDrawable.class); in testOnBindViewHolder_showAnomaly_bindAnomalyIcon() 94 final Drawable[] drawables = widgetSummary.getCompoundDrawablesRelative(); in testOnBindViewHolder_notShowAnomaly_bindAnomalyIcon() local 96 assertThat(drawables[0]).isNull(); in testOnBindViewHolder_notShowAnomaly_bindAnomalyIcon()
|
/aosp12/frameworks/base/packages/overlays/tests/src/com/android/theme/icon/ |
H A D | IconPackOverlayTest.java | 272 final ArrayList<String> drawables = new ArrayList<>(); in getDrawablesFromOverlay() local 283 drawables.add(name); in getDrawablesFromOverlay() 286 return drawables; in getDrawablesFromOverlay()
|
/aosp12/frameworks/base/core/java/android/util/ |
H A D | LauncherIcons.java | 121 Drawable[] drawables = base == null in getBadgedDrawable() local 124 return new LayerDrawable(drawables); in getBadgedDrawable()
|
/aosp12/packages/apps/Gallery2/src/com/android/photos/drawables/ |
H A D | DataUriThumbnailDrawable.java | 17 package com.android.photos.drawables;
|
H A D | AutoThumbnailDrawable.java | 17 package com.android.photos.drawables;
|
/aosp12/packages/apps/Gallery2/src/com/android/photos/data/ |
H A D | PhotoSetLoader.java | 29 import com.android.photos.drawables.DataUriThumbnailDrawable;
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | SmartReplyView.java | 581 Drawable[] drawables = button.getCompoundDrawables(); in getLeftCompoundDrawableWidthWithPadding() local 582 Drawable leftDrawable = drawables[0]; in getLeftCompoundDrawableWidthWithPadding()
|
/aosp12/frameworks/base/tools/aapt/ |
H A 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()
|
/aosp12/frameworks/base/core/java/android/widget/ |
H A D | TextView.java | 2907 final boolean drawables = left != null || top != null || right != null || bottom != null; in setCompoundDrawables() 2908 if (!drawables) { in setCompoundDrawables() 3108 final boolean drawables = start != null || top != null in setCompoundDrawablesRelative() 3111 if (!drawables) { in setCompoundDrawablesRelative() 7769 final TextView.Drawables drawables = mDrawables; in invalidateDrawable() local 7770 if (drawables != null) { in invalidateDrawable() 7771 if (drawable == drawables.mShowing[Drawables.LEFT]) { in invalidateDrawable() 7779 } else if (drawable == drawables.mShowing[Drawables.RIGHT]) { in invalidateDrawable() 7784 scrollX += (mRight - mLeft - mPaddingRight - drawables.mDrawableSizeRight); in invalidateDrawable() 7787 } else if (drawable == drawables.mShowing[Drawables.TOP]) { in invalidateDrawable() [all …]
|