docs/javadoc/reference/com/facebook/drawee/generic/GenericDraweeHierarchyBuilder.html
|
|
Summary: Constants | Fields | Ctors | Methods | Inherited Methods | [Expand All]
public class
extends Object
| java.lang.Object | | ↳ | com.facebook.drawee.generic.GenericDraweeHierarchyBuilder |
Class to construct a GenericDraweeHierarchy.
Drawables must not be reused by multiple hierarchies. Each hierarchy needs to have its own drawable instances. Since this builder does not do deep copies of the input parameters, it is the caller's responsibility to pass a different drawable instances for each hierarchy built. Likewise, hierarchies must not be reused by multiple views. Each view needs to have its own instance of a hierarchy. The caller is responsible for building a new hierarchy for each view.
| Constants |
|---|
| int |
| Fields |
|---|
| public static final ScalingUtils.ScaleType |
| public static final ScalingUtils.ScaleType |
| Public Constructors |
|---|
| Public Methods |
|---|
| GenericDraweeHierarchy |
| Builds the hierarchy. |
| ColorFilter |
| Gets the color filter for the actual image. |
| PointF |
| Gets the focus point for the actual image. |
| ScalingUtils.ScaleType |
| Gets the scale type for the actual image. |
| Drawable |
| Gets the background. |
| float |
| Gets the desired aspect ratio. |
| int |
| Gets the duration of the fade animation. |
| Drawable |
| Gets the failure image. |
| ScalingUtils.ScaleType |
| Gets the failure image scale type. |
| List<Drawable> |
| Gets the overlays. |
| Drawable |
| Gets the placeholder image. |
| ScalingUtils.ScaleType |
| Gets the placeholder image scale type. |
| Drawable |
| Gets the overlay for pressed state. |
| Drawable |
| Gets the progress bar image. |
| ScalingUtils.ScaleType |
| Gets the progress bar image scale type. |
| Resources |
| Gets resources. |
| Drawable |
| Gets the retry image. |
| ScalingUtils.ScaleType |
| Gets the retry image scale type. |
| RoundingParams |
| Gets the rounding params. |
| static GenericDraweeHierarchyBuilder |
| GenericDraweeHierarchyBuilder |
| Resets this builder to its initial values making it reusable. |
| GenericDraweeHierarchyBuilder |
| Sets the color filter for the actual image. |
| GenericDraweeHierarchyBuilder |
| Sets the focus point for the actual image. |
| GenericDraweeHierarchyBuilder |
| Sets the scale type for the actual image. |
| GenericDraweeHierarchyBuilder |
| Sets a background. |
| GenericDraweeHierarchyBuilder |
| Sets the desired aspect ratio. |
| GenericDraweeHierarchyBuilder |
| Sets the duration of the fade animation. |
| GenericDraweeHierarchyBuilder |
| Sets the failure image and its scale type. |
| GenericDraweeHierarchyBuilder |
| Sets the failure image. |
| GenericDraweeHierarchyBuilder |
| Sets the failure image and its scale type. |
| GenericDraweeHierarchyBuilder |
| Sets the failure image. |
| GenericDraweeHierarchyBuilder |
| Sets the failure image scale type. |
| GenericDraweeHierarchyBuilder |
| Sets a single overlay. |
| GenericDraweeHierarchyBuilder |
| Sets the overlays. |
| GenericDraweeHierarchyBuilder |
| Sets the placeholder image and its scale type. |
| GenericDraweeHierarchyBuilder |
| Sets the placeholder image and its scale type. |
| GenericDraweeHierarchyBuilder |
| Sets the placeholder image. |
| GenericDraweeHierarchyBuilder |
| Sets the placeholder image. |
| GenericDraweeHierarchyBuilder |
| Sets the placeholder image scale type. |
| GenericDraweeHierarchyBuilder |
| Sets the overlay for pressed state. |
| GenericDraweeHierarchyBuilder |
| Sets the progress bar image. |
| GenericDraweeHierarchyBuilder |
| Sets the progress bar image. |
| GenericDraweeHierarchyBuilder |
| Sets the progress bar image and its scale type. |
| GenericDraweeHierarchyBuilder |
| Sets the progress bar image and its scale type. |
| GenericDraweeHierarchyBuilder |
| Sets the progress bar image scale type. |
| GenericDraweeHierarchyBuilder |
| Sets the retry image and its scale type. |
| GenericDraweeHierarchyBuilder |
| Sets the retry image. |
| GenericDraweeHierarchyBuilder |
| Sets the retry image. |
| GenericDraweeHierarchyBuilder |
| Sets the retry image and its scale type. |
| GenericDraweeHierarchyBuilder |
| Sets the retry image scale type. |
| GenericDraweeHierarchyBuilder |
| Sets the rounding params. |
| [Expand] Inherited Methods | | --- | | From class java.lang.Object
| Object | clone() | | boolean | equals(Object arg0) | | void | finalize() | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |
|
Constant Value: 300 (0x0000012c)
Builds the hierarchy.
Gets the color filter for the actual image.
Gets the focus point for the actual image.
Gets the scale type for the actual image.
Gets the background.
Gets the desired aspect ratio.
Gets the duration of the fade animation.
Gets the failure image.
Gets the failure image scale type.
Gets the overlays.
Gets the placeholder image.
Gets the placeholder image scale type.
Gets the overlay for pressed state.
Gets the progress bar image.
Gets the progress bar image scale type.
Gets resources.
Gets the retry image.
Gets the retry image scale type.
Gets the rounding params.
Resets this builder to its initial values making it reusable.
Sets the color filter for the actual image.
| colorFilter | color filter to be set |
Sets the focus point for the actual image.
If a focus point aware scale type is used (e.g. FOCUS_CROP), the focus point of the image will be attempted to be centered within a view. Each coordinate is a real number in [0, 1] range, in the coordinate system where top-left corner of the image corresponds to (0, 0) and the bottom-right corner corresponds to (1, 1).
| focusPoint | focus point of the image |
Sets the scale type for the actual image.
If not set, the default value CENTER_CROP will be used.
| actualImageScaleType | scale type for the actual image |
Sets a background.
| background | background drawable |
Sets the desired aspect ratio.
Note, the hierarchy itself cannot enforce the aspect ratio. This is merely a suggestion to the view if it supports it.
| desiredAspectRatio | the desired aspect ratio |
Sets the duration of the fade animation.
If not set, the default value of 300ms will be used.
| fadeDuration | duration in milliseconds |
Sets the failure image and its scale type.
| failureDrawable | drawable to be used as failure image | | failureImageScaleType | scale type for the failure image |
Sets the failure image.
| failureDrawable | drawable to be used as failure image |
Sets the failure image and its scale type.
| resourceId | an identifier of an Android drawable or color resource | | failureImageScaleType | scale type for the failure image |
Sets the failure image.
| resourceId | an identifier of an Android drawable or color resource |
Sets the failure image scale type.
If not set, the default value CENTER_INSIDE will be used.
| failureImageScaleType | scale type for the failure image |
Sets a single overlay.
| overlay | overlay drawable |
Sets the overlays.
Overlays are drawn in list order after the backgrounds and the rest of the hierarchy. The last overlay will be drawn at the top.
| overlays | overlay drawables |
Sets the placeholder image and its scale type.
| resourceId | an identifier of an Android drawable or color resource | | placeholderImageScaleType | scale type for the placeholder image |
Sets the placeholder image and its scale type.
| placeholderDrawable | drawable to be used as placeholder image | | placeholderImageScaleType | scale type for the placeholder image |
Sets the placeholder image.
| resourceId | an identifier of an Android drawable or color resource |
Sets the placeholder image.
| placeholderDrawable | drawable to be used as placeholder image |
Sets the placeholder image scale type.
If not set, the default value CENTER_INSIDE will be used.
| placeholderImageScaleType | scale type for the placeholder image |
Sets the overlay for pressed state.
| drawable | for pressed state |
Sets the progress bar image.
| progressBarDrawable | drawable to be used as progress bar image |
Sets the progress bar image.
| resourceId | an identifier of an Android drawable or color resource |
Sets the progress bar image and its scale type.
| resourceId | an identifier of an Android drawable or color resource | | progressBarImageScaleType | scale type for the progress bar image |
Sets the progress bar image and its scale type.
| progressBarDrawable | drawable to be used as progress bar image | | progressBarImageScaleType | scale type for the progress bar image |
Sets the progress bar image scale type.
If not set, the default value CENTER_INSIDE will be used.
| progressBarImageScaleType | scale type for the progress bar image |
Sets the retry image and its scale type.
| resourceId | an identifier of an Android drawable or color resource | | retryImageScaleType | scale type for the retry image |
Sets the retry image.
| resourceId | an identifier of an Android drawable or color resource |
Sets the retry image.
| retryDrawable | drawable to be used as retry image |
Sets the retry image and its scale type.
| retryDrawable | drawable to be used as retry image | | retryImageScaleType | scale type for the retry image |
Sets the retry image scale type.
If not set, the default value CENTER_INSIDE will be used.
| retryImageScaleType | scale type for the retry image |
Sets the rounding params.
| roundingParams | rounding params to be set |
+Generated by Doclava. +