Searched refs:Element (Results 1 - 25 of 314) sorted by relevance

1234567891011>>

/frameworks/av/services/audiopolicy/engineconfigurable/src/
H A DInputSource.h19 #include "Element.h"
28 * @tparam audio_source_t Policy Base Element identified by the audio_source_t definition.
31 class Element<audio_source_t> class in namespace:android::audio_policy
34 Element(const std::string &name) function in class:android::audio_policy::Element
38 ~Element() {}
75 Element(const Element &object);
76 Element &operator=(const Element &object);
84 typedef Element<audio_source_
[all...]
H A DStrategy.h19 #include "Element.h"
31 class Element<routing_strategy> class in namespace:android::audio_policy
34 Element(const std::string &name) function in class:android::audio_policy::Element
38 ~Element() {}
75 Element(const Element &object);
76 Element &operator=(const Element &object);
84 typedef Element<routing_strategy> Strategy;
H A DStream.h19 #include "Element.h"
32 class Element<audio_stream_type_t> class in namespace:android::audio_policy
35 Element(const std::string &name) function in class:android::audio_policy::Element
39 ~Element() {}
76 Element(const Element &object);
77 Element &operator=(const Element &object);
87 typedef Element<audio_stream_type_t> Stream;
H A DUsage.h19 #include "Element.h"
31 class Element<audio_usage_t> class in namespace:android::audio_policy
34 Element(const std::string &name) function in class:android::audio_policy::Element
38 ~Element() {}
75 Element(const Element &object);
76 Element &operator=(const Element &object);
83 typedef Element<audio_usage_t> Usage;
H A DElement.h31 class Element class in namespace:android::audio_policy
34 Element(const std::string &name) function in class:android::audio_policy::Element
37 ~Element() {}
92 Element(const Element &object);
93 Element &operator=(const Element &object);
H A DUsage.cpp26 status_t Element<audio_usage_t>::setIdentifier(audio_usage_t identifier)
37 status_t Element<audio_usage_t>::set<routing_strategy>(routing_strategy strategy)
48 routing_strategy Element<audio_usage_t>::get<routing_strategy>() const
H A DStream.cpp29 status_t Element<audio_stream_type_t>::setIdentifier(audio_stream_type_t identifier)
48 status_t Element<audio_stream_type_t>::set<routing_strategy>(routing_strategy strategy)
59 routing_strategy Element<audio_stream_type_t>::get<routing_strategy>() const
66 status_t Element<audio_stream_type_t>::set<audio_stream_type_t>(audio_stream_type_t volumeProfile)
77 audio_stream_type_t Element<audio_stream_type_t>::get<audio_stream_type_t>() const
/frameworks/rs/driver/
H A DrsdElement.cpp25 bool rsdElementInit(const Context *, const Element *e) {
29 void rsdElementDestroy(const Context *rsc, const Element *e) {
33 const Element *element,
H A DrsdElement.h24 const android::renderscript::Element *);
27 const android::renderscript::Element *);
30 const android::renderscript::Element *,
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
H A DAnnotationUtil.java23 import javax.lang.model.element.Element;
31 static List<Element> getElementsAnnotatedWith(RoundEnvironment roundEnv,
33 ArrayList<Element> elements = new ArrayList<Element>();
34 for (Element element : roundEnv.getElementsAnnotatedWith(annotationClass)) {
/frameworks/base/rs/java/android/renderscript/
H A DScriptIntrinsicConvolve5x5.java32 * 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
[all...]
H A DScriptIntrinsicResize.java30 * 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}
53 Element e = ain.getElement();
54 if (!e.isCompatible(Element
[all...]
H A DScriptIntrinsicHistogram.java36 * {@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
[all...]
H A DScriptIntrinsicConvolve3x3.java32 * 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
[all...]
H A DElement.java20 * <p>An Element represents one item within an {@link
21 * android.renderscript.Allocation}. An Element is roughly equivalent to a C
35 * android.renderscript.Element.DataType} and a {@link
36 * android.renderscript.Element.DataKind}. The DataType encodes C type
37 * information of an Element, while the DataKind encodes how that Element should
40 * android.renderscript.Element.DataKind#USER} cannot be used as input for a
44 * as {@link android.renderscript.Element#RGBA_8888} or {@link
45 * android.renderscript#Element.A_8}.</p>
53 public class Element extend class in inherits:BaseObj
1059 Element(long id, RenderScript rs, Element[] e, String[] n, int[] as) { method in class:Element
1077 Element(long id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) { method in class:Element
1097 Element(long id, RenderScript rs) { method in class:Element
[all...]
/frameworks/rs/tests/cppf16/
H A Dcompute.cpp8 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);
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptIntrinsicHistogram.java40 * {@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
[all...]
H A DScriptIntrinsicConvolve3x3.java36 * 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
[all...]
H A DScriptIntrinsicConvolve5x5.java36 * 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
[all...]
H A DScriptIntrinsicResize.java34 * Supported elements types are {@link Element#U8}, {@link
35 * Element#U8_2}, {@link Element#U8_3}, {@link Element#U8_4}
36 * {@link Element#F32}, {@link Element#F32_2}, {@link
37 * Element#F32_3}, {@link Element#F32_4}
63 Element e = ain.getElement();
64 if (!e.isCompatible(Element
[all...]
H A DElement.java24 * <p>An Element represents one item within an {@link
25 * android.support.v8.renderscript.Allocation}. An Element is roughly
40 * android.support.v8.renderscript.Element.DataType} and a {@link
41 * android.support.v8.renderscript.Element.DataKind}. The DataType encodes C
42 * type information of an Element, while the DataKind encodes how that Element
45 * DataKind {@link android.support.v8.renderscript.Element.DataKind#USER} cannot
50 * {@link android.support.v8.renderscript.Element#RGBA_8888} or {@link
51 * android.support.v8.renderscript#Element.A_8}.</p>
61 public class Element extend class in inherits:BaseObj
717 Element(long id, RenderScript rs, Element[] e, String[] n, int[] as) { method in class:Element
734 Element(long id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) { method in class:Element
753 Element(long id, RenderScript rs) { method in class:Element
[all...]
/frameworks/base/sax/java/android/sax/
H A DElement.java30 public class Element { class
35 final Element parent;
38 ArrayList<Element> requiredChilden;
46 Element(Element parent, String uri, String localName, int depth) { method in class:Element
57 public Element getChild(String localName) {
64 public Element getChild(String uri, String localName) {
83 public Element requireChild(String localName) {
92 public Element requireChild(String uri, String localName) {
93 Element chil
[all...]
/frameworks/rs/
H A DrsElement.h37 class Element : public ObjectBase { class in namespace:android::renderscript
49 const Element **fields;
87 const Element * getField(uint32_t idx) const {return mFields[idx].e.get();}
101 static Element *createFromStream(Context *rsc, IStream *stream);
103 static ObjectBaseRef<const Element> createRef(Context *rsc,
108 static ObjectBaseRef<const Element> createRef(Context *rsc, size_t count,
109 const Element **,
114 static const Element* create(Context *rsc,
119 ObjectBaseRef<const Element> elem = createRef(rsc, dt, dk, isNorm, vecSize);
123 static const Element* creat
[all...]
/frameworks/rs/cpp/
H A DElement.cpp26 android::RSC::sp<const Element> Element::getSubElement(uint32_t index) {
28 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Element contains no sub-elements");
38 const char * Element::getSubElementName(uint32_t index) {
40 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Element contains no sub-elements");
50 size_t Element::getSubElementArraySize(uint32_t index) {
52 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Element contains no sub-elements");
62 uint32_t Element::getSubElementOffsetBytes(uint32_t index) {
64 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Element contains no sub-elements");
75 #define CREATE_USER(N, T) android::RSC::sp<const Element> Elemen
178 Element::Element(void *id, android::RSC::sp<RS> rs, function in class:Element
217 Element::Element(void *id, android::RSC::sp<RS> rs) : function in class:Element
274 Element::Element(void *id, android::RSC::sp<RS> rs, function in class:Element
432 add(android::RSC::sp<const Element>e, const char * name, uint32_t arraySize) argument
[all...]
H A DScriptIntrinsics.cpp25 ScriptIntrinsic::ScriptIntrinsic(sp<RS> rs, int id, sp<const Element> e)
36 sp<ScriptIntrinsic3DLUT> ScriptIntrinsic3DLUT::create(sp<RS> rs, sp<const Element> e) {
37 if (e->isCompatible(Element::U8_4(rs)) == false) {
38 rs->throwError(RS_ERROR_INVALID_ELEMENT, "Element not supported for intrinsic");
44 ScriptIntrinsic3DLUT::ScriptIntrinsic3DLUT(sp<RS> rs, sp<const Element> e)
70 sp<ScriptIntrinsicBlend> ScriptIntrinsicBlend::create(sp<RS> rs, sp<const Element> e) {
71 if (e->isCompatible(Element::U8_4(rs)) == false) {
72 rs->throwError(RS_ERROR_INVALID_ELEMENT, "Element not supported for intrinsic");
78 ScriptIntrinsicBlend::ScriptIntrinsicBlend(sp<RS> rs, sp<const Element> e)
205 sp<ScriptIntrinsicBlur> ScriptIntrinsicBlur::create(sp<RS> rs, sp<const Element>
[all...]

Completed in 1519 milliseconds

1234567891011>>