ShadowAdapterView
, ShadowAppWidgetHostView
, ShadowDrawerLayout
, ShadowLinearLayout
, ShadowRelativeLayout
, ShadowScrollView
, ShadowSwipeRefreshLayout
, ShadowTabHost
, ShadowViewAnimator
, ShadowWebView
@Implements(android.view.ViewGroup.class) public class ShadowViewGroup extends ShadowView
ShadowView.WindowIdHelper
Modifier and Type | Field | Description |
---|---|---|
protected ViewGroup |
realViewGroup |
attributeSet, realView, scrollToCoordinates
Constructor | Description |
---|---|
ShadowViewGroup() |
Modifier and Type | Method | Description |
---|---|---|
protected void |
addView(View child,
int index,
ViewGroup.LayoutParams params) |
|
void |
dump(PrintStream out,
int indent) |
Deprecated.
- Please use
androidx.test.espresso.util.HumanReadables#describe(View) |
boolean |
getDisallowInterceptTouchEvent() |
|
MotionEvent |
getInterceptedTouchEvent() |
|
String |
innerText() |
Returns a string representation of this
ViewGroup by concatenating all of the
strings contained in all of the descendants of this ViewGroup . |
protected boolean |
onInterceptTouchEvent(MotionEvent ev) |
|
protected void |
removedChild(View child) |
|
protected void |
requestDisallowInterceptTouchEvent(boolean disallowIntercept) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
__constructor__, addOnAttachStateChangeListener, callOnAttachedToWindow, callOnDetachedFromWindow, checkedPerformClick, clearAnimation, clearWasInvalidated, clickOn, didRequestLayout, draw, dump, dump, dumpAttribute, dumpAttributes, dumpFirstPart, dumpIndent, getGlobalVisibleRect, getLastTouchEvent, getLayerType, getOnAttachStateChangeListeners, getOnClickListener, getOnCreateContextMenuListener, getOnLongClickListener, getOnSystemUiVisibilityChangeListener, getOnTouchListener, getScrollX, getScrollY, getWindowDisplayFrame, getWindowId, getWindowVisibleDisplayFrame, innerText, invalidate, isAttachedToWindow, lastHapticFeedbackPerformed, onLayout, onLayoutWasCalled, onTouchEvent, performHapticFeedback, post, postDelayed, postInvalidateDelayed, removeCallbacks, removeOnAttachStateChangeListener, requestLayout, scrollBy, scrollTo, setAnimation, setDidRequestLayout, setGlobalVisibleRect, setLayerType, setMyParent, setOnClickListener, setOnCreateContextMenuListener, setOnFocusChangeListener, setOnLongClickListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setScrollX, setScrollY, setViewFocus, visualize, wasInvalidated
@RealObject protected ViewGroup realViewGroup
@Implementation protected void addView(View child, int index, ViewGroup.LayoutParams params)
public String innerText()
ViewGroup
by concatenating all of the
strings contained in all of the descendants of this ViewGroup
.innerText
in class ShadowView
@Deprecated public void dump(PrintStream out, int indent)
androidx.test.espresso.util.HumanReadables#describe(View)
ViewGroup
to System.out
.dump
in class ShadowView
out
- Output stream.indent
- Indentation level.@Implementation protected void requestDisallowInterceptTouchEvent(boolean disallowIntercept)
public boolean getDisallowInterceptTouchEvent()
protected void removedChild(View child)
public MotionEvent getInterceptedTouchEvent()
@Implementation protected boolean onInterceptTouchEvent(MotionEvent ev)