Home
last modified time | relevance | path

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

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DExtractStyleRefactoring.java338 String initialIndent = null; in computeChanges() local
342 initialIndent = context.getSecond(); in computeChanges()
350 String styleString = computeStyleDeclaration(createFile, initialIndent); in computeChanges()
396 private String computeStyleDeclaration(boolean createFile, String initialIndent) { in computeStyleDeclaration() argument
411 if (initialIndent == null) { in computeStyleDeclaration()
412 initialIndent = indent; in computeStyleDeclaration()
413 } else if (initialIndent.length() > 0) { in computeStyleDeclaration()
414 indent = initialIndent; in computeStyleDeclaration()
416 sb.append(initialIndent); in computeStyleDeclaration()
429 sb.append(initialIndent).append(indent); in computeStyleDeclaration()
[all …]