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

12 3 4 5 6 7 8 91011>>

  /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...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
IntrinsicColorMatrix.java 27 Element.DataType dtIn, int vsIn,
28 Element.DataType dtOut, int vsOut,
37 mSi = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS));
41 Element ein = makeElement(dtIn, vsIn);
42 Element eout = makeElement(dtOut, vsOut);
72 private void test(Element.DataType dtin, Element.DataType dtout, int subtest,
132 test(Element.DataType.UNSIGNED_8, Element.DataType.UNSIGNED_8, 0, false);
136 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) {
101 testResize(inX, inX, Element.DataType.UNSIGNED_8, 4, 1.f, 1.f);
105 testResize(inX, inX, Element.DataType.UNSIGNED_8, 3, 1.f, 1.f);
109 testResize(inX, inX, Element.DataType.UNSIGNED_8, 2, 1.f, 1.f);
113 testResize(inX, inX, Element.DataType.UNSIGNED_8, 1, 1.f, 1.f);
118 testResize(inX, inX, Element.DataType.UNSIGNED_8, 4, 2.f, 2.f);
122 testResize(inX, inX, Element.DataType.UNSIGNED_8, 3, 2.f, 2.f);
126 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...]
ScriptIntrinsicConvolve3x3.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}.
45 * @param e Element type for intputs and outputs
49 public static ScriptIntrinsicConvolve3x3 create(RenderScript rs, Element e)
    [all...]
  /frameworks/rs/tests/cppf16/
compute.cpp 8 void testAllocationCreation(sp<RS> rs, sp<const Element> e, uint32_t nDims) {
28 sp<const Element> half = Element::F16(rs);
29 sp<const Element> half2 = Element::F16_2(rs);
30 sp<const Element> half3 = Element::F16_3(rs);
31 sp<const Element> half4 = Element::F16_4(rs);
  /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/support/v8/renderscript/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...]
ScriptIntrinsicConvolve3x3.java 36 * Supported elements types are {@link Element#U8}, {@link
37 * Element#U8_2}, {@link Element#U8_3}, {@link Element#U8_4},
38 * {@link Element#F32}, {@link Element#F32_2}, {@link
39 * Element#F32_3}, and {@link Element#F32_4}.
49 * @param e Element type for intputs and outputs
53 public static ScriptIntrinsicConvolve3x3 create(RenderScript rs, Element e)
    [all...]
ScriptIntrinsicConvolve5x5.java 36 * Supported elements types are {@link Element#U8}, {@link
37 * Element#U8_2}, {@link Element#U8_3}, {@link Element#U8_4},
38 * {@link Element#F32}, {@link Element#F32_2}, {@link
39 * Element#F32_3}, and {@link Element#F32_4}.
51 * @param e Element type for intputs and outputs
55 public static ScriptIntrinsicConvolve5x5 create(RenderScript rs, Element e)
    [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(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...]
  /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/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...]
  /external/skia/src/core/
SkClipStack.cpp 21 SkClipStack::Element::Element(const Element& that) {
46 bool SkClipStack::Element::operator== (const Element& element) const {
47 if (this == &element) {
50 if (fOp != element.fOp ||
51 fType != element.fType ||
52 fDoAA != element.fDoAA |
570 Element* element = (Element*)fDeque.back(); local
589 Element* element = (Element*)fDeque.back(); local
603 Element* element = (Element*)fDeque.back(); local
625 const Element* element = iter.prev(); local
737 Element* element = (Element*) fDeque.back(); local
777 const SkClipStack::Element* element = nullptr; local
    [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 1263 milliseconds

12 3 4 5 6 7 8 91011>>