Home
last modified time | relevance | path

Searched refs:second (Results 1 – 25 of 32) sorted by relevance

12

/sdk/emulator/opengl/tests/ut_renderer/
DRenderer.cpp85 if (i->second->destroy(m_nw)) { in destroySurface()
100 shared = sctx->second; in createContext()
125 if (i->second->destroy()) { in destroyContext()
143 if (c->second != currentContext) { in makeCurrent()
146 c->second->ref(); in makeCurrent()
147 eglContext = c->second->eglContext(); in makeCurrent()
148 thread->setCurrentContext(c->second); in makeCurrent()
149 thread->glDecoder().setContextData(&c->second->decoderContextData()); in makeCurrent()
150 thread->gl2Decoder().setContextData(&c->second->decoderContextData()); in makeCurrent()
153 eglContext = c->second->eglContext(); in makeCurrent()
[all …]
/sdk/common/src/com/android/utils/
DPair.java35 private Pair(S first, T second) { in Pair() argument
37 this.mSecond = second; in Pair()
67 public static <S,T> Pair<S,T> of(S first, T second) { in of() argument
68 return new Pair<S,T>(first,second); in of()
/sdk/layoutlib_api/src/com/android/util/
DPair.java44 private Pair(S first, T second) { in Pair() argument
46 this.mSecond = second; in Pair()
76 public static <S,T> Pair<S,T> of(S first, T second) { in of() argument
77 return new Pair<S,T>(first,second); in of()
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/
DUseCompoundDrawableDetector.java89 Element second = children.get(1); in visitElement() local
91 second.getTagName().equals(TEXT_VIEW) && in visitElement()
93 ((second.getTagName().equals(IMAGE_VIEW) && in visitElement()
95 !second.hasAttributeNS(ANDROID_URI, ATTR_LAYOUT_WEIGHT)))) { in visitElement()
105 : second.getAttributeNS(ANDROID_URI, ATTR_SCALE_TYPE); in visitElement()
DTypoDetector.java121 char second = qualifier.charAt(1); in initLocale() local
122 if (first >= 'a' && first <= 'z' && second >= 'a' && second <= 'z') { in initLocale()
127 char second = qualifier.charAt(2); in initLocale() local
128 if (first >= 'A' && first <= 'Z' && second >= 'A' && second <= 'Z') { in initLocale()
129 mRegion = new String(new char[] { first, second }); // Don't include the "r" in initLocale()
/sdk/emulator/opengl/host/libs/Translator/GLcommon/
DobjectNameManager.cpp33 m_globalNameSpace->deleteName(m_type, (*n).second); in ~NameSpace()
69 return (*n).second; in getGlobalName()
80 if((*it).second == p_globalName){ in getLocalName()
95 m_globalNameSpace->deleteName(m_type, (*n).second); in deleteName()
111 m_globalNameSpace->deleteName(m_type, (*n).second); in replaceGlobalName()
112 (*n).second = p_globalName; in replaceGlobalName()
303 if (i != map->end()) ret = (*i).second; in getObjectData()
331 shareGroupReturn = (*s).second; in createShareGroup()
355 shareGroupReturn = (*s).second; in getShareGroup()
376 shareGroupReturn = (*s).second; in attachShareGroup()
Detc1.cpp168 etc1_uint32 low, bool second, bool flipped) { in decode_subblock() argument
171 if (second) { in decode_subblock()
248 etc1_byte* pColors, bool flipped, bool second) { in etc_average_colors_subblock() argument
255 if (second) { in etc_average_colors_subblock()
272 if (second) { in etc_average_colors_subblock()
336 etc_compressed* pCompressed, bool flipped, bool second, in etc_encode_subblock_helper() argument
341 if (second) { in etc_encode_subblock_helper()
356 if (second) { in etc_encode_subblock_helper()
DGLEScontext.cpp35 if((*it).second.allocated){ in ~GLESConversionArrays()
36 if((*it).second.type == GL_FLOAT){ in ~GLESConversionArrays()
37 GLfloat* p = (GLfloat *)((*it).second.data); in ~GLESConversionArrays()
39 } else if((*it).second.type == GL_SHORT){ in ~GLESConversionArrays()
40 GLshort* p = (GLshort *)((*it).second.data); in ~GLESConversionArrays()
182 GLESpointer* p = (*it).second; in ~GLEScontext()
/sdk/emulator/opengl/host/libs/libOpenglRender/
DFrameBuffer.cpp510 share = (*s).second; in createRenderContext()
555 (*c).second.refcount++; in openColorBuffer()
566 if (--(*c).second.refcount == 0) { in closeColorBuffer()
581 (*w).second->flushColorBuffer(); in flushWindowSurfaceColorBuffer()
603 (*w).second->setColorBuffer( (*c).second.cb ); in setWindowSurfaceColorBuffer()
620 (*c).second.cb->subUpdate(x, y, width, height, format, type, pixels); in updateColorBuffer()
635 return (*c).second.cb->bindToTexture(); in bindColorBufferToTexture()
648 return (*c).second.cb->bindToRenderbuffer(); in bindColorBufferToRenderbuffer()
670 ctx = (*r).second; in bindContext()
676 draw = (*w).second; in bindContext()
[all …]
/sdk/lint/libs/lint_api/src/com/android/tools/lint/detector/api/
DLintUtils.java413 File second = file2.getParentFile(); in getCommonParent() local
414 while (second != null) { in getCommonParent()
415 if (first.equals(second)) { in getCommonParent()
418 second = second.getParentFile(); in getCommonParent()
696 char second = qualifier.charAt(1); in getLocaleAndRegion() local
697 if (first >= 'a' && first <= 'z' && second >= 'a' && second <= 'z') { in getLocaleAndRegion()
702 char second = qualifier.charAt(2); in getLocaleAndRegion() local
703 if (first >= 'A' && first <= 'Z' && second >= 'A' && second <= 'Z') { in getLocaleAndRegion()
/sdk/emulator/opengl/host/libs/Translator/EGL/
DEglDisplay.cpp77 static bool compareEglConfigsPtrs(EglConfig* first,EglConfig* second) { in compareEglConfigsPtrs() argument
78 return *first < *second ; in compareEglConfigsPtrs()
148 (*it).second : in getSurface()
158 (*it).second : in getContext()
180 if((*it).second.Ptr() == s.Ptr()) { in removeSurface()
208 if((*it).second.Ptr() == ctx.Ptr()){ in removeContext()
300 return (i != m_eglImages.end()) ? (*i).second :ImagePtr(NULL); in getImage()
DEglGlobalInfo.cpp56 if((*it).second == dpy) return (*it).first; in addDisplay()
85 if((*it).second == dpy) return (*it).first; in getDisplay()
DEglWindowsApi.cpp68 if((*it).second.hwnd){ in releaseAll()
69 DestroyWindow((*it).second.hwnd); in releaseAll()
71 DeleteDC((*it).second.dc); in releaseAll()
/sdk/draw9patch/src/com/android/draw9patch/ui/
DImageEditorPanel.java637 scaledWidth - horizontalPadding.first - horizontalPadding.second, in paintComponent()
638 scaledHeight - verticalPadding.first - verticalPadding.second); in paintComponent()
1077 patches = getRectangles(left.second, top.second);
1080 horizontalPatches = getRectangles(left.first, top.second);
1081 verticalPatches = getRectangles(left.second, top.first);
1108 int width = top.second - top.first; in getVerticalRectangles()
1119 int height = left.second - left.first; in getHorizontalRectangles()
1131 return new Pair<Integer>(pairs.get(0).second - pairs.get(0).first, 0); in getPadding()
1133 … return new Pair<Integer>(0, pairs.get(0).second - pairs.get(0).first); in getPadding()
1137 return new Pair<Integer>(pairs.get(0).second - pairs.get(0).first, in getPadding()
[all …]
/sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/data/overdraw/src/test/pkg/
DSecondActivity.java.txt11 setContentView(R.layout.second);
/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() argument
209 if (first == second) { in getCompatibleConstraint()
213 switch (second) { in getCompatibleConstraint()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DUseCompoundDrawableRefactoring.java161 Element second = children.get(1); in checkInitialConditions() local
164 || second.getTagName().equals(TEXT_VIEW); in checkInitialConditions()
167 || second.getTagName().equals(IMAGE_VIEW); in checkInitialConditions()
226 Element second = children.get(1); in computeChanges() local
231 image = second; in computeChanges()
233 text = second; in computeChanges()
/sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/data/overdraw/gen/test/pkg/
DR.java.txt20 public static final int second=0x7f030003;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DCustomViewFinder.java332 String second = parameterTypes[1]; in isValidView() local
333 if (second.equals("QAttributeSet;") //$NON-NLS-1$ in isValidView()
334 || second.equals("Qandroid.util.AttributeSet;")) { //$NON-NLS-1$ in isValidView()
DDynamicContextMenu.java258 String second = children.get(1).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()
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/location/
DGpxParser.java196 int second = Integer.parseInt(m.group(6)); in computeTime() local
216 c.set(year, month, date, hourOfDay, minute, second); in computeTime()
/sdk/emulator/opengl/host/tools/emugen/
DTypeFactory.cpp154 return &(i->second); in getVarTypeByName()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DAaptParser.java670 String second) { in findRange() argument
690 if (region != null && second != null) { in findRange()
691 region = adapter.find(region.getOffset() + first.length(), second, in findRange()
/sdk/emulator/opengl/host/libs/Translator/GLES_V2/
DGLESv2Context.cpp96 GLESpointer* p = (*it).second; in setupArraysPointers()
/sdk/ninepatch/src/com/android/ninepatch/
DNinePatchChunk.java483 Pair(E first, E second) { in Pair() argument
485 mSecond = second; in Pair()

12