OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ResourceFolderType
(Results
1 - 25
of
54
) sorted by null
1
2
3
/sdk/common/src/com/android/resources/
FolderTypeRelationship.java
28
* {@link
ResourceFolderType
}.
32
private final static Map<ResourceType, List<
ResourceFolderType
>> mTypeToFolderMap =
33
new HashMap<ResourceType, List<
ResourceFolderType
>>();
35
private final static Map<
ResourceFolderType
, List<ResourceType>> mFolderToTypeMap =
36
new HashMap<
ResourceFolderType
, List<ResourceType>>();
40
add(ResourceType.ANIM,
ResourceFolderType
.ANIM);
41
add(ResourceType.ANIMATOR,
ResourceFolderType
.ANIMATOR);
42
add(ResourceType.ARRAY,
ResourceFolderType
.VALUES);
43
add(ResourceType.ATTR,
ResourceFolderType
.VALUES);
44
add(ResourceType.BOOL,
ResourceFolderType
.VALUES)
[
all
...]
ResourceFolderType.java
24
public enum
ResourceFolderType
{
39
ResourceFolderType
(String name) {
55
public static
ResourceFolderType
getTypeByName(String name) {
56
for (
ResourceFolderType
rType : values()) {
65
* Returns the {@link
ResourceFolderType
} from the folder name
68
* @return the <code>
ResourceFolderType
</code> representing the type of the folder, or
71
public static
ResourceFolderType
getFolderType(String folderName) {
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/resources/
ResourceNameValidatorTest.java
19
import com.android.resources.
ResourceFolderType
;
31
ResourceFolderType
.VALUES);
47
assertTrue(ResourceNameValidator.create(true,
ResourceFolderType
.LAYOUT)
49
assertTrue(ResourceNameValidator.create(true,
ResourceFolderType
.LAYOUT)
53
assertTrue(ResourceNameValidator.create(true,
ResourceFolderType
.VALUES)
55
assertTrue(ResourceNameValidator.create(true,
ResourceFolderType
.LAYOUT)
57
assertTrue(ResourceNameValidator.create(true,
ResourceFolderType
.DRAWABLE)
/sdk/common/tests/src/com/android/resources/
FolderTypeRelationShipTest.java
20
import com.android.resources.
ResourceFolderType
;
39
for (
ResourceFolderType
type :
ResourceFolderType
.values()) {
/sdk/lint/libs/lint_api/src/com/android/tools/lint/detector/api/
ResourceXmlDetector.java
20
import com.android.resources.
ResourceFolderType
;
50
public boolean appliesTo(@NonNull
ResourceFolderType
folderType) {
XmlContext.java
21
import com.android.resources.
ResourceFolderType
;
45
private final
ResourceFolderType
mFolderType;
57
* @param folderType the {@link
ResourceFolderType
} of this file, if any
64
@Nullable
ResourceFolderType
folderType) {
134
public
ResourceFolderType
getResourceFolderType() {
LayoutDetector.java
31
import com.android.resources.
ResourceFolderType
;
46
public boolean appliesTo(@NonNull
ResourceFolderType
folderType) {
47
return folderType ==
ResourceFolderType
.LAYOUT;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
XmlFormatStyle.java
18
import com.android.resources.
ResourceFolderType
;
94
public static XmlFormatStyle getForFolderType(
ResourceFolderType
folderType) {
124
ResourceFolderType
folderType =
ResourceFolderType
.getFolderType(parentName);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/animator/
AnimationEditorDelegate.java
27
import com.android.resources.
ResourceFolderType
;
45
ResourceFolderType
type) {
46
if (
ResourceFolderType
.ANIM == type ||
ResourceFolderType
.ANIMATOR == type) {
101
if (getFolderType() ==
ResourceFolderType
.ANIM) {
136
if (getFolderType() ==
ResourceFolderType
.ANIM) {
152
private
ResourceFolderType
getFolderType() {
155
return
ResourceFolderType
.getFolderType(folderName);
157
return
ResourceFolderType
.ANIMATOR;
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/
ExtraTextDetector.java
19
import com.android.resources.
ResourceFolderType
;
62
public boolean appliesTo(
ResourceFolderType
folderType) {
63
return folderType ==
ResourceFolderType
.LAYOUT
64
|| folderType ==
ResourceFolderType
.MENU
65
|| folderType ==
ResourceFolderType
.ANIMATOR
66
|| folderType ==
ResourceFolderType
.ANIMATOR
67
|| folderType ==
ResourceFolderType
.DRAWABLE
68
|| folderType ==
ResourceFolderType
.COLOR;
StateListDetector.java
21
import com.android.resources.
ResourceFolderType
;
60
public boolean appliesTo(
ResourceFolderType
folderType) {
61
return folderType ==
ResourceFolderType
.DRAWABLE;
StyleCycleDetector.java
24
import com.android.resources.
ResourceFolderType
;
61
public boolean appliesTo(
ResourceFolderType
folderType) {
62
return folderType ==
ResourceFolderType
.VALUES;
/sdk/ide_common/src/com/android/ide/common/resources/
ResourceFolder.java
26
import com.android.resources.
ResourceFolderType
;
38
final
ResourceFolderType
mType;
52
protected ResourceFolder(
ResourceFolderType
type, FolderConfiguration config,
151
* Returns the {@link
ResourceFolderType
} of this object.
153
public
ResourceFolderType
getType() {
236
List<
ResourceFolderType
> folderTypes = FolderTypeRelationship.getRelatedFolders(type);
239
for (
ResourceFolderType
rft : folderTypes) {
ResourceRepository.java
29
import com.android.resources.
ResourceFolderType
;
58
protected final Map<
ResourceFolderType
, List<ResourceFolder>> mFolderMap =
59
new EnumMap<
ResourceFolderType
, List<ResourceFolder>>(
ResourceFolderType
.class);
90
private ResourceFolder add(
ResourceFolderType
type, FolderConfiguration config,
130
public ResourceFolder removeFolder(
ResourceFolderType
type, IAbstractFolder removedFolder,
261
ResourceFolderType
type =
ResourceFolderType
.getTypeByName(folderSegments[0]);
276
* Returns a list of {@link ResourceFolder} for a specific {@link
ResourceFolderType
}.
277
* @param type The {@link
ResourceFolderType
}
[
all
...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/color/
ColorEditorDelegate.java
25
import com.android.resources.
ResourceFolderType
;
43
ResourceFolderType
type) {
44
if (
ResourceFolderType
.COLOR == type) {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/otherxml/
OtherXmlEditorDelegate.java
25
import com.android.resources.
ResourceFolderType
;
40
ResourceFolderType
type) {
41
if (
ResourceFolderType
.XML == type) {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/common/
CommonMatchingStrategy.java
23
import com.android.resources.
ResourceFolderType
;
47
if (resFolder != null && resFolder.getType() ==
ResourceFolderType
.LAYOUT) {
CommonXmlEditor.java
35
import com.android.resources.
ResourceFolderType
;
139
ResourceFolderType
type = resFolder == null ? null : resFolder.getType();
145
type =
ResourceFolderType
.getFolderType(folderName);
169
ResourceFolderType
type =
ResourceFolderType
.getFolderType(folderName);
170
if (type ==
ResourceFolderType
.LAYOUT) {
CommonXmlDelegate.java
22
import com.android.resources.
ResourceFolderType
;
64
* @param type The {@link
ResourceFolderType
} of the folder containing the file,
70
@Nullable
ResourceFolderType
type);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
LayoutEditorMatchingStrategy.java
22
import com.android.resources.
ResourceFolderType
;
57
if (resFolder != null && resFolder.getType() ==
ResourceFolderType
.LAYOUT) {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/drawable/
DrawableEditorDelegate.java
26
import com.android.resources.
ResourceFolderType
;
44
ResourceFolderType
type) {
45
if (
ResourceFolderType
.DRAWABLE == type) {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/
ValuesEditorDelegate.java
25
import com.android.resources.
ResourceFolderType
;
47
ResourceFolderType
type) {
48
if (
ResourceFolderType
.VALUES == type) {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/
ResourceNameValidator.java
26
import com.android.resources.
ResourceFolderType
;
149
ResourceFolderType
type) {
150
boolean isFileType = type !=
ResourceFolderType
.VALUES;
152
type ==
ResourceFolderType
.DRAWABLE);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/menu/
MenuEditorDelegate.java
26
import com.android.resources.
ResourceFolderType
;
47
ResourceFolderType
type) {
48
if (
ResourceFolderType
.MENU == type) {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/
NewXmlFileCreationPage.java
48
import com.android.resources.
ResourceFolderType
;
117
private final
ResourceFolderType
mResFolderType;
128
ResourceFolderType
resFolderType,
155
* Returns the name of the {@link
ResourceFolderType
}.
157
* e.g. two types use {@link
ResourceFolderType
#XML}.
164
* Returns the matching {@link
ResourceFolderType
}.
166
* e.g. two types use {@link
ResourceFolderType
#XML}.
168
ResourceFolderType
getResFolderType() {
250
ResourceFolderType
.LAYOUT, // folder type
316
ResourceFolderType
.VALUES, // folder typ
[
all
...]
Completed in 2338 milliseconds
1
2
3