/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
WrapInRefactoringTest.java | 24 import org.w3c.dom.Element; 51 List<Element> selectedElements = getElements(info.mElement, ids);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
TestStep.java | 23 import android.renderscript.Element; 54 Allocation inEdge = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x598900c49184fbfel, false); 55 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x9aefccaa832f44e9l, 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 inEdge = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x6efefa297df69504l, false); 138 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x12eb000b8567f58bl, 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 inEdge = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x9e548cd666a7a77l, false) [all...] |
TestFma.java | 23 import android.renderscript.Element; 55 Allocation inMultiplicand1 = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x716293a685c419bel, false); 56 Allocation inMultiplicand2 = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x716293a685c419bfl, false); 57 Allocation inOffset = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x4a235a109d441b0el, false); 59 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 69 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 149 Allocation inMultiplicand1 = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x1bb42af9dda15056l, false); 150 Allocation inMultiplicand2 = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x1bb42af9dda15057l, false); 151 Allocation inOffset = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x667fbd778aeda396l, false); 153 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE) [all...] |
TestMad.java | 23 import android.renderscript.Element; 55 Allocation inMultiplicand1 = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x2a4461e340b4de48l, false); 56 Allocation inMultiplicand2 = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x2a4461e340b4de49l, false); 57 Allocation inOffset = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xcea3b86dc50ce0fcl, false); 59 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 69 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 149 Allocation inMultiplicand1 = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0xdfffb28a8a5fd7c0l, false); 150 Allocation inMultiplicand2 = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0xdfffb28a8a5fd7c1l, false); 151 Allocation inOffset = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x3da8592f318f8924l, false); 153 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE) [all...] |
TestNativeSincos.java | 23 import android.renderscript.Element; 54 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xe15df2366436cc13l, false); 56 Allocation outCos = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 67 Allocation outCos = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 68 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 147 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0xe5a1f1dcda676ea9l, false); 149 Allocation outCos = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); 150 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); 160 Allocation outCos = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE) [all...] |
TestSincos.java | 23 import android.renderscript.Element; 54 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xb8748e13e46c48d4l, false); 56 Allocation outCos = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 57 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 67 Allocation outCos = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 68 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 147 Allocation inV = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0xc85bab4e3e2fc77cl, false); 149 Allocation outCos = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); 150 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE); 160 Allocation outCos = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 2), INPUTSIZE) [all...] |
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...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
DebugContext.java | 20 import android.renderscript.Element; 50 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); 140 if (aIn.getElement().getDataType() == Element.DataType.SIGNED_8) { 148 Element.DataType.SIGNED_16); 184 (RenderScript rs)-> new Type.Builder(rs, Element.I8(rs)), 227 (RenderScript rs)-> new Type.Builder(rs, Element.I16(rs)), 281 (RenderScript rs)-> new Type.Builder(rs, Element.I8(rs)), 305 (RenderScript rs)-> new Type.Builder(rs, Element.I8(rs)), 330 (RenderScript rs)-> new Type.Builder(rs, Element.I8(rs)), 353 (RenderScript rs)-> new Type.Builder(rs, Element.I8(rs)) [all...] |
RsPackColorTo8888Test.java | 20 import android.renderscript.Element; 75 Allocation mAllocationIn = Allocation.createSized(mRS, Element.F32_3(mRS), INPUTSIZE); 76 Allocation mAllocationOut = Allocation.createSized(mRS, Element.U8_4(mRS), INPUTSIZE); 105 Allocation mAllocationIn = Allocation.createSized(mRS, Element.F32_4(mRS), INPUTSIZE); 106 Allocation mAllocationOut = Allocation.createSized(mRS, Element.U8_4(mRS), INPUTSIZE);
|
/development/vndk/tools/header-checker/header-abi-diff/src/ |
abi_diff_wrappers.cpp | 156 template <typename Element, typename ElementDiff> 159 const google::protobuf::RepeatedPtrField<Element> &old_elements, 160 const google::protobuf::RepeatedPtrField<Element> &new_elements) { 166 const Element &old_element = old_elements.Get(i); 167 const Element &new_element = new_elements.Get(i); 171 Element *old_elementp = nullptr; 172 Element *new_elementp = nullptr; 175 llvm::errs() << "Failed to add diff element\n"; 194 template <typename Element, typename ElementDiff> 197 const google::protobuf::RepeatedPtrField<Element> &old_elements [all...] |
/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/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/compile/slang/tests/P_reflection3264_divergent/ |
ScriptField_DivergentNest.java.expect | 48 private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReference<Element>(null); 49 public static Element createElement(RenderScript rs) { 50 Element.Builder eb = new Element.Builder(rs); 51 eb.add(Element.I32(rs), "x"); 53 eb.add(Element.U32(rs), "#rs_padding_1"); 57 eb.add(Element.I32(rs), "y"); 59 eb.add(Element.U32(rs), "#rs_padding_2"); 110 Element e = createElement(rs) [all...] |
/frameworks/compile/slang/tests/P_reflection3264_divergent_support/ |
ScriptField_DivergentNest.java.expect | 45 private static java.lang.ref.WeakReference<Element> mElementCache = new java.lang.ref.WeakReference<Element>(null); 46 public static Element createElement(RenderScript rs) { 47 Element.Builder eb = new Element.Builder(rs); 48 eb.add(Element.I32(rs), "x"); 50 eb.add(Element.U32(rs), "#rs_padding_1"); 54 eb.add(Element.I32(rs), "y"); 56 eb.add(Element.U32(rs), "#rs_padding_2"); 107 Element e = createElement(rs) [all...] |
/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...] |