Home
last modified time | relevance | path

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

/packages/apps/ThemePicker/src/com/android/customization/model/theme/
DThemeBundle.java106 if (mPreviewInfo.shapeDrawable != null) { in bindThumbnailTile()
107 ((ShapeDrawable) mPreviewInfo.shapeDrawable).getPaint().setColor( in bindThumbnailTile()
110 mPreviewInfo.shapeDrawable); in bindThumbnailTile()
263 public final Drawable shapeDrawable; field in ThemeBundle.PreviewInfo
290 Drawable shapeDrawable, @Dimension int cornerRadius, in PreviewInfo() argument
297 this.shapeDrawable = shapeDrawable; in PreviewInfo()
333 ShapeDrawable shapeDrawable = null; in createPreviewInfo() local
341 shapeDrawable = new ShapeDrawable(shape); in createPreviewInfo()
342 shapeDrawable.setIntrinsicHeight((int) PATH_SIZE); in createPreviewInfo()
343 shapeDrawable.setIntrinsicWidth((int) PATH_SIZE); in createPreviewInfo()
[all …]
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/
DColorOptionsProvider.java160 ShapeDrawable shapeDrawable = null; in loadShape() local
164 shapeDrawable = new ShapeDrawable(shape); in loadShape()
165 shapeDrawable.setIntrinsicHeight((int) PATH_SIZE); in loadShape()
166 shapeDrawable.setIntrinsicWidth((int) PATH_SIZE); in loadShape()
168 return shapeDrawable; in loadShape()
DShapeOptionsProvider.java100 ShapeDrawable shapeDrawable = new ShapeDrawable(shape); in createShapeDrawable() local
101 shapeDrawable.setIntrinsicHeight(mThumbSize); in createShapeDrawable()
102 shapeDrawable.setIntrinsicWidth(mThumbSize); in createShapeDrawable()
103 return shapeDrawable; in createShapeDrawable()
DThemeComponentOption.java452 public void setShapeDrawable(@Nullable Drawable shapeDrawable) { in setShapeDrawable() argument
453 mShapeDrawable = shapeDrawable; in setShapeDrawable()
476 @Dimension int cornerRadius, Drawable shapeDrawable, in ShapeOption() argument
483 Drawable background = shapeDrawable.getConstantState().newDrawable(); in ShapeOption()
484 Drawable foreground = shapeDrawable.getConstantState().newDrawable(); in ShapeOption()
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
DThemeInfoView.java77 if (previewInfo.shapeDrawable != null) { in populateThemeInfo()
78 mShapePreviewImageView.setImageDrawable(previewInfo.shapeDrawable); in populateThemeInfo()
DThemeOptionPreviewer.java169 setColorAndIconsSection(previewInfo.icons, previewInfo.shapeDrawable, in setPreviewInfo()
299 private void setColorAndIconsSection(List<Drawable> icons, Drawable shapeDrawable, in setColorAndIconsSection() argument
305 Drawable bgShape = shapeDrawable.getConstantState().newDrawable(); in setColorAndIconsSection()