Home
last modified time | relevance | path

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

/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/
DUseCompoundDrawableDetector.java21 import static com.android.SdkConstants.ATTR_LAYOUT_WEIGHT;
92 !first.hasAttributeNS(ANDROID_URI, ATTR_LAYOUT_WEIGHT)) || in visitElement()
95 !second.hasAttributeNS(ANDROID_URI, ATTR_LAYOUT_WEIGHT)))) { in visitElement()
DInefficientWeightDetector.java22 import static com.android.SdkConstants.ATTR_LAYOUT_WEIGHT;
121 if (child.hasAttributeNS(ANDROID_URI, ATTR_LAYOUT_WEIGHT)) { in visitElement()
136 Attr sizeNode = child.getAttributeNodeNS(ANDROID_URI, ATTR_LAYOUT_WEIGHT); in visitElement()
DObsoleteLayoutParamsDetector.java52 import static com.android.SdkConstants.ATTR_LAYOUT_WEIGHT;
157 PARAM_TO_VIEW.put(ATTR_LAYOUT_WEIGHT, LINEAR_LAYOUT); in PARAM_TO_VIEW.put() argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DLinearLayoutRule.java23 import static com.android.SdkConstants.ATTR_LAYOUT_WEIGHT;
184 children.get(0).getStringAttr(ANDROID_URI, ATTR_LAYOUT_WEIGHT); in addLayoutActions()
193 ATTR_LAYOUT_WEIGHT, weight); in addLayoutActions()
249 target.setAttribute(ANDROID_URI, ATTR_LAYOUT_WEIGHT, value); in distributeWeights()
264 target.setAttribute(ANDROID_URI, ATTR_LAYOUT_WEIGHT, null); in clearWeights()
584 node.setAttribute(ANDROID_URI, ATTR_LAYOUT_WEIGHT, VALUE_1);
603 String weight = target.getStringAttr(ANDROID_URI, ATTR_LAYOUT_WEIGHT);
619 node.setAttribute(ANDROID_URI, ATTR_LAYOUT_WEIGHT, sameWeight);
792 if (ATTR_LAYOUT_WEIGHT.equals(localName)
845 node.setAttribute(ANDROID_URI, ATTR_LAYOUT_WEIGHT, value);
[all …]
/sdk/common/src/com/android/
DSdkConstants.java715 public static final String ATTR_LAYOUT_WEIGHT = "layout_weight"; //$NON-NLS-1$ field in SdkConstants
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRelativeLayoutConversionHelper.java49 import static com.android.SdkConstants.ATTR_LAYOUT_WEIGHT;
343 String weight = linearLayoutChild.getAttributeNS(ANDROID_URI, ATTR_LAYOUT_WEIGHT); in getWeight()