Searched refs:element (Results 1 - 25 of 37) sorted by relevance

12

/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/util/
H A DImageCloser.java24 public void process(ImageProxy element) { argument
25 element.close();
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
H A DHtmlTreeBuilder.java72 HTML.Element element = t.getElement();
73 if (element.isEmpty()) {
82 tree.addStartTag(HtmlDocument.createTag(element,
85 EndTag end = HtmlDocument.createEndTag(element);
90 push(element); // Track the open tags
98 HTML.Element element = t.getElement();
99 int pos = findStartTag(element);
113 logger.finest("Ignoring end tag: " + element.getName());
129 private int findStartTag(HTML.Element element) { argument
132 if (e == element) {
152 push(HTML.Element element) argument
[all...]
H A DHtmlDocument.java100 public static Tag createTag(HTML.Element element, List<TagAttribute> attributes) { argument
101 return createTag(element, attributes, null, null);
108 public static Tag createTag(HTML.Element element, argument
111 return new Tag(element, attributes, false, originalHtmlBeforeAttributes,
119 public static Tag createSelfTerminatingTag(HTML.Element element, argument
121 return createSelfTerminatingTag(element, attributes, null, null);
128 public static Tag createSelfTerminatingTag(HTML.Element element, argument
131 return new Tag(element, attributes, true, originalHtmlBeforeAttributes,
138 public static EndTag createEndTag(HTML.Element element) { argument
139 return createEndTag(element, nul
145 createEndTag(HTML.Element element, String originalHtml) argument
505 private final HTML.Element element; field in class:HtmlDocument.Tag
535 Tag(HTML.Element element, List<TagAttribute> attributes, boolean isSelfTerminating, String originalHtmlBeforeAttributes, String originalHtmlAfterAttributes) argument
699 private final HTML.Element element; field in class:HtmlDocument.EndTag
711 EndTag(HTML.Element element, String originalHtml) argument
[all...]
H A DHtmlTree.java229 // We can only wrap if the last outputted node is an element that
266 // of an element (although this shouldn't happen if the endpoints returned
660 * not within a PRE element.
679 // output if the first piece of text is within a BLOCKQUOTE element.
698 * no intervening element that breaks flow. This is automatically handled
705 * of any element that breaks flow.
761 * appending text in a PRE element.
768 // split() will always return an array with at least one element.
809 * Appends a forced line break, which is the equivalent of a BR element.
911 HTML.Element element
[all...]
/packages/apps/Camera2/src/com/android/camera/async/
H A DBufferQueueController.java27 * Adds the given element to the stream. Streams must support calling this
30 * @param element The element to add.
33 public void update(@Nonnull T element); argument
H A DRefCountedBufferQueueController.java32 public void update(@Nonnull T element) { argument
33 mBuffer.get().update(element);
H A DCountableBufferQueue.java38 public void process(T element) { argument
39 mProcessor.process(element);
66 public void process(T element) {
107 public void update(@Nonnull T element) { argument
109 // the element if the queue is closed. Sending redundant updates for 0
118 mBufferQueue.update(element);
H A DConcurrentBufferQueue.java48 * Implementations should properly close the discarded element, if
51 public void process(T element); argument
104 public void process(T element) {
143 public void update(@Nonnull T element) { argument
148 mQueue.add(makeEntry(element));
152 mUnusedElementProcessor.process(element);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DPointerTrackerQueue.java72 final Element element = expandableArray.get(index);
73 if (element == pointer) {
75 Log.w(TAG, "Found duplicated element in remove: " + pointer);
77 continue; // Remove this element from the expandableArray.
80 // Shift this element toward the beginning of the expandableArray.
81 expandableArray.set(newIndex, element);
104 final Element element = expandableArray.get(index);
105 if (element == pointer) {
108 if (!element.isModifier()) {
109 element
[all...]
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
H A DArrayInitializerFormatter.java81 public void outElement(final String element) { argument
82 if (!element.equals(mLastElement)) {
86 final int nextLen = mBufferedLen + " ".length() + element.length();
90 mBuffer.append(element);
98 mBuffer.append(element);
99 mBufferedLen = element.length();
102 mLastElement = element;
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapMessageListing.java39 public void add(BluetoothMapMessageListingElement element) { argument
40 mList.add(element);
42 if (element.getReadBool())
100 for (BluetoothMapMessageListingElement element : mList) {
101 element.encode(xmlMsgElement, includeThreadId); // Append the list element
H A DBluetoothMapConvoListing.java47 public void add(BluetoothMapConvoListingElement element) { argument
48 mList.add(element);
50 if (element.getReadBool())
105 for (BluetoothMapConvoListingElement element : mList) {
106 element.encode(xmlConvoElement); // Append the list element
H A DBluetoothMapFolderElement.java36 * Class to contain a single folder element representation.
182 * @return the added folder element.
200 * @return the added folder element.
212 * @return the added folder element.
225 * @return the added folder element.
243 * Returns the subFolder element matching the supplied folder name.
245 * @return the subFolder element if found {@code null} otherwise.
359 BluetoothMapFolderElement element =
361 element.setHasEmailContent(mHasEmailContent);
362 element
[all...]
/packages/apps/Camera2/src/com/android/camera/util/
H A DConcurrentSharedRingBuffer.java33 * the least element may be swapped out for a new element at any time. Elements
36 * This class enforces the invariant that a new element can always be swapped
37 * in. Thus, requests to pin an element for a particular task may be denied if
48 * Called if the buffer is under-capacity and a new element is being
51 * @return the new element to add.
56 * Called if the buffer is full and an old element must be swapped out
57 * to make room for the new element.
59 * @param oldElement the element being removed from the buffer.
60 * @return the new element t
94 select(E element) argument
118 Pinnable(E element) argument
[all...]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
H A DAbstractKeyboardBuilder.java25 * may have different number of elements. A element of a keyboard can be specified by a row number
28 * @param <E> the type of a keyboard element. A keyboard element must be an immutable object.
34 // Returns an instance of default element.
52 * shared with this builder. Therefore a element must be an immutable object.
64 * @return the array of the array of the element being constructed.
110 * Set or insert an element at specified position.
111 * @param row the row number to set or insert the <code>element</code>.
112 * @param column the column number to set or insert the <code>element</code>.
113 * @param element th
118 setElementAt(final int row, final int column, final E element, final boolean insert) argument
[all...]
/packages/apps/Camera2/src/android/util/
H A DPools.java159 public boolean release(T element) { argument
161 return super.release(element);
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/metadatasynchronizer/
H A DMetadataReleasingImageQueue.java61 public void update(@Nonnull ImageProxy element) { argument
62 mOutputQueue.update(new MetadataReleasingImageProxy(element));
/packages/apps/Gallery2/src/android/util/
H A DPools.java159 public boolean release(T element) { argument
161 return super.release(element);
/packages/apps/Nfc/nci/jni/
H A DRouteDataSet.h286 ** element: XML node for one protocol route.
292 void importProtocolRoute (xmlNodePtr& element, Database& database);
300 ** element: XML node for one technology route.
306 void importTechnologyRoute (xmlNodePtr& element, Database& database);
H A DRouteDataSet.cpp186 ALOGE("%s: fail root element", fn);
326 ** element: XML node for one protocol route.
332 void RouteDataSet::importProtocolRoute (xmlNodePtr& element, Database& database) argument
343 ALOGV_IF(sDebug, "%s: element=%s", "RouteDataSet::importProtocolRoute", element->name);
344 value = xmlGetProp (element, id);
359 value = xmlGetProp (element, secElem);
368 value = xmlGetProp (element, switchOn);
375 value = xmlGetProp (element, switchOff);
382 value = xmlGetProp (element, batteryOf
403 importTechnologyRoute(xmlNodePtr& element, Database& database) argument
[all...]
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/audio/
H A DMpegTsMediaCodecAudioTrackRenderer.java86 for (StackTraceElement element : e.getStackTrace()) {
87 String elementString = element.toString();
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DHtmlUtils.java124 HTML.Element element = tag.getElement();
126 !lastSeen.tag.getElement().equals(element)) { }
134 if (HTML4.B_ELEMENT.equals(element)) {
137 } else if (HTML4.I_ELEMENT.equals(element)) {
140 } else if (HTML4.U_ELEMENT.equals(element)) {
143 } else if (HTML4.A_ELEMENT.equals(element)) {
151 } else if (HTML4.BLOCKQUOTE_ELEMENT.equals(element)) {
154 } else if (HTML4.FONT_ELEMENT.equals(element)) {
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/
H A DUnboundedFifoByteBuffer.java116 * Adds the given element to this buffer.
176 byte element = buffer[head];
183 return element;
244 // First element can be removed quickly
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
H A DStringUtils.java130 for (final String element : array) {
131 if (text.equals(element)) {
165 for (final String element : elements) {
166 if (!text.equals(element)) {
167 result.add(element);
635 public String stringize(@Nullable final E element) { argument
636 if (element == null) {
639 return element.toString();
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/
H A DDiagnosticEventBuilder.java37 * @param <T> the element type
56 DefaultedArray<T> set(int index, T element) { argument
58 mElements.put(index, element);

Completed in 1932 milliseconds

12