Home
last modified time | relevance | path

Searched refs:p (Results 1 – 25 of 135) sorted by relevance

123456

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/api/
DPointTest.java31 Point p = new Point(1, 2); in testPointIntInt() local
32 assertEquals(1, p.x); in testPointIntInt()
33 assertEquals(2, p.y); in testPointIntInt()
35 p = new Point(-3, -4); in testPointIntInt()
36 assertEquals(-3, p.x); in testPointIntInt()
37 assertEquals(-4, p.y); in testPointIntInt()
41 Point p = new Point(1, 2); in testSet() local
42 assertEquals(1, p.x); in testSet()
43 assertEquals(2, p.y); in testSet()
45 p.set(-3, -4); in testSet()
[all …]
DRectTest.java208 Point p = r.getCenter(); in testGetCenter() local
210 assertEquals(3+20/2, p.x); in testGetCenter()
211 assertEquals(4+30/2, p.y); in testGetCenter()
216 Point p = r.getTopLeft(); in testGetTopLeft() local
218 assertEquals(3, p.x); in testGetTopLeft()
219 assertEquals(4, p.y); in testGetTopLeft()
224 Point p = r.getBottomLeft(); in testGetBottomLeft() local
226 assertEquals(3, p.x); in testGetBottomLeft()
227 assertEquals(4+30, p.y); in testGetBottomLeft()
232 Point p = r.getTopRight(); in testGetTopRight() local
[all …]
/sdk/eclipse/scripts/
Dcollect_sources_for_sdk.py71 p = Params()
84 p.DRY = True
86 p.DIR = a
91 p.SRC = args[0]
92 p.DST = args[1]
94 if not os.path.isdir(p.SRC):
95 error = "%s is not a directory" % p.SRC
96 elif not os.path.isdir(p.DST):
97 error = "%s is not a directory" % p.DST
103 return p
[all …]
/sdk/emulator/opengl/shared/emugl/common/
Dmutex_unittest.cpp53 ThreadParams* p = static_cast<ThreadParams*>(param); in threadFunction() local
55 p->mutex.lock(); in threadFunction()
56 p->counter++; in threadFunction()
57 p->mutex.unlock(); in threadFunction()
64 ThreadParams p; in TEST() local
68 threads[n] = new TestThread(threadFunction, &p); in TEST()
77 EXPECT_EQ(static_cast<int>(kNumThreads), p.counter); in TEST()
82 ThreadParams* p = static_cast<ThreadParams*>(param); in threadAutoLockFunction() local
84 Mutex::AutoLock lock(p->mutex); in threadAutoLockFunction()
85 p->counter++; in threadAutoLockFunction()
[all …]
/sdk/templates/docs/
Djquery-1.8.0.min.js2p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="dat… field
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/
DGLCompositeProperty.java36 for (IGLProperty p : iglProperties) { in GLCompositeProperty()
37 mPropertiesMap.put(p.getType(), p); in GLCompositeProperty() local
38 p.setParent(this); in GLCompositeProperty()
55 for (IGLProperty p : mPropertiesMap.values()) { in clone()
56 props[i++] = p.clone(); in clone()
67 for (IGLProperty p : mPropertiesMap.values()) { in toString()
68 sb.append(p.toString()); in toString()
96 for (IGLProperty p : mPropertiesMap.values()) { in isDefault()
97 if (!p.isDefault()) { in isDefault()
131 for (IGLProperty p : mPropertiesMap.values()) { in prettyPrint()
[all …]
DGLListProperty.java43 IGLProperty p = template.clone(); in GLListProperty() local
44 mList.add(p); in GLListProperty()
46 p.setParent(this); in GLListProperty()
54 for (IGLProperty p : mList) { in GLListProperty()
55 p.setParent(this); in GLListProperty()
93 for (IGLProperty p : mList) { in clone()
94 props.add(p.clone()); in clone()
106 for (IGLProperty p : mList) { in toString()
109 sb.append(p.toString()); in toString()
177 IGLProperty p = mList.get(i); in prettyPrint() local
[all …]
/sdk/emulator/opengl/host/libs/Translator/GLES_V2/
DGLESv2Context.cpp95 GLESpointer* p = (*it).second; in setupArraysPointers() local
98 unsigned int size = p->getSize(); in setupArraysPointers()
100 if(needConvert(cArrs,first,count,type,indices,direct,p,array_id)){ in setupArraysPointers()
103 … setupArr(currentArr.data,array_id,currentArr.type,size,currentArr.stride, p->getNormalized()); in setupArraysPointers()
106 setupArr(p->getData(),array_id,p->getType(), in setupArraysPointers()
107 size,p->getStride(), p->getNormalized()); in setupArraysPointers()
118 …first,GLsizei count,GLenum type,const GLvoid* indices,bool direct,GLESpointer* p,GLenum array_id) { in needConvert() argument
120 bool usingVBO = p->isVBO(); in needConvert()
121 GLenum arrType = p->getType(); in needConvert()
130 convertDirect(cArrs,first,count,array_id,p); in needConvert()
[all …]
/sdk/emulator/opengl/host/libs/Translator/GLcommon/
DGLEScontext.cpp38 GLfloat* p = (GLfloat *)((*it).second.data); in ~GLESConversionArrays() local
39 if(p) delete[] p; in ~GLESConversionArrays()
41 GLshort* p = (GLshort *)((*it).second.data); in ~GLESConversionArrays() local
42 if(p) delete[] p; in ~GLESConversionArrays()
183 GLESpointer* p = (*it).second; in ~GLEScontext() local
184 if(p) { in ~GLEScontext()
185 delete p; in ~GLEScontext()
266 static void directToBytesRanges(GLint first,GLsizei count,GLESpointer* p,RangeList& list) { in directToBytesRanges() argument
268 int attribSize = p->getSize()*4; //4 is the sizeof GLfixed or GLfloat in bytes in directToBytesRanges()
269 int stride = p->getStride()?p->getStride():attribSize; in directToBytesRanges()
[all …]
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/model/
DPropertiesTableModel.java37 ViewNode p = node.parent; in loadPrivateProperties() local
38 while (p != null) { in loadPrivateProperties()
39 x += p.left - p.scrollX; in loadPrivateProperties()
40 y += p.top - p.scrollY; in loadPrivateProperties()
41 p = p.parent; in loadPrivateProperties()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/
DGLPropertyAccessor.java84 IGLProperty getProperty(IGLProperty p); in getProperty() argument
96 public IGLProperty getProperty(IGLProperty p) { in getProperty() argument
97 if (p instanceof GLCompositeProperty) { in getProperty()
98 return ((GLCompositeProperty) p).getProperty(mType); in getProperty()
114 public IGLProperty getProperty(IGLProperty p) { in getProperty() argument
115 if (p instanceof GLListProperty && mIndex >= 0) { in getProperty()
116 return ((GLListProperty) p).get(mIndex); in getProperty()
118 if (p instanceof GLSparseArrayProperty) { in getProperty()
119 return ((GLSparseArrayProperty) p).getProperty(mIndex); in getProperty()
DListElementAddTransform.java57 IGLProperty p = state; in getList() local
60 p = mAccessor.getProperty(p); in getList()
63 if (p instanceof GLListProperty) { in getList()
64 return (GLListProperty) p; in getList()
DSparseArrayElementAddTransform.java65 IGLProperty p = state; in getArray() local
68 p = mAccessor.getProperty(p); in getArray()
71 if (p instanceof GLSparseArrayProperty) { in getArray()
72 return (GLSparseArrayProperty) p; in getArray()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DRenameResourceParticipantTest.java374 RenameResourceProcessor p; in renameResource() local
375 p = new RenameResourceProcessor(project, type, currentName, newName); in renameResource()
376 p.setUpdateReferences(updateReferences); in renameResource()
377 processor = p; in renameResource()
380 org.eclipse.ltk.internal.core.refactoring.resource.RenameResourceProcessor p; in renameResource() local
381 p = new org.eclipse.ltk.internal.core.refactoring.resource.RenameResourceProcessor(r); in renameResource()
385 p.setNewResourceName(newName + extension); in renameResource()
386 p.setUpdateReferences(updateReferences); in renameResource()
387 processor = p; in renameResource()
389 RenameFieldProcessor p = new RenameFieldProcessor((IField) resource); in renameResource() local
[all …]
/sdk/emulator/opengl/host/libs/Translator/GLES_CM/
DGLEScmContext.cpp92 … first,GLsizei count,GLenum type,const GLvoid* indices,bool direct,GLenum array_id,GLESpointer* p){ in setupArrayPointerHelper() argument
93 unsigned int size = p->getSize(); in setupArrayPointerHelper()
94 GLenum dataType = p->getType(); in setupArrayPointerHelper()
96 if(needConvert(cArrs,first,count,type,indices,direct,p,array_id)){ in setupArrayPointerHelper()
102 setupArr(p->getData(),array_id,dataType,size,p->getStride(), GL_FALSE); in setupArrayPointerHelper()
114 GLESpointer* p = (*it).second; in setupArraysPointers() local
117 setupArrayPointerHelper(cArrs,first,count,type,indices,direct,array_id,p); in setupArraysPointers()
134 GLESpointer* p = m_map[array_id]; in setupArraysPointers() local
136 setupArrayPointerHelper(cArrs,first,count,type,indices,direct,array_id,p); in setupArraysPointers()
146 GLESpointer* p = m_map[GL_POINT_SIZE_ARRAY_OES]; in drawPointsData() local
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
Dcompletion11-expected-complation79.txt2 android.accounts.AccountAuthenticatorActivity : <p>See <code><a href="/reference/android/app/Search…
3 android.app.ActivityGroup : <p> <p class="caution"> <strong>This class was deprecated …
4 android.app.AliasActivity : <p>See <code><a href="/reference/android/app/SearchManager.html">androi…
5 android.app.ExpandableListActivity : <p> ExpandableListActivity hosts a <code><a href="/reference…
7 android.app.ListActivity : <p> ListActivity hosts a <code><a href="/reference/android/widget/ListV…
8 android.app.NativeActivity : <p>A typical manifest would look like: <pre>&lt;manifest xmlns:andro…
9 android.app.TabActivity : <p> <p class="caution"> <strong>This class was deprecated i…
10 android.preference.PreferenceActivity : <p>This activity shows one or more headers of preferences, …
Dfragmentlayout-expected-complation78.txt2 android.app.DialogFragment : <p>Implementations should override this class and implement <code><a …
3 android.app.ListFragment : <p> ListFragment hosts a <code><a href="/reference/android/widget/ListV…
4 android.preference.PreferenceFragment : <p> Furthermore, the preferences shown will follow the vis…
5 …oid.webkit.WebViewFragment : <p> The WebView is automically paused or resumed when the Fragment i…
/sdk/emulator/mksdcard/src/source/
Dmksdcard.c54 #define BYTE_(p,i) (((Bytes)(p))[(i)]) argument
56 #define POKEB(p,v) BYTE_(p,0) = (Byte)(v) argument
57 #define POKES(p,v) ( BYTE_(p,0) = (Byte)(v), BYTE_(p,1) = (Byte)((v) >> 8) ) argument
58 #define POKEW(p,v) ( BYTE_(p,0) = (Byte)(v), BYTE_(p,1) = (Byte)((v) >> 8), BYTE_(p,2) = (Byte)(… argument
/sdk/eclipse/plugins/com.android.ide.eclipse.pdt/src/com/android/ide/eclipse/pdt/internal/
DDevTreeProjectProvider.java66 for (IProject p: projects) { in getProject()
67 if (!p.isOpen()) { in getProject()
71 if (!hasJavaNature(p)) { in getProject()
75 if (devTreePath == null || devTreePath.isPrefixOf(p.getLocation())) { in getProject()
76 devTreeProjects.add(p); in getProject()
133 private boolean hasJavaNature(IProject p) { in hasJavaNature() argument
135 return p.hasNature(JavaCore.NATURE_ID); in hasJavaNature()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DEclipseXmlFormatPreferences.java52 EclipseXmlFormatPreferences p = new EclipseXmlFormatPreferences(); in create() local
55 p.useEclipseIndent = prefs.isUseEclipseIndent(); in create()
56 p.removeEmptyLines = prefs.isRemoveEmptyLines(); in create()
57 p.oneAttributeOnFirstLine = prefs.isOneAttributeOnFirstLine(); in create()
58 p.sortAttributes = prefs.getAttributeSort(); in create()
59 p.spaceBeforeClose = prefs.isSpaceBeforeClose(); in create()
61 return p; in create()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DExplodedRenderingHelper.java128 int[] p = new int[] { 0, 0 }; in computePadding() local
129 childrenPadding.put(child, p); in computePadding()
130 computePadding(child, p); in computePadding()
139 int[] p = childrenPadding.get(childrenPadding.keySet().iterator().next()); in computePadding() local
140 padding[0] = p[0]; in computePadding()
141 padding[1] = p[1]; in computePadding()
160 for (int[] p : childrenPadding.values()) { in computePadding()
161 padding[0] += p[0]; in computePadding()
162 padding[1] += p[1]; in computePadding()
196 for (int[] p : paddings) { in combineLinearLayout()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ui/
DStretchesViewer.java244 Projection p = mProjection[yPos][xPos]; in paintControl() local
247 dest.x = (int) Math.ceil(p.dest.x * ratio); in paintControl()
248 dest.y = (int) Math.ceil(p.dest.y * ratio); in paintControl()
249 dest.width = (int) Math.ceil(p.dest.width * ratio); in paintControl()
250 dest.height = (int) Math.ceil(p.dest.height * ratio); in paintControl()
252 gc.drawImage(mNinePatchedImage.getImage(), p.src.x, p.src.y, in paintControl()
253 p.src.width, p.src.height, in paintControl()
258 gc.drawImage(mContentAreaImage, p.src.x, p.src.y, in paintControl()
259 p.src.width, p.src.height, in paintControl()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DControlPoint.java71 org.eclipse.swt.graphics.Point p = canvas.toControl(event.x, event.y); in create() local
72 return new ControlPoint(canvas, p.x, p.y); in create()
105 org.eclipse.swt.graphics.Point p = canvas.toControl(event.x, event.y); in create() local
106 return new ControlPoint(canvas, p.x, p.y); in create()
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/
DDropDownEditor.java39 final int p = v.getResources().getDimensionPixelSize(R.dimen.editor_drop_down_padding); in bindEditor() local
40 final int p2 = p * 2; in bindEditor()
57 v.setPadding(p, p, p, p); in bindEditor()
/sdk/emulator/opengl/tests/ut_renderer/
DRenderer.h35 bool operator< (const ClientHandle & p) const {
36 bool val = (pid == p.pid) ? handle < p.handle : pid < p.pid;

123456