@Test public void testSetCollectionInfoIsNullable() throws Exception { AccessibilityNodeInfoCompat accessibilityNodeInfoCompat = obtainedWrappedNodeCompat(); accessibilityNodeInfoCompat.setCollectionInfo(null); }
public void setCollectionInfo(Object collectionInfo) { if (Build.VERSION.SDK_INT >= 19) { mInfo.setCollectionInfo((collectionInfo == null) ? null : (AccessibilityNodeInfo.CollectionInfo) ((CollectionInfoCompat) collectionInfo).mInfo); } }
AccessibilityNodeInfoCompat { public void setCollectionInfo(Object collectionInfo) { if (Build.VERSION.SDK_INT >= 19) { mInfo.setCollectionInfo((collectionInfo == null) ? null : (AccessibilityNodeInfo.CollectionInfo) ((CollectionInfoCompat) collectionInfo).mInfo); } } }
AccessibilityNodeInfoCompat { public void setCollectionInfo(Object collectionInfo) { if (Build.VERSION.SDK_INT >= 19) { mInfo.setCollectionInfo((collectionInfo == null) ? null : (AccessibilityNodeInfo.CollectionInfo) ((CollectionInfoCompat) collectionInfo).mInfo); } } @Deprecated  AccessibilityNodeInfoCompat(Object info); private  AccessibilityNodeInfoCompat(AccessibilityNodeInfo info); }
AccessibilityNodeInfoCompat { public void setCollectionInfo(Object collectionInfo) { if (Build.VERSION.SDK_INT >= 19) { mInfo.setCollectionInfo((collectionInfo == null) ? null : (AccessibilityNodeInfo.CollectionInfo) ((CollectionInfoCompat) collectionInfo).mInfo); } } @Deprecated  AccessibilityNodeInfoCompat(Object info); private  AccessibilityNodeInfoCompat(AccessibilityNodeInfo info); static AccessibilityNodeInfoCompat wrap(@NonNull AccessibilityNodeInfo info); AccessibilityNodeInfo unwrap(); @Deprecated Object getInfo(); static AccessibilityNodeInfoCompat obtain(View source); static AccessibilityNodeInfoCompat obtain(View root, int virtualDescendantId); static AccessibilityNodeInfoCompat obtain(); static AccessibilityNodeInfoCompat obtain(AccessibilityNodeInfoCompat info); void setSource(View source); void setSource(View root, int virtualDescendantId); AccessibilityNodeInfoCompat findFocus(int focus); AccessibilityNodeInfoCompat focusSearch(int direction); int getWindowId(); int getChildCount(); AccessibilityNodeInfoCompat getChild(int index); void addChild(View child); void addChild(View root, int virtualDescendantId); boolean removeChild(View child); boolean removeChild(View root, int virtualDescendantId); int getActions(); void addAction(int action); void addAction(AccessibilityActionCompat action); boolean removeAction(AccessibilityActionCompat action); boolean performAction(int action); boolean performAction(int action, Bundle arguments); void setMovementGranularities(int granularities); int getMovementGranularities(); List<AccessibilityNodeInfoCompat> findAccessibilityNodeInfosByText(String text); AccessibilityNodeInfoCompat getParent(); void setParent(View parent); void setParent(View root, int virtualDescendantId); void getBoundsInParent(Rect outBounds); void setBoundsInParent(Rect bounds); void getBoundsInScreen(Rect outBounds); void setBoundsInScreen(Rect bounds); boolean isCheckable(); void setCheckable(boolean checkable); boolean isChecked(); void setChecked(boolean checked); boolean isFocusable(); void setFocusable(boolean focusable); boolean isFocused(); void setFocused(boolean focused); boolean isVisibleToUser(); void setVisibleToUser(boolean visibleToUser); boolean isAccessibilityFocused(); void setAccessibilityFocused(boolean focused); boolean isSelected(); void setSelected(boolean selected); boolean isClickable(); void setClickable(boolean clickable); boolean isLongClickable(); void setLongClickable(boolean longClickable); boolean isEnabled(); void setEnabled(boolean enabled); boolean isPassword(); void setPassword(boolean password); boolean isScrollable(); void setScrollable(boolean scrollable); boolean isImportantForAccessibility(); void setImportantForAccessibility(boolean important); CharSequence getPackageName(); void setPackageName(CharSequence packageName); CharSequence getClassName(); void setClassName(CharSequence className); CharSequence getText(); void setText(CharSequence text); CharSequence getContentDescription(); void setContentDescription(CharSequence contentDescription); void recycle(); void setViewIdResourceName(String viewId); String getViewIdResourceName(); int getLiveRegion(); void setLiveRegion(int mode); int getDrawingOrder(); void setDrawingOrder(int drawingOrderInParent); CollectionInfoCompat getCollectionInfo(); void setCollectionInfo(Object collectionInfo); void setCollectionItemInfo(Object collectionItemInfo); CollectionItemInfoCompat getCollectionItemInfo(); RangeInfoCompat getRangeInfo(); void setRangeInfo(RangeInfoCompat rangeInfo); @SuppressWarnings("unchecked") List<AccessibilityActionCompat> getActionList(); void setContentInvalid(boolean contentInvalid); boolean isContentInvalid(); boolean isContextClickable(); void setContextClickable(boolean contextClickable); @Nullable CharSequence getHintText(); void setHintText(@Nullable CharSequence hintText); void setError(CharSequence error); CharSequence getError(); void setLabelFor(View labeled); void setLabelFor(View root, int virtualDescendantId); AccessibilityNodeInfoCompat getLabelFor(); void setLabeledBy(View label); void setLabeledBy(View root, int virtualDescendantId); AccessibilityNodeInfoCompat getLabeledBy(); boolean canOpenPopup(); void setCanOpenPopup(boolean opensPopup); List<AccessibilityNodeInfoCompat> findAccessibilityNodeInfosByViewId(String viewId); Bundle getExtras(); int getInputType(); void setInputType(int inputType); void setMaxTextLength(int max); int getMaxTextLength(); void setTextSelection(int start, int end); int getTextSelectionStart(); int getTextSelectionEnd(); AccessibilityNodeInfoCompat getTraversalBefore(); void setTraversalBefore(View view); void setTraversalBefore(View root, int virtualDescendantId); AccessibilityNodeInfoCompat getTraversalAfter(); void setTraversalAfter(View view); void setTraversalAfter(View root, int virtualDescendantId); AccessibilityWindowInfoCompat getWindow(); boolean isDismissable(); void setDismissable(boolean dismissable); boolean isEditable(); void setEditable(boolean editable); boolean isMultiLine(); void setMultiLine(boolean multiLine); @Nullable CharSequence getTooltipText(); void setTooltipText(@Nullable CharSequence tooltipText); void setPaneTitle(@Nullable CharSequence paneTitle); @Nullable CharSequence getPaneTitle(); boolean isScreenReaderFocusable(); void setScreenReaderFocusable(boolean screenReaderFocusable); boolean isShowingHintText(); void setShowingHintText(boolean showingHintText); boolean isHeading(); void setHeading(boolean isHeading); boolean refresh(); @Nullable CharSequence getRoleDescription(); void setRoleDescription(@Nullable CharSequence roleDescription); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); }
AccessibilityNodeInfoCompat { public void setCollectionInfo(Object collectionInfo) { if (Build.VERSION.SDK_INT >= 19) { mInfo.setCollectionInfo((collectionInfo == null) ? null : (AccessibilityNodeInfo.CollectionInfo) ((CollectionInfoCompat) collectionInfo).mInfo); } } @Deprecated  AccessibilityNodeInfoCompat(Object info); private  AccessibilityNodeInfoCompat(AccessibilityNodeInfo info); static AccessibilityNodeInfoCompat wrap(@NonNull AccessibilityNodeInfo info); AccessibilityNodeInfo unwrap(); @Deprecated Object getInfo(); static AccessibilityNodeInfoCompat obtain(View source); static AccessibilityNodeInfoCompat obtain(View root, int virtualDescendantId); static AccessibilityNodeInfoCompat obtain(); static AccessibilityNodeInfoCompat obtain(AccessibilityNodeInfoCompat info); void setSource(View source); void setSource(View root, int virtualDescendantId); AccessibilityNodeInfoCompat findFocus(int focus); AccessibilityNodeInfoCompat focusSearch(int direction); int getWindowId(); int getChildCount(); AccessibilityNodeInfoCompat getChild(int index); void addChild(View child); void addChild(View root, int virtualDescendantId); boolean removeChild(View child); boolean removeChild(View root, int virtualDescendantId); int getActions(); void addAction(int action); void addAction(AccessibilityActionCompat action); boolean removeAction(AccessibilityActionCompat action); boolean performAction(int action); boolean performAction(int action, Bundle arguments); void setMovementGranularities(int granularities); int getMovementGranularities(); List<AccessibilityNodeInfoCompat> findAccessibilityNodeInfosByText(String text); AccessibilityNodeInfoCompat getParent(); void setParent(View parent); void setParent(View root, int virtualDescendantId); void getBoundsInParent(Rect outBounds); void setBoundsInParent(Rect bounds); void getBoundsInScreen(Rect outBounds); void setBoundsInScreen(Rect bounds); boolean isCheckable(); void setCheckable(boolean checkable); boolean isChecked(); void setChecked(boolean checked); boolean isFocusable(); void setFocusable(boolean focusable); boolean isFocused(); void setFocused(boolean focused); boolean isVisibleToUser(); void setVisibleToUser(boolean visibleToUser); boolean isAccessibilityFocused(); void setAccessibilityFocused(boolean focused); boolean isSelected(); void setSelected(boolean selected); boolean isClickable(); void setClickable(boolean clickable); boolean isLongClickable(); void setLongClickable(boolean longClickable); boolean isEnabled(); void setEnabled(boolean enabled); boolean isPassword(); void setPassword(boolean password); boolean isScrollable(); void setScrollable(boolean scrollable); boolean isImportantForAccessibility(); void setImportantForAccessibility(boolean important); CharSequence getPackageName(); void setPackageName(CharSequence packageName); CharSequence getClassName(); void setClassName(CharSequence className); CharSequence getText(); void setText(CharSequence text); CharSequence getContentDescription(); void setContentDescription(CharSequence contentDescription); void recycle(); void setViewIdResourceName(String viewId); String getViewIdResourceName(); int getLiveRegion(); void setLiveRegion(int mode); int getDrawingOrder(); void setDrawingOrder(int drawingOrderInParent); CollectionInfoCompat getCollectionInfo(); void setCollectionInfo(Object collectionInfo); void setCollectionItemInfo(Object collectionItemInfo); CollectionItemInfoCompat getCollectionItemInfo(); RangeInfoCompat getRangeInfo(); void setRangeInfo(RangeInfoCompat rangeInfo); @SuppressWarnings("unchecked") List<AccessibilityActionCompat> getActionList(); void setContentInvalid(boolean contentInvalid); boolean isContentInvalid(); boolean isContextClickable(); void setContextClickable(boolean contextClickable); @Nullable CharSequence getHintText(); void setHintText(@Nullable CharSequence hintText); void setError(CharSequence error); CharSequence getError(); void setLabelFor(View labeled); void setLabelFor(View root, int virtualDescendantId); AccessibilityNodeInfoCompat getLabelFor(); void setLabeledBy(View label); void setLabeledBy(View root, int virtualDescendantId); AccessibilityNodeInfoCompat getLabeledBy(); boolean canOpenPopup(); void setCanOpenPopup(boolean opensPopup); List<AccessibilityNodeInfoCompat> findAccessibilityNodeInfosByViewId(String viewId); Bundle getExtras(); int getInputType(); void setInputType(int inputType); void setMaxTextLength(int max); int getMaxTextLength(); void setTextSelection(int start, int end); int getTextSelectionStart(); int getTextSelectionEnd(); AccessibilityNodeInfoCompat getTraversalBefore(); void setTraversalBefore(View view); void setTraversalBefore(View root, int virtualDescendantId); AccessibilityNodeInfoCompat getTraversalAfter(); void setTraversalAfter(View view); void setTraversalAfter(View root, int virtualDescendantId); AccessibilityWindowInfoCompat getWindow(); boolean isDismissable(); void setDismissable(boolean dismissable); boolean isEditable(); void setEditable(boolean editable); boolean isMultiLine(); void setMultiLine(boolean multiLine); @Nullable CharSequence getTooltipText(); void setTooltipText(@Nullable CharSequence tooltipText); void setPaneTitle(@Nullable CharSequence paneTitle); @Nullable CharSequence getPaneTitle(); boolean isScreenReaderFocusable(); void setScreenReaderFocusable(boolean screenReaderFocusable); boolean isShowingHintText(); void setShowingHintText(boolean showingHintText); boolean isHeading(); void setHeading(boolean isHeading); boolean refresh(); @Nullable CharSequence getRoleDescription(); void setRoleDescription(@Nullable CharSequence roleDescription); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); @RestrictTo(LIBRARY_GROUP)
    public int mParentVirtualDescendantId; static final int ACTION_FOCUS; static final int ACTION_CLEAR_FOCUS; static final int ACTION_SELECT; static final int ACTION_CLEAR_SELECTION; static final int ACTION_CLICK; static final int ACTION_LONG_CLICK; static final int ACTION_ACCESSIBILITY_FOCUS; static final int ACTION_CLEAR_ACCESSIBILITY_FOCUS; static final int ACTION_NEXT_AT_MOVEMENT_GRANULARITY; static final int ACTION_PREVIOUS_AT_MOVEMENT_GRANULARITY; static final int ACTION_NEXT_HTML_ELEMENT; static final int ACTION_PREVIOUS_HTML_ELEMENT; static final int ACTION_SCROLL_FORWARD; static final int ACTION_SCROLL_BACKWARD; static final int ACTION_COPY; static final int ACTION_PASTE; static final int ACTION_CUT; static final int ACTION_SET_SELECTION; static final int ACTION_EXPAND; static final int ACTION_COLLAPSE; static final int ACTION_DISMISS; static final int ACTION_SET_TEXT; static final String ACTION_ARGUMENT_MOVEMENT_GRANULARITY_INT; static final String ACTION_ARGUMENT_HTML_ELEMENT_STRING; static final String ACTION_ARGUMENT_EXTEND_SELECTION_BOOLEAN; static final String ACTION_ARGUMENT_SELECTION_START_INT; static final String ACTION_ARGUMENT_SELECTION_END_INT; static final String ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE; static final String ACTION_ARGUMENT_ROW_INT; static final String ACTION_ARGUMENT_COLUMN_INT; static final String ACTION_ARGUMENT_PROGRESS_VALUE; static final String ACTION_ARGUMENT_MOVE_WINDOW_X; static final String ACTION_ARGUMENT_MOVE_WINDOW_Y; static final int FOCUS_INPUT; static final int FOCUS_ACCESSIBILITY; static final int MOVEMENT_GRANULARITY_CHARACTER; static final int MOVEMENT_GRANULARITY_WORD; static final int MOVEMENT_GRANULARITY_LINE; static final int MOVEMENT_GRANULARITY_PARAGRAPH; static final int MOVEMENT_GRANULARITY_PAGE; }