Home
last modified time | relevance | path

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

123

/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/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;
78 border-top: 2px solid #eee;
87 padding-top: 4px;
146 margin-top: 64px;
148 border-top: 2px solid #eee;
149 padding-top: 48px;
157 padding-top: 48px;
158 margin-top: -16px;
181 margin-top: -16px;
207 vertical-align: top;
[all …]
Ddefault.js94 top: $(this).offset().top property
103 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-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-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-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
Dcompletion2-expected-completion13c.txt3 bottom|top
Ddrawable1-expected-completion49.txt3 android:top : Top coordinate of the layer. [dimension]
Dcompletion12-expected-completion75.txt11 android:paddingTop : Sets the padding, in pixels, of the top edge; see padding. [dimension]
74 android:layout_below : Positions the top edge of this view below the given anchor view ID. [refer…
77 android:layout_alignTop : Makes the top edge of this view match the top edge of the given anchor v…
81 android:layout_alignParentTop : If true, makes the top edge of this view match the top edge of the…
90 android:layout_margin : Specifies extra space on the left, top, right and bottom sides of this vie…
92 android:layout_marginTop : Specifies extra space on the top side of this view. [dimension]
/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.java368 Composite top = new Composite(parent, SWT.NONE); in createDialogArea() local
369 top.setLayout(new GridLayout(1, true)); in createDialogArea()
379 Label label = new Label(top, SWT.NONE); in createDialogArea()
382 mDeviceRadioButton = new Button(top, SWT.RADIO); in createDialogArea()
405 Composite offsetComp = new Composite(top, SWT.NONE); in createDialogArea()
470 Button radio2 = new Button(top, SWT.RADIO); in createDialogArea()
474 offsetComp = new Composite(top, SWT.NONE); in createDialogArea()
519 return top; in createDialogArea()

123