Searched refs:top (Results 1 - 25 of 51) sorted by relevance

123

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ui/
H A DMainFrame.java58 FormData top = new FormData();
59 top.top = new FormAttachment(0);
60 top.left = new FormAttachment(0);
61 top.right = new FormAttachment(100);
62 top.bottom = new FormAttachment(mStatusPanel);
63 mImageEditorPanel.setLayoutData(top);
H A DStatusPanel.java105 innerForm.top = new FormAttachment(0, PADDING_TOP);
132 hintForm.top = new FormAttachment(PADDING_TOP);
/sdk/testapps/basicProjectWithAidl/src/com/android/tests/basicprojectwithaidl/
H A DRect.java8 public int top; field in class:Rect
31 out.writeInt(top);
38 top = in.readInt();
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/
H A DLayoutRenderer.java70 g.clipRect(insets.left, insets.top,
72 getHeight() - insets.top - insets.bottom);
84 int y = (getHeight() - insets.top - insets.bottom - root.height) / 2;
85 g.translate(insets.left + x, insets.top + y);
88 g.drawRect(root.left, root.top, root.width - 1, root.height - 1);
89 g.clipRect(root.left - 1, root.top - 1, root.width + 1, root.height + 1);
99 s.translate(p.left - p.scrollX, p.top - p.scrollY);
103 s.drawImage(node.image, node.left, node.top, null);
105 s.drawRect(node.left, node.top, node.width - 1, node.height - 1);
109 g.translate(-insets.left - x, -insets.top
[all...]
H A DScreenViewer.java253 private int top; field in class:ScreenViewer.LoupeViewer
280 g.translate(-left, -top);
338 g.translate(left, top);
343 int y = Math.max(0, Math.min((event.getY() + top) / zoom, image.getHeight() - 1));
350 top = y * zoom - height / 2 + zoom / 2;
585 s.translate(p.left - p.scrollX, p.top - p.scrollY);
588 s.drawRect(node.left, node.top, node.width - 1, node.height - 1);
589 s.translate(node.left, node.top);
641 int y = (height - insets.top - insets.bottom) / 2;
643 g.drawLine(insets.left + x, insets.top, inset
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.base/src/com/android/ide/eclipse/base/internal/preferences/
H A DUsagePreferencePage.java52 Composite top = new Composite(parent, SWT.NONE);
53 top.setLayout(new GridLayout(1, false));
54 top.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
56 Label l = new Label(top, SWT.WRAP);
62 Link privacyPolicyLink = new Link(top, SWT.WRAP);
76 SdkStatsPermissionDialog.CHECKBOX_TEXT, top);
81 return top;
/sdk/templates/docs/
H A 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...]
H A Ddefault.js94 top: $(this).offset().top
103 if (scrollTop >= headerPositionCache[i].top) {
123 $('body').animate({ scrollTop: $target.offset().top }, 200, 'swing', function() {
144 // Scrolling up, but this will take us past the top.
H A Dcssreset-min.css7 html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit}input,textarea,select{*font-size:100%}legend{color:#000}#yui3-css-stamp.cssreset{display:none}
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
H A DSelectionHandles.java86 boolean top = resizability.topAllowed();
99 y1 += insets.top;
108 if (top) {
117 if (top) {
124 if (top) {
/sdk/attribute_stats/src/
H A DAnalyzer.java50 * listed in the top of the context menu) is determined by running this script on a body
370 String top = processUageMap(view, mFrequencies.get(view));
371 if (top != null) {
372 mTopAttributes.put(view, top);
384 String top = processUageMap(view, mLayoutAttributeFrequencies.get(view));
385 if (top != null) {
386 mTopLayoutAttributes.put(view, top);
485 String top = mTopAttributes.get(view);
486 if (top == null) {
492 sb.append(top);
[all...]
/sdk/emulator/opengl/host/libs/Translator/GLES_CM/
H A DAndroid.mk10 ### GLES_CM host implementation (On top of OpenGL) ########################
/sdk/emulator/opengl/host/libs/Translator/GLES_V2/
H A DAndroid.mk11 ### GLES_V2 host implementation (On top of OpenGL) ########################
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/model/
H A DPropertiesTableModel.java36 int y = node.top;
40 y += p.top - p.scrollY;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/properties/
H A DAndroidPropertyPage.java74 Composite top = new Composite(parent, SWT.NONE);
75 top.setLayoutData(new GridData(GridData.FILL_BOTH));
76 top.setLayout(new GridLayout(1, false));
78 Group targetGroup = new Group(top, SWT.NONE);
85 Group libraryGroup = new Group(top, SWT.NONE);
110 return top;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
H A DReferenceChooserDialog.java130 Composite top = (Composite)super.createDialogArea(parent);
133 createMessageArea(top);
136 createFilteredTree(top);
144 createNewResButtons(top);
146 Composite workaround = PropertyFactory.addWorkaround(top);
151 return top;
156 * @param top the parent composite
158 private void createNewResButtons(Composite top) { argument
159 mNewResButton = new Button(top, SWT.NONE);
H A DResourceChooser.java392 Composite top = (Composite)super.createDialogArea(parent);
394 createMessageArea(top);
396 createButtons(top);
397 createFilterText(top);
398 createFilteredList(top);
401 createNewResButtons(top);
404 createValueField(top);
409 return top;
414 * @param top the parent composite
416 private void createButtons(Composite top) { argument
460 createNewResButtons(Composite top) argument
539 createValueField(Composite top) argument
[all...]
H A DMarginChooser.java67 * @param top current value for the top margin
71 String left, String right, String top, String bottom) {
79 mInitialTop = top;
183 * Returns the margins in the order all, left, right, top, bottom
185 * @return the margins in the order all, left, right, top, bottom, never
70 MarginChooser(Shell parent, GraphicalEditorPart editor, AndroidTargetData targetData, String all, String left, String right, String top, String bottom) argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
H A DDeviceChooserDialog.java368 Composite top = new Composite(parent, SWT.NONE);
369 top.setLayout(new GridLayout(1, true));
379 Label label = new Label(top, SWT.NONE);
382 mDeviceRadioButton = new Button(top, SWT.RADIO);
405 Composite offsetComp = new Composite(top, SWT.NONE);
470 Button radio2 = new Button(top, SWT.RADIO);
474 offsetComp = new Composite(top, SWT.NONE);
519 return top;
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
H A DViewNode.java39 public int top; field in class:ViewNode
69 top = getInt("mTop", 0);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
H A DPropertyFactory.java179 Set<String> top = new HashSet<String>(repository.getTopAttributes(fqcn));
219 if (top.contains(name) || PropertyMetadata.isPreferred(name)) {
325 // view type it's a common attribute and replicated up at the top.
524 // be pushed into normal clusters (preferred stay top-level
525 // and sort to the top, deprecated are all put in the same cluster at
710 Composite top = new Composite(parent, SWT.NONE);
711 top.setLayout(new GridLayout(1, false));
712 Label label = new Label(top, SWT.WRAP);
717 label.setForeground(top.getDisplay().getSystemColor(SWT.COLOR_RED));
725 Link link = new Link(top, SW
[all...]
/sdk/emulator/opengl/host/libs/Translator/include/EGL/
H A Deglext.h235 EGLAPI EGLBoolean EGLAPIENTRY eglSetSwapRectangleANDROID (EGLDisplay dpy, EGLSurface draw, EGLint left, EGLint top, EGLint width, EGLint height);
237 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSETSWAPRECTANGLEANDROIDPROC) (EGLDisplay dpy, EGLSurface draw, EGLint left, EGLint top, EGLint width, EGLint height);
/sdk/emulator/opengl/host/libs/Translator/include/GLES/
H A Dglext.h571 GL_API void GL_APIENTRY glFrustumxOES (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
589 GL_API void GL_APIENTRY glOrthoxOES (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
611 typedef void (GL_APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
629 typedef void (GL_APIENTRYP PFNGLORTHOXOESPROC) (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
738 GL_API void GL_APIENTRY glFrustumfOES (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
739 GL_API void GL_APIENTRY glOrthofOES (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
745 typedef void (GL_APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
746 typedef void (GL_APIENTRYP PFNGLORTHOFOESPROC) (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
/sdk/emulator/opengl/tests/EGL_host_wrapper/
H A Degl.cpp274 EGLBoolean eglSetSwapRectangleANDROID(EGLDisplay dpy, EGLSurface draw, EGLint left, EGLint top, EGLint width, EGLint height) argument
276 return getDispatch()->eglSetSwapRectangleANDROID(dpy, draw, left, top, width, height);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
H A DRelativeLayoutConversionHelper.java160 int[] top = new int[rowOffsets.size()];
171 top[rowIndex] = offset;
182 assert view.getTopEdge() == top[view.mRow];
184 assert view.getBottomEdge() == top[view.mRow+view.mRowSpan];
193 Grid grid = new Grid(views, left, top);
416 // attached on the bottom/right or on the top/left
1003 Grid(List<View> views, int[] left, int[] top) { argument
1005 mTop = top;
1007 // The left/top arrays should include the ending point too
1009 mRowCount = top
[all...]

Completed in 368 milliseconds

123