Searched defs:type (Results 1 - 25 of 169) sorted by relevance

1234567

/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/actions/
H A DPixelPerfectEnabledAction.java32 public PixelPerfectEnabledAction(String name, int type) { argument
33 super(name, type);
/sdk/layoutlib_api/src/com/android/ide/common/rendering/api/
H A DAttrResourceValue.java36 public AttrResourceValue(ResourceType type, String name, boolean isFramework) { argument
37 super(type, name, isFramework);
H A DDeclareStyleableResourceValue.java40 public DeclareStyleableResourceValue(ResourceType type, String name, boolean isFramework) { argument
41 super(type, name, isFramework);
H A DDensityBasedResourceValue.java27 public DensityBasedResourceValue(ResourceType type, String name, String value, argument
29 super(type, name, value, isFramework);
H A DStyleResourceValue.java35 public StyleResourceValue(ResourceType type, String name, boolean isFramework) { argument
36 super(type, name, isFramework);
39 public StyleResourceValue(ResourceType type, String name, String parentStyle, argument
41 super(type, name, isFramework);
/sdk/layoutlib_api/src/com/android/layoutlib/api/
H A DIProjectCallback.java47 * <p/>The resource id is the value of a <code>R.&lt;type&gt;.&lt;name&gt;</code>, and
48 * this method will return both the type and name of the resource.
50 * @return an array of 2 strings containing the resource name and type, or null if the id
56 * Resolves the id of a resource Id of type int[]
66 * <p/>The provided type and name must match an existing constant defined as
67 * <code>R.&lt;type&gt;.&lt;name&gt;</code>.
68 * @param type the type of the resource
72 Integer getResourceValue(String type, String name); argument
/sdk/layoutlib_api/src/com/android/resources/
H A DFolderTypeRelationship.java73 * of the specified type.
74 * @param folderType The folder type.
88 * of the specified type.
89 * @param resType the type of resource.
103 * @param resType the resource type.
104 * @param folderType the folder type.
120 * a file in the folder can generate a resource of the specified type.
121 * @param type The resourceType
124 private static void add(ResourceType type, ResourceFolderType folder) { argument
125 // first we add the folder to the list associated with the type
[all...]
/sdk/sdk_common/src/com/android/ide/common/rendering/legacy/
H A DLegacyCallback.java39 public final Integer getResourceValue(String type, String name) { argument
40 return getResourceId(ResourceType.getEnum(type), name);
/sdk/sdk_common/src/com/android/ide/common/resources/
H A DFrameworkResources.java70 * @param type the type of the resources to return
75 public List<ResourceItem> getResourceItemsOfType(@NonNull ResourceType type) { argument
76 return mPublicResourceMap.get(type);
81 * @param type the type of resource to check.
82 * @return true if the repository contains resources of the given type, false otherwise.
85 public boolean hasResourcesOfType(@NonNull ResourceType type) { argument
86 return mPublicResourceMap.get(type).size() > 0;
142 } else if (attribute.equals("type")) { //
[all...]
H A DInlineResourceItem.java56 public ResourceValue getResourceValue(ResourceType type, FolderConfiguration referenceConfig, argument
58 assert type == ResourceType.ID;
60 mValue = new ResourceValue(type, getName(), isFramework);
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
H A DHandleAppName.java28 public static final int CHUNK_APNM = ChunkHandler.type("APNM");
58 public void handleChunk(Client client, int type, ByteBuffer data, argument
61 Log.d("ddm-appname", "handling " + ChunkHandler.name(type));
63 if (type == CHUNK_APNM) {
67 handleUnknownChunk(client, type, data, isReply, msgId);
H A DHandleExit.java27 public static final int CHUNK_EXIT = type("EXIT");
55 public void handleChunk(Client client, int type, ByteBuffer data, boolean isReply, int msgId) { argument
56 handleUnknownChunk(client, type, data, isReply, msgId);
H A DHandleTest.java29 public static final int CHUNK_TEST = type("TEST");
59 public void handleChunk(Client client, int type, ByteBuffer data, boolean isReply, int msgId) { argument
61 Log.d("ddm-test", "handling " + ChunkHandler.name(type));
63 if (type == CHUNK_TEST) {
66 handleUnknownChunk(client, type, data, isReply, msgId);
H A 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) { argument
62 Log.d("ddm-wait", "handling " + ChunkHandler.name(type));
64 if (type == CHUNK_WAIT) {
68 handleUnknownChunk(client, type, data, isReply, msgId);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
H A DGridMatch.java33 public final SegmentType type; field in class:GridMatch
50 * @param type the edge of the dragged element that was matched
59 GridMatch(SegmentType type, int distance, int matchedLine, int cellIndex, argument
62 this.type = type;
89 switch (type) {
138 switch (type) {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
H A DMatch.java37 /** the type of constraint this is a match for */
38 public final ConstraintType type; field in class:Match
52 * @param type the type of constraint this is a match for
56 ConstraintType type, int delta) {
61 this.type = type;
72 if (type.targetParent) {
73 return type.name + '=' + VALUE_TRUE;
91 return type
55 Match(GuidelineHandler handler, Segment edge, Segment with, ConstraintType type, int delta) argument
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/
H A DDynamicIdMap.java43 * Returns a dynamic integer for the given resource type/name, creating it if it doesn't
46 * @param type the type of the resource
50 public Integer getId(ResourceType type, String name) { argument
51 return getId(Pair.of(type, name));
55 * Returns a dynamic integer for the given resource type/name, creating it if it doesn't
58 * @param resource the type/name of the resource
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
H A DResourcePreviewHelper.java88 * Updates the preview based on the current selection and resource type, possibly
91 * @param type the resource type for the selected resource
94 public void updatePreview(ResourceType type, String resource) { argument
95 boolean showPreview = type == ResourceType.DRAWABLE || type == ResourceType.COLOR;
127 if (type == ResourceType.COLOR) {
137 assert type == ResourceType.DRAWABLE;
177 // because if it's a severe type of error (such as an InternalError shown
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/format/
H A DGLDataTypeSpec.java27 public GLDataTypeSpec(String type, String name) { argument
28 mCType = type;
31 mType = getDataType(type);
32 mIsPointer = type.contains("*"); //$NON-NLS-1$
35 private Type getDataType(String type) { argument
36 type = type.toLowerCase();
38 // We use type.contains() rather than type.equals since we are matching against
39 // the type nam
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/
H A DGLAbstractAtomicProperty.java28 public GLAbstractAtomicProperty(GLStateType type) { argument
29 mType = type;
H A DGLObjectProperty.java29 public GLObjectProperty(GLStateType type, Object defaultValue) { argument
30 super(type);
H A DGLStringProperty.java23 public GLStringProperty(GLStateType type, String defaultValue) { argument
24 super(type);
/sdk/eclipse/plugins/com.android.ide.eclipse.pdt/src/com/android/ide/eclipse/pdt/internal/
H A DDebuggerConnector.java111 * @param type The {@link ILaunchConfigurationType}.
118 ILaunchConfigurationType type,
121 ILaunchConfiguration[] configs = manager.getLaunchConfigurations(type);
117 findConfig(ILaunchManager manager, ILaunchConfigurationType type, String projectName, int connectionPort) argument
/sdk/emulator/opengl/host/libs/Translator/GLES_V2/
H A DProgramData.cpp49 GLuint ProgramData::getAttachedShader(GLenum type) { argument
51 switch (type) {
62 bool ProgramData::attachShader(GLuint shader,GLenum type) { argument
63 if (type==GL_VERTEX_SHADER && AttachedVertexShader==0) {
67 else if (type==GL_FRAGMENT_SHADER && AttachedFragmentShader==0) {
/sdk/lint/libs/lint_api/src/com/android/tools/lint/client/api/
H A DDefaultSdkInfo.java138 // Strip off type parameters, e.g. AdapterView<?> => AdapterView
139 private static String getRawType(String type) { argument
140 if (type != null) {
141 int index = type.indexOf('<');
143 type = type.substring(0, index);
147 return type;

Completed in 234 milliseconds

1234567