Home
last modified time | relevance | path

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

/sdk/sdk_common/src/com/android/ide/common/resources/configuration/
DLanguageQualifier.java39 public static LanguageQualifier getQualifier(String segment) { in getQualifier() argument
40 if (sLanguagePattern.matcher(segment).matches()) { in getQualifier()
42 qualifier.mValue = segment; in getQualifier()
55 String segment = value.toLowerCase(Locale.US); in getFolderSegment() local
56 if (sLanguagePattern.matcher(segment).matches()) { in getFolderSegment()
57 return segment; in getFolderSegment()
DRegionQualifier.java40 public static RegionQualifier getQualifier(String segment) { in getQualifier() argument
41 Matcher m = sRegionPattern.matcher(segment); in getQualifier()
59 String segment = "r" + value.toUpperCase(Locale.US); //$NON-NLS-1$ in getFolderSegment() local
60 if (sRegionPattern.matcher(segment).matches()) { in getFolderSegment()
61 return segment; in getFolderSegment()
DCountryCodeQualifier.java41 public static CountryCodeQualifier getQualifier(String segment) { in getQualifier() argument
42 Matcher m = sCountryCodePattern.matcher(segment); in getQualifier()
DNetworkCodeQualifier.java41 public static NetworkCodeQualifier getQualifier(String segment) { in getQualifier() argument
42 Matcher m = sNetworkCodePattern.matcher(segment); in getQualifier()
DVersionQualifier.java41 public static VersionQualifier getQualifier(String segment) { in getQualifier() argument
42 Matcher m = sVersionPattern.matcher(segment); in getQualifier()
DFolderConfiguration.java567 String segment = qualifier.getFolderSegment(); in getFolderName() local
568 if (segment != null && segment.length() > 0) { in getFolderName()
570 result.append(segment); in getFolderName()
/sdk/anttasks/src/com/android/ant/
DGetLibraryPathTask.java62 for (String segment : mLeafSegments) { in processLibrary()
65 Matcher m = PH.matcher(segment); in processLibrary()
78 sb.append(segment); in processLibrary()
/sdk/traceview/src/com/android/traceview/
DTimeLineView.java467 Segment segment = new Segment(rd, top, topStartTime, in setData() local
469 segmentList.add(segment); in setData()
536 for (Segment segment : mSegments) { in setData()
538 segment.mRowData.mName, segment.mStartTime, in setData()
539 segment.mEndTime, segment.mBlock.getName()); in setData()
540 if (segment.mStartTime > segment.mEndTime) { in setData()
554 Segment segment = new Segment(rd, top, lastEndTime, topEndTime); in popFrames() local
555 segmentList.add(segment); in popFrames()
1384 for (Segment segment : mSegments) { in computeStrips()
1385 if (segment.mEndTime <= minVal) in computeStrips()
[all …]
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/io/
DMockFileOpTest.java41 for (String segment : segments) { in createFile()
43 f = new File(segment); in createFile()
45 f = new File(f, segment); in createFile()
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/
DTranslationDetector.java402 for (String segment : segments) { in getLanguage()
404 if (language == null && segment.length() == 2 in getLanguage()
405 && LANGUAGE_PATTERN.matcher(segment).matches()) { in getLanguage()
406 language = segment; in getLanguage()
410 if (language != null && segment.length() == 3 in getLanguage()
411 && REGION_PATTERN.matcher(segment).matches()) { in getLanguage()
412 language = language + '-' + segment; in getLanguage()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DXmlFormatStyle.java123 String parentName = path.segment(path.segmentCount() - 2); in getForFile()
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/internal/repository/archives/
DArchiveInstallerTest.java391 for (String segment : segments) {
393 f = new File(segment);
395 f = new File(f, segment);
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/io/
DFileOp.java73 for (String segment : segments) { in append()
74 base = new File(base, segment); in append()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
DReferenceChooserDialog.java200 Object segment = treeSelection.getSegment(0); in handleSelection() local
201 if (segment instanceof ResourceType) { in handleSelection()
202 type = (ResourceType) segment; in handleSelection()
DConfigurationSelector.java920 String segment = LanguageQualifier.getFolderSegment(value); in onLanguageChange() local
921 if (segment != null) { in onLanguageChange()
922 qualifier = LanguageQualifier.getQualifier(segment); in onLanguageChange()
991 String segment = RegionQualifier.getFolderSegment(value); in onRegionChange() local
992 if (segment != null) { in onRegionChange()
993 qualifier = RegionQualifier.getQualifier(segment); in onRegionChange()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DAndroidClasspathContainerPage.java91 this.mLibsProjectName = path.segment(1); in setSelection()
DProjectHelper.java226 String name = path.segment(path.segmentCount()-1); in findClasspathEntryByName()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/
DPreCompilerDeltaVisitor.java384 path.segment(1).equals(SdkConstants.FD_GEN_SOURCES); in visit()
DResourceManagerBuilder.java148 path.segment(1).equals(SdkConstants.FD_GEN_SOURCES)) { in build()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
DExtractStringRefactoring.java442 path.segment(1).equalsIgnoreCase(SdkConstants.FD_RESOURCES)) || in checkInitialConditions()
444 path.segment(1).equalsIgnoreCase(SdkConstants.FN_ANDROID_MANIFEST_XML))) { in checkInitialConditions()
1574 if (path.segmentCount() == 4 && path.segment(1).equals(SdkConstants.FD_RESOURCES)) {
1576 String filename = path.segment(3);
1577 String initialTypeName = path.segment(2);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DAdtPlugin.java1599 String segment = file.getFullPath().segment(1);
1600 if (segment.equalsIgnoreCase(SdkConstants.FD_RESOURCES)) {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/
DResourceManager.java572 return SdkConstants.FD_RESOURCES.equalsIgnoreCase(path.segment(1)); in isInResFolder()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/renamepackage/
DApplicationPackageNameRefactoring.java456 if (path.segment(1).equalsIgnoreCase(SdkConstants.FD_RESOURCES)) { in visit()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/
DNewXmlFileCreationPage.java661 SdkConstants.FD_RESOURCES.equals(wsFolderPath.segment(0))) { in initializeFromSelection()
/sdk/emulator/opengl/
DDESIGN178 named pipe between these two. A shared memory segment with appropriate