/sdk/templates/docs/ |
D | default.css | 37 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 …]
|
D | cssreset-min.css | 7 …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/ |
D | GridMatch.java | 45 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()
|
D | GridLayoutPainter.java | 189 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()
|
D | GridDropHandler.java | 613 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/ |
D | MoveHandler.java | 117 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 …]
|
D | ResizeHandler.java | 110 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 …]
|
D | ConstraintPainter.java | 583 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 …]
|
D | GuidelinePainter.java | 145 int margin, String marginAttribute) { in showMatch() argument 159 if (margin > 0) { in showMatch() 160 int dp = state.getRulesEngine().pxToDp(margin); in showMatch()
|
D | GuidelineHandler.java | 605 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/ |
D | ImageViewer.java | 390 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/ |
D | NotificationStudioActivity.java | 88 final int margin = ((ViewGroup.MarginLayoutParams) preview.getLayoutParams()).bottomMargin; in initPreviewScroller() local 95 final int y = bottom + margin; in initPreviewScroller()
|
/sdk/eclipse/ |
D | changes.txt | 492 - Explode mode in the Visual Layout Editor adds a margin to all layout
|