Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 320) sorted by relevance

12345678910>>...13

/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/format/
DGLDataTypeSpec.java27 public GLDataTypeSpec(String type, String name) { in GLDataTypeSpec() argument
28 mCType = type; in GLDataTypeSpec()
31 mType = getDataType(type); in GLDataTypeSpec()
32 mIsPointer = type.contains("*"); //$NON-NLS-1$ in GLDataTypeSpec()
35 private Type getDataType(String type) { in getDataType() argument
36 type = type.toLowerCase(); in getDataType()
41 if (type.contains("boolean")) { //$NON-NLS-1$ in getDataType()
43 } else if (type.contains("enum")) { //$NON-NLS-1$ in getDataType()
45 } else if (type.contains("float") || type.contains("clampf")) { //$NON-NLS-1$ //$NON-NLS-2$ in getDataType()
47 } else if (type.contains("void")) { //$NON-NLS-1$ in getDataType()
[all …]
/sdk/emulator/opengl/host/libs/GLESv1_dec/
DGLDecoder.cpp88 void GLDecoder::s_glVertexPointerOffset(void *self, GLint size, GLenum type, GLsizei stride, GLuint… in s_glVertexPointerOffset() argument
91 ctx->glVertexPointer(size, type, stride, (void *)offset); in s_glVertexPointerOffset()
94 void GLDecoder::s_glColorPointerOffset(void *self, GLint size, GLenum type, GLsizei stride, GLuint … in s_glColorPointerOffset() argument
97 ctx->glColorPointer(size, type, stride, (void *)offset); in s_glColorPointerOffset()
100 void GLDecoder::s_glTexCoordPointerOffset(void *self, GLint size, GLenum type, GLsizei stride, GLui… in s_glTexCoordPointerOffset() argument
103 ctx->glTexCoordPointer(size, type, stride, (void *) offset); in s_glTexCoordPointerOffset()
106 void GLDecoder::s_glNormalPointerOffset(void *self, GLenum type, GLsizei stride, GLuint offset) in s_glNormalPointerOffset() argument
109 ctx->glNormalPointer(type, stride, (void *)offset); in s_glNormalPointerOffset()
112 void GLDecoder::s_glPointSizePointerOffset(void *self, GLenum type, GLsizei stride, GLuint offset) in s_glPointSizePointerOffset() argument
115 ctx->glPointSizePointerOES(type, stride, (void *)offset); in s_glPointSizePointerOffset()
[all …]
DGLDecoder.h39 …static void gl_APIENTRY s_glVertexPointerData(void *self, GLint size, GLenum type, GLsizei stride,…
40 …static void gl_APIENTRY s_glVertexPointerOffset(void *self, GLint size, GLenum type, GLsizei strid…
42 …static void gl_APIENTRY s_glColorPointerData(void *self, GLint size, GLenum type, GLsizei stride, …
43 …static void gl_APIENTRY s_glColorPointerOffset(void *self, GLint size, GLenum type, GLsizei stride…
45 …static void gl_APIENTRY s_glTexCoordPointerData(void *self, GLint unit, GLint size, GLenum type, G…
46 …static void gl_APIENTRY s_glTexCoordPointerOffset(void *self, GLint size, GLenum type, GLsizei str…
48 …static void gl_APIENTRY s_glNormalPointerData(void *self, GLenum type, GLsizei stride, void *data,…
49 …static void gl_APIENTRY s_glNormalPointerOffset(void *self, GLenum type, GLsizei stride, GLuint of…
51 …static void gl_APIENTRY s_glPointSizePointerData(void *self, GLenum type, GLsizei stride, void *da…
52 …static void gl_APIENTRY s_glPointSizePointerOffset(void *self, GLenum type, GLsizei stride, GLuint…
[all …]
Dgl.addon1 GL_ENTRY(void, glVertexPointerOffset, GLint size, GLenum type, GLsizei stride, GLuint offset)
2 GL_ENTRY(void, glColorPointerOffset, GLint size, GLenum type, GLsizei stride, GLuint offset)
3 GL_ENTRY(void, glNormalPointerOffset, GLenum type, GLsizei stride, GLuint offset)
4 GL_ENTRY(void, glPointSizePointerOffset, GLenum type, GLsizei stride, GLuint offset)
5 GL_ENTRY(void, glTexCoordPointerOffset, GLint size, GLenum type, GLsizei stride, GLuint offset)
7 GL_ENTRY(void, glVertexPointerData, GLint size, GLenum type, GLsizei stride, void * data, GLuint d…
8 GL_ENTRY(void, glColorPointerData, GLint size, GLenum type, GLsizei stride, void * data, GLuint da…
9 GL_ENTRY(void, glNormalPointerData, GLenum type, GLsizei stride, void * data, GLuint datalen)
10 GL_ENTRY(void, glTexCoordPointerData, GLint size, GLenum type, GLsizei stride, void * data, GLuint…
11 GL_ENTRY(void, glPointSizePointerData, GLenum type, GLsizei stride, void * data, GLuint datalen)
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidXmlCharacterMatcher.java77 String type = subRegion.getType(); in findOppositeTag() local
81 if (type.equals(XML_TAG_OPEN)) { in findOppositeTag()
83 } else if (type.equals(XML_END_TAG_OPEN)) { in findOppositeTag()
85 } else if (!(type.equals(XML_TAG_CLOSE) || type.equals(XML_TAG_NAME)) && in findOppositeTag()
99 type = subRegion.getType(); in findOppositeTag()
105 if (type.equals(XML_TAG_CLOSE) || type.equals(XML_TAG_NAME)) { in findOppositeTag()
108 type = subRegion.getType(); in findOppositeTag()
109 if (type.equals(XML_TAG_OPEN)) { in findOppositeTag()
112 } else if (type.equals(XML_END_TAG_OPEN)) { in findOppositeTag()
162 String type = subRegion.getType(); in findTagBackwards() local
[all …]
/sdk/emulator/qtools/
Dstack_dump.cpp25 void getFrameType(char *type);
30 void MyFrame::getFrameType(char *type) in getFrameType() argument
32 strcpy(type, "----"); in getFrameType()
34 type[0] = 'e'; in getFrameType()
36 type[1] = 'm'; in getFrameType()
38 type[2] = 'k'; in getFrameType()
40 type[3] = 'v'; in getFrameType()
45 char type[5]; in push() local
50 getFrameType(type); in push()
51 printf("%llu en thr %d %s %3d", time, base->getId(), type, stackLevel); in push()
[all …]
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/log/
DEventValueDescription.java57 public void checkType(EventValueType type) throws InvalidValueTypeException { in checkType() argument
58 if ((type != EventValueType.INT && type != EventValueType.LONG) in checkType()
61 String.format("%1$s doesn't support type %2$s", type, this)); in checkType()
71 for (ValueType type : values()) { in getValueType()
72 if (type.mValue == value) { in getValueType()
73 return type; in getValueType()
109 EventValueDescription(String name, EventValueType type) { in EventValueDescription() argument
111 mEventValueType = type; in EventValueDescription()
128 EventValueDescription(String name, EventValueType type, ValueType valueType) in EventValueDescription() argument
131 mEventValueType = type; in EventValueDescription()
DEventContainer.java88 for (EventValueType type : values()) { in getEventValueType()
89 if (type.mValue == value) { in getEventValueType()
90 return type; in getEventValueType()
130 EventValueType type = getEventValueType(Integer.parseInt(m.group(1))); in getObjectFromStorageString() local
132 if (type == null) { in getObjectFromStorageString()
136 switch (type) { in getObjectFromStorageString()
303 EventValueType type = getType(obj); in getType() local
304 if (type == EventValueType.LIST || type == EventValueType.TREE) { in getType()
326 EventValueType type = getType(mData); in testValue() local
327 if (index > 0 && type != EventValueType.LIST) { in testValue()
[all …]
/sdk/layoutlib_api/tests/src/com/android/resources/
DFolderTypeRelationShipTest.java30 for (ResourceType type : ResourceType.values()) { in testResourceType()
31 assertTrue(type.getDisplayName(), in testResourceType()
32 FolderTypeRelationship.getRelatedFolders(type).size() > 0); in testResourceType()
39 for (ResourceFolderType type : ResourceFolderType.values()) { in testResourceFolderType()
40 assertTrue(type.getName(), in testResourceFolderType()
41 FolderTypeRelationship.getRelatedResourceTypes(type).size() > 0); in testResourceFolderType()
/sdk/sdk_common/src/com/android/ide/common/resources/
DFrameworkResources.java75 public List<ResourceItem> getResourceItemsOfType(@NonNull ResourceType type) { in getResourceItemsOfType() argument
76 return mPublicResourceMap.get(type); in getResourceItemsOfType()
85 public boolean hasResourcesOfType(@NonNull ResourceType type) { in hasResourcesOfType() argument
86 return mPublicResourceMap.get(type).size() > 0; in hasResourcesOfType()
148 ResourceType type = null; in loadPublicResources() local
150 type = lastType; in loadPublicResources()
152 type = ResourceType.getEnum(typeName); in loadPublicResources()
153 lastType = type; in loadPublicResources()
156 if (type != null) { in loadPublicResources()
158 Map<String, ResourceItem> map = mResourceMap.get(type); in loadPublicResources()
[all …]
DResourceRepository.java96 @NonNull ResourceFolderType type, in add()
100 List<ResourceFolder> list = mFolderMap.get(type); in add()
105 ResourceFolder cf = new ResourceFolder(type, config, folder, this); in add()
108 mFolderMap.put(type, list); in add()
125 ResourceFolder cf = new ResourceFolder(type, config, folder, this); in add()
140 @NonNull ResourceFolderType type, in removeFolder()
144 List<ResourceFolder> list = mFolderMap.get(type); in removeFolder()
188 ResourceType type = ResourceType.getEnum(typeName); in hasResourceItem() local
189 if (type != null) { in hasResourceItem()
191 return hasResourceItem(type, name); in hasResourceItem()
[all …]
DIdGeneratingResourceFile.java53 public IdGeneratingResourceFile(IAbstractFile file, ResourceFolder folder, ResourceType type) { in IdGeneratingResourceFile() argument
56 mFileType = type; in IdGeneratingResourceFile()
64 mFileName = getFileName(type); in IdGeneratingResourceFile()
120 public boolean hasResources(ResourceType type) { in hasResources() argument
121 return (type == mFileType) || (type == ResourceType.ID && !mIdResources.isEmpty()); in hasResources()
125 public ResourceValue getValue(ResourceType type, String name) { in getValue() argument
127 if (type != mFileType && type != ResourceType.ID) { in getValue()
132 if (type == mFileType && name.equals(mFileName)) { in getValue()
213 private String getFileName(ResourceType type) { in getFileName() argument
233 public boolean hasResourceValue(ResourceType type, String name) { in hasResourceValue() argument
[all …]
DMultiResourceFile.java97 for (ResourceType type : mResourceTypeList) { in update()
100 if (mResourceItems.get(type).keySet() in update()
101 .equals(oldResourceItems.get(type).keySet()) == false) { in update()
133 public boolean hasResources(ResourceType type) { in hasResources() argument
134 Map<String, ResourceValue> list = mResourceItems.get(type); in hasResources()
144 for (ResourceType type : mResourceTypeList) { in updateResourceItems()
145 Map<String, ResourceValue> list = mResourceItems.get(type); in updateResourceItems()
150 ResourceItem item = repository.getResourceItem(type, res.getName()); in updateResourceItems()
207 public boolean hasResourceValue(ResourceType type, String name) { in hasResourceValue() argument
208 Map<String, ResourceValue> map = mResourceItems.get(type); in hasResourceValue()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DMatch.java38 public final ConstraintType type; field in Match
56 ConstraintType type, int delta) { in Match() argument
61 this.type = type; in Match()
72 if (type.targetParent) { in getConstraint()
73 return type.name + '=' + VALUE_TRUE; in getConstraint()
91 return type.name + '=' + id; in getConstraint()
97 return "Match [type=" + type + ", delta=" + delta + ", edge=" + edge in toString()
DConstraintPainter.java70 ConstraintType type = match.type; in paintConstraint() local
71 assert type != null; in paintConstraint()
72 paintConstraint(graphics, type, match.with.node, sourceBounds, match.edge.node, in paintConstraint()
99 paintConstraint(graphics, constraint.type, sourceNode, sourceBounds, targetNode, in paintConstraint()
160 if (constraint.type == ALIGN_BASELINE) { in paintConstraints()
163 if (c.type == ALIGN_BOTTOM && c.to.node == constraint.to.node) { in paintConstraints()
183 private static void paintConstraint(IGraphics graphics, ConstraintType type, INode sourceNode, in paintConstraint() argument
187 SegmentType sourceSegmentTypeX = type.sourceSegmentTypeX; in paintConstraint()
188 SegmentType sourceSegmentTypeY = type.sourceSegmentTypeY; in paintConstraint()
189 SegmentType targetSegmentTypeX = type.targetSegmentTypeX; in paintConstraint()
[all …]
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
DChunkHandler.java33 public static final int CHUNK_FAIL = type("FAIL");
65 abstract void handleChunk(Client client, int type, in handleChunk() argument
72 protected void handleUnknownChunk(Client client, int type, in handleUnknownChunk() argument
74 if (type == CHUNK_FAIL) { in handleUnknownChunk()
83 Log.w("ddms", "WARNING: received unknown chunk " + name(type) in handleUnknownChunk()
116 static int type(String typeName) { in type() method in ChunkHandler
135 static String name(int type) { in name() argument
138 ascii[0] = (char) ((type >> 24) & 0xff); in name()
139 ascii[1] = (char) ((type >> 16) & 0xff); in name()
140 ascii[2] = (char) ((type >> 8) & 0xff); in name()
[all …]
DHandleTest.java29 public static final int CHUNK_TEST = type("TEST");
59 public void handleChunk(Client client, int type, ByteBuffer data, boolean isReply, int msgId) { in handleChunk() argument
61 Log.d("ddm-test", "handling " + ChunkHandler.name(type)); in handleChunk()
63 if (type == CHUNK_TEST) { in handleChunk()
66 handleUnknownChunk(client, type, data, isReply, msgId); in handleChunk()
DHandleWait.java30 public static final int CHUNK_WAIT = ChunkHandler.type("WAIT");
60 public void handleChunk(Client client, int type, ByteBuffer data, boolean isReply, int msgId) { in handleChunk() argument
62 Log.d("ddm-wait", "handling " + ChunkHandler.name(type)); in handleChunk()
64 if (type == CHUNK_WAIT) { in handleChunk()
68 handleUnknownChunk(client, type, data, isReply, msgId); in handleChunk()
/sdk/emulator/opengl/host/libs/Translator/GLES_V2/
DGLESv2Validate.cpp123 bool GLESv2Validate::shaderType(GLenum type){ in shaderType() argument
124 return type == GL_VERTEX_SHADER || type == GL_FRAGMENT_SHADER; in shaderType()
127 bool GLESv2Validate::precisionType(GLenum type){ in precisionType() argument
128 switch(type){ in precisionType()
144 bool GLESv2Validate::pixelType(GLEScontext * ctx,GLenum type) { in pixelType() argument
145 if(type == GL_UNSIGNED_SHORT || type == GL_UNSIGNED_INT) in pixelType()
148 return GLESvalidate::pixelType(ctx, type); in pixelType()
DProgramData.cpp49 GLuint ProgramData::getAttachedShader(GLenum type) { in getAttachedShader() argument
51 switch (type) { in getAttachedShader()
62 bool ProgramData::attachShader(GLuint shader,GLenum type) { in attachShader() argument
63 if (type==GL_VERTEX_SHADER && AttachedVertexShader==0) { in attachShader()
67 else if (type==GL_FRAGMENT_SHADER && AttachedFragmentShader==0) { in attachShader()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/
DNewXmlFileCreationPage.java458 TypeInfo type = getSelectedType(); in createControl()
459 if (type != null) { in createControl()
460 onSelectType(type); in createControl()
547 int typeIndex = getTypeComboIndex(mValues.type); in initialSelectType()
551 assert mValues.type == types[typeIndex]; in initialSelectType()
747 for (TypeInfo type : sTypes) { in initializeFromFixedType()
748 if (type.getResFolderType() == mInitialFolderType) { in initializeFromFixedType()
749 mValues.type = type; in initializeFromFixedType()
750 updateFolderPath(type); in initializeFromFixedType()
766 for (TypeInfo type : sTypes) { in selectTypeFromFolder()
[all …]
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/project/
DProjectProperties.java234 public static ProjectProperties load(String projectFolderOsPath, PropertyType type) { in load() argument
236 return load(wrapper, type); in load()
246 public static ProjectProperties load(IAbstractFolder projectFolder, PropertyType type) { in load() argument
248 IAbstractFile propFile = projectFolder.getFile(type.mFilename); in load()
252 return new ProjectProperties(projectFolder, map, type); in load()
266 public static boolean delete(IAbstractFolder projectFolder, PropertyType type) { in delete() argument
268 IAbstractFile propFile = projectFolder.getFile(type.mFilename); in delete()
284 public static boolean delete(String projectFolderOsPath, PropertyType type) { in delete() argument
286 return delete(wrapper, type); in delete()
299 @NonNull PropertyType type) { in create() argument
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/uimodel/
DUiItemElementNode.java48 String type = elem.getAttribute(SdkConstants.ATTR_TYPE); in getShortDescription() local
50 if (type != null && name != null && type.length() > 0 && name.length() > 0) { in getShortDescription()
51 type = AdtUtils.capitalize(type); in getShortDescription()
52 return String.format("%1$s (%2$s %3$s)", name, type, getDescriptor().getUiName()); in getShortDescription()
/sdk/emulator/opengl/host/libs/Translator/GLES_CM/
DGLEScmValidate.cpp258 bool GLEScmValidate::colorPointerType(GLenum type){ in colorPointerType() argument
259 switch(type){ in colorPointerType()
268 bool GLEScmValidate::normalPointerType(GLenum type){ in normalPointerType() argument
270 switch(type){ in normalPointerType()
280 bool GLEScmValidate::pointPointerType(GLenum type){ in pointPointerType() argument
281 return type == GL_FIXED || type == GL_FLOAT; in pointPointerType()
284 bool GLEScmValidate::texCoordPointerType(GLenum type){ in texCoordPointerType() argument
285 switch(type){ in texCoordPointerType()
295 bool GLEScmValidate::vertexPointerType(GLenum type){ in vertexPointerType() argument
296 switch(type){ in vertexPointerType()
DGLEScmValidate.h43 static bool colorPointerType(GLenum type);
44 static bool normalPointerType(GLenum type);
45 static bool pointPointerType(GLenum type);
46 static bool texCoordPointerType(GLenum type);
47 static bool vertexPointerType(GLenum type);

12345678910>>...13