Searched refs:Element (Results 26 - 50 of 365) sorted by relevance

1234567891011>>

/frameworks/rs/cpp/
H A DScriptIntrinsics.cpp35 ScriptIntrinsic::ScriptIntrinsic(sp<RS> rs, int id, sp<const Element> e)
46 sp<ScriptIntrinsic3DLUT> ScriptIntrinsic3DLUT::create(const sp<RS>& rs, const sp<const Element>& e) {
47 if (e->isCompatible(Element::U8_4(rs)) == false) {
48 rs->throwError(RS_ERROR_INVALID_ELEMENT, "Element not supported for intrinsic");
54 ScriptIntrinsic3DLUT::ScriptIntrinsic3DLUT(sp<RS> rs, sp<const Element> e)
80 sp<ScriptIntrinsicBlend> ScriptIntrinsicBlend::create(const sp<RS>& rs, const sp<const Element>& e) {
81 if (e->isCompatible(Element::U8_4(rs)) == false) {
82 rs->throwError(RS_ERROR_INVALID_ELEMENT, "Element not supported for intrinsic");
88 ScriptIntrinsicBlend::ScriptIntrinsicBlend(sp<RS> rs, sp<const Element> e)
215 sp<ScriptIntrinsicBlur> ScriptIntrinsicBlur::create(const sp<RS>& rs, const sp<const Element>
[all...]
H A DrsCppStructs.h45 class Element;
62 RS_ERROR_INVALID_ELEMENT = 3, ///< An invalid Element was passed to a function
449 sp<const Element> U8;
450 sp<const Element> U8_2;
451 sp<const Element> U8_3;
452 sp<const Element> U8_4;
453 sp<const Element> I8;
454 sp<const Element> I8_2;
455 sp<const Element> I8_3;
456 sp<const Element> I8_
925 class Element : public BaseObj { class in namespace:android::RSC
[all...]
/frameworks/av/services/audiopolicy/engineconfigurable/src/
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
H A DInputSource.cpp27 status_t Element<audio_source_t>::setIdentifier(audio_source_t identifier)
47 status_t Element<audio_source_t>::set(audio_devices_t devices)
63 audio_devices_t Element<audio_source_t>::get<audio_devices_t>() const
H A DStrategy.cpp28 status_t Element<routing_strategy>::setIdentifier(routing_strategy identifier)
47 status_t Element<routing_strategy>::set<audio_devices_t>(audio_devices_t devices)
60 audio_devices_t Element<routing_strategy>::get<audio_devices_t>() const
/frameworks/base/tools/bit/
H A Daapt.cpp50 struct Element { struct
51 Element* parent;
56 vector<Element*> children;
64 Element();
65 ~Element();
68 void FindElements(const string& ns, const string& name, vector<Element*>* result, bool recurse);
72 Element::Element() function in class:Element
76 Element::~Element()
[all...]
/frameworks/rs/support/java/src/android/support/v8/renderscript/
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...]
H A DScriptIntrinsicColorMatrix.java25 * converting it to a {@link Element#F32_4}, multiplying the
28 * conversion back to {@link Element#U8_4}.
45 * Supported elements types are {@link Element#U8_4}
48 * @param e Element type for intputs and outputs
52 public static ScriptIntrinsicColorMatrix create(RenderScript rs, Element e) {
53 if (!e.isCompatible(Element.U8_4(rs))) {
225 if (!ain.getElement().isCompatible(Element.U8(mRS)) &&
226 !ain.getElement().isCompatible(Element.U8_2(mRS)) &&
227 !ain.getElement().isCompatible(Element.U8_3(mRS)) &&
228 !ain.getElement().isCompatible(Element
[all...]
H A DScriptIntrinsic3DLUT.java31 private Element mElement;
35 protected ScriptIntrinsic3DLUT(long id, RenderScript rs, Element e) {
41 * Supported elements types are {@link Element#U8_4}
46 * @param e Element type for intputs and outputs
50 public static ScriptIntrinsic3DLUT create(RenderScript rs, Element e) {
51 if (!e.isCompatible(Element.U8_4(rs))) {
52 throw new RSIllegalArgumentException("Element must be compatible with uchar4.");
70 * {@link android.support.v8.renderscript.Element} as the intrinsic.
H A DAllocation.java47 * more complex Element types, the {@link #copyFromUnchecked} methods can be
84 private Element.DataType validateObjectIsPrimitiveArray(Object d, boolean checkType) {
99 return Element.DataType.SIGNED_64;
107 return Element.DataType.SIGNED_32;
115 return Element.DataType.SIGNED_16;
123 return Element.DataType.SIGNED_8;
130 return Element.DataType.FLOAT_32;
137 return Element.DataType.FLOAT_64;
247 * Get the {@link android.support.v8.renderscript.Element} of the {@link
250 * @return Element
[all...]
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A DWhiteBalance.java22 import android.renderscript.Element;
32 mHist = ScriptIntrinsicHistogram.create(mRS, Element.U8_4(mRS));
33 mSums = Allocation.createSized(mRS, Element.I32_3(mRS), 256);
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
H A DWhiteBalance.java21 import android.support.v8.renderscript.Element;
31 mHist = ScriptIntrinsicHistogram.create(mRS, Element.U8_4(mRS));
32 mSums = Allocation.createSized(mRS, Element.I32_4(mRS), 256);
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A DWhiteBalance.java22 import android.renderscript.Element;
32 mHist = ScriptIntrinsicHistogram.create(mRS, Element.U8_4(mRS));
33 mSums = Allocation.createSized(mRS, Element.I32_3(mRS), 256);
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
H A DUT_element.java20 import android.renderscript.Element;
21 import android.renderscript.Element.DataKind;
22 import android.renderscript.Element.DataType;
26 Element simpleElem;
27 Element complexElem;
69 super(rstc, "Element", ctx);
73 simpleElem = Element.F32_3(RS);
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/d1new/
H A DImageBuffersForRenderScriptd1new.java5 import android.support.v8.renderscript.Element;
52 renderScript, Element.F32_4(renderScript),
55 renderScript, Element.U8(renderScript),
58 renderScript, Element.U8(renderScript),
61 renderScript, Element.U8(renderScript),
64 renderScript, Element.U8(renderScript),
67 renderScript, Element.F32_4(renderScript),
70 renderScript, Element.F32_4(renderScript),
/frameworks/rs/
H A DrsElement.cpp23 Element::Element(Context *rsc) : ObjectBase(rsc) { function in class:android::renderscript::Element
32 Element::~Element() {
36 void Element::operator delete(void* ptr) {
38 Element *e = (Element*) ptr;
43 void Element::preDestroy() const {
53 void Element::clear() {
71 size_t Element
[all...]
/frameworks/rs/tests/lldb/cpp/Allocations/
H A DAllocations.cpp83 Type::Builder typeI8Builder(mRS, Element::I8(mRS));
89 mChar2Allocation = Allocation::createSized(mRS, Element::I8_2(mRS), mAllocSize / 2);
90 mChar3Allocation = Allocation::createSized(mRS, Element::I8_3(mRS), mAllocSize / 4);
91 mChar4Allocation = Allocation::createSized(mRS, Element::I8_4(mRS), mAllocSize / 4);
93 Type::Builder typeI16_2Builder(mRS, Element::I16_2(mRS));
98 mShortAllocation = Allocation::createSized(mRS, Element::I16(mRS), mAllocSize);
100 mShort3Allocation = Allocation::createSized(mRS, Element::I16_3(mRS), mAllocSize / 4);
101 mShort4Allocation = Allocation::createSized(mRS, Element::I16_4(mRS), mAllocSize / 4);
103 Type::Builder typeI32_3Builder(mRS, Element::I32_3(mRS));
107 mIntAllocation = Allocation::createSized(mRS, Element
[all...]
/frameworks/rs/tests/lldb/jni/Allocations/jniallocations/
H A Djniallocations.cpp87 Type::Builder typeI8Builder(mRS, Element::I8(mRS));
93 mChar2Allocation = Allocation::createSized(mRS, Element::I8_2(mRS), mAllocSize / 2);
94 mChar3Allocation = Allocation::createSized(mRS, Element::I8_3(mRS), mAllocSize / 4);
95 mChar4Allocation = Allocation::createSized(mRS, Element::I8_4(mRS), mAllocSize / 4);
97 Type::Builder typeI16_2Builder(mRS, Element::I16_2(mRS));
102 mShortAllocation = Allocation::createSized(mRS, Element::I16(mRS), mAllocSize);
104 mShort3Allocation = Allocation::createSized(mRS, Element::I16_3(mRS), mAllocSize / 4);
105 mShort4Allocation = Allocation::createSized(mRS, Element::I16_4(mRS), mAllocSize / 4);
107 Type::Builder typeI32_3Builder(mRS, Element::I32_3(mRS));
111 mIntAllocation = Allocation::createSized(mRS, Element
[all...]
/frameworks/rs/tests/lldb/java/Allocations/src/com/android/rs/allocations/
H A DMainActivity.java120 Type.Builder typeI8Builder = new Type.Builder(mRS, Element.I8(mRS));
127 mChar2Allocation = Allocation.createSized(mRS, Element.I8_2(mRS), mAllocSize / 2);
129 mChar3Allocation = Allocation.createSized(mRS, Element.I8_3(mRS), mAllocSize / 4);
131 mChar4Allocation = Allocation.createSized(mRS, Element.I8_4(mRS), mAllocSize / 4);
134 Type.Builder typeI16_2Builder = new Type.Builder(mRS, Element.I16_2(mRS));
139 mShortAllocation = Allocation.createSized(mRS, Element.I16(mRS), mAllocSize);
143 mShort3Allocation = Allocation.createSized(mRS, Element.I16_3(mRS), mAllocSize / 4);
145 mShort4Allocation = Allocation.createSized(mRS, Element.I16_4(mRS), mAllocSize / 4);
148 Type.Builder typeI32_3Builder = new Type.Builder(mRS, Element.I32_3(mRS));
152 mIntAllocation = Allocation.createSized(mRS, Element
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DSerializer.h50 typedef AudioGain Element; typedef in struct:android::AudioGainTraits
51 typedef sp<Element> PtrElement;
76 typedef AudioProfile Element; typedef in struct:android::AudioProfileTraits
97 typedef IOProfile Element; typedef in struct:android::MixPortTraits
98 typedef sp<Element> PtrElement;
121 typedef DeviceDescriptor Element; typedef in struct:android::DevicePortTraits
143 typedef AudioRoute Element; typedef in struct:android::RouteTraits
167 typedef HwModule Element; typedef in struct:android::ModuleTraits
168 typedef sp<Element> PtrElement;
204 typedef VolumeCurve Element; typedef in struct:android::VolumeTraits
229 typedef AudioPolicyConfig Element; typedef in class:android::PolicySerializer
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DScriptIntrinsicColorMatrix.java22 * If the element type is {@link Element.DataType#UNSIGNED_8},
23 * it is converted to {@link Element.DataType#FLOAT_32} and
25 * is less than four, a {@link Element#F32_4} is created by
28 * rsMatrixMultiply(), adding a {@link Element#F32_4}, and then
35 * Supported elements types are {@link Element#U8}, {@link
36 * Element#U8_2}, {@link Element#U8_3}, {@link Element#U8_4},
37 * {@link Element#F32}, {@link Element#F32_
[all...]
H A DScriptIntrinsic3DLUT.java29 private Element mElement;
31 private ScriptIntrinsic3DLUT(long id, RenderScript rs, Element e) {
37 * Supported elements types are {@link Element#U8_4}
42 * @param e Element type for intputs and outputs
46 public static ScriptIntrinsic3DLUT create(RenderScript rs, Element e) {
49 if (!e.isCompatible(Element.U8_4(rs))) {
50 throw new RSIllegalArgumentException("Element must be compatible with uchar4.");
59 * The lookup table must use the same {@link android.renderscript.Element} as the intrinsic.
/frameworks/base/tools/aapt2/xml/
H A DXmlActionExecutor_test.cpp29 Element* manifest_el = nullptr;
30 manifest_action.Action([&](Element* manifest) -> bool {
35 Element* application_el = nullptr;
36 application_action.Action([&](Element* application) -> bool {
/frameworks/rs/tests/lldb/java/SingleSource/src/com/android/rs/singlesource/
H A DMainActivity.java51 mAllocIn1 = Allocation.createSized(mRS, Element.F32(mRS), 4);
56 mAllocIn2 = Allocation.createSized(mRS, Element.F32(mRS), 4);
61 mAllocOut = Allocation.createSized(mRS, Element.F32(mRS), 4);
64 mScript.set_global_alloc(Allocation.createSized(mRS, Element.F32(mRS), 4));
/frameworks/base/sax/java/android/sax/
H A DRootElement.java47 * Element entry = root.getChild(ATOM_NAMESPACE, "entry");
66 public class RootElement extends Element {
101 Element current = null;
132 Element child = children.get(uri, localName);
142 Element root = RootElement.this;
147 + Element.toString(uri, localName), locator);
153 void start(Element e, Attributes attributes) {
180 Element current = this.current;

Completed in 497 milliseconds

1234567891011>>