public class LazyMeasureHostView extends HostView implements RenderCoreExtensionHost
Modifier and Type | Class and Description |
---|---|
static interface |
LazyMeasureHostView.LazyRenderTreeProvider |
Constructor and Description |
---|
LazyMeasureHostView(Context context) |
Modifier and Type | Method and Description |
---|---|
void |
notifyVisibleBoundsChanged()
Notifies the host the its visible bounds may have potentially changed.
|
void |
offsetLeftAndRight(int offset) |
void |
offsetTopAndBottom(int offset) |
void |
onAttachedToWindow() |
void |
onDetachedFromWindow() |
protected void |
onMeasure(int widthMeasureSpec,
int heightMeasureSpec) |
void |
setLazyRenderTreeProvider(LazyMeasureHostView.LazyRenderTreeProvider lazyRenderTreeProvider)
Sets render lazyNavBarRenderResult and requests layout
|
void |
setTranslationX(float translationX) |
void |
setTranslationY(float translationY) |
dispatchDraw, draw, drawableStateChanged, getChildDrawingOrder, getDescriptionOfMountedItems, getMountItemAt, getMountItemCount, getTag, getTag, jumpDrawablesToCurrentState, mount, moveItem, onInterceptTouchEvent, onLayout, onSizeChanged, onTouchEvent, requestLayout, safelyUnmountAll, setForegroundCompat, setInLayout, setInterceptTouchEventHandler, setViewTag, setViewTags, setVisibility, shouldDelayChildPressedState, shouldRequestLayout, unmount, unmount, unsetInLayout, verifyDrawable
getClipChildren, setClipChildren
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec)
public void setLazyRenderTreeProvider(LazyMeasureHostView.LazyRenderTreeProvider lazyRenderTreeProvider)
lazyRenderTreeProvider
- if null, it unmounts all itemspublic void onDetachedFromWindow()
public void onAttachedToWindow()
public void notifyVisibleBoundsChanged()
RenderCoreExtensionHost
notifyVisibleBoundsChanged
in interface RenderCoreExtensionHost
public void offsetTopAndBottom(int offset)
public void offsetLeftAndRight(int offset)
public void setTranslationX(float translationX)
public void setTranslationY(float translationY)