Home
last modified time | relevance | path

Searched refs:first (Results 1 – 25 of 53) sorted by relevance

123

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DDeletionHandler.java208 @NonNull ConstraintType first, @NonNull ConstraintType second) { in getCompatibleConstraint()
209 if (first == second) { in getCompatibleConstraint()
210 return first; in getCompatibleConstraint()
216 switch (first) { in getCompatibleConstraint()
220 return first; in getCompatibleConstraint()
228 switch (first) { in getCompatibleConstraint()
232 return first; in getCompatibleConstraint()
241 switch (first) { in getCompatibleConstraint()
246 return first; in getCompatibleConstraint()
253 switch (first) { in getCompatibleConstraint()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/resources/platform/
DAttributeInfo.java222 char first = value.charAt(0); in isValid() local
229 if ((first == '@' || first == '?') /* && mFormats.contains(REFERENCE)*/) { in isValid()
313 if (Character.isDigit(first) || first == '-' || first == '.') { in isValid()
328 if (Character.isDigit(first) || first == '-') { in isValid()
336 if (first == '#' && value.length() <= 9) { // Only allowed 32 bit ARGB in isValid()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DUnwrapRefactoring.java100 Element first = mElements.get(0); in checkInitialConditions() local
108 if (DomUtilities.getChildren(first).size() == 0) { in checkInitialConditions()
112 Node parent = first.getParentNode(); in checkInitialConditions()
114 mContainer = first; in checkInitialConditions()
124 mContainer = first; in checkInitialConditions()
DUseCompoundDrawableRefactoring.java160 Element first = children.get(0); in checkInitialConditions() local
163 first.getTagName().equals(TEXT_VIEW) in checkInitialConditions()
166 first.getTagName().equals(IMAGE_VIEW) in checkInitialConditions()
225 Element first = children.get(0); in computeChanges() local
229 if (first.getTagName().equals(TEXT_VIEW)) { in computeChanges()
230 text = first; in computeChanges()
234 image = first; in computeChanges()
293 if (first == image) { in computeChanges()
303 if (first == image) { in computeChanges()
DExtractStyleWizard.java336 Attr first = uniqueValueAttrs.get(0); in initialize() local
337 mAllChecked.add(first); in initialize()
338 if (mInSelection.contains(first)) { in initialize()
339 mInitialChecked.add(first); in initialize()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DLintTooltip.java58 boolean first = true; in createContents()
70 if (first) { in createContents()
72 first = false; in createContents()
DLayoutMetadata.java127 Node first = node.getFirstChild(); in clearLegacyComment() local
128 if (first != null && first.getNextSibling() == null in clearLegacyComment()
129 && first.getNodeType() == Node.TEXT_NODE) { in clearLegacyComment()
130 if (first.getNodeValue().trim().length() == 0) { in clearLegacyComment()
131 node.removeChild(first); in clearLegacyComment()
DDynamicContextMenu.java204 NodeProxy first = (NodeProxy) nodes.get(0); in getMenuItems() local
205 List<RuleAction> firstSelectedActions = allActions.get(first); in getMenuItems()
206 String defaultId = getDefaultActionId(first); in getMenuItems()
257 String first = children.get(0).getName(); in insertVisualRefactorings() local
259 if ((first.equals(FQCN_IMAGE_VIEW) && second.equals(FQCN_TEXT_VIEW)) in insertVisualRefactorings()
260 || (first.equals(FQCN_TEXT_VIEW) && second.equals(FQCN_IMAGE_VIEW))) { in insertVisualRefactorings()
538 NodeProxy first = (NodeProxy) mNodes.get(0); in addMenuItems() local
539 String defaultId = getDefaultActionId(first); in addMenuItems()
540 List<RuleAction> firstSelectedActions = allActions.get(first); in addMenuItems()
DCustomViewFinder.java322 String first = parameterTypes[0]; in isValidView() local
327 if (first.equals("QContext;") //$NON-NLS-1$ in isValidView()
328 || first.equals("Qandroid.content.Context;")) { //$NON-NLS-1$ in isValidView()
DFragmentMenu.java84 SelectionItem first = selections.get(0); in addMenuItems() local
85 UiViewElementNode node = first.getViewInfo().getUiViewNode(); in addMenuItems()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridLayoutPainter.java168 IDragElement first = mElements[0]; in paintFreeFormDropFeedback() local
169 Rect dragBounds = first.getBounds(); in paintFreeFormDropFeedback()
186 Rect bounds = first.getBounds(); in paintFreeFormDropFeedback()
243 if (element == first) { in paintFreeFormDropFeedback()
244 mRule.drawElement(gc, first, offsetX, offsetY); in paintFreeFormDropFeedback()
294 IDragElement first = mElements[0]; in paintGridModeDropFeedback() local
295 Rect dragBounds = first.getBounds(); in paintGridModeDropFeedback()
318 Rect bounds = first.getBounds(); in paintGridModeDropFeedback()
332 mRule.drawElement(gc, first, x, y); in paintGridModeDropFeedback()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DProjectCallback.java269 int first = fqcn.indexOf('.'); in getShortClassName() local
271 if (last > first) { in getShortClassName()
272 return fqcn.substring(0, first) + ".." + fqcn.substring(last); //$NON-NLS-1$ in getShortClassName()
277 int first = fqcn.indexOf('.'); in getShortClassName() local
278 first = fqcn.indexOf('.', first + 1); in getShortClassName()
280 if (last > first) { in getShortClassName()
281 return fqcn.substring(0, first) + ".." + fqcn.substring(last); //$NON-NLS-1$ in getShortClassName()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/
DResourceNameValidator.java142 char first = newText.charAt(0); in isValid() local
143 if (!(first >= 'a' && first <= 'z')) { in isValid()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/templates/
Djava_file.template7 /** Called when the activity is first created. */
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DBaseLayoutRule.java115 final INode first = targets.get(0); in createMarginAction() local
127 String all = first.getStringAttr(uri, ATTR_LAYOUT_MARGIN); in createMarginAction()
128 String left = first.getStringAttr(uri, ATTR_LAYOUT_MARGIN_LEFT); in createMarginAction()
129 String right = first.getStringAttr(uri, ATTR_LAYOUT_MARGIN_RIGHT); in createMarginAction()
130 String top = first.getStringAttr(uri, ATTR_LAYOUT_MARGIN_TOP); in createMarginAction()
131 String bottom = first.getStringAttr(uri, ATTR_LAYOUT_MARGIN_BOTTOM); in createMarginAction()
158 final INode first = targets.get(0); in createGravityAction() local
163 IAttributeInfo info = first.getAttributeInfo(ANDROID_URI, attributeName); in createGravityAction()
179 first.getStringAttr(ANDROID_URI, attributeName), ICON_GRAVITY, in createGravityAction()
196 final INode first = targets.get(0); in addLayoutActions() local
[all …]
DAbsoluteLayoutRule.java166 boolean first = true; in onDropped()
185 if (first) { in onDropped()
186 first = false; in onDropped()
/sdk/eclipse/sites/external/web/
Dsite.xsl16 <xsl:sort select="@label" order="ascending" case-order="upper-first"/>
17 <xsl:sort select="@name" order="ascending" case-order="upper-first"/>
29 <xsl:sort select="ancestor::feature//@id" order="ascending" case-order="upper-first"/>
94 <xsl:sort select="@id" order="ascending" case-order="upper-first"/>
155 <xsl:sort select="@id" order="ascending" case-order="upper-first"/>
/sdk/eclipse/sites/internal/web/
Dsite.xsl16 <xsl:sort select="@label" order="ascending" case-order="upper-first"/>
17 <xsl:sort select="@name" order="ascending" case-order="upper-first"/>
29 <xsl:sort select="ancestor::feature//@id" order="ascending" case-order="upper-first"/>
94 <xsl:sort select="@id" order="ascending" case-order="upper-first"/>
155 <xsl:sort select="@id" order="ascending" case-order="upper-first"/>
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
Dcompletionvalues1-expected-completion30.txt3 … : Defines whether to animate the current View when the ViewAnimation is first displayed. [boole…
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
DConfigurationSelector.java301 Object first = structSelection.getFirstElement(); in ConfigurationSelector()
303 if (first instanceof ResourceQualifier) { in ConfigurationSelector()
330 Object first = selection.getFirstElement(); in ConfigurationSelector()
331 if (first instanceof ResourceQualifier) { in ConfigurationSelector()
332 ResourceQualifier qualifier = (ResourceQualifier)first; in ConfigurationSelector()
355 Object first = selection.getFirstElement(); in ConfigurationSelector()
356 if (first instanceof ResourceQualifier) { in ConfigurationSelector()
357 ResourceQualifier qualifier = (ResourceQualifier)first; in ConfigurationSelector()
407 Object first = structSelection.getFirstElement(); in ConfigurationSelector()
409 if (first instanceof ResourceQualifier) { in ConfigurationSelector()
[all …]
DReferenceChooserDialog.java326 Object first = selection.getFirstSegment(); in getSelectedResourceType() local
327 if (first instanceof ResourceType) { in getSelectedResourceType()
328 type = (ResourceType) first; in getSelectedResourceType()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
DUiElementDetail.java109 Object first = tree_selection.getFirstElement(); in selectionChanged() local
110 if (first instanceof UiElementNode) { in selectionChanged()
111 UiElementNode ui_node = (UiElementNode) first; in selectionChanged()
/sdk/apps/SdkController/
DImplementation.txt22 need an activity to connect to them first.
60 - Object is first created by giving a non-null EmulatorListener.
/sdk/find_java/
Dfind_java.bat26 rem check for that first, as we'd like to use it if we can.
29 rem This first-pass solution returns the correct architecture even if you
/sdk/templates/docs/
Ddefault.js59 $currentParent = $currentParent.parents('div.children, nav').first();

123