/frameworks/compile/slang/tests/P_reduce_general_result/ |
H A D | ScriptField_MyStruct.java.expect | 43 private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReference<Element>(null); 44 public static Element createElement(RenderScript rs) { 45 Element.Builder eb = new Element.Builder(rs); 46 eb.add(Element.F32(rs), "f"); 47 eb.add(Element.U32(rs), "#rs_padding_1"); 48 eb.add(Element.F64(rs), "d"); 97 Element e = createElement(rs);
|
/frameworks/base/tools/aapt2/link/ |
H A D | ManifestFixer.cpp | 33 static bool NameIsJavaClassName(xml::Element* el, xml::Attribute* attr, 54 static bool OptionalNameIsJavaClassName(xml::Element* el, SourcePathDiagnostics* diag) { 61 static bool RequiredNameIsJavaClassName(xml::Element* el, SourcePathDiagnostics* diag) { 70 static bool RequiredNameIsJavaPackage(xml::Element* el, SourcePathDiagnostics* diag) { 80 return [=](xml::Element* el, SourcePathDiagnostics* diag) -> bool { 90 static bool AutoGenerateIsFeatureSplit(xml::Element* el, SourcePathDiagnostics* diag) { 120 static bool VerifyManifest(xml::Element* el, SourcePathDiagnostics* diag) { 150 static bool FixCoreAppAttribute(xml::Element* el, SourcePathDiagnostics* diag) { 163 static bool VerifyUsesFeature(xml::Element* el, SourcePathDiagnostics* diag) { 238 manifest_action.Action([&](xml::Element* e [all...] |
/frameworks/base/tools/aapt2/xml/ |
H A D | XmlDom.cpp | 132 std::unique_ptr<Element> el = util::make_unique<Element>(); 228 static void CopyAttributes(Element* el, android::ResXMLParser* parser, StringPool* out_pool) { 299 std::unique_ptr<Element> node = util::make_unique<Element>(); 373 Element* FindRootElement(XmlResource* doc) { 377 Element* FindRootElement(Node* node) { 382 Element* el = nullptr; 383 while ((el = NodeCast<Element>(node)) == nullptr) { 404 Attribute* Element [all...] |
/frameworks/rs/tests/cpp_api/cppbasic/ |
H A D | compute.cpp | 18 sp<const Element> e = Element::RGBA_8888(rs); 19 printf("Element %p\n", e.get()); 47 sp<const Element> failed_e = Element::BOOLEAN(rs); 77 sp<const Element> e = Element::I32(rs);
|
/frameworks/rs/tests/cpp_api/cppbasic-shared/ |
H A D | compute.cpp | 18 sp<const Element> e = Element::RGBA_8888(rs); 19 printf("Element %p\n", e.get()); 47 sp<const Element> failed_e = Element::BOOLEAN(rs); 77 sp<const Element> e = Element::I32(rs);
|
/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/ |
H A D | UT_copy_test.java | 34 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024); 35 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024); 58 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024); 59 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024); 82 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024); 83 Allocation a2 = Allocation.createSized(rs, Element.F32_4(rs), 1024);
|
H A D | UT_element.java | 26 Element simpleElem; 27 Element complexElem; 69 super(rstc, "Element", ctx); 74 simpleElem = Element.F32_3(RS);
|
H A D | UT_script_group2_pointwise.java | 50 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); 59 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE), 64 Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE),
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
H A D | UT_copy_test.java | 34 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024); 35 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024); 58 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024); 59 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024); 82 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024); 83 Allocation a2 = Allocation.createSized(rs, Element.F32_4(rs), 1024);
|
H A D | UT_element.java | 26 Element simpleElem; 27 Element complexElem; 69 super(rstc, "Element", ctx); 74 simpleElem = Element.F32_3(RS);
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsic.h | 71 size_t dataLength, const Element * e, 79 const Element * e, RsScriptIntrinsicID iid); 84 ObjectBaseRef<const Element> mElement;
|
H A D | rsCpuIntrinsicLUT.cpp | 33 RsdCpuScriptIntrinsicLUT(RsdCpuReferenceImpl *ctx, const Script *s, const Element *e); 77 const Script *s, const Element *e) 95 const Script *s, const Element *e) {
|
/frameworks/rs/script_api/ |
H A D | rs_object_info.spec | 20 The functions below can be used to query the characteristics of an Allocation, Element, 46 An Element can specify a simple data types as found in C, e.g. an integer, float, or 58 Elements like <a href='http://developer.android.com/reference/android/renderscript/Element.html#F32_2(android.renderscript.RenderScript)'>F32_2</a>. 60 To create complex Elements, use the <a href='http://developer.android.com/reference/android/renderscript/Element.Builder.html'>Element.Builder</a> Java class. 128 ret: rs_element, "Element describing Allocation layout." 132 Get the Element object describing the type, kind, and other characteristics of a cell 161 This function can be used to check the Element returned by @rsElementGetSubElement() 170 summary: Size of an Element 172 Returns the size in bytes that an instantiation of this Element wil [all...] |
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
H A D | ColorCube.java | 22 import android.renderscript.Element; 47 Type.Builder tb = new Type.Builder(mRS, Element.U8_4(mRS)); 72 mIntrinsic = ScriptIntrinsic3DLUT.create(mRS, Element.U8_4(mRS));
|
H A D | Histogram.java | 32 mHist = ScriptIntrinsicHistogram.create(mRS, Element.U8_4(mRS)); 44 Type.Builder tb = new Type.Builder(mRS, Element.I32(mRS)); 48 mSum = Allocation.createSized(mRS, Element.I32(mRS), 256);
|
H A D | Copy.java | 22 import android.renderscript.Element;
|
H A D | Greyscale.java | 22 import android.renderscript.Element;
|
H A D | GroupTest.java | 22 import android.renderscript.Element; 51 mConvolve = ScriptIntrinsicConvolve3x3.create(mRS, Element.U8_4(mRS)); 52 mMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); 66 Type.Builder tb = new Type.Builder(mRS, Element.U8_4(mRS));
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | Blur25G.java | 23 import android.renderscript.Element; 67 Type.Builder tb = new Type.Builder(mRS, Element.U8(mRS)); 76 mIntrinsic = ScriptIntrinsicBlur.create(mRS, Element.U8(mRS));
|
H A D | ColorCube.java | 22 import android.renderscript.Element; 47 Type.Builder tb = new Type.Builder(mRS, Element.U8_4(mRS)); 72 mIntrinsic = ScriptIntrinsic3DLUT.create(mRS, Element.U8_4(mRS));
|
H A D | Histogram.java | 38 mHist = ScriptIntrinsicHistogram.create(mRS, Element.U8_4(mRS)); 50 Type.Builder tb = new Type.Builder(mRS, Element.I32(mRS)); 54 mSum = Allocation.createSized(mRS, Element.I32(mRS), 256);
|
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/ |
H A D | UT_check_dims.java | 21 import android.renderscript.Element; 37 Type.Builder typeBuilder = new Type.Builder(RS, Element.U8(RS)); 46 typeBuilder = new Type.Builder(RS, Element.I32(RS));
|
H A D | UT_script_group2_pointwise.java | 19 import android.renderscript.Element; 46 Allocation input = Allocation.createSized(pRS, Element.I32_4(pRS), ARRAY_SIZE); 53 Type T = Type.createX(pRS, Element.I32_4(pRS), ARRAY_SIZE);
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | ScriptIntrinsicYuvToRGB.java | 37 * Supported elements types are {@link Element#U8_4} 40 * @param e Element type for output 44 public static ScriptIntrinsicYuvToRGB create(RenderScript rs, Element e) { 53 * Set the input yuv allocation, must be {@link Element#U8}.
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
H A D | Artistic1.java | 30 ScriptIntrinsicBlur blur = ScriptIntrinsicBlur.create(mRS, Element.U8_4(mRS));
|