Searched refs:Element (Results 76 - 100 of 365) sorted by relevance

1234567891011>>

/frameworks/compile/slang/tests/P_reduce_general_result/
H A DScriptField_MyStruct.java.expect43 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 DManifestFixer.cpp33 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 DXmlDom.cpp132 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 Dcompute.cpp18 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 Dcompute.cpp18 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 DUT_copy_test.java34 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 DUT_element.java26 Element simpleElem;
27 Element complexElem;
69 super(rstc, "Element", ctx);
74 simpleElem = Element.F32_3(RS);
H A DUT_script_group2_pointwise.java50 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 DUT_copy_test.java34 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 DUT_element.java26 Element simpleElem;
27 Element complexElem;
69 super(rstc, "Element", ctx);
74 simpleElem = Element.F32_3(RS);
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsic.h71 size_t dataLength, const Element * e,
79 const Element * e, RsScriptIntrinsicID iid);
84 ObjectBaseRef<const Element> mElement;
H A DrsCpuIntrinsicLUT.cpp33 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 Drs_object_info.spec20 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 DColorCube.java22 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 DHistogram.java32 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 DCopy.java22 import android.renderscript.Element;
H A DGreyscale.java22 import android.renderscript.Element;
H A DGroupTest.java22 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 DBlur25G.java23 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 DColorCube.java22 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 DHistogram.java38 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 DUT_check_dims.java21 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 DUT_script_group2_pointwise.java19 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 DScriptIntrinsicYuvToRGB.java37 * 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 DArtistic1.java30 ScriptIntrinsicBlur blur = ScriptIntrinsicBlur.create(mRS, Element.U8_4(mRS));

Completed in 6107 milliseconds

1234567891011>>