FBUI: Move TextLayout CacheWarmer to be inside textlayoutbuilder
Summary: Move TextLayout's Cache Warmer to be inside c/f/fbui/textlayoutbuilder. Logically feels good. Reviewed By: ahmedre Differential Revision: D3766463
This commit is contained in:
parent
66bbd78fe3
commit
23cb87a481
|
@ -22,12 +22,12 @@ import com.facebook.csslayout.CSSNodeAPI;
|
||||||
import com.facebook.csslayout.MeasureOutput;
|
import com.facebook.csslayout.MeasureOutput;
|
||||||
import com.facebook.csslayout.Spacing;
|
import com.facebook.csslayout.Spacing;
|
||||||
import com.facebook.fbui.textlayoutbuilder.TextLayoutBuilder;
|
import com.facebook.fbui.textlayoutbuilder.TextLayoutBuilder;
|
||||||
|
import com.facebook.fbui.textlayoutbuilder.cachewarmer.DefaultTextLayoutCacheWarmer;
|
||||||
import com.facebook.react.bridge.JSApplicationIllegalArgumentException;
|
import com.facebook.react.bridge.JSApplicationIllegalArgumentException;
|
||||||
import com.facebook.react.uimanager.PixelUtil;
|
import com.facebook.react.uimanager.PixelUtil;
|
||||||
import com.facebook.react.uimanager.ViewDefaults;
|
import com.facebook.react.uimanager.ViewDefaults;
|
||||||
import com.facebook.react.uimanager.ViewProps;
|
import com.facebook.react.uimanager.ViewProps;
|
||||||
import com.facebook.react.uimanager.annotations.ReactProp;
|
import com.facebook.react.uimanager.annotations.ReactProp;
|
||||||
import com.facebook.textcachewarmer.DefaultTextLayoutCacheWarmer;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* RCTText is a top-level node for text. It extends {@link RCTVirtualText} because it can contain
|
* RCTText is a top-level node for text. It extends {@link RCTVirtualText} because it can contain
|
||||||
|
|
Loading…
Reference in New Issue