• Home
  • Raw
  • Download

Lines Matching refs:text

753   def inner(text):  argument
755 text += '\n\n<b>Units</b>: %s\n' % (dedent(entry.units))
757 text += '\n\n<b>Possible values:</b>\n<ul>\n'
760 text += ' <li>{@link #%s %s}</li>\n' % ( jenum_value(entry, value ), value.name )
761 text += '</ul>\n'
764 text += '\n\n<b>Available values for this device:</b><br>\n'
766 text += '\n\n<b>Range of valid values:</b><br>\n'
767 text += '%s\n' % (dedent(entry.range))
769 text += '\n\n<b>Optional</b> - The value for this key may be {@code null} on some devices.\n'
771 text += \
776 text += \
781 text += "\nThis key is available on all devices."
783text += "\n\n<b>Permission {@link android.Manifest.permission#CAMERA} is needed to access this pro…
785 return text
823 def javadoc_formatter(text): argument
827 javatext = md(text, JAVADOC_IMAGE_SRC_METADATA)
856 text = '\n'
858 text = text + '\n@see %s#%s' % (kind_mapping[node.kind],
861 return text if text != '\n' else ''
911 def ndkdoc_formatter(text): argument
914 ndktext = md(text, NDKDOC_IMAGE_SRC_METADATA, False)
952 text = '\n'
954 text = text + '\n@see %s' % (csym(ndk(node.name)))
956 return text if text != '\n' else ''
1010 def hidldoc_formatter(text): argument
1013 hidltext = md(text, NDKDOC_IMAGE_SRC_METADATA, False)
1046 text = '\n'
1048 text = text + '\n@see %s' % (csym(node.name))
1050 return text if text != '\n' else ''
1069 def dedent(text): argument
1086 text = textwrap.dedent(text)
1087 text_lines = text.split('\n')
1090 text = text_lines[0] + "\n" + text_not_first
1092 return text
1094 def md(text, img_src_prefix="", table_ext=True): argument
1135 text = dedent(text)
1140 text = markdown.markdown(text, md_extensions)
1143 text = re.sub(r'src="([^"]*)"', 'src="' + img_src_prefix + r'\1"', text)
1144 return text
1146 def filter_tags(text, metadata, filter_function, summary_function = None): argument
1234 text = re.sub(tag_match, filter_sub, text)
1237 return text + summary_function(sorted(tag_set, key=lambda x: x.name))
1239 return text
1241 def ndk_replace_tag_wildcards(text, metadata): argument
1259 text = re.sub(tag_match, filter_sub, text)
1260 text = re.sub(tag_match_2, filter_sub_2, text)
1261 return text
1263 def filter_links(text, filter_function, summary_function = None): argument
1301 text = re.sub(tag_match, filter_sub, text)
1304 return text + summary_function(sorted(target_set))
1306 return text
1426 def wbr(text): argument
1446 def wbr_filter(text): argument
1447 new_txt = text
1451 for words in text.split(" "):
1465 soup = bs4.BeautifulSoup(text, features='html.parser')
1468 for navigable_string in soup.findAll(text=True):