Package org.robolectric.shadows
Class ShadowViewGroup
java.lang.Object
org.robolectric.shadows.ShadowView
org.robolectric.shadows.ShadowViewGroup
- Direct Known Subclasses:
ShadowAdapterView,ShadowAppWidgetHostView,ShadowLinearLayout,ShadowScrollView,ShadowTabHost,ShadowViewAnimator,ShadowWebView
-
Nested Class Summary
Nested classes/interfaces inherited from class org.robolectric.shadows.ShadowView
ShadowView.WindowIdHelper -
Field Summary
FieldsFields inherited from class org.robolectric.shadows.ShadowView
attributeSet, realView, scrollToCoordinates, viewReflector -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddView(View child, int index, ViewGroup.LayoutParams params) voiddump(PrintStream out, int indent) Deprecated.booleanReturns a string representation of thisViewGroupby concatenating all of the strings contained in all of the descendants of thisViewGroup.protected booleanprotected voidremovedChild(View child) protected voidrequestDisallowInterceptTouchEvent(boolean disallowIntercept) Methods inherited from class org.robolectric.shadows.ShadowView
__constructor__, __constructor__, addGlobalPerformClickListener, addGlobalPerformLongClickListener, addOnAttachStateChangeListener, addOnLayoutChangeListener, callOnAttachedToWindow, callOnDetachedFromWindow, checkedPerformClick, clearAnimation, clearAnimations, clearWasInvalidated, clickOn, didRequestLayout, draw, dump, dump, dumpAttribute, dumpAttributes, dumpFirstPart, dumpIndent, getAnimations, getGlobalVisibleRect, getLastTouchEvent, getLayerType, getLocationOnScreen, getOnAttachStateChangeListeners, getOnClickListener, getOnCreateContextMenuListener, getOnLayoutChangeListeners, getOnLongClickListener, getOnSystemUiVisibilityChangeListener, getOnTouchListener, getScrollX, getScrollY, getSourceLayoutResId, getWindowDisplayFrame, getWindowId, getWindowVisibleDisplayFrame, initialAwakenScrollBars, innerText, invalidate, isAttachedToWindow, lastHapticFeedbackPerformed, mapRectFromViewToScreenCoords, onLayout, onLayoutWasCalled, onTouchEvent, performClick, performHapticFeedback, performLongClick, post, postDelayed, postInvalidateDelayed, removeCallbacks, removeGlobalPerformClickListener, removeGlobalPerformLongClickListener, removeOnAttachStateChangeListener, removeOnLayoutChangeListener, requestLayout, reset, scrollBy, scrollTo, setAnimation, setDidRequestLayout, setGlobalVisibleRect, setLayerType, setMyParent, setOnClickListener, setOnCreateContextMenuListener, setOnFocusChangeListener, setOnLongClickListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setScrollX, setScrollY, setViewFocus, useRealGraphics, visualize, wasInvalidated
-
Field Details
-
realViewGroup
-
-
Constructor Details
-
ShadowViewGroup
public ShadowViewGroup()
-
-
Method Details
-
addView
-
innerText
Returns a string representation of thisViewGroupby concatenating all of the strings contained in all of the descendants of thisViewGroup.- Overrides:
innerTextin classShadowView- Returns:
- String representation of this view.
-
dump
Deprecated.- Please useandroidx.test.espresso.util.HumanReadables#describe(View)Dumps the state of thisViewGrouptoSystem.out.- Overrides:
dumpin classShadowView- Parameters:
out- Output stream.indent- Indentation level.
-
requestDisallowInterceptTouchEvent
-
getDisallowInterceptTouchEvent
public boolean getDisallowInterceptTouchEvent() -
removedChild
-
getInterceptedTouchEvent
-
onInterceptTouchEvent
-
androidx.test.espresso.util.HumanReadables#describe(View)