/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
D | VCardImporterTests.java | 486 ContentValuesVerifierElem elem = mVerifier.addContentValuesVerifierElem(); in testOrgBeforTitle() local 487 elem.addExpected(StructuredName.CONTENT_ITEM_TYPE) in testOrgBeforTitle() 489 elem.addExpected(Organization.CONTENT_ITEM_TYPE) in testOrgBeforTitle() 498 ContentValuesVerifierElem elem = mVerifier.addContentValuesVerifierElem(); in testTitleBeforOrg() local 499 elem.addExpected(StructuredName.CONTENT_ITEM_TYPE) in testTitleBeforOrg() 501 elem.addExpected(Organization.CONTENT_ITEM_TYPE) in testTitleBeforOrg() 514 ContentValuesVerifierElem elem = mVerifier.addContentValuesVerifierElem(); in testV21PrefToIsPrimary() local 515 elem.addExpected(StructuredName.CONTENT_ITEM_TYPE) in testV21PrefToIsPrimary() 518 elem.addExpected(Phone.CONTENT_ITEM_TYPE) in testV21PrefToIsPrimary() 521 elem.addExpected(Phone.CONTENT_ITEM_TYPE) in testV21PrefToIsPrimary() [all …]
|
D | VCardEntryTests.java | 151 public void addExpectedElement(EntryElement elem) { in addExpectedElement() argument 152 mExpectedElements.put(elem.getEntryLabel(), elem); in addExpectedElement() local 190 public boolean onElement(EntryElement elem) { in onElement() argument 191 EntryElement expectedElem = mExpectedElements.remove(elem.getEntryLabel()); in onElement() 192 assertNotNull("Unexpected elem: " + elem.toString(), expectedElem); in onElement() 193 assertEquals(expectedElem, elem); in onElement()
|
D | VCardExporterTests.java | 199 final PropertyNodesVerifierElem elem = mVerifier.addPropertyNodesVerifierElem(); in testStructuredNameUseSuperPrimaryCommon() local 200 elem.addExpectedNodeWithOrder("N", in testStructuredNameUseSuperPrimaryCommon() 206 elem.addExpectedNodeWithOrder("FN", "AppropriateDisplayName"); in testStructuredNameUseSuperPrimaryCommon() 243 final PropertyNodesVerifierElem elem = mVerifier.addPropertyNodesVerifierElem(); in testStructuredNamePhoneticNameCommon() local 250 elem.addExpectedNodeWithOrder("N", in testStructuredNamePhoneticNameCommon() 257 elem.addExpectedNodeWithOrder("N", in testStructuredNamePhoneticNameCommon() 263 elem.addExpectedNode("SORT-STRING", in testStructuredNamePhoneticNameCommon() 269 elem.addExpectedNodeWithOrder("FN", "AppropriateDisplayName") in testStructuredNamePhoneticNameCommon() 342 final PropertyNodesVerifierElem elem = mVerifier.addPropertyNodesVerifierElem(); in testStructuredNameComplicatedCommon() local 349 elem.addExpectedNodeWithOrder("N", in testStructuredNameComplicatedCommon() [all …]
|
D | VCardJapanizationTests.java | 124 PropertyNodesVerifierElem elem = mVerifier.addPropertyNodesVerifierElemWithEmptyName(); in testPhoneticNameCommon() local 125 elem.addExpectedNode("X-PHONETIC-LAST-NAME", "\u3084\u307E\u3060", in testPhoneticNameCommon() 133 elem.addExpectedNode("SORT-STRING", in testPhoneticNameCommon() 226 PropertyNodesVerifierElem elem = mVerifier.addPropertyNodesVerifierElemWithEmptyName(); in testPostalAddressWithJapaneseCommon() local 229 elem.addExpectedNode("ADR", Arrays.asList("\u79C1\u66F8\u7BB107", in testPostalAddressWithJapaneseCommon()
|
/frameworks/base/core/java/android/ddm/ |
D | DdmHandleThread.java | 151 for (StackTraceElement elem : trace) { in createStackChunk() 152 bufferSize += 4 + elem.getClassName().length() * 2; in createStackChunk() 153 bufferSize += 4 + elem.getMethodName().length() * 2; in createStackChunk() 155 if (elem.getFileName() != null) in createStackChunk() 156 bufferSize += elem.getFileName().length() * 2; in createStackChunk() 164 for (StackTraceElement elem : trace) { in createStackChunk() 165 out.putInt(elem.getClassName().length()); in createStackChunk() 166 putString(out, elem.getClassName()); in createStackChunk() 167 out.putInt(elem.getMethodName().length()); in createStackChunk() 168 putString(out, elem.getMethodName()); in createStackChunk() [all …]
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | ContentValuesVerifier.java | 32 ContentValuesVerifierElem elem = new ContentValuesVerifierElem(androidTestCase); in addElem() local 33 mContentValuesVerifierElemList.add(elem); in addElem() 34 return elem; in addElem() 39 for (ContentValuesVerifierElem elem : mContentValuesVerifierElemList) { in onStart() 40 elem.onParsingStart(); in onStart() 53 for (ContentValuesVerifierElem elem : mContentValuesVerifierElemList) { 54 elem.onParsingEnd(); 55 elem.verifyResolver();
|
D | VCardVerifier.java | 175 final PropertyNodesVerifierElem elem = addPropertyNodesVerifierElemWithoutVersion(); in addPropertyNodesVerifierElem() local 186 elem.addExpectedNodeWithOrder("VERSION", versionString); in addPropertyNodesVerifierElem() 188 return elem; in addPropertyNodesVerifierElem() 195 final PropertyNodesVerifierElem elem = addPropertyNodesVerifierElem(); in addPropertyNodesVerifierElemWithEmptyName() local 197 elem.addExpectedNodeWithOrder("FN", ""); in addPropertyNodesVerifierElemWithEmptyName() 199 elem.addExpectedNodeWithOrder("N", ""); in addPropertyNodesVerifierElemWithEmptyName() 200 elem.addExpectedNodeWithOrder("FN", ""); in addPropertyNodesVerifierElemWithEmptyName() 202 elem.addExpectedNodeWithOrder("N", ""); in addPropertyNodesVerifierElemWithEmptyName() 204 return elem; in addPropertyNodesVerifierElemWithEmptyName()
|
D | PropertyNodesVerifier.java | 41 PropertyNodesVerifierElem elem = new PropertyNodesVerifierElem(mAndroidTestCase); in addPropertyNodesVerifierElem() local 42 mPropertyNodesVerifierElemList.add(elem); in addPropertyNodesVerifierElem() 43 return elem; in addPropertyNodesVerifierElem()
|
D | PropertyNode.java | 166 for (String elem : paramMap_TYPE) { in toString() 173 builder.append(elem); in toString() 180 for (String elem : propGroupSet) { in toString() 187 builder.append(elem); in toString()
|
/frameworks/base/libs/rs/driver/ |
D | rsdMeshObj.cpp | 52 bool RsdMeshObj::isValidGLComponent(const Element *elem, uint32_t fieldIdx) { in isValidGLComponent() argument 54 if (elem->getFieldName(fieldIdx)[0] == '#') { in isValidGLComponent() 60 RsDataType dt = elem->getField(fieldIdx)->getComponent().getType(); in isValidGLComponent() 68 uint32_t arraySize = elem->getFieldArraySize(fieldIdx); in isValidGLComponent() 83 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement(); in init() local 84 for (uint32_t ct=0; ct < elem->getFieldCount(); ct++) { in init() 85 if (isValidGLComponent(elem, ct)) { in init() 106 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement(); in init() local 107 uint32_t stride = elem->getSizeBytes(); in init() 108 for (uint32_t fieldI=0; fieldI < elem->getFieldCount(); fieldI++) { in init() [all …]
|
D | rsdShader.cpp | 507 const Element *elem = mRSProgram->mHal.state.inputElements[ct].get(); in initAttribAndUniformArray() local 508 for (uint32_t field=0; field < elem->getFieldCount(); field++) { in initAttribAndUniformArray() 509 if (elem->getFieldName(field)[0] != '#') { in initAttribAndUniformArray() 517 const Element *elem = mRSProgram->mHal.state.constantTypes[ct]->getElement(); in initAttribAndUniformArray() local 519 for (uint32_t field=0; field < elem->getFieldCount(); field++) { in initAttribAndUniformArray() 520 if (elem->getFieldName(field)[0] != '#') { in initAttribAndUniformArray()
|
D | rsdMeshObj.h | 50 bool isValidGLComponent(const android::renderscript::Element *elem, uint32_t fieldIdx);
|
/frameworks/base/libs/rs/ |
D | rsElement.h | 89 ObjectBaseRef<const Element> elem = createRef(rsc, dt, dk, isNorm, vecSize); in create() local 90 elem->incUserRef(); in create() 91 return elem.get(); in create() 98 ObjectBaseRef<const Element> elem = createRef(rsc, count, ein, nin, lengths, asin); in create() local 99 elem->incUserRef(); in create() 100 return elem.get(); in create()
|
D | rsElement.cpp | 132 const Element *elem = Element::create(rsc, fieldCount, subElems, subElemNames, in createFromStream() local 143 return (Element *)elem; in createFromStream() 353 void rsaElementGetNativeData(RsContext con, RsElement elem, in rsaElementGetNativeData() argument 357 Element *e = static_cast<Element *>(elem); in rsaElementGetNativeData() 366 void rsaElementGetSubElements(RsContext con, RsElement elem, uint32_t *ids, in rsaElementGetSubElements() argument 368 Element *e = static_cast<Element *>(elem); in rsaElementGetSubElements()
|
D | rsType.cpp | 177 Element *elem = Element::createFromStream(rsc, stream); in createFromStream() local 178 if (!elem) { in createFromStream() 187 Type *type = Type::getType(rsc, elem, x, y, z, lod != 0, faces !=0 ); in createFromStream() 188 elem->decUserRef(); in createFromStream()
|
/frameworks/base/opengl/libagl2/src/ |
D | vertex.cpp | 27 const unsigned maxAttrib, VertexInput * elem) in FetchElement() argument 35 memcpy(elem->attributes + i, ptr, ctx->vert.attribs[i].size * sizeof(float)); in FetchElement() 46 elem->attributes[i].x = ctx->vert.defaultAttribs[i].x; in FetchElement() 48 elem->attributes[i].y = ctx->vert.defaultAttribs[i].y; in FetchElement() 50 elem->attributes[i].z = ctx->vert.defaultAttribs[i].z; in FetchElement() 52 elem->attributes[i].w = ctx->vert.defaultAttribs[i].w; in FetchElement()
|
/frameworks/base/core/jni/android/opengl/ |
D | poly_clip.cpp | 41 #define CLIP_AND_SWAP(elem, sign, k, p, q, r) { \ argument 42 poly_clip_to_halfspace(p, q, &v->elem-(float *)v, sign, sign*k); \
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardEntry.java | 1581 public boolean onElement(EntryElement elem); in onElement() argument 1619 for (EntryElement elem : elemList) { in iterateOneList() 1620 iterator.onElement(elem); in iterateOneList() 1646 public boolean onElement(EntryElement elem) { in onElement() argument 1647 if (!elem.isEmpty()) { in onElement() 1679 public boolean onElement(EntryElement elem) { in onElement() argument 1684 mBuilder.append("[").append(elem.toString()).append("]"); in onElement() 1732 public boolean onElement(EntryElement elem) { in onElement() argument 1733 if (!elem.isEmpty()) { in onElement() 1734 elem.constructInsertOperation(mOperationList, mBackReferenceIndex); in onElement() [all …]
|