Searched refs:Element (Results 51 - 75 of 365) sorted by relevance

1234567891011>>

/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
H A DUT_fp16.java21 import android.renderscript.Element;
36 private void initializeGlobals(RenderScript RS, ScriptC_fp16 s, Element e, int nDims) {
59 initializeGlobals(RS, s, Element.F16(RS), nDims);
69 initializeGlobals(RS, s, Element.F16(RS), nDims);
80 initializeGlobals(RS, s, Element.F16_2(RS), nDims);
90 initializeGlobals(RS, s, Element.F16_2(RS), nDims);
101 initializeGlobals(RS, s, Element.F16_3(RS), nDims);
111 initializeGlobals(RS, s, Element.F16_3(RS), nDims);
122 initializeGlobals(RS, s, Element.F16_4(RS), nDims);
132 initializeGlobals(RS, s, Element
[all...]
H A DUT_static_globals.java21 import android.renderscript.Element;
35 Type.Builder typeBuilder = new Type.Builder(pRS, Element.I32(pRS));
H A DUT_blur_validation.java19 import android.renderscript.Element;
56 Element.U8(RS),
62 Type.Builder typeBuilder = new Type.Builder(RS, Element.U8(RS));
70 scriptBlur = ScriptIntrinsicBlur.create(RS, Element.U8(RS));
H A DUT_copy_test.java21 import android.renderscript.Element;
33 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
34 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
57 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
58 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
81 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024);
82 Allocation a2 = Allocation.createSized(rs, Element.F32_4(rs), 1024);
/frameworks/base/sax/java/android/sax/
H A DChildren.java30 Element getOrCreate(Element parent, String uri, String localName) {
65 Element get(String uri, String localName) {
86 static class Child extends Element {
91 Child(Element parent, String uri, String localName, int depth,
/frameworks/base/tools/aapt2/xml/
H A DXmlActionExecutor.cpp22 static bool wrapper_one(XmlNodeAction::ActionFunc& f, Element* el, SourcePathDiagnostics*) {
26 static bool wrapper_two(XmlNodeAction::ActionFuncWithDiag& f, Element* el,
41 static void PrintElementToDiagMessage(const Element* el, DiagMessage* msg) {
50 Element* el) const {
56 for (Element* child_el : el->GetChildElements()) {
81 Element* el = FindRootElement(doc);
H A DXmlActionExecutor.h50 using ActionFuncWithDiag = std::function<bool(Element*, SourcePathDiagnostics*)>;
51 using ActionFunc = std::function<bool(Element*)>;
68 bool Execute(XmlActionExecutorPolicy policy, SourcePathDiagnostics* diag, Element* el) const;
H A DXmlDom.h38 class Element;
57 using ElementCloneFunc = std::function<void(const Element&, Element*)>;
59 // Clones the Node subtree, using the given function to decide how to clone an Element.
106 * An Element XML node.
108 class Element : public BaseNode<Element> { class in namespace:aapt::xml
117 xml::Element* FindChild(const android::StringPiece& ns, const android::StringPiece& name);
118 xml::Element* FindChildWithAttribute(const android::StringPiece& ns,
123 std::vector<xml::Element*> GetChildElement
[all...]
/frameworks/compile/slang/tests/P_reduce_general_struct/
H A DScriptC_reduce_general_struct.java.expect39 __I32 = Element.I32(rs);
43 private Element __I32;
44 private Element __ScriptField_MyStruct;
/frameworks/base/rs/java/android/renderscript/
H A DProgramVertexFixedFunction.java57 public InternalBuilder addInput(Element e) throws IllegalStateException {
136 Element.Builder b = new Element.Builder(rs);
137 b.add(Element.MATRIX4X4(rs), "MV");
138 b.add(Element.MATRIX4X4(rs), "P");
139 b.add(Element.MATRIX4X4(rs), "TexMatrix");
140 b.add(Element.MATRIX4X4(rs), "MVP");
180 Element.Builder b = new Element.Builder(mRS);
181 b.add(Element
[all...]
H A DAllocation.java47 * more complex Element types, the {@link #copyFromUnchecked} methods can be
91 private Element.DataType validateObjectIsPrimitiveArray(Object d, boolean checkType) {
106 return Element.DataType.SIGNED_64;
114 return Element.DataType.SIGNED_32;
122 return Element.DataType.SIGNED_16;
130 return Element.DataType.SIGNED_8;
137 return Element.DataType.FLOAT_32;
144 return Element.DataType.FLOAT_64;
268 * Get the {@link android.renderscript.Element} of the {@link
271 * @return Element
[all...]
H A DScriptIntrinsicBlur.java37 * Supported elements types are {@link Element#U8},
38 * {@link Element#U8_4}.
41 * @param e Element type for inputs and outputs
45 public static ScriptIntrinsicBlur create(RenderScript rs, Element e) {
46 if ((!e.isCompatible(Element.U8_4(rs))) && (!e.isCompatible(Element.U8(rs)))) {
H A DRenderScript.java537 synchronized void nAllocationData1D(long id, int off, int mip, int count, Object d, int sizeBytes, Element.DataType dt,
573 int w, int h, Object d, int sizeBytes, Element.DataType dt,
607 int w, int h, int depth, Object d, int sizeBytes, Element.DataType dt,
615 synchronized void nAllocationRead(long id, Object d, Element.DataType dt, int mSize, boolean usePadding) {
623 int sizeBytes, Element.DataType dt, int mSize, boolean usePadding) {
640 int w, int h, Object d, int sizeBytes, Element.DataType dt,
650 int w, int h, int depth, Object d, int sizeBytes, Element.DataType dt,
1032 volatile Element mElement_U8;
1033 volatile Element mElement_I8;
1034 volatile Element mElement_U1
[all...]
/frameworks/rs/driver/
H A DrsdMeshObj.h26 class Element;
51 bool isValidGLComponent(const android::renderscript::Element *elem, uint32_t fieldIdx);
/frameworks/base/tools/aapt2/link/
H A DXmlCompatVersioner.h46 virtual std::vector<DegradeResult> Degrade(const xml::Element& src_el,
70 void ProcessRule(const xml::Element& src_el, const xml::Attribute& src_attr,
72 const util::Range<ApiVersion>& api_range, bool generated, xml::Element* dst_el,
89 std::vector<DegradeResult> Degrade(const xml::Element& src_el, const xml::Attribute& src_attr,
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/f32/
H A DImageBuffersForRenderScriptF32.java5 import android.support.v8.renderscript.Element;
46 renderScript, Element.F32_4(renderScript),
50 renderScript, Element.F32_4(renderScript),
54 Element.F32_4(renderScript), imageWidthPadded * imageHeightPadded);
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DScriptIntrinsicBlur.java43 * Supported elements types are {@link Element#U8},
44 * {@link Element#U8_4}.
47 * @param e Element type for inputs and outputs
51 public static ScriptIntrinsicBlur create(RenderScript rs, Element e) {
52 if ((!e.isCompatible(Element.U8_4(rs))) && (!e.isCompatible(Element.U8(rs)))) {
/frameworks/rs/tests/lldb/java/ScriptGroup/src/com/android/rs/scriptgroup/
H A DMainActivity.java44 Allocation input = Allocation.createSized(pRS, Element.I32(pRS), ARRAY_SIZE);
52 script.getKernelID_foo(), Type.createX(pRS, Element.I32(pRS), ARRAY_SIZE), unbound);
55 Type.createX(pRS, Element.I32(pRS), ARRAY_SIZE), c0.getReturn());
/frameworks/rs/tests/lldb/cpp/KernelVariables/
H A DKernelVariables.cpp28 auto e = Element::RGBA_8888(rs);
40 sp<Allocation> int_allocation = Allocation::createSized(rs, Element::I32(rs), 4);
46 Type::Builder typeI32Builder2D(rs, Element::I32(rs));
59 Type::Builder typeI32Builder3D(rs, Element::I32(rs));
68 Type::Builder yuvTypeBuilder(rs, Element::YUV(rs));
/frameworks/rs/tests/lldb/jni/KernelVariables/jnikernelvariables/
H A Djnikernelvariables.cpp37 auto e = Element::RGBA_8888(rs);
49 sp<Allocation> int_allocation = Allocation::createSized(rs, Element::I32(rs), 4);
55 Type::Builder typeI32Builder2D(rs, Element::I32(rs));
68 Type::Builder typeI32Builder3D(rs, Element::I32(rs));
77 Type::Builder yuvTypeBuilder(rs, Element::YUV(rs));
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
H A DL.java26 import javax.lang.model.element.Element;
34 public void printMessage(Kind kind, String message, Element element) {
59 public static void d(Element element, String msg, Object... args) {
76 public static void w(Element element, String msg, Object... args) {
104 public static void e(Element element, String msg, Object... args) {
117 private static void printMessage(Element element, Diagnostic.Kind kind, String message) {
137 void printMessage(Diagnostic.Kind kind, String message, Element element);
/frameworks/rs/
H A DrsType.h44 const Element * element;
66 Type * createTex2D(const Element *, size_t w, size_t h, bool mip);
71 const Element * getElement() const {return mElement.get();}
113 static ObjectBaseRef<Type> getTypeRef(Context *rsc, const Element *e,
116 static Type* getType(Context *rsc, const Element *e,
123 static ObjectBaseRef<Type> getTypeRef(Context *rsc, const Element *e, uint32_t dimX, uint32_t dimY = 0) {
145 ObjectBaseRef<const Element> mElement;
H A DrsProgramVertex.cpp167 ObjectBaseRef<const Element> matrixElem = Element::createRef(rsc, RS_TYPE_MATRIX_4X4,
169 ObjectBaseRef<const Element> f2Elem = Element::createRef(rsc, RS_TYPE_FLOAT_32,
171 ObjectBaseRef<const Element> f3Elem = Element::createRef(rsc, RS_TYPE_FLOAT_32,
173 ObjectBaseRef<const Element> f4Elem = Element::createRef(rsc, RS_TYPE_FLOAT_32,
177 const Element *ebe1[] = {matrixElem.get(), matrixElem.get(),
179 ObjectBaseRef<const Element> constInpu
[all...]
/frameworks/compile/slang/tests/P_reduce_general_input/
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/compile/slang/tests/P_reduce_general_inputs/
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);

Completed in 2829 milliseconds

1234567891011>>