/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
AllocationInfo.java | 25 import android.renderscript.Element; 32 * their size, element, type, and usage. 45 private final Element mElement; 53 * Create a new {@link AllocationInfo} holding the element, size, and usage 76 * <p>The closest {@link Element} possible is created from the format.</p> 92 Element element; local 95 element = Element.YUV(rs); 98 element = Element.RGBA_8888(rs) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
IntrinsicConvolve3x3.java | 23 private void testConvolve3(int w, int h, Element.DataType dt, int vecSize, Script.LaunchOptions sc) { 31 Element e = makeElement(dt, vecSize); 54 if (dt == Element.DataType.UNSIGNED_8) { 92 if (dt == Element.DataType.UNSIGNED_8) { 129 if (dt == Element.DataType.UNSIGNED_8) { 171 testConvolve3(100, 100, Element.DataType.UNSIGNED_8, 4, null); 175 testConvolve3(100, 100, Element.DataType.UNSIGNED_8, 3, null); 179 testConvolve3(100, 100, Element.DataType.UNSIGNED_8, 2, null); 183 testConvolve3(100, 100, Element.DataType.UNSIGNED_8, 1, null); 188 testConvolve3(100, 100, Element.DataType.FLOAT_32, 4, null) [all...] |
ClearObjectTest.java | 20 import android.renderscript.Element; 63 Element element = Element.BOOLEAN(mRS); local 64 Allocation mIn = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); 65 Allocation mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); 66 ms_clear.set_element(element); 82 Type type= new Type.Builder(mRS, Element.I8(mRS)).setX(1).create(); 83 Allocation mOut = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum); 84 Allocation mIn = Allocation.createSized(mRS, Element.I32(mRS), ObjectNum) [all...] |
IntrinsicBase.java | 22 import android.renderscript.Element; 61 protected Element makeElement(Element.DataType dt, int vecSize) { 62 Element e; 64 e = Element.createVector(mRS, dt, vecSize); 66 if (dt == Element.DataType.UNSIGNED_8) { 67 e = Element.U8(mRS); 69 e = Element.F32(mRS); 75 protected Allocation makeAllocation(int w, int h, Element e, boolean clear) { 91 protected Allocation makeAllocation(int w, int h, Element e) [all...] |
AllocationTest.java | 23 import android.renderscript.Element; 34 void createTypedHelper(Element e) { 56 void createTypedTextureHelper(Element e) { 105 void createSizedHelper(Element e) { 115 createTypedHelper(Element.A_8(mRS)); 116 createTypedHelper(Element.RGB_565(mRS)); 117 createTypedHelper(Element.RGB_888(mRS)); 118 createTypedHelper(Element.RGBA_8888(mRS)); 119 createTypedHelper(Element.F16(mRS)); 120 createTypedHelper(Element.F16_2(mRS)) [all...] |
IntrinsicConvolve5x5.java | 24 Element e, float cf[], String name, int num, int w, int h, 39 if (e.getDataType() == Element.DataType.UNSIGNED_8) { 76 private void testConvolve5(int w, int h, Element.DataType dt, int vecSize, Script.LaunchOptions sc) { 96 Element e = makeElement(dt, vecSize); 112 testConvolve5(100, 100, Element.DataType.UNSIGNED_8, 4, null); 116 testConvolve5(100, 100, Element.DataType.UNSIGNED_8, 3, null); 120 testConvolve5(100, 100, Element.DataType.UNSIGNED_8, 2, null); 124 testConvolve5(100, 100, Element.DataType.UNSIGNED_8, 1, null); 129 testConvolve5(100, 100, Element.DataType.FLOAT_32, 4, null); 133 testConvolve5(100, 100, Element.DataType.FLOAT_32, 3, null) [all...] |
KernelInputTest.java | 29 import android.renderscript.Element; 47 import android.renderscript.Element; 69 Allocation ain = Allocation.createSized(mRS, Element.I8(mRS), 1); 70 Allocation tmp = Allocation.createSized(mRS, Element.I8(mRS), 1); 86 Allocation ain = Allocation.createSized(mRS, Element.I8_2(mRS), 1); 87 Allocation tmp = Allocation.createSized(mRS, Element.I8_2(mRS), 1); 103 Allocation ain = Allocation.createSized(mRS, Element.I8_3(mRS), 1); 104 Allocation tmp = Allocation.createSized(mRS, Element.I8_3(mRS), 1); 120 Allocation ain = Allocation.createSized(mRS, Element.I8_4(mRS), 1); 121 Allocation tmp = Allocation.createSized(mRS, Element.I8_4(mRS), 1) [all...] |
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug027.go | 11 type Element interface { 16 elem []Element 22 v.elem = make([]Element, 10) 26 func (v *Vector) At(i int) Element { 30 func (v *Vector) Insert(e Element) { 81 (<Element>I{}) CONV (<I>{}) 83 (<Element>I{}) CONV (<I>{})
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug027.go | 11 type Element interface { 16 elem []Element 22 v.elem = make([]Element, 10) 26 func (v *Vector) At(i int) Element { 30 func (v *Vector) Insert(e Element) { 81 (<Element>I{}) CONV (<I>{}) 83 (<Element>I{}) CONV (<I>{})
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
ElementGetElementsByTagNameNS.java | 3 import org.w3c.dom.Element; 52 Element element; local 55 element = doc.getDocumentElement(); 56 elementList = element.getElementsByTagNameNS("**", "*"); 62 Element element; local 63 Element child1; 64 Element child2; 65 Element child3 89 Element element; local [all...] |
HasAttributeNS.java | 24 import org.w3c.dom.Element; 32 * The "hasAttributeNS()" method for an Element should return false if the 33 * element does not have an attribute with the given local name and/or a 34 * namespace URI specified on this element or does not have a default value. 35 * Retrieve the first "address" element and the "hasAttributeNS()" method should 36 * return false since the element has "nomatch" as the local name and 78 Element testNode; 82 testNode = (Element) elementList.item(0); 91 Element testNode; 95 testNode = (Element) elementList.item(0) [all...] |
GetAttributeNodeNS.java | 24 import org.w3c.dom.Element; 35 * Retrieve the first emp:address element node. The getAttributeNodeNS method 79 Element testAddr; 83 testAddr = (Element) elementList.item(0); 91 Element testAddr; 96 testAddr = (Element) elementList.item(0);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
LinearLayoutWeightFix.java | 31 import org.w3c.dom.Element; 53 if (node instanceof Element && node.getParentNode() instanceof Element) { 54 Element element = (Element) node; local 55 Element parent = (Element) node.getParentNode(); 63 element.setAttributeNS(ANDROID_URI, dimension, VALUE_ZERO_DP);
|
SetScrollViewSizeFix.java | 30 import org.w3c.dom.Element; 52 if (node instanceof Element && node.getParentNode() instanceof Element) { 53 Element element = (Element) node; local 54 Element parent = (Element) node.getParentNode(); 58 element.setAttributeNS(ANDROID_URI, attributeName, VALUE_WRAP_CONTENT);
|
/frameworks/rs/cpp/ |
Element.cpp | 23 using android::RSC::Element; 25 android::RSC::sp<const Element> Element::getSubElement(uint32_t index) { 27 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Element contains no sub-elements"); 31 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Illegal sub-element index"); 37 const char * Element::getSubElementName(uint32_t index) { 39 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Element contains no sub-elements"); 43 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Illegal sub-element index"); 49 size_t Element::getSubElementArraySize(uint32_t index) { 51 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Element contains no sub-elements") [all...] |
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) 61 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "3DLUT forEach element mismatch"); 69 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "setLUT element does not match"); 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") [all...] |
/external/skia/src/core/ |
SkClipStack.cpp | 22 SkClipStack::Element::Element(const Element& that) { 48 bool SkClipStack::Element::operator== (const Element& element) const { 49 if (this == &element) { 52 if (fOp != element.fOp || 53 fType != element.fType || 54 fDoAA != element.fDoAA | 560 Element* element = (Element*)fDeque.back(); local 579 Element* element = (Element*)fDeque.back(); local 607 Element* element = (Element*)fDeque.back(); local 629 const Element* element = iter.prev(); local 654 const Element* element = iter.prev(); local 801 Element* element = (Element*) fDeque.back(); local 837 const SkClipStack::Element* element = nullptr; local [all...] |
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
RSCppTest.java | 27 import android.renderscript.Element; 77 protected Element makeElement(Element.DataType dt, int vecSize) { 78 Element e; 80 e = Element.createVector(mRS, dt, vecSize); 82 if (dt == Element.DataType.UNSIGNED_8) { 83 e = Element.U8(mRS); 85 e = Element.F32(mRS); 91 protected Allocation makeAllocation(int w, int h, Element e) {
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
InjectionAnnotations.java | 23 import javax.lang.model.element.AnnotationMirror; 24 import javax.lang.model.element.Element; 35 static Optional<AnnotationMirror> getScopeAnnotation(Element e) { 49 static Optional<AnnotationMirror> getQualifier(Element e) { 63 static ImmutableSet<? extends AnnotationMirror> getQualifiers(Element element) { 64 return AnnotationMirrors.getAnnotatedAnnotations(element, Qualifier.class); 67 static ImmutableSet<? extends AnnotationMirror> getScopes(Element element) { [all...] |
/external/guava/guava-tests/benchmark/com/google/common/collect/ |
SetContainsBenchmark.java | 23 import com.google.common.collect.CollectionBenchmarkSampleData.Element; 54 private Element[] queries; 55 private Set<Element> setToTest; 69 Set<Element> set = setToTest; 70 Element[] queries = this.queries;
|
/external/guice/core/src/com/google/inject/internal/ |
AbstractProcessor.java | 20 import com.google.inject.spi.Element; 29 * {@code visit*()} methods, in order for the element processor to remove the 30 * handled element. 49 public void process(InjectorImpl injector, List<Element> elements) { 53 for (Iterator<Element> i = elements.iterator(); i.hasNext(); ) { 54 Element element = i.next(); local 55 this.errors = errorsAnyElement.withSource(element.getSource()); 56 Boolean allDone = element.acceptVisitor(this); 68 protected Boolean visitOther(Element element) [all...] |
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
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
|
/frameworks/base/tools/bit/ |
aapt.cpp | 50 struct Element { 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() 76 Element::~Element() 192 Element* element = new Element(); local [all...] |
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
Element.java | 24 * <p>An Element represents one item within an {@link 25 * android.support.v8.renderscript.Allocation}. An Element is roughly 28 * (equivalent to a float in a kernel)</li> <li>A four-element float vector 31 * integer (equivalent to a char in a kernel)</li> </ul> <p>A complex element is 33 * Elements. From Java code, a complex element contains a list of sub-elements 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} canno [all...] |
/cts/tests/tests/rscpp/librscpptest/ |
rs_jni_foreach.cpp | 49 sp<const Type> t = Type::create(mRS, Element::I8(mRS), x, 0, 0); 53 t = Type::create(mRS, Element::U8(mRS), x, 0, 0); 59 t = Type::create(mRS, Element::I8_2(mRS), x, 0, 0); 61 t = Type::create(mRS, Element::U8_2(mRS), x, 0, 0); 67 t = Type::create(mRS, Element::I8_3(mRS), x, 0, 0); 69 t = Type::create(mRS, Element::U8_3(mRS), x, 0, 0); 75 t = Type::create(mRS, Element::I8_4(mRS), x, 0, 0); 77 t = Type::create(mRS, Element::U8_4(mRS), x, 0, 0); 83 t = Type::create(mRS, Element::I16(mRS), x, 0, 0); 85 t = Type::create(mRS, Element::U16(mRS), x, 0, 0) [all...] |