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/ |
D | ResizeState.java | 32 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/ |
D | GridDropHandler.java | 56 private final GridLayoutRule mRule; field in GridDropHandler 67 mRule = gridLayoutRule; in GridDropHandler() 68 mGrid = GridModel.get(mRule.getRulesEngine(), layout, view); in GridDropHandler() 186 int radius = mRule.getNewCellSize(); in computeMatches() 555 int columnWidthDp = mRule.getRulesEngine().pxToDp(columnWidthPx); 567 IViewMetadata metadata = mRule.getRulesEngine().getMetadata(fqcn); 579 columnWidthDp = mRule.getRulesEngine().pxToDp(margin); 594 int rowHeightDp = mRule.getRulesEngine().pxToDp(rowHeightPx); 605 IViewMetadata metadata = mRule.getRulesEngine().getMetadata(element.getFqcn()); 616 rowHeightDp = mRule.getRulesEngine().pxToDp(margin);
|
D | GridLayoutPainter.java | 118 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() 315 mRule.drawElement(gc, first, offsetX, offsetY); in paintGridModeDropFeedback()
|