boolean function ( AccessibilityNodeInfo arg0 ) { boolean loc0 = arg0 . isClickable ( ) && arg0 . isEnabled ( ) && safeCharSeqToString ( arg0 . getContentDescription ( ) ) . isEmpty ( ) && safeCharSeqToString ( arg0 . getText ( ) ) . isEmpty ( ) ; if ( ! loc0 ) return true ; return childNafCheck ( arg0 ) ; }
we 're looking for ui controls that are enabled , clickable but have no text nor content-description . such controls configuration indicate an interactive control is present in the ui and is most likely not accessibility friendly . we refer to such controls here as naf controls not accessibility friendly concode_field_sep Pattern XML10Pattern concode_elem_sep String LOGTAG concode_elem_sep String[] NAF_EXCLUDED_CLASSES concode_field_sep boolean nafExcludedClass concode_elem_sep String safeCharSeqToString concode_elem_sep boolean childNafCheck concode_elem_sep void dumpNodeRec concode_elem_sep String stripInvalidXMLChars concode_elem_sep void dumpWindowToFile