Searched refs:shapeDrawable (Results 1 – 6 of 6) sorted by relevance
106 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.PreviewInfo290 Drawable shapeDrawable, @Dimension int cornerRadius, in PreviewInfo() argument297 this.shapeDrawable = shapeDrawable; in PreviewInfo()333 ShapeDrawable shapeDrawable = null; in createPreviewInfo() local341 shapeDrawable = new ShapeDrawable(shape); in createPreviewInfo()342 shapeDrawable.setIntrinsicHeight((int) PATH_SIZE); in createPreviewInfo()343 shapeDrawable.setIntrinsicWidth((int) PATH_SIZE); in createPreviewInfo()[all …]
160 ShapeDrawable shapeDrawable = null; in loadShape() local164 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()
100 ShapeDrawable shapeDrawable = new ShapeDrawable(shape); in createShapeDrawable() local101 shapeDrawable.setIntrinsicHeight(mThumbSize); in createShapeDrawable()102 shapeDrawable.setIntrinsicWidth(mThumbSize); in createShapeDrawable()103 return shapeDrawable; in createShapeDrawable()
452 public void setShapeDrawable(@Nullable Drawable shapeDrawable) { in setShapeDrawable() argument453 mShapeDrawable = shapeDrawable; in setShapeDrawable()476 @Dimension int cornerRadius, Drawable shapeDrawable, in ShapeOption() argument483 Drawable background = shapeDrawable.getConstantState().newDrawable(); in ShapeOption()484 Drawable foreground = shapeDrawable.getConstantState().newDrawable(); in ShapeOption()
77 if (previewInfo.shapeDrawable != null) { in populateThemeInfo()78 mShapePreviewImageView.setImageDrawable(previewInfo.shapeDrawable); in populateThemeInfo()
169 setColorAndIconsSection(previewInfo.icons, previewInfo.shapeDrawable, in setPreviewInfo()299 private void setColorAndIconsSection(List<Drawable> icons, Drawable shapeDrawable, in setColorAndIconsSection() argument305 Drawable bgShape = shapeDrawable.getConstantState().newDrawable(); in setColorAndIconsSection()