/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/util/ |
H A D | ImageCloser.java | 24 public void process(ImageProxy element) { argument 25 element.close();
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/ |
H A D | HtmlTreeBuilder.java | 72 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 D | HtmlDocument.java | 100 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 D | HtmlTree.java | 229 // 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 D | BufferQueueController.java | 27 * 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 D | RefCountedBufferQueueController.java | 32 public void update(@Nonnull T element) { argument 33 mBuffer.get().update(element);
|
H A D | CountableBufferQueue.java | 38 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 D | ConcurrentBufferQueue.java | 48 * 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 D | PointerTrackerQueue.java | 72 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 D | ArrayInitializerFormatter.java | 81 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/Camera2/src/com/android/camera/util/ |
H A D | ConcurrentSharedRingBuffer.java | 33 * 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/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapMessageListing.java | 43 public void add(BluetoothMapMessageListingElement element) { argument 44 mList.add(element); 46 if (!element.getReadBool()) { 115 for (BluetoothMapMessageListingElement element : mList) { 116 element.encode(xmlMsgElement, includeThreadId); // Append the list element
|
H A D | BluetoothMapConvoListing.java | 48 public void add(BluetoothMapConvoListingElement element) { argument 49 mList.add(element); 51 if (element.getReadBool()) { 103 for (BluetoothMapConvoListingElement element : mList) { 104 element.encode(xmlConvoElement); // Append the list element
|
H A D | BluetoothMapFolderElement.java | 36 * Class to contain a single folder element representation. 187 * @return the added folder element. 209 * @return the added folder element. 223 * @return the added folder element. 238 * @return the added folder element. 259 * Returns the subFolder element matching the supplied folder name. 261 * @return the subFolder element if found {@code null} otherwise. 388 BluetoothMapFolderElement element = 390 element.setHasEmailContent(mHasEmailContent); 391 element [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
H A D | AbstractKeyboardBuilder.java | 25 * 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 D | Pools.java | 159 public boolean release(T element) { argument 161 return super.release(element);
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/metadatasynchronizer/ |
H A D | MetadataReleasingImageQueue.java | 61 public void update(@Nonnull ImageProxy element) { argument 62 mOutputQueue.update(new MetadataReleasingImageProxy(element));
|
/packages/apps/Gallery2/src/android/util/ |
H A D | Pools.java | 159 public boolean release(T element) { argument 161 return super.release(element);
|
/packages/apps/Nfc/nci/jni/ |
H A D | RouteDataSet.h | 267 ** element: XML node for one protocol route. 273 void importProtocolRoute(xmlNodePtr& element, Database& database); 280 ** element: XML node for one technology route. 286 void importTechnologyRoute(xmlNodePtr& element, Database& database);
|
H A D | RouteDataSet.cpp | 178 LOG(ERROR) << StringPrintf("%s: fail root element", fn); 310 ** element: XML node for one protocol route. 316 void RouteDataSet::importProtocolRoute(xmlNodePtr& element, argument 328 "%s: element=%s", "RouteDataSet::importProtocolRoute", element->name); 329 value = xmlGetProp(element, id); 345 value = xmlGetProp(element, secElem); 355 value = xmlGetProp(element, switchOn); 361 value = xmlGetProp(element, switchOff); 367 value = xmlGetProp(element, batteryOf 386 importTechnologyRoute(xmlNodePtr& element, Database& database) argument [all...] |
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/ |
H A D | MpegTsMediaCodecAudioTrackRenderer.java | 86 for (StackTraceElement element : e.getStackTrace()) { 87 String elementString = element.toString();
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | HtmlUtils.java | 124 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 D | UnboundedFifoByteBuffer.java | 116 * 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 D | StringUtils.java | 130 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 D | DiagnosticEventBuilder.java | 37 * @param <T> the element type 56 DefaultedArray<T> set(int index, T element) { argument 58 mElements.put(index, element);
|