Home
last modified time | relevance | path

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

1234

/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/emulator/opengl/host/libs/Translator/GLES_CM/
DGLEScmContext.cpp92 void GLEScmContext::setupArrayPointerHelper(GLESConversionArrays& cArrs,GLint first,GLsizei count,G… in setupArrayPointerHelper() argument
96 if(needConvert(cArrs,first,count,type,indices,direct,p,array_id)){ in setupArrayPointerHelper()
106 void GLEScmContext::setupArraysPointers(GLESConversionArrays& cArrs,GLint first,GLsizei count,GLenu… in setupArraysPointers() argument
113 GLenum array_id = (*it).first; in setupArraysPointers()
117 setupArrayPointerHelper(cArrs,first,count,type,indices,direct,array_id,p); in setupArraysPointers()
136 setupArrayPointerHelper(cArrs,first,count,type,indices,direct,array_id,p); in setupArraysPointers()
143 void GLEScmContext::drawPointsData(GLESConversionArrays& cArrs,GLint first,GLsizei count,GLenum ty… in drawPointsData() argument
194 GLfloat pSize = *((GLfloat*)(pointsArr+((first+i)*stride))); in drawPointsData()
197 while(i < count && pSize == *((GLfloat*)(pointsArr+((first+i)*stride)))) in drawPointsData()
204 s_glDispatch.glDrawArrays(GL_POINTS, first+sStart, sCount); in drawPointsData()
[all …]
DGLEScmContext.h41 …void setupArraysPointers(GLESConversionArrays& fArrs,GLint first,GLsizei count,GLenum type,const G…
42 void drawPointsArrs(GLESConversionArrays& arrs,GLint first,GLsizei count);
55 …bool needConvert(GLESConversionArrays& fArrs,GLint first,GLsizei count,GLenum type,const GLvoid* i…
57 …void setupArrayPointerHelper(GLESConversionArrays& fArrs,GLint first,GLsizei count,GLenum type,con…
60 …void drawPointsData(GLESConversionArrays& arrs,GLint first,GLsizei count,GLenum type,const GLvoid*…
/sdk/emulator/opengl/host/libs/Translator/EGL/
DEglGlobalInfo.cpp56 if((*it).second == dpy) return (*it).first; in addDisplay()
73 if(static_cast<EGLDisplay>((*it).first) == dpy) { in removeDisplay()
74 delete (*it).first; in removeDisplay()
85 if((*it).second == dpy) return (*it).first; in getDisplay()
93 return (it != m_displays.end() ? (*it).first : NULL); in getDisplay()
/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/emulator/opengl/host/libs/Translator/GLES_V2/
DGLESv2Context.cpp90 void GLESv2Context::setupArraysPointers(GLESConversionArrays& cArrs,GLint first,GLsizei count,GLenu… in setupArraysPointers() argument
95 GLenum array_id = (*it).first; in setupArraysPointers()
101 if(needConvert(cArrs,first,count,type,indices,direct,p,array_id)){ in setupArraysPointers()
119 bool GLESv2Context::needConvert(GLESConversionArrays& cArrs,GLint first,GLsizei count,GLenum type,c… in needConvert() argument
131 convertDirect(cArrs,first,count,array_id,p); in needConvert()
137 convertDirectVBO(cArrs,first,count,array_id,p) ; in needConvert()
DGLESv2Context.h32 …void setupArraysPointers(GLESConversionArrays& fArrs,GLint first,GLsizei count,GLenum type,const G…
45 …bool needConvert(GLESConversionArrays& fArrs,GLint first,GLsizei count,GLenum type,const GLvoid* i…
/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()
/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.java253 int first = fqcn.indexOf('.'); in getShortClassName() local
255 if (last > first) { in getShortClassName()
256 return fqcn.substring(0, first) + ".." + fqcn.substring(last); //$NON-NLS-1$ in getShortClassName()
261 int first = fqcn.indexOf('.'); in getShortClassName() local
262 first = fqcn.indexOf('.', first + 1); in getShortClassName()
264 if (last > first) { in getShortClassName()
265 return fqcn.substring(0, first) + ".." + fqcn.substring(last); //$NON-NLS-1$ in getShortClassName()
/sdk/emulator/opengl/host/libs/Translator/include/GLcommon/
DGLEScontext.h139 …virtual void setupArraysPointers(GLESConversionArrays& fArrs,GLint first,GLsizei count,GLenum type…
182 …virtual bool needConvert(GLESConversionArrays& fArrs,GLint first,GLsizei count,GLenum type,const G…
183 …void convertDirect(GLESConversionArrays& fArrs,GLint first,GLsizei count,GLenum array_id,GLESpoint…
184 …void convertDirectVBO(GLESConversionArrays& fArrs,GLint first,GLsizei count,GLenum array_id,GLESpo…
/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/emulator/opengl/host/libs/Translator/GLcommon/
DGLEScontext.cpp265 static void directToBytesRanges(GLint first,GLsizei count,GLESpointer* p,RangeList& list) { in directToBytesRanges() argument
269 int start = p->getBufferOffset()+first*attribSize; in directToBytesRanges()
310 void GLEScontext::convertDirect(GLESConversionArrays& cArrs,GLint first,GLsizei count,GLenum array_… in convertDirect() argument
314 unsigned int size = attribSize*count + first; in convertDirect()
318 const char* data = (const char*)p->getArrayData() + (first*stride); in convertDirect()
327 void GLEScontext::convertDirectVBO(GLESConversionArrays& cArrs,GLint first,GLsizei count,GLenum arr… in convertDirectVBO() argument
336 char* data = (char*)p->getBufferData() + (first*stride); in convertDirectVBO()
339 …directToBytesRanges(first,count,p,ranges); //converting indices range to buffer bytes ranges by of… in convertDirectVBO()
/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.java290 Object first = structSelection.getFirstElement(); in ConfigurationSelector()
292 if (first instanceof ResourceQualifier) { in ConfigurationSelector()
319 Object first = selection.getFirstElement(); in ConfigurationSelector()
320 if (first instanceof ResourceQualifier) { in ConfigurationSelector()
321 ResourceQualifier qualifier = (ResourceQualifier)first; in ConfigurationSelector()
344 Object first = selection.getFirstElement(); in ConfigurationSelector()
345 if (first instanceof ResourceQualifier) { in ConfigurationSelector()
346 ResourceQualifier qualifier = (ResourceQualifier)first; in ConfigurationSelector()
396 Object first = structSelection.getFirstElement(); in ConfigurationSelector()
398 if (first instanceof ResourceQualifier) { in ConfigurationSelector()
[all …]

1234