Home
last modified time | relevance | path

Searched refs:margin (Results 1 – 25 of 26) sorted by relevance

12

/sdk/templates/docs/
Ddefault.css37 margin: 48px 64px 48px 320px;
73 margin: 32px 0;
105 margin-left: 16px;
139 margin-bottom: 6px;
146 margin-top: 64px;
147 margin-bottom: 12px;
156 margin-bottom: 12px;
158 margin-top: -16px;
168 margin-bottom: 16px;
172 margin-bottom: 0;
[all …]
Dcssreset-min.css7 …h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{…
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridMatch.java45 public int margin; field in GridMatch
60 boolean createCell, int margin) { in GridMatch() argument
67 this.margin = margin; in GridMatch()
98 if (margin != UNDEFINED) { in getDisplayName()
99 if (cellIndex == 0 && margin != 0) { in getDisplayName()
114 if (margin != UNDEFINED) { in getDisplayName()
115 if (cellIndex == 0 && margin != 0) { in getDisplayName()
DGridLayoutPainter.java189 if (rowMatch.margin != UNDEFINED && rowMatch.margin > 0) { in paintFreeFormDropFeedback()
196 y2 = rowMatch.matchedLine - rowMatch.margin; in paintFreeFormDropFeedback()
200 y2 = rowMatch.matchedLine + rowMatch.margin; in paintFreeFormDropFeedback()
204 gc.drawString(Integer.toString(rowMatch.margin), in paintFreeFormDropFeedback()
207 gc.useStyle(rowMatch.margin == 0 ? DrawingStyle.DISTANCE in paintFreeFormDropFeedback()
213 if (columnMatch.margin != UNDEFINED && columnMatch.margin > 0) { in paintFreeFormDropFeedback()
220 x2 = columnMatch.matchedLine - columnMatch.margin; in paintFreeFormDropFeedback()
224 x2 = columnMatch.matchedLine + columnMatch.margin; in paintFreeFormDropFeedback()
228 gc.drawString(Integer.toString(columnMatch.margin), in paintFreeFormDropFeedback()
231 gc.useStyle(columnMatch.margin == 0 ? DrawingStyle.DISTANCE in paintFreeFormDropFeedback()
DGridDropHandler.java613 if (mColumnMatch.margin == 0) { in handleFreeFormDrop()
615 } else if (mColumnMatch.margin != UNDEFINED) { in handleFreeFormDrop()
616 int distance = abs(mColumnMatch.matchedLine - (maxX + mColumnMatch.margin)); in handleFreeFormDrop()
619 int margin = mColumnMatch.margin; in handleFreeFormDrop()
628 margin -= insets.left; in handleFreeFormDrop()
633 columnWidthDp = mRule.getRulesEngine().pxToDp(margin); in handleFreeFormDrop()
652 if (mRowMatch.margin == 0) { in handleFreeFormDrop()
654 } else if (mRowMatch.margin != UNDEFINED) { in handleFreeFormDrop()
655 int distance = abs(mRowMatch.matchedLine - (maxY + mRowMatch.margin)); in handleFreeFormDrop()
658 int margin = mRowMatch.margin; in handleFreeFormDrop()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DMoveHandler.java117 int margin = !mSnap ? 0 : abs(newBounds.x - x); in snapVertical() local
118 if (margin > maxDistance) { in snapVertical()
119 mLeftMargin = margin; in snapVertical()
124 int margin = !mSnap ? 0 : abs(newBounds.x - (x - newBounds.w)); in snapVertical() local
125 if (margin > maxDistance) { in snapVertical()
126 mRightMargin = margin; in snapVertical()
142 int margin = !mSnap ? 0 : abs(newBounds.y - y); in snapHorizontal() local
143 if (margin > maxDistance) { in snapHorizontal()
144 mTopMargin = margin; in snapHorizontal()
149 int margin = !mSnap ? 0 : abs(newBounds.y - (y - newBounds.h)); in snapHorizontal() local
[all …]
DResizeHandler.java110 int margin = mSnap ? 0 : abs(newBounds.x - x); in snapVertical() local
111 if (margin > maxDistance) { in snapVertical()
112 mLeftMargin = margin; in snapVertical()
118 int margin = mSnap ? 0 : abs(newBounds.x - (x - newBounds.w)); in snapVertical() local
119 if (margin > maxDistance) { in snapVertical()
120 mRightMargin = margin; in snapVertical()
133 int margin = mSnap ? 0 : abs(newBounds.y - y); in snapHorizontal() local
134 if (margin > maxDistance) { in snapHorizontal()
135 mTopMargin = margin; in snapHorizontal()
141 int margin = mSnap ? 0 : abs(newBounds.y - (y - newBounds.h)); in snapHorizontal() local
[all …]
DConstraintPainter.java583 int margin = targetMargins.top; in paintVerticalConstraint() local
584 if (margin == 0 || !type.relativeToMargin) { in paintVerticalConstraint()
587 graphics.drawArrow(tx, ty, tx, ty - margin, ARROW_SIZE); in paintVerticalConstraint()
591 int margin = targetMargins.bottom; in paintVerticalConstraint() local
592 if (margin == 0 || !type.relativeToMargin) { in paintVerticalConstraint()
595 graphics.drawArrow(tx, ty, tx, ty + margin, ARROW_SIZE); in paintVerticalConstraint()
736 int margin = targetMargins.left; in paintHorizontalConstraint() local
737 if (margin == 0 || !type.relativeToMargin) { in paintHorizontalConstraint()
740 graphics.drawArrow(tx, ty, tx - margin, ty, ARROW_SIZE); in paintHorizontalConstraint()
745 int margin = targetMargins.right; in paintHorizontalConstraint() local
[all …]
DGuidelinePainter.java145 int margin, String marginAttribute) { in showMatch() argument
159 if (margin > 0) { in showMatch()
160 int dp = state.getRulesEngine().pxToDp(margin); in showMatch()
DGuidelineHandler.java605 private void applyMargin(INode n, String marginAttribute, int margin) { in applyMargin() argument
606 if (margin > 0) { in applyMargin()
607 int dp = mRulesEngine.pxToDp(margin); in applyMargin()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ui/
DImageViewer.java390 int margin = getZoomedPixelSize(MARGIN); in calcPaddings() local
395 mPadding.x = margin; in calcPaddings()
401 mPadding.y = margin; in calcPaddings()
420 int margin = getZoomedPixelSize(MARGIN) * 2; in calcScrollBarSettings() local
426 int max = horizontalScroll + verticalBarSize + margin; in calcScrollBarSettings()
446 int max = verticalScroll + horizontalBarSize + margin; in calcScrollBarSettings()
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/
DNotificationStudioActivity.java88 final int margin = ((ViewGroup.MarginLayoutParams) preview.getLayoutParams()).bottomMargin; in initPreviewScroller() local
95 final int y = bottom + margin; in initPreviewScroller()
/sdk/testapps/gridlayoutTest/v7-gridlayout/libs/
Dandroid-support-v7-gridlayout.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/eclipse/
Dchanges.txt492 - Explode mode in the Visual Layout Editor adds a margin to all layout
/sdk/testapps/jarCheckTests1/app/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/testapps/jarCheckTests3/lib1/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/testapps/jarCheckTests2/lib2/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/testapps/javaProjectTest/lib2/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/testapps/jarCheckTests2/lib1/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/testapps/libsAndJarTest/lib1/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/testapps/javaProjectTest/lib1/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/testapps/jarCheckTests1/lib1/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/testapps/libsAndJarTest/lib2/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/testapps/jarCheckTests1/lib2/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/sdk/testapps/jarCheckTests3/lib2/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...

12