diff --git a/docs/javadoc/allclasses-frame.html b/docs/javadoc/allclasses-frame.html index a7e927a8835..62d52f50cc3 100644 --- a/docs/javadoc/allclasses-frame.html +++ b/docs/javadoc/allclasses-frame.html @@ -2,9 +2,9 @@ - + All Classes - + @@ -22,6 +22,7 @@

All Classes

  • AnimatedProperties
  • AnimatedProperty
  • AnimatedPropertyNode
  • +
  • AnimatedRootHost
  • AnimationBinding
  • AnimationBindingListener
  • AnimationRunnerTestRule
  • @@ -261,6 +262,8 @@

    All Classes

  • FieldsValidation
  • FloatValue
  • FocusChangedEvent
  • +
  • FocusedIncrementalModuleItem
  • +
  • FocusedVisibleEvent
  • FocusType
  • FrameworkLogEvents
  • FrameworkLogEvents.LogEventId
  • @@ -274,6 +277,8 @@

    All Classes

  • FromPrepare
  • FromPreviousCreateLayout
  • FromTrigger
  • +
  • FullImpressionIncrementalModuleItem
  • +
  • FullImpressionVisibleEvent
  • Function
  • FutureInstrumenter
  • FutureInstrumenter.Instrumenter
  • @@ -321,9 +326,13 @@

    All Classes

  • ImageContent
  • ImmutableList
  • ImportantForAccessibility
  • -
  • IncrementalMountExtension
  • -
  • IncrementalMountExtension.IncrementalMountExtensionInput
  • +
  • IncrementalModule
  • +
  • IncrementalModuleItem
  • +
  • IncrementalMountBinder
  • +
  • IncrementalMountExtension
  • +
  • IncrementalMountExtensionInput
  • IncrementalMountUtils
  • +
  • IncrementalMountUtils
  • IncrementalMountUtils.WrapperView
  • InitialStateContainer
  • InjectProp
  • @@ -342,6 +351,7 @@

    All Classes

  • InterpolatorNode
  • InterStageInputParamModel
  • InterStageStore
  • +
  • InvisibleEvent
  • ItemSelectedEvent
  • JavadocExtractor
  • JavadocGenerator
  • @@ -349,6 +359,7 @@

    All Classes

  • KeyPreImeEvent
  • KeyUpEvent
  • KotlinSpecUtils
  • +
  • LayerType
  • LayoutCache
  • LayoutDirectionViewGroupShadow
  • LayoutDirectionViewShadow
  • @@ -365,6 +376,7 @@

    All Classes

  • LayoutSpecModelFactory
  • LayoutState
  • LayoutState.CalculateLayoutSource
  • +
  • LayoutStateContext
  • LayoutThreadPoolConfiguration
  • LayoutThreadPoolConfigurationImpl
  • LayoutThreadPoolExecutor
  • @@ -419,6 +431,7 @@

    All Classes

  • LithoViewSubComponentExtractor
  • LithoViewTestHelper
  • LithoViewTestHelper.InternalNodeRef
  • +
  • LithoVisibilityOutputFactory
  • LithoYogaBaselineFunction
  • LithoYogaFactory
  • LithoYogaMeasureFunction
  • @@ -450,8 +463,8 @@

    All Classes

  • MountableCharSequence
  • MountContentPool
  • MountDelegate
  • -
  • MountDelegate.MountDelegateInput
  • -
  • MountDelegate.MountDelegateTarget
  • +
  • MountDelegateInput
  • +
  • MountDelegateTarget
  • MountExtension
  • MountingType
  • MountItem
  • @@ -591,6 +604,7 @@

    All Classes

  • RenderCompleteEvent
  • RenderCompleteEvent.RenderState
  • RenderCoreExtension
  • +
  • RenderCoreExtensionHost
  • RenderCoreSystrace
  • RenderCoreSystrace.IRenderCoreSystrace
  • RenderDataDiffModel
  • @@ -818,10 +832,13 @@

    All Classes

  • TransitionId
  • TransitionManager
  • TransitionManager.OnAnimationCompleteListener
  • +
  • TransitionRenderUnit
  • TransitionSet
  • TransitionsExtension
  • TransitionsExtensionInput
  • TransitionTestRule
  • +
  • TransitionUtils
  • +
  • TransitionUtils.BoundsCallback
  • TransparencyEnabledCard
  • TransparencyEnabledCard.Builder
  • TransparencyEnabledCardClip
  • @@ -839,6 +856,7 @@

    All Classes

  • TypeSpecDataHolder.JavadocSpec
  • TypeVariablesExtractor
  • UIState
  • +
  • UnfocusedVisibleEvent
  • UnmountDelegateExtension
  • UpdateStateMethod
  • UpdateStateMethodExtractor
  • @@ -864,7 +882,22 @@

    All Classes

  • ViewTree
  • ViewTreeAssert
  • ViewTreeUtil
  • +
  • VisibilityChangedEvent
  • VisibilityEventsHelper
  • +
  • VisibilityExtension
  • +
  • VisibilityExtension.Results
  • +
  • VisibilityExtension.Visitor
  • +
  • VisibilityExtensionConfigs
  • +
  • VisibilityExtensionInput
  • +
  • VisibilityItem
  • +
  • VisibilityModule
  • +
  • VisibilityModuleInput
  • +
  • VisibilityMountExtension
  • +
  • VisibilityOutput
  • +
  • VisibilityOutput.Factory
  • +
  • VisibilityUtils
  • +
  • VisibleEvent
  • +
  • VisibleIncrementalModuleItem
  • Whitebox
  • WorkContinuationInstrumenter
  • WorkContinuationInstrumenter.Instrumenter
  • diff --git a/docs/javadoc/allclasses-noframe.html b/docs/javadoc/allclasses-noframe.html index ae54456f7eb..a7a6d364609 100644 --- a/docs/javadoc/allclasses-noframe.html +++ b/docs/javadoc/allclasses-noframe.html @@ -2,9 +2,9 @@ - + All Classes - + @@ -22,6 +22,7 @@

    All Classes

  • AnimatedProperties
  • AnimatedProperty
  • AnimatedPropertyNode
  • +
  • AnimatedRootHost
  • AnimationBinding
  • AnimationBindingListener
  • AnimationRunnerTestRule
  • @@ -261,6 +262,8 @@

    All Classes

  • FieldsValidation
  • FloatValue
  • FocusChangedEvent
  • +
  • FocusedIncrementalModuleItem
  • +
  • FocusedVisibleEvent
  • FocusType
  • FrameworkLogEvents
  • FrameworkLogEvents.LogEventId
  • @@ -274,6 +277,8 @@

    All Classes

  • FromPrepare
  • FromPreviousCreateLayout
  • FromTrigger
  • +
  • FullImpressionIncrementalModuleItem
  • +
  • FullImpressionVisibleEvent
  • Function
  • FutureInstrumenter
  • FutureInstrumenter.Instrumenter
  • @@ -321,9 +326,13 @@

    All Classes

  • ImageContent
  • ImmutableList
  • ImportantForAccessibility
  • -
  • IncrementalMountExtension
  • -
  • IncrementalMountExtension.IncrementalMountExtensionInput
  • +
  • IncrementalModule
  • +
  • IncrementalModuleItem
  • +
  • IncrementalMountBinder
  • +
  • IncrementalMountExtension
  • +
  • IncrementalMountExtensionInput
  • IncrementalMountUtils
  • +
  • IncrementalMountUtils
  • IncrementalMountUtils.WrapperView
  • InitialStateContainer
  • InjectProp
  • @@ -342,6 +351,7 @@

    All Classes

  • InterpolatorNode
  • InterStageInputParamModel
  • InterStageStore
  • +
  • InvisibleEvent
  • ItemSelectedEvent
  • JavadocExtractor
  • JavadocGenerator
  • @@ -349,6 +359,7 @@

    All Classes

  • KeyPreImeEvent
  • KeyUpEvent
  • KotlinSpecUtils
  • +
  • LayerType
  • LayoutCache
  • LayoutDirectionViewGroupShadow
  • LayoutDirectionViewShadow
  • @@ -365,6 +376,7 @@

    All Classes

  • LayoutSpecModelFactory
  • LayoutState
  • LayoutState.CalculateLayoutSource
  • +
  • LayoutStateContext
  • LayoutThreadPoolConfiguration
  • LayoutThreadPoolConfigurationImpl
  • LayoutThreadPoolExecutor
  • @@ -419,6 +431,7 @@

    All Classes

  • LithoViewSubComponentExtractor
  • LithoViewTestHelper
  • LithoViewTestHelper.InternalNodeRef
  • +
  • LithoVisibilityOutputFactory
  • LithoYogaBaselineFunction
  • LithoYogaFactory
  • LithoYogaMeasureFunction
  • @@ -450,8 +463,8 @@

    All Classes

  • MountableCharSequence
  • MountContentPool
  • MountDelegate
  • -
  • MountDelegate.MountDelegateInput
  • -
  • MountDelegate.MountDelegateTarget
  • +
  • MountDelegateInput
  • +
  • MountDelegateTarget
  • MountExtension
  • MountingType
  • MountItem
  • @@ -591,6 +604,7 @@

    All Classes

  • RenderCompleteEvent
  • RenderCompleteEvent.RenderState
  • RenderCoreExtension
  • +
  • RenderCoreExtensionHost
  • RenderCoreSystrace
  • RenderCoreSystrace.IRenderCoreSystrace
  • RenderDataDiffModel
  • @@ -818,10 +832,13 @@

    All Classes

  • TransitionId
  • TransitionManager
  • TransitionManager.OnAnimationCompleteListener
  • +
  • TransitionRenderUnit
  • TransitionSet
  • TransitionsExtension
  • TransitionsExtensionInput
  • TransitionTestRule
  • +
  • TransitionUtils
  • +
  • TransitionUtils.BoundsCallback
  • TransparencyEnabledCard
  • TransparencyEnabledCard.Builder
  • TransparencyEnabledCardClip
  • @@ -839,6 +856,7 @@

    All Classes

  • TypeSpecDataHolder.JavadocSpec
  • TypeVariablesExtractor
  • UIState
  • +
  • UnfocusedVisibleEvent
  • UnmountDelegateExtension
  • UpdateStateMethod
  • UpdateStateMethodExtractor
  • @@ -864,7 +882,22 @@

    All Classes

  • ViewTree
  • ViewTreeAssert
  • ViewTreeUtil
  • +
  • VisibilityChangedEvent
  • VisibilityEventsHelper
  • +
  • VisibilityExtension
  • +
  • VisibilityExtension.Results
  • +
  • VisibilityExtension.Visitor
  • +
  • VisibilityExtensionConfigs
  • +
  • VisibilityExtensionInput
  • +
  • VisibilityItem
  • +
  • VisibilityModule
  • +
  • VisibilityModuleInput
  • +
  • VisibilityMountExtension
  • +
  • VisibilityOutput
  • +
  • VisibilityOutput.Factory
  • +
  • VisibilityUtils
  • +
  • VisibleEvent
  • +
  • VisibleIncrementalModuleItem
  • Whitebox
  • WorkContinuationInstrumenter
  • WorkContinuationInstrumenter.Instrumenter
  • diff --git a/docs/javadoc/com/facebook/litho/AccessibilityRole.AccessibilityRoleType.html b/docs/javadoc/com/facebook/litho/AccessibilityRole.AccessibilityRoleType.html index df3902bb919..61c70835663 100644 --- a/docs/javadoc/com/facebook/litho/AccessibilityRole.AccessibilityRoleType.html +++ b/docs/javadoc/com/facebook/litho/AccessibilityRole.AccessibilityRoleType.html @@ -2,9 +2,9 @@ - + AccessibilityRole.AccessibilityRoleType - + diff --git a/docs/javadoc/com/facebook/litho/AccessibilityRole.html b/docs/javadoc/com/facebook/litho/AccessibilityRole.html index 3d9e526fe09..ae6deb2a659 100644 --- a/docs/javadoc/com/facebook/litho/AccessibilityRole.html +++ b/docs/javadoc/com/facebook/litho/AccessibilityRole.html @@ -2,9 +2,9 @@ - + AccessibilityRole - + diff --git a/docs/javadoc/com/facebook/litho/AccessibilityUtils.html b/docs/javadoc/com/facebook/litho/AccessibilityUtils.html index bc04c7ed254..4533f01ef10 100644 --- a/docs/javadoc/com/facebook/litho/AccessibilityUtils.html +++ b/docs/javadoc/com/facebook/litho/AccessibilityUtils.html @@ -2,9 +2,9 @@ - + AccessibilityUtils - + diff --git a/docs/javadoc/com/facebook/litho/AnimatableItem.html b/docs/javadoc/com/facebook/litho/AnimatableItem.html index 99400aeca9a..788fbe7220c 100644 --- a/docs/javadoc/com/facebook/litho/AnimatableItem.html +++ b/docs/javadoc/com/facebook/litho/AnimatableItem.html @@ -2,9 +2,9 @@ - + AnimatableItem - + @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6}; +var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -102,7 +102,7 @@

    Interface AnimatableItem



    public interface AnimatableItem
    -
    Interface used to expose a limited API of LayoutOutput to the animations package.
    +
    Interface used to expose a limited API to the animations package.
    @@ -130,38 +130,50 @@

    Method Summary

    getBounds()  +long +getId()  + + +int +getOutputType()  + + float getRotation()  - + float getRotationX()  - + float getRotationY()  - + float getScale()  - + +TransitionId +getTransitionId()  + + boolean isAlphaSet()  - + boolean isRotationSet()  - + boolean isRotationXSet()  - + boolean isRotationYSet()  - + boolean isScaleSet()  @@ -180,6 +192,33 @@

    Method Summary

    Method Detail

    + + + + + + + + + + + + diff --git a/docs/javadoc/com/facebook/litho/Animations.AnimationBuilder.html b/docs/javadoc/com/facebook/litho/Animations.AnimationBuilder.html index 0526fe3047e..7228ec1e864 100644 --- a/docs/javadoc/com/facebook/litho/Animations.AnimationBuilder.html +++ b/docs/javadoc/com/facebook/litho/Animations.AnimationBuilder.html @@ -2,9 +2,9 @@ - + Animations.AnimationBuilder - + diff --git a/docs/javadoc/com/facebook/litho/Animations.DynamicValueBindingBuilder.html b/docs/javadoc/com/facebook/litho/Animations.DynamicValueBindingBuilder.html index 6c4c04d6bbd..27f2782b872 100644 --- a/docs/javadoc/com/facebook/litho/Animations.DynamicValueBindingBuilder.html +++ b/docs/javadoc/com/facebook/litho/Animations.DynamicValueBindingBuilder.html @@ -2,9 +2,9 @@ - + Animations.DynamicValueBindingBuilder - + diff --git a/docs/javadoc/com/facebook/litho/Animations.html b/docs/javadoc/com/facebook/litho/Animations.html index e741335e220..2c6d7e9de01 100644 --- a/docs/javadoc/com/facebook/litho/Animations.html +++ b/docs/javadoc/com/facebook/litho/Animations.html @@ -2,9 +2,9 @@ - + Animations - + diff --git a/docs/javadoc/com/facebook/litho/AnimationsDebug.html b/docs/javadoc/com/facebook/litho/AnimationsDebug.html index 01c8e373076..b4be37e298b 100644 --- a/docs/javadoc/com/facebook/litho/AnimationsDebug.html +++ b/docs/javadoc/com/facebook/litho/AnimationsDebug.html @@ -2,9 +2,9 @@ - + AnimationsDebug - + diff --git a/docs/javadoc/com/facebook/litho/ArrayBatchAllocator.html b/docs/javadoc/com/facebook/litho/ArrayBatchAllocator.html index 9cdf7838d90..f0610168490 100644 --- a/docs/javadoc/com/facebook/litho/ArrayBatchAllocator.html +++ b/docs/javadoc/com/facebook/litho/ArrayBatchAllocator.html @@ -2,9 +2,9 @@ - + ArrayBatchAllocator - + diff --git a/docs/javadoc/com/facebook/litho/AttachDetachHandler.html b/docs/javadoc/com/facebook/litho/AttachDetachHandler.html index 165c5e3ef8c..c7204e825f2 100644 --- a/docs/javadoc/com/facebook/litho/AttachDetachHandler.html +++ b/docs/javadoc/com/facebook/litho/AttachDetachHandler.html @@ -2,9 +2,9 @@ - + AttachDetachHandler - + diff --git a/docs/javadoc/com/facebook/litho/BaseMatcher.html b/docs/javadoc/com/facebook/litho/BaseMatcher.html index e04303eb04c..b9b2afd5829 100644 --- a/docs/javadoc/com/facebook/litho/BaseMatcher.html +++ b/docs/javadoc/com/facebook/litho/BaseMatcher.html @@ -2,9 +2,9 @@ - + BaseMatcher - + diff --git a/docs/javadoc/com/facebook/litho/BaseMatcherBuilder.html b/docs/javadoc/com/facebook/litho/BaseMatcherBuilder.html index 125f3a29405..4eb9e07cd93 100644 --- a/docs/javadoc/com/facebook/litho/BaseMatcherBuilder.html +++ b/docs/javadoc/com/facebook/litho/BaseMatcherBuilder.html @@ -2,9 +2,9 @@ - + BaseMatcherBuilder - + diff --git a/docs/javadoc/com/facebook/litho/BenchmarkTestHelper.html b/docs/javadoc/com/facebook/litho/BenchmarkTestHelper.html index de73d486172..4fcaf0f419f 100644 --- a/docs/javadoc/com/facebook/litho/BenchmarkTestHelper.html +++ b/docs/javadoc/com/facebook/litho/BenchmarkTestHelper.html @@ -2,9 +2,9 @@ - + BenchmarkTestHelper - + diff --git a/docs/javadoc/com/facebook/litho/Border.Builder.html b/docs/javadoc/com/facebook/litho/Border.Builder.html index 9b4c55a258c..9b11ac51d4c 100644 --- a/docs/javadoc/com/facebook/litho/Border.Builder.html +++ b/docs/javadoc/com/facebook/litho/Border.Builder.html @@ -2,9 +2,9 @@ - + Border.Builder - + diff --git a/docs/javadoc/com/facebook/litho/Border.Corner.html b/docs/javadoc/com/facebook/litho/Border.Corner.html index 20324f7a97f..25173665b59 100644 --- a/docs/javadoc/com/facebook/litho/Border.Corner.html +++ b/docs/javadoc/com/facebook/litho/Border.Corner.html @@ -2,9 +2,9 @@ - + Border.Corner - + diff --git a/docs/javadoc/com/facebook/litho/Border.html b/docs/javadoc/com/facebook/litho/Border.html index 8d49b325396..e662df759ea 100644 --- a/docs/javadoc/com/facebook/litho/Border.html +++ b/docs/javadoc/com/facebook/litho/Border.html @@ -2,9 +2,9 @@ - + Border - + diff --git a/docs/javadoc/com/facebook/litho/BoundaryWorkingRange.html b/docs/javadoc/com/facebook/litho/BoundaryWorkingRange.html index ccd23d5e04b..b2ce41be62e 100644 --- a/docs/javadoc/com/facebook/litho/BoundaryWorkingRange.html +++ b/docs/javadoc/com/facebook/litho/BoundaryWorkingRange.html @@ -2,9 +2,9 @@ - + BoundaryWorkingRange - + diff --git a/docs/javadoc/com/facebook/litho/ClickEvent.html b/docs/javadoc/com/facebook/litho/ClickEvent.html index fbcf0d8b30b..01d52478be2 100644 --- a/docs/javadoc/com/facebook/litho/ClickEvent.html +++ b/docs/javadoc/com/facebook/litho/ClickEvent.html @@ -2,9 +2,9 @@ - + ClickEvent - + diff --git a/docs/javadoc/com/facebook/litho/Column.Builder.html b/docs/javadoc/com/facebook/litho/Column.Builder.html index dbd15d7977c..d50e46f7b66 100644 --- a/docs/javadoc/com/facebook/litho/Column.Builder.html +++ b/docs/javadoc/com/facebook/litho/Column.Builder.html @@ -2,9 +2,9 @@ - + Column.Builder - + @@ -240,7 +240,7 @@

    Method Summary

    Methods inherited from class com.facebook.litho.Component.Builder

    -accessibilityHeading, accessibilityRole, accessibilityRoleDescription, accessibilityRoleDescription, accessibilityRoleDescription, alignSelf, alpha, alpha, aspectRatio, background, backgroundAttr, backgroundAttr, backgroundColor, backgroundColor, backgroundDynamicDrawable, backgroundRes, border, checkArgs, clickable, clickHandler, clipChildren, clipToOutline, clone, componentTag, contentDescription, contentDescription, contentDescription, dispatchPopulateAccessibilityEventHandler, duplicateChildrenStates, duplicateParentState, enabled, flex, flexBasisAttr, flexBasisAttr, flexBasisDip, flexBasisPercent, flexBasisPx, flexBasisRes, flexGrow, flexShrink, focusable, focusChangeHandler, focusedHandler, foreground, foregroundAttr, foregroundAttr, foregroundColor, foregroundRes, fullImpressionHandler, getContext, handle, hasBackgroundSet, hasClickHandlerSet, heightAttr, heightAttr, heightDip, heightPercent, heightPx, heightRes, importantForAccessibility, init, interceptTouchHandler, invisibleHandler, isReferenceBaseline, key, layoutDirection, longClickHandler, marginAttr, marginAttr, marginAuto, marginDip, marginPercent, marginPx, marginRes, maxHeightAttr, maxHeightAttr, maxHeightDip, maxHeightPercent, maxHeightPx, maxHeightRes, maxWidthAttr, maxWidthAttr, maxWidthDip, maxWidthPercent, maxWidthPx, maxWidthRes, minHeightAttr, minHeightAttr, minHeightDip, minHeightPercent, minHeightPx, minHeightRes, minWidthAttr, minWidthAttr, minWidthDip, minWidthPercent, minWidthPx, minWidthRes, onInitializeAccessibilityEventHandler, onInitializeAccessibilityNodeInfoHandler, onPopulateAccessibilityEventHandler, onRequestSendAccessibilityEventHandler, outlineProvider, paddingAttr, paddingAttr, paddingDip, paddingPercent, paddingPx, paddingRes, performAccessibilityActionHandler, positionAttr, positionAttr, positionDip, positionPercent, positionPx, positionRes, positionType, rotation, rotation, rotationX, rotationY, scale, scaleX, scaleY, selected, sendAccessibilityEventHandler, sendAccessibilityEventUncheckedHandler, shadowElevation, shadowElevationAttr, shadowElevationAttr, shadowElevationDip, shadowElevationPx, shadowElevationRes, stateListAnimator, stateListAnimatorRes, testKey, touchExpansionAttr, touchExpansionAttr, touchExpansionDip, touchExpansionPx, touchExpansionRes, touchHandler, transitionKey, transitionKeyType, transitionName, translationX, translationY, unfocusedHandler, useHeightAsBaseline, viewTag, viewTags, visibilityChangedHandler, visibleHandler, visibleHeightRatio, visibleWidthRatio, widthAttr, widthAttr, widthDip, widthPercent, widthPx, widthRes, wrapInView +accessibilityHeading, accessibilityRole, accessibilityRoleDescription, accessibilityRoleDescription, accessibilityRoleDescription, alignSelf, alpha, alpha, aspectRatio, background, backgroundAttr, backgroundAttr, backgroundColor, backgroundColor, backgroundDynamicDrawable, backgroundRes, border, checkArgs, clickable, clickHandler, clipChildren, clipToOutline, clone, componentTag, contentDescription, contentDescription, contentDescription, dispatchPopulateAccessibilityEventHandler, duplicateChildrenStates, duplicateParentState, enabled, flex, flexBasisAttr, flexBasisAttr, flexBasisDip, flexBasisPercent, flexBasisPx, flexBasisRes, flexGrow, flexShrink, focusable, focusChangeHandler, focusedHandler, foreground, foregroundAttr, foregroundAttr, foregroundColor, foregroundRes, fullImpressionHandler, getContext, handle, hasBackgroundSet, hasClickHandlerSet, heightAttr, heightAttr, heightDip, heightPercent, heightPx, heightRes, importantForAccessibility, init, interceptTouchHandler, invisibleHandler, isReferenceBaseline, key, layerType, layoutDirection, longClickHandler, marginAttr, marginAttr, marginAuto, marginDip, marginPercent, marginPx, marginRes, maxHeightAttr, maxHeightAttr, maxHeightDip, maxHeightPercent, maxHeightPx, maxHeightRes, maxWidthAttr, maxWidthAttr, maxWidthDip, maxWidthPercent, maxWidthPx, maxWidthRes, minHeightAttr, minHeightAttr, minHeightDip, minHeightPercent, minHeightPx, minHeightRes, minWidthAttr, minWidthAttr, minWidthDip, minWidthPercent, minWidthPx, minWidthRes, onInitializeAccessibilityEventHandler, onInitializeAccessibilityNodeInfoHandler, onPopulateAccessibilityEventHandler, onRequestSendAccessibilityEventHandler, outlineProvider, paddingAttr, paddingAttr, paddingDip, paddingPercent, paddingPx, paddingRes, performAccessibilityActionHandler, positionAttr, positionAttr, positionDip, positionPercent, positionPx, positionRes, positionType, rotation, rotation, rotationX, rotationY, scale, scaleX, scaleY, selected, sendAccessibilityEventHandler, sendAccessibilityEventUncheckedHandler, shadowElevation, shadowElevationAttr, shadowElevationAttr, shadowElevationDip, shadowElevationPx, shadowElevationRes, stateListAnimator, stateListAnimatorRes, testKey, touchExpansionAttr, touchExpansionAttr, touchExpansionDip, touchExpansionPx, touchExpansionRes, touchHandler, transitionKey, transitionKeyType, transitionName, translationX, translationY, unfocusedHandler, useHeightAsBaseline, viewTag, viewTags, visibilityChangedHandler, visibleHandler, visibleHeightRatio, visibleWidthRatio, widthAttr, widthAttr, widthDip, widthPercent, widthPx, widthRes, wrapInView + + + + diff --git a/docs/javadoc/com/facebook/litho/CommonUtils.html b/docs/javadoc/com/facebook/litho/CommonUtils.html index 583ac84ba4e..19810472900 100644 --- a/docs/javadoc/com/facebook/litho/CommonUtils.html +++ b/docs/javadoc/com/facebook/litho/CommonUtils.html @@ -2,9 +2,9 @@ - + CommonUtils - + diff --git a/docs/javadoc/com/facebook/litho/Component.Builder.html b/docs/javadoc/com/facebook/litho/Component.Builder.html index 3ea00804af6..16a9335d244 100644 --- a/docs/javadoc/com/facebook/litho/Component.Builder.html +++ b/docs/javadoc/com/facebook/litho/Component.Builder.html @@ -2,9 +2,9 @@ - + Component.Builder - + @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":6,"i18":9,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":6,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":10,"i97":10,"i98":10,"i99":10,"i100":10,"i101":10,"i102":10,"i103":10,"i104":10,"i105":10,"i106":10,"i107":10,"i108":10,"i109":10,"i110":10,"i111":10,"i112":10,"i113":10,"i114":10,"i115":10,"i116":10,"i117":10,"i118":10,"i119":10,"i120":10,"i121":10,"i122":10,"i123":10,"i124":10,"i125":10,"i126":10,"i127":10,"i128":10,"i129":6,"i130":10,"i131":10,"i132":10,"i133":10,"i134":10,"i135":10,"i136":10,"i137":10,"i138":10,"i139":10,"i140":10,"i141":10,"i142":10,"i143":10,"i144":10,"i145":10,"i146":10,"i147":10,"i148":10,"i149":10,"i150":10,"i151":10,"i152":10,"i153":10,"i154":10,"i155":10,"i156":10,"i157":10,"i158":10,"i159":10,"i160":10,"i161":10,"i162":10,"i163":10,"i164":10}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":6,"i18":9,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":6,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":10,"i97":10,"i98":10,"i99":10,"i100":10,"i101":10,"i102":10,"i103":10,"i104":10,"i105":10,"i106":10,"i107":10,"i108":10,"i109":10,"i110":10,"i111":10,"i112":10,"i113":10,"i114":10,"i115":10,"i116":10,"i117":10,"i118":10,"i119":10,"i120":10,"i121":10,"i122":10,"i123":10,"i124":10,"i125":10,"i126":10,"i127":10,"i128":10,"i129":10,"i130":6,"i131":10,"i132":10,"i133":10,"i134":10,"i135":10,"i136":10,"i137":10,"i138":10,"i139":10,"i140":10,"i141":10,"i142":10,"i143":10,"i144":10,"i145":10,"i146":10,"i147":10,"i148":10,"i149":10,"i150":10,"i151":10,"i152":10,"i153":10,"i154":10,"i155":10,"i156":10,"i157":10,"i158":10,"i159":10,"i160":10,"i161":10,"i162":10,"i163":10,"i164":10,"i165":10}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -401,7 +401,7 @@

    Method Summary

    T -focusedHandler(EventHandler<FocusedVisibleEvent> focusedHandler)  +focusedHandler(EventHandler<FocusedVisibleEvent> focusedHandler)  T @@ -428,7 +428,7 @@

    Method Summary

    T -fullImpressionHandler(EventHandler<FullImpressionVisibleEvent> fullImpressionHandler)  +fullImpressionHandler(EventHandler<FullImpressionVisibleEvent> fullImpressionHandler)  ComponentContext @@ -496,7 +496,7 @@

    Method Summary

    T -invisibleHandler(EventHandler<InvisibleEvent> invisibleHandler)  +invisibleHandler(EventHandler<InvisibleEvent> invisibleHandler)  T @@ -510,232 +510,237 @@

    Method Summary

    T +layerType(int type, + Paint paint)  + + +T layoutDirection(YogaDirection layoutDirection)
    The RTL/LTR direction of components and text.
    - + T longClickHandler(EventHandler<LongClickEvent> longClickHandler)  - + T marginAttr(YogaEdge edge, int resId)  - + T marginAttr(YogaEdge edge, int resId, int defaultResId)  - + T marginAuto(YogaEdge edge)  - + T marginDip(YogaEdge edge, float margin)  - + T marginPercent(YogaEdge edge, float percent)  - + T marginPx(YogaEdge edge, int margin)
    Effects the spacing around the outside of a node.
    - + T marginRes(YogaEdge edge, int resId)  - + T maxHeightAttr(int resId)  - + T maxHeightAttr(int resId, int defaultResId)  - + T maxHeightDip(float maxHeight)  - + T maxHeightPercent(float percent)  - + T maxHeightPx(int maxHeight)  - + T maxHeightRes(int resId)  - + T maxWidthAttr(int resId)  - + T maxWidthAttr(int resId, int defaultResId)  - + T maxWidthDip(float maxWidth)  - + T maxWidthPercent(float percent)  - + T maxWidthPx(int maxWidth)  - + T maxWidthRes(int resId)  - + T minHeightAttr(int resId)  - + T minHeightAttr(int resId, int defaultResId)  - + T minHeightDip(float minHeight)  - + T minHeightPercent(float percent)  - + T minHeightPx(int minHeight)  - + T minHeightRes(int resId)  - + T minWidthAttr(int resId)  - + T minWidthAttr(int resId, int defaultResId)  - + T minWidthDip(float minWidth)  - + T minWidthPercent(float percent)  - + T minWidthPx(int minWidth)
    This property has higher priority than all other properties and will always be respected.
    - + T minWidthRes(int resId)  - + T onInitializeAccessibilityEventHandler(EventHandler<OnInitializeAccessibilityEventEvent> onInitializeAccessibilityEventHandler)  - + T onInitializeAccessibilityNodeInfoHandler(EventHandler<OnInitializeAccessibilityNodeInfoEvent> onInitializeAccessibilityNodeInfoHandler)  - + T onPopulateAccessibilityEventHandler(EventHandler<OnPopulateAccessibilityEventEvent> onPopulateAccessibilityEventHandler)  - + T onRequestSendAccessibilityEventHandler(EventHandler<OnRequestSendAccessibilityEventEvent> onRequestSendAccessibilityEventHandler)  - + T outlineProvider(ViewOutlineProvider outlineProvider)  - + T paddingAttr(YogaEdge edge, int resId)  - + T paddingAttr(YogaEdge edge, int resId, int defaultResId)  - + T paddingDip(YogaEdge edge, float padding)  - + T paddingPercent(YogaEdge edge, float percent)  - + T paddingPx(YogaEdge edge, int padding)
    Affects the size of the node it is applied to.
    - + T paddingRes(YogaEdge edge, int resId)  - + T performAccessibilityActionHandler(EventHandler<PerformAccessibilityActionEvent> performAccessibilityActionHandler)  - + T positionAttr(YogaEdge edge, int resId)  - + T positionAttr(YogaEdge edge, int resId, int defaultResId)  - + T positionDip(YogaEdge edge, float position)  - + T positionPercent(YogaEdge edge, float percent)  - + T positionPx(YogaEdge edge, int position) @@ -743,243 +748,243 @@

    Method Summary

    allows the component to specify how it should be positioned within its parent. - + T positionRes(YogaEdge edge, int resId)  - + T positionType(YogaPositionType positionType)
    Controls how this component will be positioned within its parent.
    - + T rotation(DynamicValue<Float> rotation)
    Links a DynamicValue object to the rotation value for this Component
    - + T rotation(float rotation)
    Sets the degree that this component is rotated around the pivot point.
    - + T rotationX(float rotationX)
    Sets the degree that this component is rotated around the horizontal axis through the pivot point.
    - + T rotationY(float rotationY)
    Sets the degree that this component is rotated around the vertical axis through the pivot point.
    - + T scale(float scale)
    Sets the scale (scaleX and scaleY) on this component.
    - + T scaleX(DynamicValue<Float> value)
    Links a DynamicValue object to the scaleX value for this Component
    - + T scaleY(DynamicValue<Float> value)
    Links a DynamicValue object to the scaleY value for this Component
    - + T selected(boolean isSelected)  - + T sendAccessibilityEventHandler(EventHandler<SendAccessibilityEventEvent> sendAccessibilityEventHandler)  - + T sendAccessibilityEventUncheckedHandler(EventHandler<SendAccessibilityEventUncheckedEvent> sendAccessibilityEventUncheckedHandler)  - + protected abstract void setComponent(Component component)  - + T shadowElevation(DynamicValue<Float> value)
    Links a DynamicValue object to the elevation value for this Component
    - + T shadowElevationAttr(int resId)  - + T shadowElevationAttr(int resId, int defaultResId)  - + T shadowElevationDip(float shadowElevation)  - + T shadowElevationPx(float shadowElevation)
    Shadow elevation and outline provider methods are only functional on Build.VERSION_CODES and above.
    - + T shadowElevationRes(int resId)  - + T stateListAnimator(StateListAnimator stateListAnimator)
    Ports View into components world.
    - + T stateListAnimatorRes(int resId)
    Ports View into components world.
    - + T testKey(String testKey)  - + T touchExpansionAttr(YogaEdge edge, int resId)  - + T touchExpansionAttr(YogaEdge edge, int resId, int defaultResId)  - + T touchExpansionDip(YogaEdge edge, float touchExpansion)  - + T touchExpansionPx(YogaEdge edge, int touchExpansion)  - + T touchExpansionRes(YogaEdge edge, int resId)  - + T touchHandler(EventHandler<TouchEvent> touchHandler)  - + T transitionKey(String key)  - + T transitionKeyType(Transition.TransitionKeyType type)  - + T transitionName(String transitionName)  - + T translationX(DynamicValue<Float> value)
    Links a DynamicValue object to the translationX value for this Component
    - + T translationY(DynamicValue<Float> value)
    Links a DynamicValue object to the translationY value for this Component
    - + T -unfocusedHandler(EventHandler<UnfocusedVisibleEvent> unfocusedHandler)  +unfocusedHandler(EventHandler<UnfocusedVisibleEvent> unfocusedHandler)  - + T useHeightAsBaseline(boolean useHeightAsBaseline)
    When set to true, overrides the default behaviour of baseline calculation and uses height of component as baseline.
    - -T -viewTag(Object viewTag)  - T -viewTags(<any> viewTags)  +viewTag(Object viewTag)  T -visibilityChangedHandler(EventHandler<VisibilityChangedEvent> visibilityChangedHandler)  +viewTags(<any> viewTags)  T -visibleHandler(EventHandler<VisibleEvent> visibleHandler)  +visibilityChangedHandler(EventHandler<VisibilityChangedEvent> visibilityChangedHandler)  T -visibleHeightRatio(float visibleHeightRatio)  +visibleHandler(EventHandler<VisibleEvent> visibleHandler)  T -visibleWidthRatio(float visibleWidthRatio)  +visibleHeightRatio(float visibleHeightRatio)  T -widthAttr(int resId)  +visibleWidthRatio(float visibleWidthRatio)  T +widthAttr(int resId)  + + +T widthAttr(int resId, int defaultResId)  - + T widthDip(float width)  - + T widthPercent(float percent)
    Sets the width of the Component to be a percentage of its parent's width.
    - + T widthPx(int width)
    Specifies the width of the element's content area.
    - + T widthRes(int resId)  - + T wrapInView()  @@ -1586,7 +1591,7 @@

    focusable

    @@ -1648,7 +1653,7 @@

    foregroundRes

    @@ -1799,7 +1804,7 @@

    interceptTouchHandler

    @@ -2851,7 +2856,7 @@

    translationY

    @@ -2891,7 +2896,7 @@

    viewTags

    @@ -2900,7 +2905,7 @@

    visibilityChangedHandler

    @@ -3012,6 +3017,16 @@

    wrapInView

    public T wrapInView()
    + + + + diff --git a/docs/javadoc/com/facebook/litho/Component.ContainerBuilder.html b/docs/javadoc/com/facebook/litho/Component.ContainerBuilder.html index 1f7a1ee9466..d63314b57b3 100644 --- a/docs/javadoc/com/facebook/litho/Component.ContainerBuilder.html +++ b/docs/javadoc/com/facebook/litho/Component.ContainerBuilder.html @@ -2,9 +2,9 @@ - + Component.ContainerBuilder - + @@ -227,7 +227,7 @@

    Method Summary

    Methods inherited from class com.facebook.litho.Component.Builder

    -accessibilityHeading, accessibilityRole, accessibilityRoleDescription, accessibilityRoleDescription, accessibilityRoleDescription, alignSelf, alpha, alpha, aspectRatio, background, backgroundAttr, backgroundAttr, backgroundColor, backgroundColor, backgroundDynamicDrawable, backgroundRes, border, build, checkArgs, clickable, clickHandler, clipChildren, clipToOutline, clone, componentTag, contentDescription, contentDescription, contentDescription, dispatchPopulateAccessibilityEventHandler, duplicateChildrenStates, duplicateParentState, enabled, flex, flexBasisAttr, flexBasisAttr, flexBasisDip, flexBasisPercent, flexBasisPx, flexBasisRes, flexGrow, flexShrink, focusable, focusChangeHandler, focusedHandler, foreground, foregroundAttr, foregroundAttr, foregroundColor, foregroundRes, fullImpressionHandler, getContext, getThis, handle, hasBackgroundSet, hasClickHandlerSet, heightAttr, heightAttr, heightDip, heightPercent, heightPx, heightRes, importantForAccessibility, init, interceptTouchHandler, invisibleHandler, isReferenceBaseline, key, layoutDirection, longClickHandler, marginAttr, marginAttr, marginAuto, marginDip, marginPercent, marginPx, marginRes, maxHeightAttr, maxHeightAttr, maxHeightDip, maxHeightPercent, maxHeightPx, maxHeightRes, maxWidthAttr, maxWidthAttr, maxWidthDip, maxWidthPercent, maxWidthPx, maxWidthRes, minHeightAttr, minHeightAttr, minHeightDip, minHeightPercent, minHeightPx, minHeightRes, minWidthAttr, minWidthAttr, minWidthDip, minWidthPercent, minWidthPx, minWidthRes, onInitializeAccessibilityEventHandler, onInitializeAccessibilityNodeInfoHandler, onPopulateAccessibilityEventHandler, onRequestSendAccessibilityEventHandler, outlineProvider, paddingAttr, paddingAttr, paddingDip, paddingPercent, paddingPx, paddingRes, performAccessibilityActionHandler, positionAttr, positionAttr, positionDip, positionPercent, positionPx, positionRes, positionType, rotation, rotation, rotationX, rotationY, scale, scaleX, scaleY, selected, sendAccessibilityEventHandler, sendAccessibilityEventUncheckedHandler, setComponent, shadowElevation, shadowElevationAttr, shadowElevationAttr, shadowElevationDip, shadowElevationPx, shadowElevationRes, stateListAnimator, stateListAnimatorRes, testKey, touchExpansionAttr, touchExpansionAttr, touchExpansionDip, touchExpansionPx, touchExpansionRes, touchHandler, transitionKey, transitionKeyType, transitionName, translationX, translationY, unfocusedHandler, useHeightAsBaseline, viewTag, viewTags, visibilityChangedHandler, visibleHandler, visibleHeightRatio, visibleWidthRatio, widthAttr, widthAttr, widthDip, widthPercent, widthPx, widthRes, wrapInView +accessibilityHeading, accessibilityRole, accessibilityRoleDescription, accessibilityRoleDescription, accessibilityRoleDescription, alignSelf, alpha, alpha, aspectRatio, background, backgroundAttr, backgroundAttr, backgroundColor, backgroundColor, backgroundDynamicDrawable, backgroundRes, border, build, checkArgs, clickable, clickHandler, clipChildren, clipToOutline, clone, componentTag, contentDescription, contentDescription, contentDescription, dispatchPopulateAccessibilityEventHandler, duplicateChildrenStates, duplicateParentState, enabled, flex, flexBasisAttr, flexBasisAttr, flexBasisDip, flexBasisPercent, flexBasisPx, flexBasisRes, flexGrow, flexShrink, focusable, focusChangeHandler, focusedHandler, foreground, foregroundAttr, foregroundAttr, foregroundColor, foregroundRes, fullImpressionHandler, getContext, getThis, handle, hasBackgroundSet, hasClickHandlerSet, heightAttr, heightAttr, heightDip, heightPercent, heightPx, heightRes, importantForAccessibility, init, interceptTouchHandler, invisibleHandler, isReferenceBaseline, key, layerType, layoutDirection, longClickHandler, marginAttr, marginAttr, marginAuto, marginDip, marginPercent, marginPx, marginRes, maxHeightAttr, maxHeightAttr, maxHeightDip, maxHeightPercent, maxHeightPx, maxHeightRes, maxWidthAttr, maxWidthAttr, maxWidthDip, maxWidthPercent, maxWidthPx, maxWidthRes, minHeightAttr, minHeightAttr, minHeightDip, minHeightPercent, minHeightPx, minHeightRes, minWidthAttr, minWidthAttr, minWidthDip, minWidthPercent, minWidthPx, minWidthRes, onInitializeAccessibilityEventHandler, onInitializeAccessibilityNodeInfoHandler, onPopulateAccessibilityEventHandler, onRequestSendAccessibilityEventHandler, outlineProvider, paddingAttr, paddingAttr, paddingDip, paddingPercent, paddingPx, paddingRes, performAccessibilityActionHandler, positionAttr, positionAttr, positionDip, positionPercent, positionPx, positionRes, positionType, rotation, rotation, rotationX, rotationY, scale, scaleX, scaleY, selected, sendAccessibilityEventHandler, sendAccessibilityEventUncheckedHandler, setComponent, shadowElevation, shadowElevationAttr, shadowElevationAttr, shadowElevationDip, shadowElevationPx, shadowElevationRes, stateListAnimator, stateListAnimatorRes, testKey, touchExpansionAttr, touchExpansionAttr, touchExpansionDip, touchExpansionPx, touchExpansionRes, touchHandler, transitionKey, transitionKeyType, transitionName, translationX, translationY, unfocusedHandler, useHeightAsBaseline, viewTag, viewTags, visibilityChangedHandler, visibleHandler, visibleHeightRatio, visibleWidthRatio, widthAttr, widthAttr, widthDip, widthPercent, widthPx, widthRes, wrapInView - + @@ -733,7 +736,7 @@

    getStateContainer

    @@ -756,7 +759,7 @@

    willRender

    - + diff --git a/docs/javadoc/com/facebook/litho/ComponentContext.html b/docs/javadoc/com/facebook/litho/ComponentContext.html index e461f7c2c13..ece68e50593 100644 --- a/docs/javadoc/com/facebook/litho/ComponentContext.html +++ b/docs/javadoc/com/facebook/litho/ComponentContext.html @@ -2,9 +2,9 @@ - + ComponentContext - + @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":9,"i24":10,"i25":10,"i26":9,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":9,"i39":9}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":9,"i25":10,"i26":10,"i27":9,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":9,"i40":9}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -154,24 +154,24 @@

    Constructor Summary

    Constructor and Description -ComponentContext(ComponentContext context, +ComponentContext(ComponentContext context, StateHandler stateHandler, HooksHandler hooksHandler, TreeProps treeProps, - com.facebook.litho.LayoutState.LayoutStateContext layoutStateContext)  + LayoutStateContext layoutStateContext)  -ComponentContext(ComponentContext context, +ComponentContext(ComponentContext context, StateHandler stateHandler, TreeProps treeProps, - com.facebook.litho.LayoutState.LayoutStateContext layoutStateContext)  + LayoutStateContext layoutStateContext)  ComponentContext(Context context)  -ComponentContext(Context context, - com.facebook.litho.LayoutState.LayoutStateContext layoutStateContext)  +ComponentContext(Context context, + LayoutStateContext layoutStateContext)  ComponentContext(Context context, @@ -253,153 +253,158 @@

    Method Summary

    getGlobalKey()  +LayoutStateContext +getLayoutStateContext()  + + com.facebook.litho.ComponentTree.LayoutStateFuture getLayoutStateFuture()  - + int getLayoutVersion()  - + ComponentsLogger getLogger()  - + String getLogTag()  - + Looper getMainLooper()  - + int getRecyclingMode()  - + ResourceCache getResourceCache()  - + ResourceResolver getResourceResolver()  - + Resources getResources()  - + String getString(int resId)  - + String getString(int resId, Object... formatArgs)  - + CharSequence getText(int resId)  - + <T> T getTreeProp(Class<T> key)  - + TreeProps getTreeProps()  - + TreeProps getTreePropsCopy()
    Obtain a copy of the tree props currently held by this context.
    - + static boolean isIncrementalMountEnabled(ComponentContext c)
    Checks if incremental mount is enabled given a ComponentContext, so you can throw an error if you require that incremental mount is enabled (e.g.
    - + protected boolean isParentTreePropsCloned()  - + boolean isReconciliationEnabled()  - + static boolean isVisibilityProcessingEnabled(ComponentContext c)  - + <E> EventHandler<E> newEventHandler(int id, Object[] params)  - + TypedArray obtainStyledAttributes(int[] attrs, int defStyleAttr)  - + void putCachedValue(Object cachedValueInputs, Object cachedValue)  - + void setLayoutStateContextForTesting()  - + protected void setParentTreePropsCloned(boolean isParentTreePropsCloned)  - + void setTreeProps(TreeProps treeProps)  - + <T> void updateHookStateAsync(HookUpdater<T> updateBlock)
    EXPERIMENTAL - called to enqueue a HookUpdater that will update State that was created via useState.
    - + void updateStateAsync(StateContainer.StateUpdate stateUpdate, String attribution)
    Notify the Component Tree that it needs to asynchronously perform a state update.
    - + void updateStateLazy(StateContainer.StateUpdate stateUpdate)  - + void updateStateSync(StateContainer.StateUpdate stateUpdate, String attribution)
    Notify the Component Tree that it needs to synchronously perform a state update.
    - + void updateStateWithTransition(StateContainer.StateUpdate stateUpdate, String attribution)  - + static ComponentContext -withComponentScope(ComponentContext context, - Component scope) +withComponentScope(ComponentContext context, + Component scope, + String globalKey)
    Creates a new ComponentContext instance scoped to the given component and sets it on the component.
    - + static ComponentContext withComponentTree(ComponentContext context, ComponentTree componentTree) @@ -454,14 +459,14 @@

    ComponentContext

    public ComponentContext(Context context)
    - + @@ -531,7 +536,7 @@

    ComponentContext

    TreeProps treeProps) - + - + @@ -913,14 +918,15 @@

    withComponentTree

    - + + + + + diff --git a/docs/javadoc/com/facebook/litho/ComponentHost.html b/docs/javadoc/com/facebook/litho/ComponentHost.html index d66a978f68b..f3be640c456 100644 --- a/docs/javadoc/com/facebook/litho/ComponentHost.html +++ b/docs/javadoc/com/facebook/litho/ComponentHost.html @@ -2,9 +2,9 @@ - + ComponentHost - + @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":42,"i1":42,"i2":42,"i3":10,"i4":42,"i5":42,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":42,"i32":42,"i33":42,"i34":42,"i35":42,"i36":42,"i37":42,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10}; +var methods = {"i0":42,"i1":42,"i2":42,"i3":10,"i4":42,"i5":42,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":42,"i34":42,"i35":42,"i36":42,"i37":42,"i38":42,"i39":42,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -75,13 +75,13 @@ @@ -134,6 +134,33 @@

    Class ComponentHost

    - + @@ -1552,7 +1553,7 @@

    flexShrink

    + + + + + + + + + + + + + + + +
      +
    • +

      getComponentKeys

      +
      public List<String> getComponentKeys()
      +
      Return the list of keys of components contributing to this InternalNode. We have no need for + this in production but it is useful information to have while debugging. Therefor this list + will only contain the root component if running in production mode.
      +
      +
      Specified by:
      +
      getComponentKeys in interface InternalNode
      +
      +
    • +
    @@ -1875,7 +1932,7 @@

    getUnresolvedComponents

    @@ -134,16 +134,20 @@

    Method Summary

    Method and Description -int -getLayoutOutputPositionForId(long id)  +RenderTreeNode +getMountableOutputAt(int position) +
    Returns the RenderTreeNode given its absolute position.
    + -RenderTreeNode -getMountableOutputAt(int position)  +int +getMountableOutputCount()  int -getMountableOutputCount()  +getPositionForId(long id) +
    Returns the position of RenderUnit given its id.
    + com.facebook.litho.TestOutput @@ -186,16 +190,18 @@

    getTestOutputAt

    com.facebook.litho.TestOutput getTestOutputAt(int position)
    - + @@ -206,9 +212,11 @@

    getLayoutOutputPositionForId

  • getMountableOutputAt

    RenderTreeNode getMountableOutputAt(int position)
    +
    Description copied from interface: MountDelegateInput
    +
    Returns the RenderTreeNode given its absolute position.
    Specified by:
    -
    getMountableOutputAt in interface MountDelegate.MountDelegateInput
    +
    getMountableOutputAt in interface MountDelegateInput
  • diff --git a/docs/javadoc/com/facebook/litho/EndToEndTestingExtension.html b/docs/javadoc/com/facebook/litho/EndToEndTestingExtension.html index 7483f228b23..c90f2369abf 100644 --- a/docs/javadoc/com/facebook/litho/EndToEndTestingExtension.html +++ b/docs/javadoc/com/facebook/litho/EndToEndTestingExtension.html @@ -2,9 +2,9 @@ - + EndToEndTestingExtension - + @@ -153,7 +153,7 @@

    Constructor Summary

    Constructor and Description -EndToEndTestingExtension(MountDelegate.MountDelegateTarget mountDelegateTarget)  +EndToEndTestingExtension(MountDelegateTarget mountDelegateTarget)  @@ -207,7 +207,7 @@

    Method Summary

    Methods inherited from class com.facebook.rendercore.extensions.MountExtension

    -acquireMountReference, canPreventMount, getContentAt, getMountTarget, isLockedForMount, isRootItem, ownsReference, ownsReference, registerToDelegate, releaseMountReference, resetAcquiredReferences +acquireMountReference, beforeMountItem, canPreventMount, getContentAt, getMountTarget, getRootHost, isLockedForMount, isRootItem, ownsReference, ownsReference, registerToDelegate, releaseMountReference, resetAcquiredReferences + + + +
      +
    • +

      getTailComponentKey

      +
      String getTailComponentKey()
      +
    • +
    @@ -1799,7 +1889,7 @@

    getTransitions

    @@ -1808,7 +1898,7 @@

    getUnfocusedHandler

    @@ -1817,7 +1907,7 @@

    getVisibilityChangedHandler

    @@ -1944,7 +2034,7 @@

    importantForAccessibility

    @@ -2200,7 +2290,7 @@

    transitionKeyType

    @@ -2209,7 +2299,7 @@

    unfocusedHandler

    @@ -2218,7 +2308,7 @@

    visibilityChangedHandler

    @@ -2302,18 +2392,21 @@

    getSimpleName

    String getSimpleName()
    - + @@ -317,13 +347,15 @@

    getMountableOutputCount

  • getMountableOutputAt

    public RenderTreeNode getMountableOutputAt(int index)
    +
    Description copied from interface: MountDelegateInput
    +
    Returns the RenderTreeNode given its absolute position.
    Specified by:
    getMountableOutputAt in interface EndToEndTestingExtension.EndToEndTestingExtensionInput
    Specified by:
    getMountableOutputAt in interface TransitionsExtensionInput
    Specified by:
    -
    getMountableOutputAt in interface MountDelegate.MountDelegateInput
    +
    getMountableOutputAt in interface MountDelegateInput
  • @@ -340,6 +372,19 @@

    getAnimatableRootItem

    + + + + @@ -349,7 +394,7 @@

    getMountableOutputTops

    public ArrayList<RenderTreeNode> getMountableOutputTops()
    Specified by:
    -
    getMountableOutputTops in interface IncrementalMountExtension.IncrementalMountExtensionInput
    +
    getMountableOutputTops in interface IncrementalMountExtensionInput
    @@ -362,7 +407,7 @@

    getMountableOutputBottoms

    public ArrayList<RenderTreeNode> getMountableOutputBottoms()
    Specified by:
    -
    getMountableOutputBottoms in interface IncrementalMountExtension.IncrementalMountExtensionInput
    +
    getMountableOutputBottoms in interface IncrementalMountExtensionInput
    @@ -372,7 +417,13 @@

    getMountableOutputBottoms

    @@ -381,7 +432,13 @@

    getVisibilityOutputs

    @@ -443,26 +500,39 @@

    getLayoutRoot

    public InternalNode getLayoutRoot()
    - + + + + + @@ -490,17 +560,17 @@

    getTransitionIdMapping

    - + @@ -520,6 +590,19 @@

    getComponentsNeedingPreviousRenderData

    + + + + diff --git a/docs/javadoc/com/facebook/litho/LayoutStateContext.html b/docs/javadoc/com/facebook/litho/LayoutStateContext.html new file mode 100644 index 00000000000..0877e7eeea7 --- /dev/null +++ b/docs/javadoc/com/facebook/litho/LayoutStateContext.html @@ -0,0 +1,267 @@ + + + + + +LayoutStateContext + + + + + + + + + + + + + +
    +
    com.facebook.litho
    +

    Class LayoutStateContext

    +
    +
    + +
    +
      +
    • +
      +
      +
      public class LayoutStateContext
      +extends Object
      +
      Wraps objects which should only be available for the duration of a LayoutState, to access them in + other classes such as ComponentContext during layout state calculation. When the layout + calculation finishes, the LayoutState reference is nullified. Using a wrapper instead of passing + the instances directly helps with clearing out the reference from all objects that hold on to it, + without having to keep track of all these objects to clear out the references.
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
        +
      • + + +

        Method Detail

        + + + + + + + +
          +
        • +

          getLayoutStateFuture

          +
          public com.facebook.litho.ComponentTree.LayoutStateFuture getLayoutStateFuture()
          +
        • +
        + + + +
          +
        • +

          markLayoutUninterruptible

          +
          public void markLayoutUninterruptible()
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + + + + + + diff --git a/docs/javadoc/com/facebook/litho/LayoutThreadPoolConfigurationImpl.html b/docs/javadoc/com/facebook/litho/LayoutThreadPoolConfigurationImpl.html index e8a1061987c..1d53a26c218 100644 --- a/docs/javadoc/com/facebook/litho/LayoutThreadPoolConfigurationImpl.html +++ b/docs/javadoc/com/facebook/litho/LayoutThreadPoolConfigurationImpl.html @@ -2,9 +2,9 @@ - + LayoutThreadPoolConfigurationImpl - + @@ -49,7 +49,7 @@
    Specified by:
    unmount in interface UnmountDelegateExtension
    diff --git a/docs/javadoc/com/facebook/litho/TransitionsExtensionInput.html b/docs/javadoc/com/facebook/litho/TransitionsExtensionInput.html index de7012fae10..ae9911221ac 100644 --- a/docs/javadoc/com/facebook/litho/TransitionsExtensionInput.html +++ b/docs/javadoc/com/facebook/litho/TransitionsExtensionInput.html @@ -2,9 +2,9 @@ - + TransitionsExtensionInput - + @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6}; +var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -101,7 +101,7 @@

    Interface Transiti
  • All Superinterfaces:
    -
    MountDelegate.MountDelegateInput
    +
    MountDelegateInput
    All Known Implementing Classes:
    @@ -110,7 +110,7 @@

    Interface Transiti

    public interface TransitionsExtensionInput
    -extends MountDelegate.MountDelegateInput
    +extends MountDelegateInput
    Delegate Input needs to implement this interface to provide access to specific transitions information.

  • @@ -133,59 +133,69 @@

    Method Summary

    AnimatableItem -getAnimatableRootItem()  +getAnimatableItem(long id)  -List<Component> -getComponentsNeedingPreviousRenderData()  +OutputUnitsAffinityGroup<AnimatableItem> +getAnimatableItemForTransitionId(TransitionId transitionId)  -int -getComponentTreeId()  +AnimatableItem +getAnimatableRootItem()  -OutputUnitsAffinityGroup<AnimatableItem> -getLayoutOutputsForTransitionId(TransitionId transitionId)  +List<String> +getComponentKeysNeedingPreviousRenderData()  -RenderTreeNode -getMountableOutputAt(int index)  +List<Component> +getComponentsNeedingPreviousRenderData()  int -getMountableOutputCount()  +getComponentTreeId()  +RenderTreeNode +getMountableOutputAt(int index) +
    Returns the RenderTreeNode given its absolute position.
    + + + +int +getMountableOutputCount()  + + String getRootComponentName()  - + TransitionId getRootTransitionId()  - + Map<TransitionId,OutputUnitsAffinityGroup<AnimatableItem>> getTransitionIdMapping()  - + List<Transition> getTransitions()  - + boolean needsToRerunTransitions()  - + void setNeedsToRerunTransitions(boolean needsToRerunTransitions)  @@ -217,9 +227,11 @@

    getMountableOutputCount

  • getMountableOutputAt

    RenderTreeNode getMountableOutputAt(int index)
    +
    Description copied from interface: MountDelegateInput
    +
    Returns the RenderTreeNode given its absolute position.
    Specified by:
    -
    getMountableOutputAt in interface MountDelegate.MountDelegateInput
    +
    getMountableOutputAt in interface MountDelegateInput
  • @@ -259,13 +271,13 @@

    getTransitionIdMapping

    Map<TransitionId,OutputUnitsAffinityGroup<AnimatableItem>> getTransitionIdMapping()
    - + @@ -277,6 +289,15 @@

    getComponentsNeedingPreviousRenderData

    List<Component> getComponentsNeedingPreviousRenderData()
    + + + +
      +
    • +

      getComponentKeysNeedingPreviousRenderData

      +
      List<String> getComponentKeysNeedingPreviousRenderData()
      +
    • +
    @@ -307,12 +328,21 @@

    getRootTransitionId

    - diff --git a/docs/javadoc/com/facebook/litho/TreeProps.html b/docs/javadoc/com/facebook/litho/TreeProps.html index ff591a2d0db..f613d67a459 100644 --- a/docs/javadoc/com/facebook/litho/TreeProps.html +++ b/docs/javadoc/com/facebook/litho/TreeProps.html @@ -2,9 +2,9 @@ - + TreeProps - + @@ -50,7 +50,7 @@
    + + + + + + + +
      +
    • +

      offsetTopAndBottom

      +
      public void offsetTopAndBottom(int offset)
      +
    • +
    + + + +
      +
    • +

      offsetLeftAndRight

      +
      public void offsetLeftAndRight(int offset)
      +
    • +
    + + + +
      +
    • +

      setTranslationX

      +
      public void setTranslationX(float translationX)
      +
    • +
    + + + +
      +
    • +

      setTranslationY

      +
      public void setTranslationY(float translationY)
      +
    • +
    diff --git a/docs/javadoc/com/facebook/rendercore/RenderTreeNode.html b/docs/javadoc/com/facebook/rendercore/RenderTreeNode.html index b4dc42d835a..028728b304c 100644 --- a/docs/javadoc/com/facebook/rendercore/RenderTreeNode.html +++ b/docs/javadoc/com/facebook/rendercore/RenderTreeNode.html @@ -2,9 +2,9 @@ - + RenderTreeNode - + diff --git a/docs/javadoc/com/facebook/rendercore/RenderUnit.Binder.html b/docs/javadoc/com/facebook/rendercore/RenderUnit.Binder.html index 8dd89a64304..7a7aa4d7633 100644 --- a/docs/javadoc/com/facebook/rendercore/RenderUnit.Binder.html +++ b/docs/javadoc/com/facebook/rendercore/RenderUnit.Binder.html @@ -2,9 +2,9 @@ - + RenderUnit.Binder - + @@ -101,7 +101,7 @@

    Interface RenderUnit.Binde
  • All Known Implementing Classes:
    -
    DynamicPropsBinder, LithoRenderUnit.LithoBindBinder, LithoRenderUnit.LithoMountBinder, LithoRenderUnit.LithoViewAttributeBinder
    +
    DynamicPropsBinder, IncrementalMountBinder, LithoRenderUnit.LithoBindBinder, LithoRenderUnit.LithoMountBinder, LithoRenderUnit.LithoViewAttributeBinder
    Enclosing class:
    diff --git a/docs/javadoc/com/facebook/rendercore/RenderUnit.Extension.html b/docs/javadoc/com/facebook/rendercore/RenderUnit.Extension.html index 60aeb180f38..3b5af0dc63e 100644 --- a/docs/javadoc/com/facebook/rendercore/RenderUnit.Extension.html +++ b/docs/javadoc/com/facebook/rendercore/RenderUnit.Extension.html @@ -2,9 +2,9 @@ - + RenderUnit.Extension - + diff --git a/docs/javadoc/com/facebook/rendercore/RenderUnit.RenderType.html b/docs/javadoc/com/facebook/rendercore/RenderUnit.RenderType.html index 7f9595623fd..262b04cc12d 100644 --- a/docs/javadoc/com/facebook/rendercore/RenderUnit.RenderType.html +++ b/docs/javadoc/com/facebook/rendercore/RenderUnit.RenderType.html @@ -2,9 +2,9 @@ - + RenderUnit.RenderType - + diff --git a/docs/javadoc/com/facebook/rendercore/RenderUnit.html b/docs/javadoc/com/facebook/rendercore/RenderUnit.html index f9b93d3d62d..7dd6f02a811 100644 --- a/docs/javadoc/com/facebook/rendercore/RenderUnit.html +++ b/docs/javadoc/com/facebook/rendercore/RenderUnit.html @@ -2,9 +2,9 @@ - + RenderUnit - + diff --git a/docs/javadoc/com/facebook/rendercore/RootHost.html b/docs/javadoc/com/facebook/rendercore/RootHost.html index e4d4a65d39c..ecc0243875c 100644 --- a/docs/javadoc/com/facebook/rendercore/RootHost.html +++ b/docs/javadoc/com/facebook/rendercore/RootHost.html @@ -2,9 +2,9 @@ - + RootHost - + @@ -100,12 +100,17 @@

    Interface RootHost

    @@ -129,6 +134,13 @@

    Method Summary

    setRenderState(RenderState renderState)  +
  • diff --git a/docs/javadoc/com/facebook/rendercore/RootHostDelegate.html b/docs/javadoc/com/facebook/rendercore/RootHostDelegate.html index 6aa8547eab7..159524a9b2c 100644 --- a/docs/javadoc/com/facebook/rendercore/RootHostDelegate.html +++ b/docs/javadoc/com/facebook/rendercore/RootHostDelegate.html @@ -2,9 +2,9 @@ - + RootHostDelegate - + @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -109,7 +109,7 @@

    Class RootHostDelegate

  • All Implemented Interfaces:
    -
    RenderState.HostListener, RootHost
    +
    RenderCoreExtensionHost, RenderState.HostListener, RootHost


    @@ -156,6 +156,12 @@

    Method Summary

    findMountContentById(long id)  +void +notifyVisibleBoundsChanged() +
    Notifies the host the its visible bounds may have potentially changed.
    + + + protected void onLayout(boolean changed, int left, @@ -163,7 +169,7 @@

    Method Summary

    int right, int bottom)
      - + boolean onMeasure(int widthMeasureSpec, int heightMeasureSpec, @@ -172,11 +178,11 @@

    Method Summary

    false if not in which case the hosting view should call super.onMeasure. - + void onUIRenderTreeUpdated(RenderTree newRenderTree)  - + void setRenderState(RenderState renderState)  @@ -245,6 +251,21 @@

    onUIRenderTreeUpdated

  • + + + + diff --git a/docs/javadoc/com/facebook/rendercore/RootHostView.html b/docs/javadoc/com/facebook/rendercore/RootHostView.html index 1f05908aa9f..17dcf0ebf55 100644 --- a/docs/javadoc/com/facebook/rendercore/RootHostView.html +++ b/docs/javadoc/com/facebook/rendercore/RootHostView.html @@ -2,9 +2,9 @@ - + RootHostView - + @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -124,7 +124,7 @@

    Class RootHostView

  • All Implemented Interfaces:
    -
    RootHost
    +
    RenderCoreExtensionHost, RootHost


    @@ -175,14 +175,36 @@

    Method Summary

    findMountContentById(long id)  +void +notifyVisibleBoundsChanged() +
    Notifies the host the its visible bounds may have potentially changed.
    + + + +void +offsetLeftAndRight(int offset)  + + +void +offsetTopAndBottom(int offset)  + + protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec)  - + void setRenderState(RenderState renderState)  + +void +setTranslationX(float translationX)  + + +void +setTranslationY(float translationY)  + + + + + @@ -262,6 +299,42 @@

    onMeasure

    int heightMeasureSpec)
  • + + + +
      +
    • +

      offsetTopAndBottom

      +
      public void offsetTopAndBottom(int offset)
      +
    • +
    + + + +
      +
    • +

      offsetLeftAndRight

      +
      public void offsetLeftAndRight(int offset)
      +
    • +
    + + + +
      +
    • +

      setTranslationX

      +
      public void setTranslationX(float translationX)
      +
    • +
    + + + +
      +
    • +

      setTranslationY

      +
      public void setTranslationY(float translationY)
      +
    • +
    diff --git a/docs/javadoc/com/facebook/rendercore/Touchable.html b/docs/javadoc/com/facebook/rendercore/Touchable.html index 4fdb8133000..d5bbd4660fa 100644 --- a/docs/javadoc/com/facebook/rendercore/Touchable.html +++ b/docs/javadoc/com/facebook/rendercore/Touchable.html @@ -2,9 +2,9 @@ - + Touchable - + diff --git a/docs/javadoc/com/facebook/rendercore/UnmountDelegateExtension.html b/docs/javadoc/com/facebook/rendercore/UnmountDelegateExtension.html index 748b1773316..d80797a5b7d 100644 --- a/docs/javadoc/com/facebook/rendercore/UnmountDelegateExtension.html +++ b/docs/javadoc/com/facebook/rendercore/UnmountDelegateExtension.html @@ -2,9 +2,9 @@ - + UnmountDelegateExtension - + @@ -137,7 +137,7 @@

    Method Summary

    MountItem mountItem, Host host)
    This method is responsible for unmounting the item from the Host and unbinding the item - from the MountDelegate.MountDelegateTarget.
    + from the MountDelegateTarget. @@ -180,7 +180,7 @@

    unmount

    MountItem mountItem, Host host)
    This method is responsible for unmounting the item from the Host and unbinding the item - from the MountDelegate.MountDelegateTarget.
    + from the MountDelegateTarget.
    Parameters:
    index -
    diff --git a/docs/javadoc/com/facebook/rendercore/annotations/Action.html b/docs/javadoc/com/facebook/rendercore/annotations/Action.html index 9110ecf68fe..81527cb4d43 100644 --- a/docs/javadoc/com/facebook/rendercore/annotations/Action.html +++ b/docs/javadoc/com/facebook/rendercore/annotations/Action.html @@ -2,9 +2,9 @@ - + Action - + diff --git a/docs/javadoc/com/facebook/rendercore/annotations/UIState.html b/docs/javadoc/com/facebook/rendercore/annotations/UIState.html index 86162899d47..3bf59ed3583 100644 --- a/docs/javadoc/com/facebook/rendercore/annotations/UIState.html +++ b/docs/javadoc/com/facebook/rendercore/annotations/UIState.html @@ -2,9 +2,9 @@ - + UIState - + diff --git a/docs/javadoc/com/facebook/rendercore/annotations/package-frame.html b/docs/javadoc/com/facebook/rendercore/annotations/package-frame.html index 792c5e1fdbd..a126fd796cd 100644 --- a/docs/javadoc/com/facebook/rendercore/annotations/package-frame.html +++ b/docs/javadoc/com/facebook/rendercore/annotations/package-frame.html @@ -2,9 +2,9 @@ - + com.facebook.rendercore.annotations - + diff --git a/docs/javadoc/com/facebook/rendercore/annotations/package-summary.html b/docs/javadoc/com/facebook/rendercore/annotations/package-summary.html index ea6ac8343a9..fadd6cf9015 100644 --- a/docs/javadoc/com/facebook/rendercore/annotations/package-summary.html +++ b/docs/javadoc/com/facebook/rendercore/annotations/package-summary.html @@ -2,9 +2,9 @@ - + com.facebook.rendercore.annotations - + diff --git a/docs/javadoc/com/facebook/rendercore/annotations/package-tree.html b/docs/javadoc/com/facebook/rendercore/annotations/package-tree.html index a0888332bf1..937fdb55f7a 100644 --- a/docs/javadoc/com/facebook/rendercore/annotations/package-tree.html +++ b/docs/javadoc/com/facebook/rendercore/annotations/package-tree.html @@ -2,9 +2,9 @@ - + com.facebook.rendercore.annotations Class Hierarchy - + @@ -79,8 +79,8 @@

    Hierarchy For Package com.facebook.rendercore.annotations

    Annotation Type Hierarchy

      -
    • com.facebook.rendercore.annotations.Action (implements java.lang.annotation.Annotation)
    • com.facebook.rendercore.annotations.UIState (implements java.lang.annotation.Annotation)
    • +
    • com.facebook.rendercore.annotations.Action (implements java.lang.annotation.Annotation)
    diff --git a/docs/javadoc/com/facebook/rendercore/extensions/LayoutResultVisitor.html b/docs/javadoc/com/facebook/rendercore/extensions/LayoutResultVisitor.html index 24ca8109bf7..ad092e07700 100644 --- a/docs/javadoc/com/facebook/rendercore/extensions/LayoutResultVisitor.html +++ b/docs/javadoc/com/facebook/rendercore/extensions/LayoutResultVisitor.html @@ -2,9 +2,9 @@ - + LayoutResultVisitor - + @@ -103,6 +103,10 @@

    Interface LayoutResultVi
    Type Parameters:
    State - The state represents the data collected by the visitor for a layout pass.

    +
    +
    All Known Implementing Classes:
    +
    VisibilityExtension.Visitor
    +


    public interface LayoutResultVisitor<State>
    diff --git a/docs/javadoc/com/facebook/rendercore/extensions/MountExtension.html b/docs/javadoc/com/facebook/rendercore/extensions/MountExtension.html index 83bc23a81e7..1954fc493be 100644 --- a/docs/javadoc/com/facebook/rendercore/extensions/MountExtension.html +++ b/docs/javadoc/com/facebook/rendercore/extensions/MountExtension.html @@ -2,9 +2,9 @@ - + MountExtension - + @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -109,7 +109,7 @@

    Class MountExtension<Input>
  • Direct Known Subclasses:
    -
    EndToEndTestingExtension, IncrementalMountExtension, LithoHostListenerCoordinator, TransitionsExtension
    +
    EndToEndTestingExtension, IncrementalMountExtension, LithoHostListenerCoordinator, TransitionsExtension, VisibilityMountExtension


    @@ -156,9 +156,8 @@

    Method Summary

    protected void -acquireMountReference(RenderTreeNode renderTreeNode, +acquireMountReference(RenderTreeNode node, int position, - MountDelegate.MountDelegateInput input, boolean isMounting)  @@ -175,62 +174,71 @@

    Method Summary

    +void +beforeMountItem(RenderTreeNode renderTreeNode, + int index)  + + boolean canPreventMount()  - + protected Object getContentAt(int position)  - -MountDelegate.MountDelegateTarget + +MountDelegateTarget getMountTarget()  - + +protected Host +getRootHost()  + + protected boolean isLockedForMount(RenderTreeNode renderTreeNode)  - + protected boolean isRootItem(int position)  - + void onUnbind()
    Called after all the Host's children have been unbound.
    - + void onUnmount()
    Called after all the Host's children have been unmounted.
    - + void onVisibleBoundsChanged(Rect localVisibleRect)
    Called when the visible bounds of the Host change.
    - + protected boolean ownsReference(long id)  - + boolean ownsReference(RenderTreeNode renderTreeNode)  - + void registerToDelegate(MountDelegate mountDelegate)  - + protected void releaseMountReference(RenderTreeNode renderTreeNode, int position, boolean isMounting)  - + protected void resetAcquiredReferences()  @@ -291,6 +299,15 @@

    resetAcquiredReferences

    protected void resetAcquiredReferences()
  • + + + +
      +
    • +

      getRootHost

      +
      protected Host getRootHost()
      +
    • +
    @@ -309,15 +326,14 @@

    getContentAt

    protected Object getContentAt(int position)
    - + @@ -374,7 +390,7 @@

    canPreventMount

    @@ -394,6 +410,16 @@

    beforeMount

    +
    + + +
      +
    • +

      beforeMountItem

      +
      public void beforeMountItem(RenderTreeNode renderTreeNode,
      +                            int index)
      +
    • +
    diff --git a/docs/javadoc/com/facebook/rendercore/extensions/RenderCoreExtension.html b/docs/javadoc/com/facebook/rendercore/extensions/RenderCoreExtension.html index 62720a019d1..1317bcb8aa9 100644 --- a/docs/javadoc/com/facebook/rendercore/extensions/RenderCoreExtension.html +++ b/docs/javadoc/com/facebook/rendercore/extensions/RenderCoreExtension.html @@ -2,9 +2,9 @@ - + RenderCoreExtension - + @@ -18,8 +18,8 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10}; -var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var methods = {"i0":9,"i1":9,"i2":10,"i3":10,"i4":10,"i5":9,"i6":9}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; @@ -111,6 +111,10 @@

    Class RenderCoreExtension<
    Type Parameters:
    State - the state the extension operates on.
    +
    +
    Direct Known Subclasses:
    +
    VisibilityExtension
    +


    public class RenderCoreExtension<State>
    @@ -146,31 +150,61 @@ 

    Constructor Summary

    Method Summary

    - + + + + + + + + + - - + + - - + + + + + + + + + +
    All Methods Instance Methods Concrete Methods All Methods Static Methods Instance Methods Concrete Methods 
    Modifier and Type Method and Description
    static voidafterMount(Map<RenderCoreExtension<?>,Object> results) +
    Calls MountExtension.afterMount() for each RenderCoreExtension that has a mount + phase.
    +
    static voidbeforeMount(Host host, + Map<RenderCoreExtension<?>,Object> results) +
    Calls MountExtension.beforeMount(Object, Rect) for each RenderCoreExtension + that has a mount phase.
    +
    State createState()
    Should return a new # to which the LayoutResultVisitor can write into.
    LayoutResultVisitor<State>
    LayoutResultVisitor<? extends State> getLayoutVisitor()
    The extension can optionally return a LayoutResultVisitor for every layout pass which will visit every Node.LayoutResult.
    MountExtension<State>
    MountExtension<? extends State> getMountExtension()
    The extension can optionally return a MountExtension which can be used to augment the RenderCore's mounting phase.
    static voidnotifyVisibleBoundsChanged(Host host, + Map<RenderCoreExtension<?>,Object> results) +
    Calls MountExtension.onVisibleBoundsChanged(Rect) for each RenderCoreExtension + that has a mount phase.
    +
    static booleanshouldUpdate(Map<RenderCoreExtension<?>,Object> currentResults, + Map<RenderCoreExtension<?>,Object> nextResults) +
    returns false iff the results have the same RenderCoreExtensions.
    +
    diff --git a/docs/javadoc/com/facebook/rendercore/extensions/package-frame.html b/docs/javadoc/com/facebook/rendercore/extensions/package-frame.html index 6b66849529b..bafea46df88 100644 --- a/docs/javadoc/com/facebook/rendercore/extensions/package-frame.html +++ b/docs/javadoc/com/facebook/rendercore/extensions/package-frame.html @@ -2,9 +2,9 @@ - + com.facebook.rendercore.extensions - + diff --git a/docs/javadoc/com/facebook/rendercore/extensions/package-summary.html b/docs/javadoc/com/facebook/rendercore/extensions/package-summary.html index 209fe95d0b1..eeb37a0228c 100644 --- a/docs/javadoc/com/facebook/rendercore/extensions/package-summary.html +++ b/docs/javadoc/com/facebook/rendercore/extensions/package-summary.html @@ -2,9 +2,9 @@ - + com.facebook.rendercore.extensions - + @@ -44,7 +44,7 @@