Searched defs:element (Results 1 - 24 of 24) sorted by relevance

/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/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/Camera2/src/android/util/
H A DPools.java159 public boolean release(T element) { argument
161 return super.release(element);
/packages/apps/Gallery2/src/android/util/
H A DPools.java159 public boolean release(T element) { argument
161 return super.release(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 DBluetoothMapContent.java1273 private BluetoothMapMessageListingElement element(Cursor c, FilterInfo fi, method in class:BluetoothMapContent
2111 e = element(smsCursor, fi, ap);
2145 e = element(mmsCursor, fi, ap);
2181 e = element(emailCursor, fi, ap);
2215 e = element(imCursor, fi, ap);
2883 * Update the convoVersionCounter within the element passed as parameter.
2927 * Update the convoVersionCounter within the element passed as parameter.
/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/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/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/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);
/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/apps/Nfc/nci/jni/
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/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 DHtmlParser.java149 * processing an element or attribute. By default, the parser only uses
603 * @return "Dummy" element. Not useful for any real HTML processing, but
661 // Tag name and element
665 HTML.Element element = null;
679 element = lookupUnknownElement("");
682 element = lookupElement(tagName);
683 if (element == null) {
685 // Unknown element
686 debug("Unknown element: " + tagName);
689 element
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
911 addEndTag(HTML.Element element, final int startPos, final int startAttributesPos, 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);
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...]
/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/Telecomm/libs/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/util/ ...
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...
/packages/apps/TV/libs/
H A Dexoplayer.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer/ ...
H A Dexoplayer_v2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer2/ ...

Completed in 2101 milliseconds