LayoutDirectionViewShadow

@Implements(value = View::class)
open class LayoutDirectionViewShadow : ShadowView

Robolectric shadow view does not support layout direction so we must implement our custom shadow. We must have ViewGroup and View shadows as Robolectric forces us to have the whole hierarchy.

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun clearAnimations()
Link copied to clipboard
Link copied to clipboard
open fun clickOn(view: View): Boolean
Link copied to clipboard
Link copied to clipboard
open fun dump(view: View)
Link copied to clipboard
open fun getAnimations(): ImmutableList<Animation>
Link copied to clipboard
@Implementation
open fun getLayoutDirection(): Int
Link copied to clipboard
Link copied to clipboard
open fun innerText(view: View): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun reset()
Link copied to clipboard
open fun setDidRequestLayout(didRequestLayout: Boolean)
Link copied to clipboard
open fun setGlobalVisibleRect(rect: Rect)
Link copied to clipboard
@Implementation
open fun setLayoutDirection(layoutDirection: Int)
Link copied to clipboard
open fun setMyParent(viewParent: ViewParent)
Link copied to clipboard
open fun setViewFocus(hasFocus: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun visualize(view: View): String
Link copied to clipboard