Home
last modified time | relevance | path

Searched refs:data (Results 1 – 25 of 217) sorted by relevance

123456789

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
Dnavigation1-expected-navigate4.txt3 data/res/values-en-rGB/strings.xml
5 data/res/values/strings.xml
7 data/res/values-ar/strings.xml
9 data/res/values-bg/strings.xml
11 data/res/values-ca/strings.xml
13 data/res/values-cs/strings.xml
15 data/res/values-da/strings.xml
17 data/res/values-de/strings.xml
19 data/res/values-el/strings.xml
21 data/res/values-es/strings.xml
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/
DTexImageTransform.java216 private byte[] unpackData(byte[] data, GLEnum type) { in unpackData() argument
219 return data; in unpackData()
221 return convertShortToUnsigned(data, 0xf000, 12, 0x0f00, 8, 0x00f0, 4, 0x000f, 0, in unpackData()
224 return convertShortToUnsigned(data, 0xf800, 11, 0x07e0, 5, 0x001f, 0, 0, 0, in unpackData()
227 return convertShortToUnsigned(data, 0xf800, 11, 0x07c0, 6, 0x003e, 1, 0x1, 0, in unpackData()
230 return convertFloatToUnsigned(data); in unpackData()
232 return data; in unpackData()
236 private byte[] convertFloatToUnsigned(byte[] data) { in convertFloatToUnsigned() argument
237 byte[] unsignedData = new byte[data.length]; in convertFloatToUnsigned()
238 ByteBuffer floatBuffer = ByteBuffer.wrap(data); in convertFloatToUnsigned()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
DGLUtils.java27 public static String formatData(byte[] data, GLEnum format) { in formatData() argument
30 return formatBytes(data, false); in formatData()
32 return formatBytes(data, true); in formatData()
34 return formatShorts(data, false); in formatData()
36 return formatShorts(data, true); in formatData()
38 return formatInts(data); in formatData()
40 return formatFloats(data); in formatData()
46 private static String formatFloats(byte[] data) { in formatFloats() argument
47 FloatBuffer bb = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN).asFloatBuffer(); in formatFloats()
60 private static String formatInts(byte[] data) { in formatInts() argument
[all …]
/sdk/eclipse/scripts/
Dgen_icon.py25 data = process_args(args)
26 if data:
27 createImage(data)
38 def createImage(data): argument
46 sz = int(data.size)
53 fill=data.circle_color, outline=None)
56 fill=None, outline=data.border_color)
59 tsx, tsy = draw.textsize(data.letter, font=font)
64 draw.text((ptx + i, pty), data.letter, font=font, fill=data.letter_color)
67 img.save(data.dest_name, "PNG")
[all …]
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/
DSocket.java91 public void send(byte[] data) throws IOException { in send() argument
104 socket.getOutputStream().write(data); in send()
115 public void send(byte[] data, int offset, int len) throws IOException { in send() argument
121 socket.getOutputStream().write(data, offset, len); in send()
132 public static void receive(LocalSocket socket, byte[] data, int len) throws IOException { in receive() argument
136 final int chunk = is.read(data, received, len - received); in receive()
152 public void receive(byte[] data, int len) throws IOException { in receive() argument
158 receive(socket, data, len); in receive()
168 public void receive(byte[] data) throws IOException { in receive() argument
169 receive(data, data.length); in receive()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
DAndroidJarLoader.java182 byte[] data = readZipData(zis, (int)entrySize); in preLoadClasses()
183 mEntryCache.put(className, data); in preLoadClasses()
245 byte[] data = mEntryCache.get(className); in findClassesDerivingFrom()
246 if (data == null) { in findClassesDerivingFrom()
252 data = readZipData(zis, (int)entrySize); in findClassesDerivingFrom()
255 loaded_class = defineAndCacheClass(className, data); in findClassesDerivingFrom()
310 byte[] data = loadClassData(name); in findClass()
311 if (data != null) { in findClass()
312 return defineAndCacheClass(name, data); in findClass()
334 private Class<?> defineAndCacheClass(String name, byte[] data) throws ClassFormatError { in defineAndCacheClass() argument
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/
DGraphicsUtilities.java103 public static int getVerticalPixels(ImageData data, int x, int y, int height, int[] out) { in getVerticalPixels() argument
104 if (data == null) { in getVerticalPixels()
113 if (data.height < (y + height)) { in getVerticalPixels()
119 if (x >= data.width) { in getVerticalPixels()
122 if (y >= data.height) { in getVerticalPixels()
131 data.getPixels(x, (y + idx), 1, out, idx); in getVerticalPixels()
140 public static void getHorizontalPixels(ImageData data, int x, int y, int width, int[] out) { in getHorizontalPixels() argument
141 if (data == null) { in getHorizontalPixels()
150 if (data.width < (x + width)) { in getHorizontalPixels()
156 if (x >= data.width) { in getHorizontalPixels()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/properties/
DLibraryProperties.java105 for (ItemData data : mItemDataList) {
106 if (data.project == project) {
191 ItemData data = (ItemData) selection.getData(); in LibraryProperties()
192 mItemDataList.remove(data); in LibraryProperties()
209 ItemData data = mItemDataList.remove(index); in LibraryProperties()
213 addItem(data.relativePath, data.project, index - 1); in LibraryProperties()
229 ItemData data = mItemDataList.remove(index); in LibraryProperties()
233 addItem(data.relativePath, data.project, index + 1); in LibraryProperties()
294 for (ItemData data : mItemDataList) { in save()
296 data.relativePath); in save()
[all …]
/sdk/emulator/opengl/host/libs/GLESv1_dec/
DGLDecoder.h38 static void gl_APIENTRY s_glGetCompressedTextureFormats(void * self, GLint cont, GLint *data);
39 …VertexPointerData(void *self, GLint size, GLenum type, GLsizei stride, void *data, GLuint datalen);
42 …lColorPointerData(void *self, GLint size, GLenum type, GLsizei stride, void *data, GLuint datalen);
45 …rData(void *self, GLint unit, GLint size, GLenum type, GLsizei stride, void *data, GLuint datalen);
48 …PIENTRY s_glNormalPointerData(void *self, GLenum type, GLsizei stride, void *data, GLuint datalen);
51 …NTRY s_glPointSizePointerData(void *self, GLenum type, GLsizei stride, void *data, GLuint datalen);
55 …DrawElementsData(void *self, GLenum mode, GLsizei count, GLenum type, void * data, GLuint datalen);
57 …ightPointerData(void * self, GLint size, GLenum type, GLsizei stride, void * data, GLuint datalen);
60 …ndexPointerData(void * self, GLint size, GLenum type, GLsizei stride, void * data, GLuint datalen);
Dgl.addon7 GL_ENTRY(void, glVertexPointerData, GLint size, GLenum type, GLsizei stride, void * data, GLuint d…
8 GL_ENTRY(void, glColorPointerData, GLint size, GLenum type, GLsizei stride, void * data, GLuint da…
9 GL_ENTRY(void, glNormalPointerData, GLenum type, GLsizei stride, void * data, GLuint datalen)
10 GL_ENTRY(void, glTexCoordPointerData, GLint size, GLenum type, GLsizei stride, void * data, GLuint…
11 GL_ENTRY(void, glPointSizePointerData, GLenum type, GLsizei stride, void * data, GLuint datalen)
14 GL_ENTRY(void, glDrawElementsData, GLenum mode, GLsizei count, GLenum type, void *data, GLuint data…
DGLDecoder.cpp138 ctx->m_contextData->storePointerData((location), data, datalen); \
143 …lVertexPointerData(void *self, GLint size, GLenum type, GLsizei stride, void *data, GLuint datalen) in s_glVertexPointerData() argument
152 …glColorPointerData(void *self, GLint size, GLenum type, GLsizei stride, void *data, GLuint datalen) in s_glColorPointerData() argument
161 …erData(void *self, GLint unit, GLint size, GLenum type, GLsizei stride, void *data, GLuint datalen) in s_glTexCoordPointerData() argument
172 void GLDecoder::s_glNormalPointerData(void *self, GLenum type, GLsizei stride, void *data, GLuint d… in s_glNormalPointerData() argument
181 void GLDecoder::s_glPointSizePointerData(void *self, GLenum type, GLsizei stride, void *data, GLuin… in s_glPointSizePointerData() argument
190 …eightPointerData(void * self, GLint size, GLenum type, GLsizei stride, void * data, GLuint datalen) in s_glWeightPointerData() argument
199 …IndexPointerData(void * self, GLint size, GLenum type, GLsizei stride, void * data, GLuint datalen) in s_glMatrixIndexPointerData() argument
214 …lDrawElementsData(void *self, GLenum mode, GLsizei count, GLenum type, void * data, GLuint datalen) in s_glDrawElementsData() argument
217 ctx->glDrawElements(mode, count, type, data); in s_glDrawElementsData()
[all …]
Dgl.attrib71 #void glBufferData(GLenum target, GLsizeiptr size, GLvoid *data, GLenum usage)
73 len data size
75 #void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data)
77 dir data in
78 len data size
91 …Lenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, GLvoid *data)
93 len data imageSize
94 var_flag data nullAllowed
96 …fset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, GLvoid *data)
98 len data imageSize
[all …]
/sdk/emulator/opengl/host/libs/Translator/GLcommon/
DGLESbuffer.cpp19 bool GLESbuffer::setBuffer(GLuint size,GLuint usage,const GLvoid* data) { in setBuffer() argument
28 if(data) { in setBuffer()
29 memcpy(m_data,data,size); in setBuffer()
38 bool GLESbuffer::setSubBuffer(GLint offset,GLuint size,const GLvoid* data) { in setSubBuffer() argument
40 memcpy(m_data+offset,data,size); in setSubBuffer()
DGLEScontext.cpp38 GLfloat* p = (GLfloat *)((*it).second.data); in ~GLESConversionArrays()
41 GLshort* p = (GLshort *)((*it).second.data); in ~GLESConversionArrays()
50 m_arrays[m_current].data = new GLfloat[size]; in allocArr()
53 m_arrays[m_current].data = new GLshort[size]; in allocArr()
60 void GLESConversionArrays::setArr(void* data,unsigned int stride,GLenum type){ in setArr() argument
62 m_arrays[m_current].data = data; in setArr()
68 return m_arrays[m_current].data; in getCurrentData()
192 …etPointer(GLenum arrType,GLint size,GLenum type,GLsizei stride,const GLvoid* data,bool normalize) { in setPointer() argument
195 unsigned int offset = SafeUIntFromPointer(data); in setPointer()
200 m_map[arrType]->setArray(size,type,stride,data,normalize); in setPointer()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
DCopyCutAction.java127 String data = getXmlTextFromEditor(xml_node); in run() local
132 if (data == null) { in run()
133 data = getXmlTextFromSerialization(xml_node); in run()
136 if (data != null) { in run()
137 allText.append(data); in run()
164 String data = null; in getXmlTextFromEditor() local
170 data = ((NodeContainer) xml_node).getSource(); in getXmlTextFromEditor()
178 data = sse_doc.get(start, end - start); in getXmlTextFromEditor()
186 return data; in getXmlTextFromEditor()
197 String data; in getXmlTextFromSerialization() local
[all …]
DPasteAction.java67 final String data = (String) mClipboard.getContents(TextTransfer.getInstance()); in run() local
68 if (data != null) { in run()
86 sse_doc.replace(region.getStartOffset(), 0, data); in run()
99 sse_doc.replace(start_tag.getEndOffset(), 0, data); in run()
114 sse_doc.replace(region.getEndOffset(), 0, data); in run()
122 mUiNode.getBreadcrumbTrailDescription(true), data); in run()
/sdk/emulator/opengl/shared/OpenglCodecCommon/
DGLSharedGroup.cpp25 BufferData::BufferData(GLsizeiptr size, void * data) : m_size(size) in BufferData() argument
31 if (data) { in BufferData()
32 memcpy(buffer, data, size); in BufferData()
235 void GLSharedGroup::addBufferData(GLuint bufferId, GLsizeiptr size, void * data) in addBufferData() argument
238 m_buffers.set(bufferId, new BufferData(size, data)); in addBufferData()
241 void GLSharedGroup::updateBufferData(GLuint bufferId, GLsizeiptr size, void * data) in updateBufferData() argument
244 m_buffers.set(bufferId, new BufferData(size, data)); in updateBufferData()
247 … GLSharedGroup::subUpdateBufferData(GLuint bufferId, GLintptr offset, GLsizeiptr size, void * data) in subUpdateBufferData() argument
254 memcpy((char*)buf->m_fixedBuffer.ptr() + offset, data, size); in subUpdateBufferData()
417 ShaderData* data = new ShaderData; in addShaderData() local
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/sdk/
DAndroidJarLoaderTest.java59 HashMap<String,byte[]> data = getPrivateEntryCache(); in testPreLoadClasses() local
60 assertTrue(data.containsKey("jar.example.Class1")); //$NON-NLS-1$ in testPreLoadClasses()
61 assertTrue(data.containsKey("jar.example.Class2")); //$NON-NLS-1$ in testPreLoadClasses()
62 assertTrue(data.containsKey("jar.example.Class1$InnerStaticClass1")); //$NON-NLS-1$ in testPreLoadClasses()
63 assertTrue(data.containsKey("jar.example.Class1$InnerClass2")); //$NON-NLS-1$ in testPreLoadClasses()
64 assertEquals(4, data.size()); in testPreLoadClasses()
72 HashMap<String,byte[]> data = getPrivateEntryCache(); in testPreLoadClasses_classNotFound() local
73 assertEquals(0, data.size()); in testPreLoadClasses_classNotFound()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/animator/
DAnimationEditorDelegate.java100 AndroidTargetData data = getEditor().getTargetData(); in delegateXmlModelChanged() local
101 if (data != null) { in delegateXmlModelChanged()
104 descriptor = data.getAnimDescriptors().getElementDescriptor(mRootTag); in delegateXmlModelChanged()
106 descriptor = data.getAnimatorDescriptors().getElementDescriptor(mRootTag); in delegateXmlModelChanged()
134 AndroidTargetData data = getEditor().getTargetData(); in delegateInitUiRootNode() local
135 if (data == null) { in delegateInitUiRootNode()
139 descriptor = data.getAnimDescriptors().getElementDescriptor(mRootTag); in delegateInitUiRootNode()
141 descriptor = data.getAnimatorDescriptors().getElementDescriptor(mRootTag); in delegateInitUiRootNode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DSourceProcessor.java141 for (SourceFileData data : mFiles.values()) { in isOutput()
142 if (data.generated(file)) { in isOutput()
143 return data.getSourceFile(); in isOutput()
159 for (SourceFileData data : mFiles.values()) { in isDependency()
160 if (data.dependsOn(file)) { in isDependency()
161 files.add(data.getSourceFile()); in isDependency()
168 void addData(SourceFileData data) { in addData() argument
169 mFiles.put(data.getSourceFile(), data); in addData() local
275 SourceFileData data = getFileData(sourceFile); in compileFiles() local
276 if (data != null) { in compileFiles()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
DUiTextAttributeNode.java133 Object data = textWidget.getLayoutData(); in setTextWidget() local
134 if (data == null) { in setTextWidget()
135 } else if (data instanceof GridData) { in setTextWidget()
136 ((GridData)data).widthHint = AndroidXmlEditor.TEXT_WIDTH_HINT; in setTextWidget()
137 } else if (data instanceof TableWrapData) { in setTextWidget()
138 ((TableWrapData)data).maxWidth = 100; in setTextWidget()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/drawable/
DDrawableEditorDelegate.java96 AndroidTargetData data = getEditor().getTargetData(); in delegateXmlModelChanged() local
97 if (data != null) { in delegateXmlModelChanged()
99 data.getDrawableDescriptors().getElementDescriptor(mRootTag); in delegateXmlModelChanged()
126 AndroidTargetData data = getEditor().getTargetData(); in delegateInitUiRootNode() local
127 if (data == null) { in delegateInitUiRootNode()
130 descriptor = data.getDrawableDescriptors().getElementDescriptor(mRootTag); in delegateInitUiRootNode()
/sdk/emulator/opengl/host/libs/GLESv2_dec/
DGL2Decoder.cpp106 … GLboolean normalized, GLsizei stride, void * data, GLuint datalen) in s_glVertexAttribPointerData() argument
110 ctx->m_contextData->storePointerData(indx, data, datalen); in s_glVertexAttribPointerData()
118 GLboolean normalized, GLsizei stride, GLuint data) in s_glVertexAttribPointerOffset() argument
121 ctx->glVertexAttribPointer(indx, size, type, normalized, stride, SafePointerFromUInt(data)); in s_glVertexAttribPointerOffset()
125 …lDrawElementsData(void *self, GLenum mode, GLsizei count, GLenum type, void * data, GLuint datalen) in s_glDrawElementsData() argument
128 ctx->glDrawElements(mode, count, type, data); in s_glDrawElementsData()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DLinearLayoutRule.java379 LinearDropData data = (LinearDropData) feedback.userData;
380 boolean isVertical = data.isVertical();
381 int selfPos = data.getSelfPos();
383 for (MatchPos it : data.getIndexes()) {
400 Integer currX = data.getCurrX();
401 Integer currY = data.getCurrY();
413 if (data.getInsertPos() != selfPos || selfPos == -1) {
415 if (data.getWidth() != null) {
416 int width = data.getWidth();
420 } else if (data.getHeight() != null) {
[all …]
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
DProfilesLoader.java55 String[] data = response.split(" "); in loadProfiles() local
57 double[] profiles = new double[data.length]; in loadProfiles()
58 for (int i = 0; i < data.length; i++) { in loadProfiles()
59 profiles[i] = (Long.parseLong(data[i]) / 1000.0) / 1000.0; // convert to ms in loadProfiles()

123456789