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
Fields inherited from class org.robolectric.shadows.ShadowView
attributeSet, realView, scrollToCoordinates, viewReflector
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addView
(View child, int index, ViewGroup.LayoutParams params) void
dump
(PrintStream out, int indent) Deprecated.boolean
Returns a string representation of thisViewGroup
by concatenating all of the strings contained in all of the descendants of thisViewGroup
.protected boolean
protected void
removedChild
(View child) protected void
requestDisallowInterceptTouchEvent
(boolean disallowIntercept) Methods inherited from class org.robolectric.shadows.ShadowView
__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 thisViewGroup
by concatenating all of the strings contained in all of the descendants of thisViewGroup
.- Overrides:
innerText
in classShadowView
- Returns:
- String representation of this view.
-
dump
Deprecated.- Please useandroidx.test.espresso.util.HumanReadables#describe(View)
Dumps the state of thisViewGroup
toSystem.out
.- Overrides:
dump
in classShadowView
- Parameters:
out
- Output stream.indent
- Indentation level.
-
requestDisallowInterceptTouchEvent
-
getDisallowInterceptTouchEvent
public boolean getDisallowInterceptTouchEvent() -
removedChild
-
getInterceptedTouchEvent
-
onInterceptTouchEvent
-
androidx.test.espresso.util.HumanReadables#describe(View)