Home
last modified time | relevance | path

Searched refs:mRule (Results 1 – 3 of 3) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DResizeState.java32 private final BaseLayoutRule mRule; field in ResizeState
95 mRule = rule; in ResizeState()
111 return mRule.getFillParentValueName(); in getWidthAttribute()
113 return String.format(VALUE_N_DP, mRule.mRulesEngine.pxToDp(bounds.w)); in getWidthAttribute()
126 return mRule.getFillParentValueName(); in getHeightAttribute()
128 return String.format(VALUE_N_DP, mRule.mRulesEngine.pxToDp(bounds.h)); in getHeightAttribute()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridDropHandler.java57 private final GridLayoutRule mRule; field in GridDropHandler
68 mRule = gridLayoutRule; in GridDropHandler()
69 mGrid = GridModel.get(mRule.getRulesEngine(), layout, view); in GridDropHandler()
187 int radius = mRule.getNewCellSize(); in computeMatches()
609 int columnWidthDp = mRule.getRulesEngine().pxToDp(columnWidthPx); in handleFreeFormDrop()
621 IViewMetadata metadata = mRule.getRulesEngine().getMetadata(fqcn); in handleFreeFormDrop()
633 columnWidthDp = mRule.getRulesEngine().pxToDp(margin); in handleFreeFormDrop()
648 int rowHeightDp = mRule.getRulesEngine().pxToDp(rowHeightPx); in handleFreeFormDrop()
659 IViewMetadata metadata = mRule.getRulesEngine().getMetadata(element.getFqcn()); in handleFreeFormDrop()
670 rowHeightDp = mRule.getRulesEngine().pxToDp(margin); in handleFreeFormDrop()
DGridLayoutPainter.java118 private final GridLayoutRule mRule; field in GridLayoutPainter.DropFeedbackPainter
125 mRule = rule; in DropFeedbackPainter()
244 mRule.drawElement(gc, first, offsetX, offsetY); in paintFreeFormDropFeedback()
265 int radius = mRule.getNewCellSize(); in paintGridModeDropFeedback()
332 mRule.drawElement(gc, first, x, y); in paintGridModeDropFeedback()