/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
InjectProcessingStep.java | 29 import javax.lang.model.element.Element; 30 import javax.lang.model.element.ExecutableElement; 31 import javax.lang.model.element.TypeElement; 32 import javax.lang.model.element.VariableElement; 76 public Set<Element> process( 77 SetMultimap<Class<? extends Annotation>, Element> elementsByAnnotation) { 78 ImmutableSet.Builder<Element> rejectedElements = ImmutableSet.builder(); 84 for (Element injectElement : elementsByAnnotation.get(Inject.class)) {
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_rss/org/eclipse/releng/generators/rss/ |
RSSFeedAddEntryTask.java | 40 import org.w3c.dom.Element; 282 Element element=document.getDocumentElement(); local 283 for (Node child=element.getFirstChild(); child != null; child=child.getNextSibling()) { 288 ((Element)child).setTextContent(now); 306 element.insertBefore(document.createTextNode(NL + " "),refNode); //$NON-NLS-1$ 307 element.insertBefore(newNode,refNode); 328 private Element createEntry(Document document) { 331 Element entry = document.createElement("entry"); //$NON-NLS-1$ 334 Element elem = null [all...] |
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/ |
SoapEnvelope.java | 89 public Element[] headerIn; 93 public Element[] headerOut; 167 Element child = headers.getElement(i); 172 headerIn = new Element[count]; 175 Element child = headers.getElement(i);
|
/frameworks/rs/ |
rsProgramFragment.cpp | 106 ObjectBaseRef<const Element> colorElem = Element::createRef(rsc, RS_TYPE_FLOAT_32, RS_KIND_USER, false, 4); 109 const Element *eins[] = {colorElem.get()}; 110 ObjectBaseRef<const Element> constInput = Element::create(rsc, 1, eins, enames);
|
/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/ |
RsYuv.java | 54 mYuv = ScriptIntrinsicYuvToRGB.create(rs, Element.RGBA_8888(mRS)); 78 Type.Builder tb = new Type.Builder(mRS, Element.RGBA_8888(mRS)); 86 tb = new Type.Builder(mRS, Element.createPixel(mRS, Element.DataType.UNSIGNED_8, Element.DataKind.PIXEL_YUV));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
SetPropertyFix.java | 37 import org.w3c.dom.Element; 54 protected String getProposal(Element element) { 72 if (node instanceof Element) { 73 Element element = (Element) node; local 74 String proposal = getProposal(element); 83 //element.setAttributeNS(ANDROID_URI, localAttribute, proposal); 85 element.setAttribute(attribute, proposal) [all...] |
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
RSColorMatrixTest.java | 54 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); 61 ScriptIntrinsicColorMatrix cm = ScriptIntrinsicColorMatrix.create(mRS, Element.RGBA_8888(mRS)); 85 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); 92 ScriptIntrinsicColorMatrix cm = ScriptIntrinsicColorMatrix.create(mRS, Element.RGBA_8888(mRS)); 119 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); 126 ScriptIntrinsicColorMatrix cm = ScriptIntrinsicColorMatrix.create(mRS, Element.RGBA_8888(mRS)); 151 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); 158 ScriptIntrinsicColorMatrix cm = ScriptIntrinsicColorMatrix.create(mRS, Element.RGBA_8888(mRS)); 182 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); 189 ScriptIntrinsicColorMatrix cm = ScriptIntrinsicColorMatrix.create(mRS, Element.RGBA_8888(mRS)) [all...] |
/external/emma/ant/ant14/com/vladium/emma/report/ |
ReportCfg.java | 32 * ReportCfg is a container for report type {@link ReportCfg.Element}s that are 37 * conceptual property being set via an attribute and a nested element are resolved 53 public static abstract class Element implements IReportEnums, IReportProperties 98 // generic property element [don't doc this publicly]: 113 Element (final Task task, final IProperties settings) 160 public static class Element_HTML extends Element 179 public static class Element_TXT extends Element 198 public static class Element_LCOV extends Element 216 public static class Element_XML extends Element 285 final Element cfg = (Element) i.next () [all...] |
/frameworks/rs/cpp/ |
ScriptIntrinsicBLAS.cpp | 24 using android::RSC::Element; 33 ScriptIntrinsicBLAS::ScriptIntrinsicBLAS(sp<RS> rs, sp<const Element> e) 39 return new ScriptIntrinsicBLAS(rs, Element::U32(rs)); 183 static void validateGEMV(RS* mRS, const sp<const Element>& e, RsBlasTranspose TransA, const sp<Allocation>& A, 190 mRS->throwError(RS_ERROR_INVALID_ELEMENT, "Called BLAS with wrong Element type"); 215 validateGEMV(mRS, Element::F32(mRS), TransA, A, X, incX, Y, incY); 226 validateGEMV(mRS, Element::F64(mRS), TransA, A, X, incX, Y, incY); 237 validateGEMV(mRS, Element::F32_2(mRS), TransA, A, X, incX, Y, incY); 248 validateGEMV(mRS, Element::F64_2(mRS), TransA, A, X, incX, Y, incY); 260 validateGEMV(mRS, Element::F32(mRS), TransA, A, X, incX, Y, incY) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
TestFastLength.java | 23 import android.renderscript.Element; 53 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xebac65aea2660e8fl, false); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 63 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 127 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x95f43650f85e6cadl, false); 129 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 137 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 201 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x95f440f25764fb0el, false); 203 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 211 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE) [all...] |
TestFastNormalize.java | 23 import android.renderscript.Element; 53 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xdcfb9adc9f8882ecl, false); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 63 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 127 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x151c38c30573db70l, false); 129 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); 137 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); 206 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x151e01ddfb8efc4el, false); 208 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); 216 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE) [all...] |
TestHalfRecip.java | 23 import android.renderscript.Element; 53 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x854e263130d5b3dl, false); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 63 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 125 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x2cf1d2db5ff23c79l, false); 127 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); 135 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); 197 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x2cf39bf6560d5d57l, false); 199 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); 207 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE) [all...] |
TestHalfRsqrt.java | 23 import android.renderscript.Element; 53 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xad5e977ec00f0bf2l, false); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 63 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 125 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x300ee7bff12787c6l, false); 127 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); 135 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); 197 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x3010b0dae742a8a4l, false); 199 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); 207 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE) [all...] |
TestHalfSqrt.java | 23 import android.renderscript.Element; 53 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x8be766c7a15db5fal, false); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 63 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 125 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x7a300d2342519b8el, false); 127 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); 135 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); 197 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x7a31d63e386cbc6cl, false); 199 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE); 207 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 3), INPUTSIZE) [all...] |
TestIlogb.java | 23 import android.renderscript.Element; 53 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x6103ca4b5664967bl, false); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 1), INPUTSIZE); 63 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 1), INPUTSIZE); 117 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0xb460143cb6f32a61l, false); 119 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 2), INPUTSIZE); 127 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 2), INPUTSIZE); 181 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0xb460147c009b3a97l, false); 183 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 3), INPUTSIZE); 191 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_32, 3), INPUTSIZE) [all...] |
TestLdexp.java | 23 import android.renderscript.Element; 54 Allocation inMantissa = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xdffd225490f0e26fl, false); 55 Allocation inExponent = createRandomAllocation(mRS, Element.DataType.SIGNED_32, 1, 0xdffd207c2e4133c4l, false); 57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 66 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 137 Allocation inMantissa = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x7d0b1a44fe92893l, false); 138 Allocation inExponent = createRandomAllocation(mRS, Element.DataType.SIGNED_32, 2, 0x7d0afcbed3979e8l, false); 140 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); 149 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); 220 Allocation inMantissa = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0xa8e041253fa3335el, false) [all...] |
TestClz.java | 23 import android.renderscript.Element; 53 Allocation inValue = createRandomAllocation(mRS, Element.DataType.SIGNED_8, 1, 0xf6f3a15e2f7765afl, false); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_8, 1), INPUTSIZE); 63 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_8, 1), INPUTSIZE); 124 Allocation inValue = createRandomAllocation(mRS, Element.DataType.SIGNED_8, 2, 0xf718b99dcaca5e93l, false); 126 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_8, 2), INPUTSIZE); 134 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_8, 2), INPUTSIZE); 195 Allocation inValue = createRandomAllocation(mRS, Element.DataType.SIGNED_8, 3, 0x21a5da5bc7099347l, false); 197 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_8, 3), INPUTSIZE); 205 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.SIGNED_8, 3), INPUTSIZE) [all...] |
TestAbs.java | 23 import android.renderscript.Element; 53 Allocation inV = createRandomAllocation(mRS, Element.DataType.SIGNED_8, 1, 0x79257810f7393ea6l, false); 55 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_8, 1), INPUTSIZE); 63 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_8, 1), INPUTSIZE); 124 Allocation inV = createRandomAllocation(mRS, Element.DataType.SIGNED_8, 2, 0xff611dd40e5e407cl, false); 126 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_8, 2), INPUTSIZE); 134 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_8, 2), INPUTSIZE); 195 Allocation inV = createRandomAllocation(mRS, Element.DataType.SIGNED_8, 3, 0xff62e6ef0479615al, false); 197 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_8, 3), INPUTSIZE); 205 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.UNSIGNED_8, 3), INPUTSIZE) [all...] |
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/ |
ProcessMethodAdapters.java | 38 import javax.lang.model.element.Element; 39 import javax.lang.model.element.ElementKind; 40 import javax.lang.model.element.ExecutableElement; 41 import javax.lang.model.element.Modifier; 42 import javax.lang.model.element.TypeElement; 43 import javax.lang.model.element.VariableElement; 89 for (Element element : AnnotationUtil 91 if (element.getKind() != ElementKind.METHOD | [all...] |
/frameworks/base/rs/java/android/renderscript/ |
ScriptIntrinsicBLAS.java | 193 long id = rs.nScriptIntrinsicCreate(13, Element.U32(rs).getID(rs)); 275 static void validateGEMV(Element e, int TransA, Allocation A, Allocation X, int incX, Allocation Y, int incY) { 282 throw new RSRuntimeException("Called BLAS with wrong Element type"); 313 * @param A The input allocation contains matrix A, supported elements type {@link Element#F32}. 314 * @param X The input allocation contains vector x, supported elements type {@link Element#F32}. 317 * @param Y The input allocation contains vector y, supported elements type {@link Element#F32}. 321 validateGEMV(Element.F32(mRS), TransA, A, X, incX, Y, incY); 335 * @param A The input allocation contains matrix A, supported elements type {@link Element#F64}. 336 * @param X The input allocation contains vector x, supported elements type {@link Element#F64}. 339 * @param Y The input allocation contains vector y, supported elements type {@link Element#F64} [all...] |
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
ScriptIntrinsicBLAS.java | 198 id = rs.nScriptIntrinsicCreate(13, Element.U32(rs).getID(rs), mUseIncSupp); 282 static void validateGEMV(Element e, int TransA, Allocation A, Allocation X, int incX, Allocation Y, int incY) { 289 throw new RSRuntimeException("Called BLAS with wrong Element type"); 320 * @param A The input allocation contains matrix A, supported elements type {@link Element#F32}. 321 * @param X The input allocation contains vector x, supported elements type {@link Element#F32}. 324 * @param Y The input allocation contains vector y, supported elements type {@link Element#F32}. 328 validateGEMV(Element.F32(mRS), TransA, A, X, incX, Y, incY); 352 * @param A The input allocation contains matrix A, supported elements type {@link Element#F64}. 353 * @param X The input allocation contains vector x, supported elements type {@link Element#F64}. 356 * @param Y The input allocation contains vector y, supported elements type {@link Element#F64} [all...] |
/frameworks/compile/slang/tests/P_struct_field/ |
ScriptField_InnerOne.java.expect | 44 private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReference<Element>(null); 45 public static Element createElement(RenderScript rs) { 46 Element.Builder eb = new Element.Builder(rs); 47 eb.add(Element.I32(rs), "x"); 48 eb.add(Element.I32(rs), "y"); 49 eb.add(Element.F32(rs), "f"); 98 Element e = createElement(rs); 106 throw new RSIllegalArgumentException("Type.Builder did not match expected element type.") [all...] |
ScriptField_InnerTwo.java.expect | 44 private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReference<Element>(null); 45 public static Element createElement(RenderScript rs) { 46 Element.Builder eb = new Element.Builder(rs); 47 eb.add(Element.I8(rs), "z"); 48 eb.add(Element.U16(rs), "#rs_padding_1"); 49 eb.add(Element.U8(rs), "#rs_padding_2"); 99 Element e = createElement(rs); 107 throw new RSIllegalArgumentException("Type.Builder did not match expected element type.") [all...] |
/libcore/luni/src/test/java/libcore/xml/ |
DomTest.java | 50 import org.w3c.dom.Element; 102 private Element menu; 103 private Element item; 106 private Element name; 110 private Element description; 114 private Element option1; 115 private Element option2; 118 private Element nutrition; 119 private Element vitamins; 122 private Element vitaminc [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
TemplateMetadata.java | 59 import org.w3c.dom.Element; 92 Element element = (Element) parameters.item(index); local 93 Parameter parameter = new Parameter(this, element); 195 Element element = (Element) formfactorDeclarations.item(0); local 196 String formFactor = element.getAttribute(ATTR_VALUE); 210 Element element = (Element) categories.item(0) local 426 Element element = (Element) elements.item(i); local [all...] |