Searched defs:attributes (Results 1 - 10 of 10) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DDownloadRecord.java26 // Only word lists have attributes, and the ContentValues should contain the same
28 // attributes, a null pointer here means this record represents metadata.
30 public DownloadRecord(final String clientId, final ContentValues attributes) { argument
32 mAttributes = attributes;
/packages/apps/Mms/src/com/android/mms/dom/smil/parser/
H A DSmilContentHandler.java56 public void startElement(String uri, String localName, String qName, Attributes attributes) { argument
61 if (attributes != null) {
62 for (int i = 0; i < attributes.getLength(); i++) {
65 " lname = " + attributes.getLocalName(i) +
66 " value = " + attributes.getValue(i));
68 element.setAttribute(attributes.getLocalName(i),
69 attributes.getValue(i));
/packages/apps/Browser/src/com/android/browser/
H A DErrorConsoleView.java66 public ErrorConsoleView(Context context, AttributeSet attributes) { argument
67 super(context, attributes);
214 public ErrorConsoleListView(Context context, AttributeSet attributes) { argument
215 super(context, attributes);
/packages/apps/UnifiedEmail/src/com/android/mail/lib/html/parser/
H A DHtmlParser.java69 // Whitelists for looking up accepted HTML tags and attributes
78 * most browsers. Discards comments, unknown tags and attributes, and
82 * - normalizes whitespace and quotes around tag attributes
596 * Holds any unrecognized attributes we encounter. Only applicable in
646 // nameStart is where we begin scanning for the tag name and attributes,
696 ArrayList<HtmlDocument.TagAttribute> attributes = null;
741 if (attributes == null) {
742 attributes = new ArrayList<HtmlDocument.TagAttribute>();
744 addAttribute(attributes, attributeScanner, nextAttributeStartPos, pos);
789 pos, isSingleTag, attributes);
845 addStartTag(HTML.Element element, final int startPos, final int startAttributesPos, final int endAttributesPos, final int endPos, final boolean isSingleTag, ArrayList<HtmlDocument.TagAttribute> attributes) argument
964 addAttribute(ArrayList<HtmlDocument.TagAttribute> attributes, AttributeScanner scanner, final int startPos, final int endPos) argument
[all...]
H A DHtmlDocument.java99 public static Tag createTag(HTML.Element element, List<TagAttribute> attributes) { argument
100 return createTag(element, attributes, null, null);
108 List<TagAttribute> attributes, String originalHtmlBeforeAttributes,
110 return new Tag(element, attributes, false, originalHtmlBeforeAttributes,
119 List<TagAttribute> attributes) {
120 return createSelfTerminatingTag(element, attributes, null, null);
128 List<TagAttribute> attributes, String originalHtmlBeforeAttributes,
130 return new Tag(element, attributes, true, originalHtmlBeforeAttributes,
507 private List<TagAttribute> attributes; field in class:HtmlDocument.Tag
517 * @param attributes lis
107 createTag(HTML.Element element, List<TagAttribute> attributes, String originalHtmlBeforeAttributes, String originalHtmlAfterAttributes) argument
118 createSelfTerminatingTag(HTML.Element element, List<TagAttribute> attributes) argument
127 createSelfTerminatingTag(HTML.Element element, List<TagAttribute> attributes, String originalHtmlBeforeAttributes, String originalHtmlAfterAttributes) argument
534 Tag(HTML.Element element, List<TagAttribute> attributes, boolean isSelfTerminating, String originalHtmlBeforeAttributes, String originalHtmlAfterAttributes) argument
[all...]
H A DHTML4.java30 * See http://www.w3.org/TR/html401/index/attributes.html
39 /** Map of all attributes */
40 private static final HashMap<String,HTML.Attribute> attributes = Maps.newHashMap(); field in class:HTML4
71 return attributes.get(name.toLowerCase());
83 * @return Unmodifiable Map of all valid HTML4 attributes. Key is lowercase
87 return Collections.unmodifiableMap(attributes);
148 attributes.put(attribute, attr);
260 * All the HTML4 attributes
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
H A DHtmlParser.java69 // Whitelists for looking up accepted HTML tags and attributes
78 * most browsers. Discards comments, unknown tags and attributes, and
82 * - normalizes whitespace and quotes around tag attributes
596 * Holds any unrecognized attributes we encounter. Only applicable in
646 // nameStart is where we begin scanning for the tag name and attributes,
696 ArrayList<HtmlDocument.TagAttribute> attributes = null;
741 if (attributes == null) {
742 attributes = new ArrayList<HtmlDocument.TagAttribute>();
744 addAttribute(attributes, attributeScanner, nextAttributeStartPos, pos);
789 pos, isSingleTag, attributes);
845 addStartTag(HTML.Element element, final int startPos, final int startAttributesPos, final int endAttributesPos, final int endPos, final boolean isSingleTag, ArrayList<HtmlDocument.TagAttribute> attributes) argument
964 addAttribute(ArrayList<HtmlDocument.TagAttribute> attributes, AttributeScanner scanner, final int startPos, final int endPos) argument
[all...]
H A DHtmlDocument.java100 public static Tag createTag(HTML.Element element, List<TagAttribute> attributes) { argument
101 return createTag(element, attributes, null, null);
109 List<TagAttribute> attributes, String originalHtmlBeforeAttributes,
111 return new Tag(element, attributes, false, originalHtmlBeforeAttributes,
120 List<TagAttribute> attributes) {
121 return createSelfTerminatingTag(element, attributes, null, null);
129 List<TagAttribute> attributes, String originalHtmlBeforeAttributes,
131 return new Tag(element, attributes, true, originalHtmlBeforeAttributes,
508 private List<TagAttribute> attributes; field in class:HtmlDocument.Tag
518 * @param attributes lis
108 createTag(HTML.Element element, List<TagAttribute> attributes, String originalHtmlBeforeAttributes, String originalHtmlAfterAttributes) argument
119 createSelfTerminatingTag(HTML.Element element, List<TagAttribute> attributes) argument
128 createSelfTerminatingTag(HTML.Element element, List<TagAttribute> attributes, String originalHtmlBeforeAttributes, String originalHtmlAfterAttributes) argument
535 Tag(HTML.Element element, List<TagAttribute> attributes, boolean isSelfTerminating, String originalHtmlBeforeAttributes, String originalHtmlAfterAttributes) argument
[all...]
H A DHTML4.java31 * See http://www.w3.org/TR/html401/index/attributes.html
40 /** Map of all attributes */
41 private static final HashMap<String,HTML.Attribute> attributes = Maps.newHashMap(); field in class:HTML4
72 return attributes.get(name.toLowerCase());
84 * @return Unmodifiable Map of all valid HTML4 attributes. Key is lowercase
88 return Collections.unmodifiableMap(attributes);
149 attributes.put(attribute, attr);
261 * All the HTML4 attributes
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
H A DFusionDictionary.java309 public DictionaryOptions(final HashMap<String, String> attributes, argument
311 mAttributes = attributes;
512 // make it one by filling in its frequency and other attributes
749 // that has no need for attributes. Implementations that does not read attributes should be
754 // tails that contain attributes, but this code does not take that into account - it does
755 // not compare attributes and will merge terminals with different attributes regardless.

Completed in 215 milliseconds