/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/manifest/model/ |
D | UiElementNodeTest.java | 80 assertEquals(0, ui.getUiChildren().size()); in testInit() 81 assertEquals(0, ui.getAllUiAttributes().size()); in testInit() 92 assertEquals(0, ui.getUiChildren().size()); in testMandatoryOrder() 96 assertEquals(2, ui.getUiChildren().size()); in testMandatoryOrder() 110 assertEquals(2, ui.getUiChildren().size()); in testMandatoryOrder() 121 assertEquals(0, ui.getUiChildren().size()); in testLoadFrom_InvalidRoot() 124 assertEquals(0, ui.getUiChildren().size()); in testLoadFrom_InvalidRoot() 140 assertEquals(1, ui.getUiChildren().size()); in testLoadFrom_NewTree_1_Node() 141 assertEquals(0, ui.getAllUiAttributes().size()); in testLoadFrom_NewTree_1_Node() 147 assertEquals(0, application.getUiChildren().size()); in testLoadFrom_NewTree_1_Node() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/ |
D | GLListProperty.java | 37 public GLListProperty(GLStateType type, IGLProperty template, int size) { in GLListProperty() argument 41 mList = new ArrayList<IGLProperty>(size); in GLListProperty() 42 for (int i = 0; i < size; i++) { in GLListProperty() 83 for (int i = mList.size(); i < capactiy; i++) { in ensureCapacity() 91 mList.size()); in clone() 167 public int size() { in size() method in GLListProperty 168 return mList.size(); in size() 175 for (int i = 0; i < mList.size(); i++) { in prettyPrint()
|
D | GLSparseArrayProperty.java | 59 List<IGLProperty> values = new ArrayList<IGLProperty>(mSparseArray.size()); in getValues() 61 for (int i = 0; i < mSparseArray.size(); i++) { in getValues() 124 SparseArray<IGLProperty> copy = new SparseArray<IGLProperty>(mSparseArray.size()); in clone() 125 for (int i = 0; i < mSparseArray.size(); i++) { in clone() 158 for (int i = 0; i < mSparseArray.size(); i++) { in prettyPrint()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | SelectionManagerTest.java | 37 assertEquals(0, manager.getSelections().size()); in testEmpty() 61 assertEquals(3, manager.getSelections().size()); in testBasic() 74 assertEquals(0, manager.getSelections().size()); in testBasic() 78 assertEquals(1, manager.getSelections().size()); in testBasic() 84 assertEquals(3, manager.getSelections().size()); in testBasic() 87 assertEquals(2, manager.getSelections().size()); in testBasic() 89 assertEquals(1, manager.getSelections().size()); in testBasic() 111 assertEquals(1, manager.getSelections().size()); in testSelectParent() 116 assertEquals(1, manager.getSelections().size()); in testSelectParent()
|
D | CanvasViewInfoTest.java | 96 assertEquals(2, rootView.getChildren().size()); in normal() 142 assertEquals(1, rootView.getChildren().size()); in showIn() 181 assertEquals(2, rootView.getChildren().size()); in testIncludeTag() 197 assertEquals(0, includedView.getChildren().size()); in testIncludeTag() 223 assertEquals(2, rootView.getChildren().size()); in testNoIncludeTag() 239 assertEquals(0, includedView.getChildren().size()); in testNoIncludeTag() 268 assertEquals(3, rootView.getChildren().size()); in testMergeMatching() 295 assertEquals(0, includedView1.getChildren().size()); in testMergeMatching() 296 assertEquals(0, includedView2.getChildren().size()); in testMergeMatching() 323 assertEquals(2, rootView.getChildren().size()); in testMerge() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/sdk/ |
D | AndroidJarLoaderTest.java | 58 assertEquals(0, map.size()); in testPreLoadClasses() 64 assertEquals(4, data.size()); in testPreLoadClasses() 71 assertEquals(0, map.size()); in testPreLoadClasses_classNotFound() 73 assertEquals(0, data.size()); in testPreLoadClasses_classNotFound() 83 assertEquals(2, map.size()); in testFindClass_classFound() 121 assertEquals(2, found.size()); in testFindClassesDerivingFrom() 127 assertEquals(1, found.get("jar.example.Class1").size()); //$NON-NLS-1$ in testFindClassesDerivingFrom() 128 assertEquals(0, found.get("jar.example.Class2").size()); //$NON-NLS-1$ in testFindClassesDerivingFrom()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
D | completionvalues1-expected-completion67.txt | 3 …nt Pixels</b> - this is like the dp unit, but it is also scaled by the user's font size preference. 4 17pt : <b>Points</b> - 1/72 of an inch based on the physical size of the screen. 5 17mm : <b>Millimeters</b> - based on the physical size of the screen. 6 17in : <b>Inches</b> - based on the physical size of the screen.
|
D | completionvalues1-expected-completion66.txt | 3 …nt Pixels</b> - this is like the dp unit, but it is also scaled by the user's font size preference. 4 17pt : <b>Points</b> - 1/72 of an inch based on the physical size of the screen. 5 17mm : <b>Millimeters</b> - based on the physical size of the screen. 6 17in : <b>Inches</b> - based on the physical size of the screen.
|
D | completion1-expected-completion4.txt | 3 …nt Pixels</b> - this is like the dp unit, but it is also scaled by the user's font size preference. 4 50pt : <b>Points</b> - 1/72 of an inch based on the physical size of the screen. 5 50mm : <b>Millimeters</b> - based on the physical size of the screen. 6 50in : <b>Inches</b> - based on the physical size of the screen.
|
D | completionvalues1-expected-completion24.txt | 3 …nt Pixels</b> - this is like the dp unit, but it is also scaled by the user's font size preference. 4 17pt : <b>Points</b> - 1/72 of an inch based on the physical size of the screen. 5 17mm : <b>Millimeters</b> - based on the physical size of the screen. 6 17in : <b>Inches</b> - based on the physical size of the screen.
|
/sdk/eclipse/sites/external/web/ |
D | site.css | 4 .bodyText { font-family: sans-serif; font-size: 9pt; color:#000000; } 5 .sub-header { font-family: sans-serif; font-style: normal; font-weight: bold; font-size: 9pt; color… 6 .log-text {font-family: sans-serif; font-style: normal; font-weight: lighter; font-size: 8pt; color… 7 .big-header { font-family: sans-serif; font-style: normal; font-weight: bold; font-size: 9pt; color…
|
/sdk/eclipse/sites/internal/web/ |
D | site.css | 4 .bodyText { font-family: sans-serif; font-size: 9pt; color:#000000; } 5 .sub-header { font-family: sans-serif; font-style: normal; font-weight: bold; font-size: 9pt; color… 6 .log-text {font-family: sans-serif; font-style: normal; font-weight: lighter; font-size: 8pt; color… 7 .big-header { font-family: sans-serif; font-style: normal; font-weight: bold; font-size: 9pt; color…
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | DynamicContextMenu.java | 162 if (selections.size() == 0) { in populateDynamicContextMenu() 165 List<INode> nodes = new ArrayList<INode>(selections.size()); in populateDynamicContextMenu() 197 List<IContributionItem> items = new ArrayList<IContributionItem>(availableIds.size() + 10); in getMenuItems() 222 if (selection.size() == 1) { in insertParentItems() 246 if (selection.size() == 0) { in insertVisualRefactorings() 252 if (selection.size() == 1 && selection.get(0).getViewInfo() != null in insertVisualRefactorings() 256 if (children.size() == 2) { in insertVisualRefactorings() 269 if (selection.size() == 1 && !(selection.get(0).isRoot())) { in insertVisualRefactorings() 272 if (selection.size() == 1 && (selection.get(0).isLayout() || in insertVisualRefactorings() 285 if (selection.size() == 0) { in insertTagSpecificMenus() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
D | VaryingConfiguration.java | 198 IAndroidTarget mostRecent = targets.get(targets.size() - 1); in getTarget() 253 double size = getScreenSize(d); in getDevice() local 254 if (size < 0) { in getDevice() 257 if (size >= biggest) { in getDevice() 258 biggest = size; in getDevice() 260 if (size <= smallest) { in getDevice() 261 smallest = size; in getDevice() 279 double size = getScreenSize(d); in getDevice() local 280 if (size >= from && size < to) { in getDevice()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger.tests/src/com/android/ide/eclipse/gltrace/format/ |
D | GLAPISpecTest.java | 45 assertEquals(argSpecs.size(), args.size()); in testParser() 64 for (int i = 0; i < args.size(); i++) { in createSpec() 66 if (i != args.size() - 1) { in createSpec()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/ |
D | UiActions.java | 82 if (rootNode instanceof UiDocumentNode && rootNode.getUiChildren().size() > 0) { in doAdd() 121 if (uiParent instanceof UiDocumentNode && uiParent.getUiChildren().size() > 0) { in addElement() 143 if (nodes == null || nodes.size() == 0) { in doRemove() 147 final int len = nodes.size(); in doRemove() 195 if (uiNodes == null || uiNodes.size() < 1) { in doUp() 207 for (int i = 0; i < uiNodes.size(); i++) { in doUp() 245 if (uiNodes == null || uiNodes.size() < 1) { in canDoUp() 254 for (int i = 0; i < uiNodes.size(); i++) { in canDoUp() 376 if (nodes == null || nodes.size() < 1) { in doDown() 388 for (int i = nodes.size() - 1; i >= 0; i--) { in doDown() [all …]
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/model/ |
D | PropertiesTableModel.java | 57 return (privateProperties == null ? 0 : privateProperties.size()) + in getRowCount() 58 (properties == null ? 0 : properties.size()); in getRowCount() 65 if (row < privateProperties.size()) { in getValueAt() 68 property = properties.get(row - privateProperties.size()); in getValueAt()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/format/ |
D | GLMessageFormatter.java | 68 int sizeEstimate = 10 + argSpecs.size() * 5; in formatArgs() 71 for (int i = 0; i < argSpecs.size(); i++) { in formatArgs() 84 if (i < argSpecs.size() - 1) { in formatArgs() 140 StringBuilder sb = new StringBuilder(vals.size() * 5); in formatPointer() 148 if (var.getRawBytesList().size() > 0) { in formatPointer() 149 … return String.format("[ %d bytes ]", var.getRawBytesList().get(0).size()); //$NON-NLS-1$ in formatPointer()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
D | PropertyFactory.java | 129 if (items == null || items.size() == 0) { in getProperties() 131 } else if (items.size() == 1) { in getProperties() 167 properties = propertyList.toArray(new Property[propertyList.size()]); in getProperties() 264 List<Property> collapsed = new ArrayList<Property>(properties.size()); in sortByOrigin() 284 for (int i = 0, max = properties.size(); i < max; i++) { in sortByOrigin() 365 if (subProperties.size() > 1) { in sortByOrigin() 368 Property[] subArray = new Property[subProperties.size()]; in sortByOrigin() 390 } else if (subProperties.size() == 1) { in sortByOrigin() 395 if (layoutProperties.size() > 0 || marginProperties != null) { in sortByOrigin() 398 marginProperties.toArray(new XmlProperty[marginProperties.size()]); in sortByOrigin() [all …]
|
/sdk/eclipse/scripts/ |
D | gen_icon.py | 15 def __init__(self, dest_name, size, circle_color, border_color, argument 18 self.size = size 46 sz = int(data.size)
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ui/ |
D | StretchesViewer.java | 200 Point size = getSize(); in paintControl() local 204 float wRatio = ((float) size.x / mSize.x); in paintControl() 206 float hRatio = ((float) size.y / mSize.y); in paintControl() 221 int yCount = size.y / backgroundLayerHeight in paintControl() 222 + ((size.y % backgroundLayerHeight) > 0 ? 1 : 0); in paintControl() 223 int xCount = size.x / backgroundLayerWidth in paintControl() 224 + ((size.x % backgroundLayerWidth) > 0 ? 1 : 0); in paintControl() 237 gc.drawRectangle(0, 0, size.x, size.y); in paintControl()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
D | TraceFileInfo.java | 24 public TraceFileInfo(String path, long size, long lastModified) { in TraceFileInfo() argument 26 mSize = size; in TraceFileInfo()
|
/sdk/find_lock/ |
D | find_lock.cpp | 241 ULONG size = 0; in getHandleType() local 243 int status = sNtQueryObjectFunc(h, 2, NULL, 0, &size); in getHandleType() 244 if (status == STATUS_INFO_LENGTH_MISMATCH && size > 0) { in getHandleType() 246 char *buf = new char[size]; in getHandleType() 247 status = sNtQueryObjectFunc(h, 2, buf, size, NULL); in getHandleType() 248 if (status == 0 && size > 96) { in getHandleType() 258 const char *e = buf + 96 + size; in getHandleType() 280 ULONG size = 0; in isFileHandleType() local 282 int status = sNtQueryObjectFunc(handle, 2, NULL, 0, &size); in isFileHandleType() 283 if (status == STATUS_INFO_LENGTH_MISMATCH && size > 0) { in isFileHandleType() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | UnwrapRefactoring.java | 95 if (mElements.size() == 0) { in checkInitialConditions() 106 boolean useParent = mElements.size() > 1; in checkInitialConditions() 108 if (DomUtilities.getChildren(first).size() == 0) { in checkInitialConditions() 116 if (elements.size() == 0) { in checkInitialConditions() 138 if (DomUtilities.getChildren(mContainer).size() > 1) { in checkInitialConditions() 187 assert elements.size() == 1; in computeChanges() 201 if (children.size() == 1) { in computeChanges()
|
/sdk/testapps/aidlTest/libWithAidl/src/com/android/tests/aidl/lib/ |
D | MyParcelable.java | 38 public MyParcelable[] newArray(int size) { 39 return new MyParcelable[size];
|