/frameworks/rs/cpp/ |
H A D | ScriptIntrinsics.cpp | 35 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 D | rsCppStructs.h | 45 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 D | Stream.cpp | 29 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 D | InputSource.cpp | 27 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 D | Strategy.cpp | 28 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 D | aapt.cpp | 50 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 D | Element.java | 24 * <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 D | ScriptIntrinsicColorMatrix.java | 25 * 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 D | ScriptIntrinsic3DLUT.java | 31 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 D | Allocation.java | 47 * 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 D | WhiteBalance.java | 22 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 D | WhiteBalance.java | 21 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 D | WhiteBalance.java | 22 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 D | UT_element.java | 20 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 D | ImageBuffersForRenderScriptd1new.java | 5 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 D | rsElement.cpp | 23 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 D | Allocations.cpp | 83 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 D | jniallocations.cpp | 87 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 D | MainActivity.java | 120 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 D | Serializer.h | 50 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 D | ScriptIntrinsicColorMatrix.java | 22 * 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 D | ScriptIntrinsic3DLUT.java | 29 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 D | XmlActionExecutor_test.cpp | 29 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 D | MainActivity.java | 51 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 D | RootElement.java | 47 * 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;
|