Home
last modified time | relevance | path

Searched refs:p2 (Results 1 – 22 of 22) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/api/
DPointTest.java52 Point p2 = new Point(p); in testPointPoint() local
54 assertNotSame(p, p2); in testPointPoint()
55 assertEquals(p, p2); in testPointPoint()
71 Point p2 = p.copy(); in testCopy() local
73 assertNotSame(p, p2); in testCopy()
74 assertEquals(p, p2); in testCopy()
79 Point p2 = p.offsetBy(3, 4); in testOffsetBy() local
81 assertSame(p, p2); in testOffsetBy()
99 Point p2 = new Point(-3, -4); in testEquals_Point() local
104 assertFalse(p.equals(p2)); in testEquals_Point()
[all …]
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/internal/repository/packages/
DSystemImagePackageTest.java121 SystemImagePackage p2 = createSystemImagePackage(props2); in testSameItemAs() local
122 assertFalse(p1.sameItemAs(p2)); in testSameItemAs()
123 assertFalse(p2.sameItemAs(p1)); in testSameItemAs()
127 p2 = createSystemImagePackage(props2); in testSameItemAs()
128 assertFalse(p1.sameItemAs(p2)); in testSameItemAs()
129 assertFalse(p2.sameItemAs(p1)); in testSameItemAs()
DExtraPackageTest_v4.java115 ExtraPackage p2 = createExtraPackage(props2); in testSameItemAs() local
116 assertFalse(p1.sameItemAs(p2)); in testSameItemAs()
117 assertFalse(p2.sameItemAs(p1)); in testSameItemAs()
121 p2 = createExtraPackage(props2); in testSameItemAs()
122 assertFalse(p1.sameItemAs(p2)); in testSameItemAs()
123 assertFalse(p2.sameItemAs(p1)); in testSameItemAs()
DExtraPackageTest_v3.java131 ExtraPackage p2 = createExtraPackage(props2); in testSameItemAs() local
132 assertFalse(p1.sameItemAs(p2)); in testSameItemAs()
133 assertFalse(p2.sameItemAs(p1)); in testSameItemAs()
137 p2 = createExtraPackage(props2); in testSameItemAs()
138 assertFalse(p1.sameItemAs(p2)); in testSameItemAs()
139 assertFalse(p2.sameItemAs(p1)); in testSameItemAs()
DSourcePackageTest.java114 SourcePackage p2 = createSourcePackageTest(props2); in testSameItemAs() local
115 assertFalse(p1.sameItemAs(p2)); in testSameItemAs()
116 assertFalse(p2.sameItemAs(p1)); in testSameItemAs()
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/
DDropDownEditor.java40 final int p2 = p * 2; in bindEditor() local
48 v.setPadding(p2, p2, p2, p2); in bindEditor()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
DTestGraphics.java65 public void drawLine(@NonNull Point p1, @NonNull Point p2) { in drawLine() argument
66 mDrawn.add("drawLine(" + p1 + "," + p2 + ")"); in drawLine()
75 public void drawRect(@NonNull Point p1, @NonNull Point p2) { in drawRect() argument
76 mDrawn.add("drawRect(" + p1 + "," + p2 + ")"); in drawRect()
100 public void fillRect(@NonNull Point p1, @NonNull Point p2) { in fillRect() argument
101 mDrawn.add("fillRect(" + p1 + "," + p2 + ")"); in fillRect()
/sdk/sdkmanager/libs/sdkuilib/tests/com/android/sdkuilib/internal/repository/
DUpdaterLogicTest.java118 MockPlatformPackage p2 = new MockPlatformPackage(2, 1); in testFindAddonDependency() local
121 MockAddonPackage a2 = new MockAddonPackage(p2, 2); in testFindAddonDependency()
142 Archive p2_archive = p2.getArchives()[0]; in testFindAddonDependency()
160 MockPlatformPackage p2 = new MockPlatformPackage(2, 1); in testFindExactApiLevelDependency() local
190 Archive p2_archive = p2.getArchives()[0]; in testFindExactApiLevelDependency()
212 MockPlatformPackage p2 = new MockPlatformPackage(2, 1, 2); in testFindPlatformDependency() local
226 ArchiveInfo fai = mul.findToolsDependency(p2, out, selected, remote, sources, locals); in testFindPlatformDependency()
235 ArchiveInfo ai2 = mul.findToolsDependency(p2, out, selected, remote, sources, locals); in testFindPlatformDependency()
253 MockToolPackage p2 = new MockToolPackage(2, 2); in testFindPlatformToolDependency() local
268 p2, out, selected, remote, sources, locals); in testFindPlatformToolDependency()
[all …]
/sdk/sdkmanager/libs/sdkuilib/tests/com/android/sdkuilib/internal/repository/core/
DPackagesDiffLogicTest.java386 MockPlatformPackage p2; in testSortByApi_CompleteUpdate() local
406 p2 = new MockPlatformPackage(src1, 2, 4, 3), // API 2 in testSortByApi_CompleteUpdate()
409 new MockAddonPackage(src2, "addon C", p2, 9), in testSortByApi_CompleteUpdate()
412 new MockAddonPackage(src2, "addon B", p2, 7), in testSortByApi_CompleteUpdate()
413 new MockAddonPackage(src2, "addon B", p2, 8), in testSortByApi_CompleteUpdate()
414 new MockAddonPackage(src2, "addon B", p2, 9), in testSortByApi_CompleteUpdate()
462 p2 = new MockPlatformPackage(src1, 2, 4, 3), in testSortByApi_CompleteUpdate()
465 new MockAddonPackage(src2, "addon C", p2, 9), in testSortByApi_CompleteUpdate()
468 new MockAddonPackage(src2, "addon B", p2, 7), in testSortByApi_CompleteUpdate()
469 new MockAddonPackage(src2, "addon B", p2, 8), in testSortByApi_CompleteUpdate()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DGCWrapper.java258 public void drawLine(@NonNull Point p1, @NonNull Point p2) { in drawLine() argument
259 drawLine(p1.x, p1.y, p2.x, p2.y); in drawLine()
276 public void drawRect(@NonNull Point p1, @NonNull Point p2) { in drawRect() argument
277 drawRect(p1.x, p1.y, p2.x, p2.y); in drawRect()
303 public void fillRect(@NonNull Point p1, @NonNull Point p2) { in fillRect() argument
304 fillRect(p1.x, p1.y, p2.x, p2.y); in fillRect()
330 public void drawOval(Point p1, Point p2) { in drawOval() argument
331 drawOval(p1.x, p1.y, p2.x, p2.y); in drawOval()
354 public void fillOval(Point p1, Point p2) { in fillOval() argument
355 fillOval(p1.x, p1.y, p2.x, p2.y); in fillOval()
DMoveGesture.java746 com.android.ide.common.api.Point p2 = in processDropEvent() local
750 mTargetNode, mCurrentDragElements, mFeedback, p2); in processDropEvent()
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/core/
DPkgItem.java192 Package p2 = item.getUpdatePkg(); in isSameItemAs() local
193 same = (p1 == p2) || (p1 == null && p2 == null) || (p1 != null && p2 != null); in isSameItemAs()
196 same = p1.canBeUpdatedBy(p2) == UpdateInfo.NOT_UPDATE; in isSameItemAs()
/sdk/rule_api/src/com/android/ide/common/api/
DIGraphics.java49 void drawLine(@NonNull Point p1, @NonNull Point p2); in drawLine() argument
80 void drawRect(@NonNull Point p1, @NonNull Point p2); in drawRect() argument
98 void fillRect(@NonNull Point p1, @NonNull Point p2); in fillRect() argument
/sdk/eclipse/features/com.android.ide.eclipse.adt.package/
Dp2.inf4 requires.1.namespace=org.eclipse.equinox.p2.iu
9 org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(location:http${#58}//dl-ssl.google.com/andr…
Dbuild.properties2 p2.inf,\
/sdk/chimpchat/test/com/android/chimpchat/
DImageUtilsTest.java69 int p2 = i2.getRGB(x, y); in checkImagesHaveSamePixels() local
70 if (p1 != p2) { in checkImagesHaveSamePixels()
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/packages/
DFullRevision.java237 int p2 = rhs.mPreview == NOT_A_PREVIEW ? Integer.MAX_VALUE : rhs.mPreview; in compareTo() local
238 delta = p1 - p2; in compareTo()
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/ui/
DShellSizeAndPos.java55 Point p2 = new Point(px + sx, py + sy); in loadSizeAndPos() local
62 if (area.contains(p1) && area.contains(p2)) { in loadSizeAndPos()
/sdk/adtproductbuild/
Dbuild.properties50 p2.gathering=true
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DSourceRevealer.java290 String p2 = m2.getResource().getProject().getName(); in filterMatchByFileName()
292 if (!p1.equals(p2)) { in filterMatchByFileName()
293 return p1.compareTo(p2); in filterMatchByFileName()
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/
DSdkUpdaterLogic.java324 for (Package p2 : remotePkgs) { in addNewPlatforms()
325 if (!(p2 instanceof SystemImagePackage) || in addNewPlatforms()
326 (p2.isObsolete() && !includeAll)) { in addNewPlatforms()
329 SystemImagePackage sip = (SystemImagePackage) p2; in addNewPlatforms()
/sdk/lint/libs/lint_api/src/com/android/tools/lint/client/api/
DLintDriver.java2033 String p2 = other.file.getPath(); in compareTo() local
2035 int m2 = p2.length(); in compareTo()
2040 char c2 = p2.charAt(i); in compareTo()