HomeSort by relevance Sort by last modified time
    Searched refs:Element (Results 26 - 50 of 1630) sorted by null

12 3 4 5 6 7 8 91011>>

  /frameworks/av/services/audiopolicy/engineconfigurable/src/
Element.h 31 class Element
34 Element(const std::string &name)
37 ~Element() {}
40 * Returns identifier of this policy element
42 * @returns string representing the name of this policy element
47 * Set the unique identifier for this policy element.
61 * @return the unique identifier of this policy element.
66 * A Policy element may implement getter/setter function for a given property.
70 * @tparam Property for which this policy element has setter / getter.
71 * @return the property kept track by this policy base element
    [all...]
  /external/caliper/examples/src/main/java/examples/
ListModificationBenchmark.java 33 private enum Element {
38 @Override List<Element> create() {
39 return new ArrayList<Element>();
43 @Override List<Element> create() {
44 return new LinkedList<Element>();
48 abstract List<Element> create();
57 private List<Element> list;
62 list.add(Element.INSTANCE);
68 List<Element> list = implementation.create();
70 list.add(Element.INSTANCE)
    [all...]
  /frameworks/rs/tests/cpp_api/cppf16/
compute.cpp 4 using android::RSC::Element;
11 void testAllocationCreation(const sp<RS>& rs, const sp<const Element>& e, uint32_t nDims) {
34 sp<const Element> half = Element::F16(rs);
35 sp<const Element> half2 = Element::F16_2(rs);
36 sp<const Element> half3 = Element::F16_3(rs);
37 sp<const Element> half4 = Element::F16_4(rs)
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
IntrinsicColorMatrix.java 36 Element.DataType dtIn, int vsIn,
37 Element.DataType dtOut, int vsOut,
46 mSi = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS));
50 Element ein = makeElement(dtIn, vsIn);
51 Element eout = makeElement(dtOut, vsOut);
81 private void test(Element.DataType dtin, Element.DataType dtout, int subtest,
141 test(Element.DataType.UNSIGNED_8, Element.DataType.UNSIGNED_8, 0, false);
145 test(Element.DataType.FLOAT_32, Element.DataType.FLOAT_32, 0, false)
    [all...]
TypeTest.java 19 import android.renderscript.Element;
33 void testTypeBuilderHelper(Element e) {
49 testTypeBuilderHelper(Element.A_8(mRS));
50 testTypeBuilderHelper(Element.RGB_565(mRS));
51 testTypeBuilderHelper(Element.RGB_888(mRS));
52 testTypeBuilderHelper(Element.RGBA_8888(mRS));
53 testTypeBuilderHelper(Element.F32(mRS));
54 testTypeBuilderHelper(Element.F32_2(mRS));
55 testTypeBuilderHelper(Element.F32_3(mRS));
56 testTypeBuilderHelper(Element.F32_4(mRS))
    [all...]
IntrinsicResize.java 27 private void testResize(int w, int h, Element.DataType dt, int vecSize, float scaleX, float scaleY) {
29 Element e = makeElement(dt, vecSize);
55 if (dt == Element.DataType.UNSIGNED_8) {
104 testResize(inX, inX, Element.DataType.UNSIGNED_8, 4, 1.f, 1.f);
108 testResize(inX, inX, Element.DataType.UNSIGNED_8, 3, 1.f, 1.f);
112 testResize(inX, inX, Element.DataType.UNSIGNED_8, 2, 1.f, 1.f);
116 testResize(inX, inX, Element.DataType.UNSIGNED_8, 1, 1.f, 1.f);
121 testResize(inX, inX, Element.DataType.UNSIGNED_8, 4, 2.f, 2.f);
125 testResize(inX, inX, Element.DataType.UNSIGNED_8, 3, 2.f, 2.f);
129 testResize(inX, inX, Element.DataType.UNSIGNED_8, 2, 2.f, 2.f)
    [all...]
  /external/guice/extensions/multibindings/src/com/google/inject/multibindings/
RealElement.java 25 /** An implementation of Element. */
27 class RealElement implements Element {
32 private final Element.Type type;
35 RealElement(String setName, Element.Type type, String keyType) {
39 RealElement(String setName, Element.Type type, String keyType, int uniqueId) {
54 @Override public Element.Type type() {
63 return Element.class;
67 return "@" + Element.class.getName() + "(setName=" + setName
72 return o instanceof Element
73 && ((Element) o).setName().equals(setName()
    [all...]
  /external/clang/test/SemaCXX/
attr-visibility.cpp 3 template <class Element>
  /frameworks/base/rs/java/android/renderscript/
ScriptIntrinsicConvolve5x5.java 32 * Supported elements types are {@link Element#U8}, {@link
33 * Element#U8_2}, {@link Element#U8_3}, {@link Element#U8_4},
34 * {@link Element#F32}, {@link Element#F32_2}, {@link
35 * Element#F32_3}, and {@link Element#F32_4}.
47 * @param e Element type for intputs and outputs
51 public static ScriptIntrinsicConvolve5x5 create(RenderScript rs, Element e)
    [all...]
ScriptIntrinsicResize.java 30 * Supported elements types are {@link Element#U8}, {@link
31 * Element#U8_2}, {@link Element#U8_3}, {@link Element#U8_4}
32 * {@link Element#F32}, {@link Element#F32_2}, {@link
33 * Element#F32_3}, {@link Element#F32_4}
48 * Must match the element type supplied during create.
53 Element e = ain.getElement()
    [all...]
ScriptIntrinsicHistogram.java 36 * {@link Element#U8_4}, {@link Element#U8_3},
37 * {@link Element#U8_2}, {@link Element#U8}
40 * @param e Element type for inputs
44 public static ScriptIntrinsicHistogram create(RenderScript rs, Element e) {
45 if ((!e.isCompatible(Element.U8_4(rs))) &&
46 (!e.isCompatible(Element.U8_3(rs))) &&
47 (!e.isCompatible(Element.U8_2(rs))) &&
48 (!e.isCompatible(Element.U8(rs))))
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
CollectionBenchmarkSampleData.java 38 private final Set<Element> valuesInSet;
39 private final Element[] queries;
59 Set<Element> getValuesInSet() {
63 Element[] getQueries() {
67 private Element[] createQueries(Set<Element> elementsInSet, int numQueries) {
68 List<Element> queryList = Lists.newArrayListWithCapacity(numQueries);
81 List<Element> tmp = Lists.newArrayList(elementsInSet);
88 Element candidate = newElement();
94 return queryList.toArray(new Element[0])
    [all...]
  /frameworks/rs/support/java/src/android/support/v8/renderscript/
ScriptIntrinsicHistogram.java 40 * {@link Element#U8_4}, {@link Element#U8_3},
41 * {@link Element#U8_2}, {@link Element#U8}
44 * @param e Element type for inputs
48 public static ScriptIntrinsicHistogram create(RenderScript rs, Element e) {
49 if ((!e.isCompatible(Element.U8_4(rs))) &&
50 (!e.isCompatible(Element.U8_3(rs))) &&
51 (!e.isCompatible(Element.U8_2(rs))) &&
52 (!e.isCompatible(Element.U8(rs))))
    [all...]
  /packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
HTML4.java 38 private static final HashMap<String,HTML.Element> elements = Maps.newHashMap();
48 public HTML.Element lookupElement(String name) {
65 /** Looks for a HTML4 element */
66 public static HTML.Element lookupElement(String name) {
77 * element name.
79 public static Map<String, HTML.Element> getAllElements() {
91 /** Creates and adds a element to the map */
92 private static HTML.Element addElement(String tag, String flags) {
93 return addElement(tag, flags, HTML.Element.Flow.NONE);
96 /** Creates and adds a element to the map *
122 HTML.Element element = new HTML.Element(tag, type, empty, optionalEndTag, breaksFlow, flow); local
    [all...]
  /external/guice/core/src/com/google/inject/spi/
PrivateElements.java 32 public interface PrivateElements extends Element {
37 List<Element> getElements();
  /libcore/luni/src/main/java/org/w3c/dom/ls/
LSParserFilter.java 15 import org.w3c.dom.Element;
25 * The document element is never passed to the <code>LSParserFilter</code>
26 * methods, i.e. it is not possible to filter out the document element.
69 * The parser will call this method after each <code>Element</code> start
71 * <code>Element</code> is processed. The intent is to allow the
72 * element, including any children, to be efficiently skipped. Note that
73 * only element nodes are passed to the <code>startElement</code>
75 * <br>The element node passed to <code>startElement</code> for filtering
76 * will include all of the Element's attributes, but none of the
77 * children nodes. The Element may not yet be in place in the documen
    [all...]
  /frameworks/base/sax/java/android/sax/
Element.java 25 * An XML element. Provides access to child elements and hooks to listen
26 * for events related to this element.
30 public class Element {
35 final Element parent;
38 ArrayList<Element> requiredChilden;
46 Element(Element parent, String uri, String localName, int depth) {
54 * Gets the child element with the given name. Uses an empty string as the
57 public Element getChild(String localName) {
62 * Gets the child element with the given name
    [all...]
  /cts/tests/tests/rscpp/librscpptest/
rs_jni_type.cpp 35 static bool testTypeBuilderHelper(const sp<RS> &mRS, sp<const Element> e) {
72 passed &= testTypeBuilderHelper(mRS, Element::A_8(mRS));
73 passed &= testTypeBuilderHelper(mRS, Element::RGB_565(mRS));
74 passed &= testTypeBuilderHelper(mRS, Element::RGB_888(mRS));
75 passed &= testTypeBuilderHelper(mRS, Element::RGBA_8888(mRS));
76 passed &= testTypeBuilderHelper(mRS, Element::F32(mRS));
77 passed &= testTypeBuilderHelper(mRS, Element::F32_2(mRS));
78 passed &= testTypeBuilderHelper(mRS, Element::F32_3(mRS));
79 passed &= testTypeBuilderHelper(mRS, Element::F32_4(mRS));
80 passed &= testTypeBuilderHelper(mRS, Element::BOOLEAN(mRS))
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
PointerTrackerQueueTests.java 24 public static class Element implements PointerTrackerQueue.Element {
33 public Element(int id) {
62 private final Element mElement1 = new Element(1);
63 private final Element mElement2 = new Element(2);
64 private final Element mElement3 = new Element(3);
65 private final Element mElement4 = new Element(4)
    [all...]
  /external/protobuf/src/google/protobuf/
repeated_field.h 106 template <typename Element>
121 const Element& Get(int index) const;
122 Element* Mutable(int index);
123 void Set(int index, const Element& value);
124 void Add(const Element& value);
125 Element* Add();
126 // Remove the last element in the array.
133 void ExtractSubrange(int start, int num, Element* elements);
146 void AddAlreadyReserved(const Element& value);
147 Element* AddAlreadyReserved()
1883 Element* element = RepeatedPtrFieldBase:: local
    [all...]
  /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/
repeated_field.h 106 template <typename Element>
121 const Element& Get(int index) const;
122 Element* Mutable(int index);
123 void Set(int index, const Element& value);
124 void Add(const Element& value);
125 Element* Add();
126 // Remove the last element in the array.
133 void ExtractSubrange(int start, int num, Element* elements);
146 void AddAlreadyReserved(const Element& value);
147 Element* AddAlreadyReserved()
1883 Element* element = RepeatedPtrFieldBase:: local
    [all...]
  /external/libmojo/mojo/public/cpp/bindings/
binding_set.h 33 auto binding = new Element(impl, std::move(request));
60 class Element {
62 Element(Interface* impl, InterfaceRequest<Interface> request)
65 base::Bind(&Element::OnConnectionError, base::Unretained(this)));
68 ~Element() {}
74 base::WeakPtr<Element> GetWeakPtr() {
90 base::WeakPtrFactory<Element> weak_ptr_factory_;
92 DISALLOW_COPY_AND_ASSIGN(Element);
98 [](const base::WeakPtr<Element>& p) {
108 std::vector<base::WeakPtr<Element>> bindings_
    [all...]
interface_ptr_set.h 26 auto weak_interface_ptr = new Element(std::move(ptr));
49 class Element {
51 explicit Element(Ptr<Interface> ptr)
56 ~Element() {}
62 base::WeakPtr<Element> GetWeakPtr() {
67 static void DeleteElement(Element* element) { delete element; }
70 base::WeakPtrFactory<Element> weak_ptr_factory_;
72 DISALLOW_COPY_AND_ASSIGN(Element);
    [all...]
  /external/autotest/frontend/client/src/autotest/common/table/
FragmentedTable.java 8 import com.google.gwt.user.client.Element;
23 public Element getElement(int row, int column) {
25 Element bodyElem = bodyElems.get(getFragmentIndex(row));
30 * Native method to efficiently get a td element from a tbody. Copied from GWT's
33 private native Element getCellElement(Element tbody, int row, int col) /*-{
38 private List<Element> bodyElems = new ArrayList<Element>();
57 Element tbody = DOM.getFirstChild(getElement());
84 protected RowColumn getCellPosition(Element td)
    [all...]
  /libcore/luni/src/test/java/tests/org/w3c/dom/
HasAttribute.java 3 import org.w3c.dom.Element;
10 * The "hasAttribute()" method for an Element should return true if the element
11 * has an attribute with the given name. Retrieve the first "address" element
12 * and the "hasAttribute()" method should return false since the element does
52 Element testNode;
56 testNode = (Element) elementList.item(4);
65 // Element testNode;
69 // testNode = (Element) elementList.item(0);
76 Element testNode
    [all...]

Completed in 1048 milliseconds

12 3 4 5 6 7 8 91011>>