/external/skia/src/core/ |
SkColorSpace_A2B.cpp | 10 SkColorSpace_A2B::SkColorSpace_A2B(ICCTypeFlag iccType, std::vector<Element> elements,
|
/frameworks/base/rs/java/android/renderscript/ |
ScriptIntrinsic3DLUT.java | 29 private Element mElement; 31 private ScriptIntrinsic3DLUT(long id, RenderScript rs, Element e) { 37 * Supported elements types are {@link Element#U8_4} 42 * @param e Element type for intputs and outputs 46 public static ScriptIntrinsic3DLUT create(RenderScript rs, Element e) { 49 if (!e.isCompatible(Element.U8_4(rs))) { 50 throw new RSIllegalArgumentException("Element must be compatible with uchar4."); 59 * The lookup table must use the same {@link android.renderscript.Element} as the intrinsic. 71 throw new RSIllegalArgumentException("LUT element type must match.");
|
/frameworks/base/tools/aapt2/xml/ |
XmlActionExecutor_test.cpp | 31 Element* manifest_el = nullptr; 32 manifest_action.Action([&](Element* manifest) -> bool { 37 Element* application_el = nullptr; 38 application_action.Action([&](Element* application) -> bool {
|
/frameworks/rs/ |
rsApiElement.cpp | 26 Element *e = static_cast<Element *>(elem); 37 Element *e = static_cast<Element *>(elem);
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
ScriptIntrinsic3DLUT.java | 31 private Element mElement; 35 protected ScriptIntrinsic3DLUT(long id, RenderScript rs, Element e) { 41 * Supported elements types are {@link Element#U8_4} 46 * @param e Element type for intputs and outputs 50 public static ScriptIntrinsic3DLUT create(RenderScript rs, Element e) { 51 if (!e.isCompatible(Element.U8_4(rs))) { 52 throw new RSIllegalArgumentException("Element must be compatible with uchar4."); 70 * {@link android.support.v8.renderscript.Element} as the intrinsic. 82 throw new RSIllegalArgumentException("LUT element type must match.");
|
Allocation.java | 47 * more complex Element types, the {@link #copyFromUnchecked} methods can be 84 private Element.DataType validateObjectIsPrimitiveArray(Object d, boolean checkType) { 99 return Element.DataType.SIGNED_64; 107 return Element.DataType.SIGNED_32; 115 return Element.DataType.SIGNED_16; 123 return Element.DataType.SIGNED_8; 130 return Element.DataType.FLOAT_32; 137 return Element.DataType.FLOAT_64; 247 * Get the {@link android.support.v8.renderscript.Element} of the {@link 250 * @return Element [all...] |
/frameworks/rs/tests/lldb/java/SingleSource/src/com/android/rs/singlesource/ |
MainActivity.java | 51 mAllocIn1 = Allocation.createSized(mRS, Element.F32(mRS), 4); 56 mAllocIn2 = Allocation.createSized(mRS, Element.F32(mRS), 4); 61 mAllocOut = Allocation.createSized(mRS, Element.F32(mRS), 4); 64 mScript.set_global_alloc(Allocation.createSized(mRS, Element.F32(mRS), 4));
|
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/vo/ |
PrimaryKey.kt | 19 import javax.lang.model.element.Element 24 data class PrimaryKey(val declaredIn : Element?, val fields: List<Field>,
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
hc_elementnormalize.java | 31 * Append a couple of text nodes to the first sup element, normalize the 32 * document element and check that the element has been normalized. 60 Element root; 62 Element testName; 69 testName = (Element) elementList.item(0); 77 testName = (Element) elementList.item(0);
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
elementgetelementsbytagnamens04.java | 36 * Create a new element node ('root') and append three newly created child nodes (all have 76 Element element; local 77 Element child1; 78 Element child2; 79 Element child3; 85 element = doc.createElementNS("http://www.w3.org/DOM", "root"); 89 appendedChild = element.appendChild(child1); 90 appendedChild = element.appendChild(child2); 91 appendedChild = element.appendChild(child3) [all...] |
elementsetattributenodens02.java | 35 * Retreive the street attribute from the second address element node. 73 Element element; local 74 Element element2; 85 element = (Element) elementList.item(1); 86 attribute = element.getAttributeNodeNS(nullNS, "street"); 88 element2 = (Element) elementList.item(2);
|
elementsetattributenodens03.java | 36 * another Element object. 38 * Retreive an attribute node of an existing element node. Attempt to add it to an another 39 * element node. Check if the INUSE_ATTRIBUTE_ERR exception is thrown. 75 Element element1; 76 Element element2; 84 element1 = (Element) elementList.item(1); 86 element2 = (Element) elementList.item(2);
|
nodehasattributes04.java | 34 * The method hasAttributes returns whether this node (if it is an element) has any attributes. 35 * Create a new Document, Element and Attr node. Add the Attr to the Element and append the 36 * Element to the Document. Retreive the newly created element node from the document and check 75 Element element; local 76 Element elementTest; 77 Element elementDoc; 86 element = newDoc.createElementNS("http://www.w3.org/DOM/Test", "dom:elem") [all...] |
/libcore/luni/src/main/java/org/w3c/dom/ |
Document.java | 58 * node that is the document element of the document. 60 public Element getDocumentElement(); 63 * Creates an element of the type specified. Note that the instance 64 * returned implements the <code>Element</code> interface, so attributes 68 * and attached to the element. 69 * <br>To create an element with a qualified name and namespace URI, use 71 * @param tagName The name of the element type to instantiate. For XML, 76 * @return A new <code>Element</code> object with the 85 public Element createElement(String tagName) 143 * <code>Attr</code> instance can then be set on an <code>Element</code [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
ElementHasAttribute.java | 3 import org.w3c.dom.Element; 11 * specified on this element or has a default value, false otherwise Invoke the 50 Element element; local 53 element = doc.getDocumentElement(); 54 state = element.hasAttribute(""); 61 // Element element; 66 // element = (Element) elementList.item(0) 73 Element element; local 88 Element element; local [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_Xml.java | 23 import org.w3c.dom.Element; 47 public static Element firstElementOf(Document doc) throws Exception { 48 return (Element) doc.getFirstChild(); 51 public static String attrOf(Element e) throws Exception {
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug026.go | 9 type Element interface { 15 func (v *Vector) Insert(i int, e Element) {
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug026.go | 9 type Element interface { 15 func (v *Vector) Insert(i int, e Element) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/uimodel/ |
UiItemElementNode.java | 24 import org.w3c.dom.Element; 29 * customizes the element display to include the item type attribute if present. 45 if (xmlNode != null && xmlNode instanceof Element && xmlNode.hasAttributes()) { 47 Element elem = (Element) xmlNode;
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
ProductionComponentProcessingStep.java | 28 import javax.lang.model.element.Element; 29 import javax.lang.model.element.TypeElement; 74 SetMultimap<Class<? extends Annotation>, Element> elementsByAnnotation) { 75 final Map<Element, ValidationReport<TypeElement>> builderReportsByComponent = 92 private Map<Element, ValidationReport<TypeElement>> processComponentBuilders( 93 Set<? extends Element> componentBuilderElements) { 94 Map<Element, ValidationReport<TypeElement>> builderReportsByComponent = Maps.newHashMap(); 95 for (Element element : componentBuilderElements) [all...] |
SourceFileGenerator.java | 29 import javax.lang.model.element.Element; 51 ImmutableSet<Element> originatingElements = 52 ImmutableSet.<Element>copyOf(getOriginatingElements(input)); 86 * Implementations should return {@link Element} instances from which the source is to be 89 abstract Iterable<? extends Element> getOriginatingElements(T input); 92 * Returns an optional element to be used for reporting errors. This returns a single element 95 abstract Optional<? extends Element> getElementForErrorReporting(T input);
|
/frameworks/base/sax/java/android/sax/ |
RootElement.java | 26 * The root XML element. The entry point for this API. Not safe for concurrent 47 * Element entry = root.getChild(ATOM_NAMESPACE, "entry"); 66 public class RootElement extends Element { 71 * Constructs a new root element with the given name. 81 * Constructs a new root element with the given name. Uses an empty string 101 Element current = null; 115 // This is the root element. 123 + " within text element named " + current + ".", 127 // If we're one level below the current element. 132 Element child = children.get(uri, localName) [all...] |
/frameworks/rs/rsov/tests/RSoVTest/src/com/android/rs/rsov/test/ |
UT_global.java | 33 private void test(Element elem, java.lang.Runnable action) { 43 test(Element.I32(RS), () -> { 50 test(Element.I32_2(RS), () -> { 57 test(Element.I32_4(RS), () -> { 70 test(Element.F32(RS), () -> { 77 test(Element.F32_2(RS), () -> { 84 test(Element.F32_4(RS), () -> {
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
UT_fp16.java | 21 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.F16_4(RS), nDims) [all...] |
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/preconditions/ |
Checks.kt | 24 import javax.lang.model.element.Element 28 * Similar to preconditions but element bound and just logs the error instead of throwing an 36 fun check(predicate: Boolean, element: Element, errorMsg: String, vararg args: Any): Boolean { 38 logger.e(element, errorMsg, args) 43 fun hasAnnotation(element: Element, annotation: KClass<out Annotation>, errorMsg: String, 45 return if (!element.hasAnnotation(annotation)) { 46 logger.e(element, errorMsg, args [all...] |