Home
last modified time | relevance | path

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

1234

/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/
DLayoutRenderer.java70 g.clipRect(insets.left, insets.top, in paintComponent()
72 getHeight() - insets.top - insets.bottom); in paintComponent()
84 int y = (getHeight() - insets.top - insets.bottom - root.height) / 2; in paintComponent()
85 g.translate(insets.left + x, insets.top + y); in paintComponent()
88 g.drawRect(root.left, root.top, root.width - 1, root.height - 1); in paintComponent()
89 g.clipRect(root.left - 1, root.top - 1, root.width + 1, root.height + 1); in paintComponent()
99 s.translate(p.left - p.scrollX, p.top - p.scrollY); in paintComponent()
103 s.drawImage(node.image, node.left, node.top, null); in paintComponent()
105 s.drawRect(node.left, node.top, node.width - 1, node.height - 1); in paintComponent()
109 g.translate(-insets.left - x, -insets.top - y); in paintComponent()
[all …]
DScreenViewer.java253 private int top; field in ScreenViewer.LoupeViewer
280 g.translate(-left, -top); in paintComponent()
338 g.translate(left, top); in paintComponent()
343 int y = Math.max(0, Math.min((event.getY() + top) / zoom, image.getHeight() - 1)); in moveToPoint()
350 top = y * zoom - height / 2 + zoom / 2; in moveToPoint()
585 s.translate(p.left - p.scrollX, p.top - p.scrollY); in paintComponent()
588 s.drawRect(node.left, node.top, node.width - 1, node.height - 1); in paintComponent()
589 s.translate(node.left, node.top); in paintComponent()
641 int y = (height - insets.top - insets.bottom) / 2; in paint()
643 g.drawLine(insets.left + x, insets.top, insets.left + x, height - insets.bottom); in paint()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ui/
DMainFrame.java58 FormData top = new FormData(); in MainFrame() local
59 top.top = new FormAttachment(0); in MainFrame()
60 top.left = new FormAttachment(0); in MainFrame()
61 top.right = new FormAttachment(100); in MainFrame()
62 top.bottom = new FormAttachment(mStatusPanel); in MainFrame()
63 mImageEditorPanel.setLayoutData(top); in MainFrame()
/sdk/emulator/qtools/
Dread_method.cpp28 int top; member in Stack
33 top = 0; in Stack()
42 if (top == kMaxFrames) { in push()
46 frames[top] = pframe; in push()
47 top += 1; in push()
51 if (top <= 0) in pop()
53 top -= 1; in pop()
54 return frames[top]; in pop()
60 for (int ii = 0; ii < top; ii++) { in dump()
Dq2dm.cpp40 top = 0; in FunctionStack()
43 if (top >= kNumStackFrames) in push()
45 frames[top] = sym; in push()
46 top += 1; in push()
50 if (top <= 0) { in pop()
53 top -= 1; in pop()
54 return frames[top]; in pop()
58 fprintf(stderr, "top %d\n", top); in showStack()
59 for (int ii = 0; ii < top; ii++) { in showStack()
65 int top; member in FunctionStack
Dcheck_stack.cpp48 int top; member in Stack
52 top = 0; in Stack()
61 if (top == kMaxFrames) { in push()
65 frames[top] = pframe; in push()
66 top += 1; in push()
70 if (top <= 0) in pop()
72 top -= 1; in pop()
73 return frames[top]; in pop()
181 int mTop = mStack->top; in compareStacks()
242 int mTop = mStack->top; in dumpStacks()
/sdk/eclipse/plugins/com.android.ide.eclipse.base/src/com/android/ide/eclipse/base/internal/preferences/
DUsagePreferencePage.java52 Composite top = new Composite(parent, SWT.NONE); in createContents() local
53 top.setLayout(new GridLayout(1, false)); in createContents()
54 top.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); in createContents()
56 Label l = new Label(top, SWT.WRAP); in createContents()
62 Link privacyPolicyLink = new Link(top, SWT.WRAP); in createContents()
76 SdkStatsPermissionDialog.CHECKBOX_TEXT, top); in createContents()
81 return top; in createContents()
/sdk/templates/docs/
Ddefault.css69 top: 0;
81 padding-top: 4px;
141 margin-top: 64px;
143 border-top: 2px solid #eee;
144 padding-top: 48px;
152 padding-top: 48px;
153 margin-top: -16px;
176 margin-top: -16px;
202 vertical-align: top;
218 margin-top: 24px;
Ddefault.js93 top: $(this).offset().top property
102 if (scrollTop >= headerPositionCache[i].top) {
123 $('body').animate({ scrollTop: $target.offset().top }, 200, 'swing', function() {
/sdk/testapps/basicProjectWithAidl/src/com/android/tests/basicprojectwithaidl/
DRect.java8 public int top; field in Rect
31 out.writeInt(top); in writeToParcel()
38 top = in.readInt(); in readFromParcel()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSelectionHandles.java86 boolean top = resizability.topAllowed(); in createHandles()
99 y1 += insets.top; in createHandles()
108 if (top) { in createHandles()
117 if (top) { in createHandles()
124 if (top) { in createHandles()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/properties/
DAndroidPropertyPage.java74 Composite top = new Composite(parent, SWT.NONE); in createContents() local
75 top.setLayoutData(new GridData(GridData.FILL_BOTH)); in createContents()
76 top.setLayout(new GridLayout(1, false)); in createContents()
78 Group targetGroup = new Group(top, SWT.NONE); in createContents()
85 Group libraryGroup = new Group(top, SWT.NONE); in createContents()
110 return top; in createContents()
/sdk/attribute_stats/src/
DAnalyzer.java370 String top = processUageMap(view, mFrequencies.get(view)); in printStatistics() local
371 if (top != null) { in printStatistics()
372 mTopAttributes.put(view, top); in printStatistics()
384 String top = processUageMap(view, mLayoutAttributeFrequencies.get(view)); in printStatistics() local
385 if (top != null) { in printStatistics()
386 mTopLayoutAttributes.put(view, top); in printStatistics()
485 String top = mTopAttributes.get(view); in printMergedMetadata() local
486 if (top == null) { in printMergedMetadata()
492 sb.append(top); in printMergedMetadata()
496 top = mTopLayoutAttributes.get(view); in printMergedMetadata()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
DResourceChooser.java392 Composite top = (Composite)super.createDialogArea(parent); in createDialogArea() local
394 createMessageArea(top); in createDialogArea()
396 createButtons(top); in createDialogArea()
397 createFilterText(top); in createDialogArea()
398 createFilteredList(top); in createDialogArea()
401 createNewResButtons(top); in createDialogArea()
404 createValueField(top); in createDialogArea()
409 return top; in createDialogArea()
416 private void createButtons(Composite top) { in createButtons() argument
417 mProjectButton = new Button(top, SWT.RADIO); in createButtons()
[all …]
DReferenceChooserDialog.java130 Composite top = (Composite)super.createDialogArea(parent); in createDialogArea() local
133 createMessageArea(top); in createDialogArea()
136 createFilteredTree(top); in createDialogArea()
144 createNewResButtons(top); in createDialogArea()
146 Composite workaround = PropertyFactory.addWorkaround(top); in createDialogArea()
151 return top; in createDialogArea()
158 private void createNewResButtons(Composite top) { in createNewResButtons() argument
159 mNewResButton = new Button(top, SWT.NONE); in createNewResButtons()
/sdk/eclipse/sites/external/web/
Dsite.css2 td.spacer {padding-bottom: 10px; padding-top: 10px;}
7 … font-style: normal; font-weight: bold; font-size: 9pt; color: white; border-top:10px solid white;}
/sdk/eclipse/sites/internal/web/
Dsite.css2 td.spacer {padding-bottom: 10px; padding-top: 10px;}
7 … font-style: normal; font-weight: bold; font-size: 9pt; color: white; border-top:10px solid white;}
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
Dcompletion8-expected-completion41.txt2 android:layout_margin : Specifies extra space on the left, top, right and bottom sides of this vie…
4 android:layout_marginTop : Specifies extra space on the top side of this view. [dimension]
Dcompletion8-expected-completion43.txt2 android:layout_margin : Specifies extra space on the left, top, right and bottom sides of this vie…
4 android:layout_marginTop : Specifies extra space on the top side of this view. [dimension]
Dcompletion8-expected-completion44.txt6 android:layout_margin : Specifies extra space on the left, top, right and bottom sides of this vie…
8 android:layout_marginTop : Specifies extra space on the top side of this view. [dimension]
Dcompletion2-expected-completion13a.txt2 top
Dcompletionvalues1-expected-completion28.txt2 top
Dcompletionvalues1-expected-completion27.txt2 top
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/model/
DPropertiesTableModel.java36 int y = node.top; in loadPrivateProperties()
40 y += p.top - p.scrollY; in loadPrivateProperties()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
DDeviceChooserDialog.java366 Composite top = new Composite(parent, SWT.NONE); in createDialogArea() local
367 top.setLayout(new GridLayout(1, true)); in createDialogArea()
377 Label label = new Label(top, SWT.NONE); in createDialogArea()
380 mDeviceRadioButton = new Button(top, SWT.RADIO); in createDialogArea()
403 Composite offsetComp = new Composite(top, SWT.NONE); in createDialogArea()
468 Button radio2 = new Button(top, SWT.RADIO); in createDialogArea()
472 offsetComp = new Composite(top, SWT.NONE); in createDialogArea()
517 return top; in createDialogArea()

1234