/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/api/ |
D | PointTest.java | 31 Point p = new Point(1, 2); in testPointIntInt() local 32 assertEquals(1, p.x); in testPointIntInt() 33 assertEquals(2, p.y); in testPointIntInt() 35 p = new Point(-3, -4); in testPointIntInt() 36 assertEquals(-3, p.x); in testPointIntInt() 37 assertEquals(-4, p.y); in testPointIntInt() 41 Point p = new Point(1, 2); in testSet() local 42 assertEquals(1, p.x); in testSet() 43 assertEquals(2, p.y); in testSet() 45 p.set(-3, -4); in testSet() [all …]
|
D | RectTest.java | 208 Point p = r.getCenter(); in testGetCenter() local 210 assertEquals(3+20/2, p.x); in testGetCenter() 211 assertEquals(4+30/2, p.y); in testGetCenter() 216 Point p = r.getTopLeft(); in testGetTopLeft() local 218 assertEquals(3, p.x); in testGetTopLeft() 219 assertEquals(4, p.y); in testGetTopLeft() 224 Point p = r.getBottomLeft(); in testGetBottomLeft() local 226 assertEquals(3, p.x); in testGetBottomLeft() 227 assertEquals(4+30, p.y); in testGetBottomLeft() 232 Point p = r.getTopRight(); in testGetTopRight() local [all …]
|
/sdk/eclipse/scripts/ |
D | collect_sources_for_sdk.py | 71 p = Params() 84 p.DRY = True 86 p.DIR = a 91 p.SRC = args[0] 92 p.DST = args[1] 94 if not os.path.isdir(p.SRC): 95 error = "%s is not a directory" % p.SRC 96 elif not os.path.isdir(p.DST): 97 error = "%s is not a directory" % p.DST 103 return p [all …]
|
/sdk/templates/docs/ |
D | jquery-1.8.0.min.js | 2 …p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="dat… field
|
D | prettify.js | 5 …(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p<d;++p){var g=a[p];if(… 6 …p=0,d=a.length;p<d;++p){g=a[p];if(g.global||g.multiline)throw Error(""+g);n.push("(?:"+y(g)+")")}r… 7 …p=l&&"pre"===l.substring(0,3);m(a);return{a:h.join("").replace(/\n$/,""),c:t}}function B(a,m,e,h){… variable 8 ….substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.p… 9 l=[],p={},d=0,g=e.length;d<g;++d){var r=e[d],n=r[3];if(n)for(var k=n.length;--k>=0;)h[n.charAt(k)]=…
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/ |
D | GLCompositeProperty.java | 36 for (IGLProperty p : iglProperties) { in GLCompositeProperty() 37 mPropertiesMap.put(p.getType(), p); in GLCompositeProperty() local 38 p.setParent(this); in GLCompositeProperty() 55 for (IGLProperty p : mPropertiesMap.values()) { in clone() 56 props[i++] = p.clone(); in clone() 67 for (IGLProperty p : mPropertiesMap.values()) { in toString() 68 sb.append(p.toString()); in toString() 96 for (IGLProperty p : mPropertiesMap.values()) { in isDefault() 97 if (!p.isDefault()) { in isDefault() 131 for (IGLProperty p : mPropertiesMap.values()) { in prettyPrint() [all …]
|
D | GLListProperty.java | 43 IGLProperty p = template.clone(); in GLListProperty() local 44 mList.add(p); in GLListProperty() 46 p.setParent(this); in GLListProperty() 54 for (IGLProperty p : mList) { in GLListProperty() 55 p.setParent(this); in GLListProperty() 93 for (IGLProperty p : mList) { in clone() 94 props.add(p.clone()); in clone() 106 for (IGLProperty p : mList) { in toString() 109 sb.append(p.toString()); in toString() 177 IGLProperty p = mList.get(i); in prettyPrint() local [all …]
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/model/ |
D | PropertiesTableModel.java | 37 ViewNode p = node.parent; in loadPrivateProperties() local 38 while (p != null) { in loadPrivateProperties() 39 x += p.left - p.scrollX; in loadPrivateProperties() 40 y += p.top - p.scrollY; in loadPrivateProperties() 41 p = p.parent; in loadPrivateProperties()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
D | GLPropertyAccessor.java | 84 IGLProperty getProperty(IGLProperty p); in getProperty() argument 96 public IGLProperty getProperty(IGLProperty p) { in getProperty() argument 97 if (p instanceof GLCompositeProperty) { in getProperty() 98 return ((GLCompositeProperty) p).getProperty(mType); in getProperty() 114 public IGLProperty getProperty(IGLProperty p) { in getProperty() argument 115 if (p instanceof GLListProperty && mIndex >= 0) { in getProperty() 116 return ((GLListProperty) p).get(mIndex); in getProperty() 118 if (p instanceof GLSparseArrayProperty) { in getProperty() 119 return ((GLSparseArrayProperty) p).getProperty(mIndex); in getProperty()
|
D | ListElementAddTransform.java | 57 IGLProperty p = state; in getList() local 60 p = mAccessor.getProperty(p); in getList() 63 if (p instanceof GLListProperty) { in getList() 64 return (GLListProperty) p; in getList()
|
D | SparseArrayElementAddTransform.java | 65 IGLProperty p = state; in getArray() local 68 p = mAccessor.getProperty(p); in getArray() 71 if (p instanceof GLSparseArrayProperty) { in getArray() 72 return (GLSparseArrayProperty) p; in getArray()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
D | RenameResourceParticipantTest.java | 374 RenameResourceProcessor p; in renameResource() local 375 p = new RenameResourceProcessor(project, type, currentName, newName); in renameResource() 376 p.setUpdateReferences(updateReferences); in renameResource() 377 processor = p; in renameResource() 380 org.eclipse.ltk.internal.core.refactoring.resource.RenameResourceProcessor p; in renameResource() local 381 p = new org.eclipse.ltk.internal.core.refactoring.resource.RenameResourceProcessor(r); in renameResource() 385 p.setNewResourceName(newName + extension); in renameResource() 386 p.setUpdateReferences(updateReferences); in renameResource() 387 processor = p; in renameResource() 389 RenameFieldProcessor p = new RenameFieldProcessor((IField) resource); in renameResource() local [all …]
|
/sdk/find_java2/FindJava2/ |
D | FindJava2.cpp | 119 for (const CJavaPath &p : paths) { in _tmain() local 120 bool isReg = (p == javaPath); in _tmain() 124 _tprintf(_T("%c [%s] %s\n"), isReg ? '*' : ' ', p.getVersion(), p.mPath); in _tmain() 128 const CJavaPath &p = javaPath; in _tmain() local 129 _tprintf(_T("* [%s] %s\n"), p.getVersion(), p.mPath); in _tmain()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
D | completion11-expected-complation79.txt | 2 android.accounts.AccountAuthenticatorActivity : <p>See <code><a href="/reference/android/app/Search… 3 android.app.ActivityGroup : <p> <p class="caution"> <strong>This class was deprecated … 4 android.app.AliasActivity : <p>See <code><a href="/reference/android/app/SearchManager.html">androi… 5 android.app.ExpandableListActivity : <p> ExpandableListActivity hosts a <code><a href="/reference… 7 android.app.ListActivity : <p> ListActivity hosts a <code><a href="/reference/android/widget/ListV… 8 android.app.NativeActivity : <p>A typical manifest would look like: <pre><manifest xmlns:andro… 9 android.app.TabActivity : <p> <p class="caution"> <strong>This class was deprecated i… 10 android.preference.PreferenceActivity : <p>This activity shows one or more headers of preferences, …
|
D | fragmentlayout-expected-complation78.txt | 2 android.app.DialogFragment : <p>Implementations should override this class and implement <code><a … 3 android.app.ListFragment : <p> ListFragment hosts a <code><a href="/reference/android/widget/ListV… 4 android.preference.PreferenceFragment : <p> Furthermore, the preferences shown will follow the vis… 5 …oid.webkit.WebViewFragment : <p> The WebView is automically paused or resumed when the Fragment i…
|
D | fragmentlayout-expected-complation77.txt | 2 android.app.DialogFragment : <p>Implementations should override this class and implement <code><a … 3 android.app.ListFragment : <p> ListFragment hosts a <code><a href="/reference/android/widget/ListV… 4 android.preference.PreferenceFragment : <p> Furthermore, the preferences shown will follow the vis… 5 …oid.webkit.WebViewFragment : <p> The WebView is automically paused or resumed when the Fragment i…
|
/sdk/eclipse/plugins/com.android.ide.eclipse.pdt/src/com/android/ide/eclipse/pdt/internal/ |
D | DevTreeProjectProvider.java | 66 for (IProject p: projects) { in getProject() 67 if (!p.isOpen()) { in getProject() 71 if (!hasJavaNature(p)) { in getProject() 75 if (devTreePath == null || devTreePath.isPrefixOf(p.getLocation())) { in getProject() 76 devTreeProjects.add(p); in getProject() 133 private boolean hasJavaNature(IProject p) { in hasJavaNature() argument 135 return p.hasNature(JavaCore.NATURE_ID); in hasJavaNature()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/ |
D | EclipseXmlFormatPreferences.java | 52 EclipseXmlFormatPreferences p = new EclipseXmlFormatPreferences(); in create() local 55 p.useEclipseIndent = prefs.isUseEclipseIndent(); in create() 56 p.removeEmptyLines = prefs.isRemoveEmptyLines(); in create() 57 p.oneAttributeOnFirstLine = prefs.isOneAttributeOnFirstLine(); in create() 58 p.sortAttributes = prefs.getAttributeSort(); in create() 59 p.spaceBeforeClose = prefs.isSpaceBeforeClose(); in create() 61 return p; in create()
|
/sdk/find_java2/src/ |
D | JavaFinder.cpp | 218 CString &p = (CString&)*inOutPath; in checkPath() local 219 int n = p.GetLength(); in checkPath() 220 if (n < 9 || p.Right(9).CompareNoCase(_T("\\java.exe")) != 0) { in checkPath() 244 CString &p = (CString&)*inOutPath; in checkBinPath() local 245 int n = p.GetLength(); in checkBinPath() 246 if (n < 4 || p.Right(4).CompareNoCase(_T("\\bin")) != 0) { in checkBinPath() 259 CPath p(envPath); in findJavaInEnvPath() local 260 int v = checkBinPath(&p); in findJavaInEnvPath() 262 outPaths->insert(CJavaPath(v, p)); in findJavaInEnvPath() 276 CPath p(tok); in findJavaInEnvPath() local [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
D | ExplodedRenderingHelper.java | 128 int[] p = new int[] { 0, 0 }; in computePadding() local 129 childrenPadding.put(child, p); in computePadding() 130 computePadding(child, p); in computePadding() 139 int[] p = childrenPadding.get(childrenPadding.keySet().iterator().next()); in computePadding() local 140 padding[0] = p[0]; in computePadding() 141 padding[1] = p[1]; in computePadding() 160 for (int[] p : childrenPadding.values()) { in computePadding() 161 padding[0] += p[0]; in computePadding() 162 padding[1] += p[1]; in computePadding() 196 for (int[] p : paddings) { in combineLinearLayout() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ui/ |
D | StretchesViewer.java | 244 Projection p = mProjection[yPos][xPos]; in paintControl() local 247 dest.x = (int) Math.ceil(p.dest.x * ratio); in paintControl() 248 dest.y = (int) Math.ceil(p.dest.y * ratio); in paintControl() 249 dest.width = (int) Math.ceil(p.dest.width * ratio); in paintControl() 250 dest.height = (int) Math.ceil(p.dest.height * ratio); in paintControl() 252 gc.drawImage(mNinePatchedImage.getImage(), p.src.x, p.src.y, in paintControl() 253 p.src.width, p.src.height, in paintControl() 258 gc.drawImage(mContentAreaImage, p.src.x, p.src.y, in paintControl() 259 p.src.width, p.src.height, in paintControl()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | ControlPoint.java | 71 org.eclipse.swt.graphics.Point p = canvas.toControl(event.x, event.y); in create() local 72 return new ControlPoint(canvas, p.x, p.y); in create() 105 org.eclipse.swt.graphics.Point p = canvas.toControl(event.x, event.y); in create() local 106 return new ControlPoint(canvas, p.x, p.y); in create()
|
D | ViewHierarchy.java | 470 public CanvasViewInfo findViewInfoAt(LayoutPoint p) { in findViewInfoAt() argument 475 return findViewInfoAt_Recursive(p, mLastValidViewInfoRoot); in findViewInfoAt() 486 private CanvasViewInfo findViewInfoAt_Recursive(LayoutPoint p, CanvasViewInfo canvasViewInfo) { in findViewInfoAt_Recursive() argument 491 if (r.contains(p.x, p.y)) { in findViewInfoAt_Recursive() 503 CanvasViewInfo v = findViewInfoAt_Recursive(p, child); in findViewInfoAt_Recursive() 521 /* package */ List<CanvasViewInfo> findAltViewInfoAt(LayoutPoint p) { in findAltViewInfoAt() argument 523 return findAltViewInfoAt_Recursive(p, mLastValidViewInfoRoot, null); in findAltViewInfoAt() 534 LayoutPoint p, CanvasViewInfo parent, List<CanvasViewInfo> outList) { in findAltViewInfoAt_Recursive() argument 543 if (r.contains(p.x, p.y)) { in findAltViewInfoAt_Recursive() 553 if (r.contains(p.x, p.y)) { in findAltViewInfoAt_Recursive() [all …]
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/ |
D | DropDownEditor.java | 39 final int p = v.getResources().getDimensionPixelSize(R.dimen.editor_drop_down_padding); in bindEditor() local 40 final int p2 = p * 2; in bindEditor() 57 v.setPadding(p, p, p, p); in bindEditor()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
D | AaptParser.java | 244 String p = results[i]; in parseOutput() local 246 m = sPattern0Line1.matcher(p); in parseOutput() 252 m = sPattern1Line1.matcher(p); in parseOutput() 274 m = sPattern7Line1.matcher(p); in parseOutput() 277 String msg = p; // default msg is the line in case we don't find anything else in parseOutput() 299 m = sPattern2Line1.matcher(p); in parseOutput() 321 m = sPattern3Line1.matcher(p); in parseOutput() 337 m = sPattern4Line1.matcher(p); in parseOutput() 361 m = sPattern5Line1.matcher(p); in parseOutput() 377 m = sPattern6Line1.matcher(p); in parseOutput() [all …]
|