Home
last modified time | relevance | path

Searched refs:element (Results 1 – 25 of 48) sorted by relevance

12

/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
DHtmlTreeBuilder.java72 HTML.Element element = t.getElement(); in visitTag() local
73 if (element.isEmpty()) { in visitTag()
82 tree.addStartTag(HtmlDocument.createTag(element, in visitTag()
85 EndTag end = HtmlDocument.createEndTag(element); in visitTag()
90 push(element); // Track the open tags in visitTag()
98 HTML.Element element = t.getElement(); in visitEndTag() local
99 int pos = findStartTag(element); in visitEndTag()
113 logger.finest("Ignoring end tag: " + element.getName()); in visitEndTag()
129 private int findStartTag(HTML.Element element) { in findStartTag() argument
132 if (e == element) { in findStartTag()
[all …]
DHtmlDocument.java100 public static Tag createTag(HTML.Element element, List<TagAttribute> attributes) { in createTag() argument
101 return createTag(element, attributes, null, null); in createTag()
108 public static Tag createTag(HTML.Element element, in createTag() argument
111 return new Tag(element, attributes, false, originalHtmlBeforeAttributes, in createTag()
119 public static Tag createSelfTerminatingTag(HTML.Element element, in createSelfTerminatingTag() argument
121 return createSelfTerminatingTag(element, attributes, null, null); in createSelfTerminatingTag()
128 public static Tag createSelfTerminatingTag(HTML.Element element, in createSelfTerminatingTag() argument
131 return new Tag(element, attributes, true, originalHtmlBeforeAttributes, in createSelfTerminatingTag()
138 public static EndTag createEndTag(HTML.Element element) { in createEndTag() argument
139 return createEndTag(element, null); in createEndTag()
[all …]
DHtmlParser.java665 HTML.Element element = null; in scanTag() local
679 element = lookupUnknownElement(""); in scanTag()
682 element = lookupElement(tagName); in scanTag()
683 if (element == null) { in scanTag()
689 element = lookupUnknownElement(tagName); in scanTag()
719 if (element != null) { in scanTag()
720 addEndTag(element, start, allAttributesStartPos, pos); in scanTag()
740 if (element != null) { in scanTag()
777 if (element != null) { in scanTag()
779 addEndTag(element, start, allAttributesStartPos, pos); in scanTag()
[all …]
DHtmlTree.java911 HTML.Element element = tag.getElement();
913 if (BLANK_LINE_ELEMENTS.contains(element)) {
916 } else if (HTML4.BR_ELEMENT.equals(element)) {
920 } else if (element.breaksFlow()) {
924 if (HTML4.HR_ELEMENT.equals(element)) {
930 if (HTML4.BLOCKQUOTE_ELEMENT.equals(element)) {
933 } else if (HTML4.PRE_ELEMENT.equals(element)) {
935 } else if (HTML4.STYLE_ELEMENT.equals(element)) {
943 HTML.Element element = endTag.getElement();
945 if (BLANK_LINE_ELEMENTS.contains(element)) {
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DPointerTrackerQueue.java72 final Element element = expandableArray.get(index); in remove() local
73 if (element == pointer) { in remove()
81 expandableArray.set(newIndex, element); in remove()
104 final Element element = expandableArray.get(index); in releaseAllPointersOlderThan() local
105 if (element == pointer) { in releaseAllPointersOlderThan()
108 if (!element.isModifier()) { in releaseAllPointersOlderThan()
109 element.onPhantomUpEvent(eventTime); in releaseAllPointersOlderThan()
114 expandableArray.set(newIndex, element); in releaseAllPointersOlderThan()
121 final Element element = expandableArray.get(index); in releaseAllPointersOlderThan() local
122 if (element == pointer) { in releaseAllPointersOlderThan()
[all …]
/packages/apps/Camera2/src/com/android/camera/util/
DConcurrentSharedRingBuffer.java94 public boolean select(E element); in select() argument
118 public Pinnable(E element) { in Pinnable() argument
119 mElement = element; in Pinnable()
384 Pinnable<E> element = mElements.get(key); in release() local
386 if (element == null) { in release()
391 if (!element.isPinned()) { in release()
396 element.mPins--; in release()
398 if (!element.isPinned()) { in release()
400 mUnpinnedElements.put(key, element); in release()
509 for (Pinnable<E> element : mElements.values()) { in close()
[all …]
/packages/apps/Nfc/nci/jni/
DRouteDataSet.cpp334 void RouteDataSet::importProtocolRoute (xmlNodePtr& element, Database& database) in importProtocolRoute() argument
346 ALOGD_IF (sDebug, "%s: element=%s", fn, element->name); in importProtocolRoute()
347 value = xmlGetProp (element, id); in importProtocolRoute()
362 value = xmlGetProp (element, secElem); in importProtocolRoute()
371 value = xmlGetProp (element, switchOn); in importProtocolRoute()
378 value = xmlGetProp (element, switchOff); in importProtocolRoute()
385 value = xmlGetProp (element, batteryOff); in importProtocolRoute()
406 void RouteDataSet::importTechnologyRoute (xmlNodePtr& element, Database& database) in importTechnologyRoute() argument
418 ALOGD_IF (sDebug, "%s: element=%s", fn, element->name); in importTechnologyRoute()
419 value = xmlGetProp (element, id); in importTechnologyRoute()
[all …]
DRouteDataSet.h292 void importProtocolRoute (xmlNodePtr& element, Database& database);
306 void importTechnologyRoute (xmlNodePtr& element, Database& database);
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
DArrayInitializerFormatter.java81 public void outElement(final String element) { in outElement() argument
82 if (!element.equals(mLastElement)) { in outElement()
86 final int nextLen = mBufferedLen + " ".length() + element.length(); in outElement()
90 mBuffer.append(element); in outElement()
98 mBuffer.append(element); in outElement()
99 mBufferedLen = element.length(); in outElement()
102 mLastElement = element; in outElement()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DHtmlUtils.java124 HTML.Element element = tag.getElement(); in handleEnd() local
126 !lastSeen.tag.getElement().equals(element)) { } in handleEnd()
134 if (HTML4.B_ELEMENT.equals(element)) { in handleEnd()
137 } else if (HTML4.I_ELEMENT.equals(element)) { in handleEnd()
140 } else if (HTML4.U_ELEMENT.equals(element)) { in handleEnd()
143 } else if (HTML4.A_ELEMENT.equals(element)) { in handleEnd()
151 } else if (HTML4.BLOCKQUOTE_ELEMENT.equals(element)) { in handleEnd()
154 } else if (HTML4.FONT_ELEMENT.equals(element)) { in handleEnd()
/packages/apps/Camera2/src/com/android/camera/async/
DCountableBufferQueue.java38 public void process(T element) { in process() argument
39 mProcessor.process(element); in process()
66 public void process(T element) { in CountableBufferQueue()
107 public void update(@Nonnull T element) { in update() argument
118 mBufferQueue.update(element); in update()
DConcurrentBufferQueue.java51 public void process(T element); in process() argument
104 public void process(T element) { in ConcurrentBufferQueue()
143 public void update(@Nonnull T element) { in update() argument
148 mQueue.add(makeEntry(element)); in update()
152 mUnusedElementProcessor.process(element); in update()
DRefCountedBufferQueueController.java32 public void update(@Nonnull T element) { in update() argument
33 mBuffer.get().update(element); in update()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapMessageListing.java40 public void add(BluetoothMapMessageListingElement element) { in add() argument
41 mList.add(element); in add()
43 if (element.getReadBool()) in add()
101 for (BluetoothMapMessageListingElement element : mList) { in encode()
102 element.encode(xmlMsgElement, includeThreadId); // Append the list element in encode()
DBluetoothMapConvoListing.java47 public void add(BluetoothMapConvoListingElement element) { in add() argument
48 mList.add(element); in add()
50 if (element.getReadBool()) in add()
105 for (BluetoothMapConvoListingElement element : mList) { in encode()
106 element.encode(xmlConvoElement); // Append the list element in encode()
DBluetoothMapFolderElement.java361 BluetoothMapFolderElement element = in readFolders() local
363 element.setHasEmailContent(mHasEmailContent); in readFolders()
364 element.setHasImContent(mHasImContent); in readFolders()
365 element.setHasSmsMmsContent(mHasSmsMmsContent); in readFolders()
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
DMapTestData.java108 BluetoothMapConvoListingElement element; in getConvoListingReference() local
110 element = new BluetoothMapConvoListingElement(); in getConvoListingReference()
111 element.setRead(read, reportRead); in getConvoListingReference()
112 element.setVersionCounter(0); in getConvoListingReference()
117 element.addContact(contact); in getConvoListingReference()
118 list.add(element); in getConvoListingReference()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DStringUtils.java130 for (final String element : array) { in containsInArray()
131 if (text.equals(element)) { in containsInArray()
165 for (final String element : elements) { in removeFromCommaSplittableTextIfExists()
166 if (!text.equals(element)) { in removeFromCommaSplittableTextIfExists()
167 result.add(element); in removeFromCommaSplittableTextIfExists()
635 public String stringize(@Nullable final E element) { in stringize() argument
636 if (element == null) { in stringize()
639 return element.toString(); in stringize()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DAbstractKeyboardBuilder.java118 void setElementAt(final int row, final int column, final E element, final boolean insert) { in setElementAt() argument
133 newElements[columnIndex] = element; in setElementAt()
140 newElements[columnIndex] = element; in setElementAt()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/util/
DImageCloser.java24 public void process(ImageProxy element) { in process() argument
25 element.close(); in process()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/metadatasynchronizer/
DMetadataReleasingImageQueue.java61 public void update(@Nonnull ImageProxy element) { in update() argument
62 mOutputQueue.update(new MetadataReleasingImageProxy(element)); in update()
/packages/apps/Camera2/src/android/util/
DPools.java159 public boolean release(T element) { in release() argument
161 return super.release(element); in release()
/packages/apps/Gallery2/src/android/util/
DPools.java159 public boolean release(T element) { in release() argument
161 return super.release(element); in release()
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/
DUnboundedFifoByteBuffer.java176 byte element = buffer[head]; in remove()
183 return element; in remove()

12