Home
last modified time | relevance | path

Searched refs:mFlatten (Results 1 – 4 of 4) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DChangeLayoutWizard.java66 private Button mFlatten; field in ChangeLayoutWizard.InputPage
98 mFlatten.setVisible(text.equals(RELATIVE_LAYOUT) || text.equals(GRID_LAYOUT)); in createControl()
104 mFlatten = new Button(composite, SWT.CHECK); in createControl()
105 mFlatten.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, in createControl()
107 mFlatten.setText("Flatten hierarchy"); in createControl()
108 mFlatten.addSelectionListener(selectionListener); in createControl()
110 mFlatten.setSelection(true); in createControl()
111 mFlatten.addSelectionListener(mSelectionValidateListener); in createControl()
153 mFlatten.setVisible(mTypeCombo.getText().equals(RELATIVE_LAYOUT) in createControl()
176 refactoring.setFlatten(mFlatten.getSelection()); in validatePage()
DChangeLayoutRefactoring.java95 private boolean mFlatten; field in ChangeLayoutRefactoring
105 mFlatten = Boolean.parseBoolean(arguments.get(KEY_FLATTEN)); in ChangeLayoutRefactoring()
161 args.put(KEY_FLATTEN, Boolean.toString(mFlatten)); in createArgumentMap()
180 mFlatten = flatten; in setFlatten()
273 if (oldType.equals(FQCN_LINEAR_LAYOUT) && !mFlatten) { in computeChanges()
593 new RelativeLayoutConversionHelper(this, layout, mFlatten, rootEdit, rootView); in convertAnyToRelative()
614 GridLayoutConverter converter = new GridLayoutConverter(this, layout, mFlatten, in convertAnyToGridLayout()
DGridLayoutConverter.java112 private final boolean mFlatten; field in GridLayoutConverter
126 mFlatten = flatten; in GridLayoutConverter()
145 GridModel gridModel = new GridModel(layoutView, mLayout, mFlatten); in convertToGridLayout()
310 if (mFlatten && delete.size() > 0) { in deleteRemovedElements()
623 private boolean mFlatten; field in GridLayoutConverter.GridModel
627 mFlatten = flatten; in GridModel()
799 if (!mFlatten || !isRemovableLayout(view)) { in scan()
816 if (mFlatten && isRemovableLayout(child)) { in scan()
DRelativeLayoutConversionHelper.java106 private final boolean mFlatten; field in RelativeLayoutConversionHelper
116 mFlatten = flatten; in RelativeLayoutConversionHelper()
219 if (mFlatten && delete.size() > 0) { in deleteRemovedElements()
1492 if (!mFlatten || !isRemovableLayout(view)) { in analyze()
1525 if (mFlatten && isRemovableLayout(child)) { in analyze()