/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
D | MoveHandler.java | 249 Match match = pickBestMatch(mHorizontalSuggestions); in updateMove() local 250 if (match != null) { in updateMove() 251 if (mHorizontalDeps.contains(match.edge.node)) { in updateMove() 252 match.cycle = true; in updateMove() 262 snapHorizontal(match.with, match.edge.at, mBounds); in updateMove() 264 if (match.with.edgeType == TOP) { in updateMove() 265 mCurrentTopMatch = match; in updateMove() 266 } else if (match.with.edgeType == BOTTOM) { in updateMove() 267 mCurrentBottomMatch = match; in updateMove() 269 assert match.with.edgeType == CENTER_HORIZONTAL in updateMove() [all …]
|
D | ResizeHandler.java | 218 Match match = pickBestMatch(mHorizontalSuggestions); in updateResize() local 219 if (match != null in updateResize() 220 && (!mSnap || Math.abs(match.delta) < BaseLayoutRule.getMaxMatchDistance())) { in updateResize() 221 if (mHorizontalDeps.contains(match.edge.node)) { in updateResize() 222 match.cycle = true; in updateResize() 225 snapHorizontal(hEdge, match.edge.at, newBounds); in updateResize() 228 mCurrentTopMatch = match; in updateResize() 230 mCurrentBottomMatch = match; in updateResize() 234 mCurrentTopMatch = match; in updateResize() 242 Match match = pickBestMatch(mVerticalSuggestions); in updateResize() local [all …]
|
D | GuidelineHandler.java | 262 Match match = matches.get(0); in pickBestMatch() local 263 return match; in pickBestMatch() 271 private boolean checkCycle(DropFeedback feedback, Match match, boolean vertical) { in checkCycle() argument 272 if (match != null && match.cycle) { in checkCycle() 274 INode from = match.edge.node; in checkCycle() 275 assert match.with.node == null || match.with.node == node; in checkCycle() 285 match.type.name, match.edge.id); in checkCycle() 481 Match match = new Match(this, edge, draggedEdge, type, delta); in addClosest() local 492 closest.add(match); in addClosest()
|
D | ConstraintPainter.java | 68 static void paintConstraint(IGraphics graphics, Rect sourceBounds, Match match) { in paintConstraint() argument 69 Rect targetBounds = match.edge.node.getBounds(); in paintConstraint() 70 ConstraintType type = match.type; in paintConstraint() 72 paintConstraint(graphics, type, match.with.node, sourceBounds, match.edge.node, in paintConstraint()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
D | ConfigurationMatcher.java | 147 ResourceFile match = mResources.getMatchingFile(mEditedFile.getName(), in isCurrentFileBestMatchFor() local 150 if (match != null) { in isCurrentFileBestMatchFor() 151 return match.getFile().equals(mEditedFile); in isCurrentFileBestMatchFor() 351 ConfigMatch match = selectConfigMatch(anyMatches); in findAndSetCompatibleConfig() local 352 mConfiguration.setDevice(match.device, true); in findAndSetCompatibleConfig() 353 mConfiguration.setDeviceState(match.state, true); in findAndSetCompatibleConfig() 354 mConfiguration.setLocale(localeList.get(match.bundle.localeIndex), true); in findAndSetCompatibleConfig() 355 mConfiguration.setUiMode(UiMode.getByIndex(match.bundle.dockModeIndex), true); in findAndSetCompatibleConfig() 356 mConfiguration.setNightMode(NightMode.getByIndex(match.bundle.nightModeIndex), in findAndSetCompatibleConfig() 384 ConfigMatch match = selectConfigMatch(bestMatches); in findAndSetCompatibleConfig() local [all …]
|
D | ConfigurationChooser.java | 933 IAndroidTarget match = null; in updateTargets() local 939 match = target; in updateTargets() 942 match = target; in updateTargets() 947 if (match == null) { in updateTargets() 952 renderingTarget = match; in updateTargets() 2088 ResourceFile match = mResources.getMatchingFile(mEditedFile.getName(), in isBestMatchFor() local 2090 if (match != null) { in isBestMatchFor() 2091 return match.getFile().equals(mEditedFile); in isBestMatchFor()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/ |
D | SourceRevealer.java | 214 SearchMatch match = getMatchToDisplay(methodMatches, fqmn); in revealMethod() local 215 if (match == null) { in revealMethod() 218 return displayMethod((IMethod) match.getElement(), perspective); in revealMethod() 224 SearchMatch match = getMatchToDisplay(matches, in revealLineMatch() local 226 if (match == null) { in revealLineMatch() 234 return displayFile((IFile) match.getResource(), lineNumber); in revealLineMatch() 418 public boolean apply(SearchMatch match) { 419 return match.getResource() instanceof IFile; 426 public boolean apply(SearchMatch match) { 427 return match.getResource() instanceof IFile; [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/ |
D | AndroidXmlCharacterMatcherTest.java | 119 IRegion match = matcher.match(document, caretPosBefore); in checkGotoMatching() local 120 assertNotNull(match); in checkGotoMatching() 125 int caretPosAfter = match.getOffset() - index; in checkGotoMatching()
|
D | AndroidContentAssistTest.java | 873 String match) throws Exception { in checkApplyLayoutCompletion() argument 875 new LayoutContentAssist(), match); in checkApplyLayoutCompletion() 884 String match) throws Exception { in checkApplyResourceCompletion() argument 886 new ValuesContentAssist(), match); in checkApplyResourceCompletion() 924 AndroidContentAssist assist, String match) throws Exception { in checkApplyCompletion() argument 928 if (proposal.getDisplayString().equals(match)) { in checkApplyCompletion() 958 + match + ":\n"); in checkApplyCompletion()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
D | ValueCompleter.java | 117 for (String match : matches) { in getProposals() 118 proposals.add(new ContentProposal(match)); in getProposals() 154 String match; in getProposals() local 156 match = prepend + value; in getProposals() 158 match = value; in getProposals() 160 proposals.add(new ContentProposal(match)); in getProposals()
|
D | ResourceValueCompleter.java | 73 for (String match : matches) { in getProposals() 74 proposals.add(new ContentProposal(match)); in getProposals()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
D | AndroidXmlCharacterMatcher.java | 46 public IRegion match(IDocument doc, int offset) { in match() method in AndroidXmlCharacterMatcher 51 IRegion match = findOppositeTag(doc, offset); in match() local 52 if (match != null) { in match() 53 return match; in match() 56 return super.match(doc, offset); in match()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
D | RenameResourceParticipant.java | 590 String match = null; in addReplacements() local 594 match = mXmlMatch1; in addReplacements() 597 match = mXmlMatch2; in addReplacements() 600 match = mXmlMatch3; in addReplacements() 606 if (match != null) { in addReplacements() 617 int end = start + match.length(); in addReplacements() 636 String match = null; in addReplacements() local 640 match = mXmlMatch1; in addReplacements() 644 match = mXmlMatch2; in addReplacements() 648 match = mXmlMatch3; in addReplacements() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | CustomViewFinder.java | 204 public void acceptSearchMatch(SearchMatch match) throws CoreException { in findViews() 206 if (match.isInsideDocComment()) { in findViews() 210 Object element = match.getElement(); in findViews() 225 IProject matchProject = match.getResource().getProject(); in findViews() 232 IProject matchProject = match.getResource().getProject(); in findViews()
|
D | DomUtilities.java | 781 Element match = findCorresponding(child, targetId); in findCorresponding() local 782 if (match != null) { in findCorresponding() 783 return match; in findCorresponding()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
D | completion12-expected-completion75.txt | 76 android:layout_alignLeft : Makes the left edge of this view match the left edge of the given ancho… 77 android:layout_alignTop : Makes the top edge of this view match the top edge of the given anchor v… 78 android:layout_alignRight : Makes the right edge of this view match the right edge of the given an… 79 android:layout_alignBottom : Makes the bottom edge of this view match the bottom edge of the given… 80 android:layout_alignParentLeft : If true, makes the left edge of this view match the left edge of … 81 android:layout_alignParentTop : If true, makes the top edge of this view match the top edge of the… 82 android:layout_alignParentRight : If true, makes the right edge of this view match the right edge … 83 android:layout_alignParentBottom : If true, makes the bottom edge of this view match the bottom ed…
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/ |
D | ManifestInfo.java | 639 public void acceptSearchMatch(SearchMatch match) throws CoreException { in guessActivities() 640 Object element = match.getElement(); in guessActivities() 771 public void acceptSearchMatch(SearchMatch match) throws CoreException { in guessActivityBySetContentView() 772 Object element = match.getElement(); in guessActivityBySetContentView() 778 IResource resource = match.getResource(); in guessActivityBySetContentView() 783 String matchText = document.get(match.getOffset(), in guessActivityBySetContentView() 784 match.getLength()); in guessActivityBySetContentView()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
D | LaunchConfigDelegate.java | 288 boolean match = false; in doLaunch() 291 match = true; in doLaunch() 297 if (match == false) { in doLaunch()
|
/sdk/templates/docs/ |
D | prettify.js | 2 …=="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-Fa-f]{4}|… 4 …(e(i[1])));b.push("]");return b.join("")}function y(a){for(var f=a.source.match(/\[(?:[^\\\]]|\\[\… 7 …h,a.e))}function x(a,m){function e(a){for(var l=a.d,p=[l,"pln"],d=0,g=a.a.match(y)||[],r={},n=0,z=… 8 …tring")c=!1;else{var i=h[f.charAt(0)];if(i)o=f.match(i[1]),b=i[0];else{for(c=0;c<t;++c)if(i=m[c],o…
|
/sdk/eclipse/plugins/com.android.ide.eclipse.pdt/src/com/android/ide/eclipse/pdt/internal/ |
D | SourceRevealer.java | 151 public void acceptSearchMatch(SearchMatch match) throws CoreException { in acceptSearchMatch() argument 152 Object element = match.getElement(); in acceptSearchMatch()
|
/sdk/emulator/opengl/host/libs/Translator/EGL/ |
D | EglDisplay.cpp | 84 EGLConfig match; in addMissingConfigs() local 92 if(!doChooseConfigs(dummy, &match, 1)) in addMissingConfigs() 97 const EglConfig* config = (EglConfig*)match; in addMissingConfigs()
|
D | EglMacApi.cpp | 140 bool match = nsCheckColor(win,r + g + b); in checkWindowPixelFormatMatch() local 142 return ret && match; in checkWindowPixelFormatMatch()
|
/sdk/eclipse/scripts/ |
D | collect_sources_for_sdk.py | 135 m = _RE_PKG.match(l)
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
D | TemplateMetadata.java | 377 boolean match = true; in getThumbnailPath() 389 match = false; in getThumbnailPath() 393 if (match) { in getThumbnailPath()
|
/sdk/eclipse/sites/internal/web/ |
D | site.xsl | 3 <xsl:key name="cat" match="category" use="@name"/> 4 <xsl:template match="/">
|