Home
last modified time | relevance | path

Searched refs:data (Results 1 – 25 of 210) 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/
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/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/
DTexImageTransform.java200 private byte[] unpackData(byte[] data, GLEnum type) { in unpackData() argument
203 return data; in unpackData()
205 return convertShortToUnsigned(data, 0xf000, 12, 0x0f00, 8, 0x00f0, 4, 0x000f, 0, in unpackData()
208 return convertShortToUnsigned(data, 0xf800, 11, 0x07e0, 5, 0x001f, 0, 0, 0, in unpackData()
211 return convertShortToUnsigned(data, 0xf800, 11, 0x07c0, 6, 0x003e, 1, 0x1, 0, in unpackData()
214 return data; in unpackData()
253 byte[] data = new byte[4 * width * height]; in addAlphaChannel()
256 data[dst + 0] = sourceData[src + 0]; // copy R byte in addAlphaChannel()
257 data[dst + 1] = sourceData[src + 1]; // copy G byte in addAlphaChannel()
258 data[dst + 2] = sourceData[src + 2]; // copy B byte in addAlphaChannel()
[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()
254 loaded_class = defineAndCacheClass(className, data); in findClassesDerivingFrom()
301 byte[] data = loadClassData(name); in findClass()
302 if (data != null) { in findClass()
303 return defineAndCacheClass(name, data); in findClass()
325 private Class<?> defineAndCacheClass(String name, byte[] data) throws ClassFormatError { in defineAndCacheClass() argument
[all …]
/sdk/emulator/qtools/
Ddecoder.cpp234 uint64_t data = *(reinterpret_cast<uint64_t*>(next_)); in Decode() local
235 uint8_t byte0 = data; in Decode()
236 data = bswap64(data); in Decode()
256 val64 = (val64 << 8) | ((data >> 48) & 0xffull); in Decode()
259 val64 = (val64 << 16) | ((data >> 40) & 0xffffull); in Decode()
262 val64 = (val64 << 24) | ((data >> 32) & 0xffffffull); in Decode()
265 val64 = (val64 << 32) | ((data >> 24) & 0xffffffffull); in Decode()
268 val64 = (val64 << 40) | ((data >> 16) & 0xffffffffffull); in Decode()
271 data = *(reinterpret_cast<uint64_t*>(&next_[1])); in Decode()
272 val64 = bswap64(data); in Decode()
/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.cpp134 ctx->m_contextData->storePointerData((location), data, datalen); \
139 …lVertexPointerData(void *self, GLint size, GLenum type, GLsizei stride, void *data, GLuint datalen) in s_glVertexPointerData() argument
148 …glColorPointerData(void *self, GLint size, GLenum type, GLsizei stride, void *data, GLuint datalen) in s_glColorPointerData() argument
157 …erData(void *self, GLint unit, GLint size, GLenum type, GLsizei stride, void *data, GLuint datalen) in s_glTexCoordPointerData() argument
168 void GLDecoder::s_glNormalPointerData(void *self, GLenum type, GLsizei stride, void *data, GLuint d… in s_glNormalPointerData() argument
177 void GLDecoder::s_glPointSizePointerData(void *self, GLenum type, GLsizei stride, void *data, GLuin… in s_glPointSizePointerData() argument
186 …eightPointerData(void * self, GLint size, GLenum type, GLsizei stride, void * data, GLuint datalen) in s_glWeightPointerData() argument
195 …IndexPointerData(void * self, GLint size, GLenum type, GLsizei stride, void * data, GLuint datalen) in s_glMatrixIndexPointerData() argument
210 …lDrawElementsData(void *self, GLenum mode, GLsizei count, GLenum type, void * data, GLuint datalen) in s_glDrawElementsData() argument
213 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.cpp37 GLfloat* p = (GLfloat *)((*it).second.data); in ~GLESConversionArrays()
40 GLshort* p = (GLshort *)((*it).second.data); in ~GLESConversionArrays()
49 m_arrays[m_current].data = new GLfloat[size]; in allocArr()
52 m_arrays[m_current].data = new GLshort[size]; in allocArr()
59 void GLESConversionArrays::setArr(void* data,unsigned int stride,GLenum type){ in setArr() argument
61 m_arrays[m_current].data = data; in setArr()
67 return m_arrays[m_current].data; in getCurrentData()
191 …etPointer(GLenum arrType,GLint size,GLenum type,GLsizei stride,const GLvoid* data,bool normalize) { in setPointer() argument
194 unsigned int offset = ToTargetCompatibleHandle((uintptr_t)data); in setPointer()
199 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/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/emulator/opengl/shared/OpenglCodecCommon/
DGLSharedGroup.cpp22 BufferData::BufferData(GLsizeiptr size, void * data) : m_size(size) in BufferData() argument
26 if (data) memcpy(buffer, data, size); in BufferData()
237 void GLSharedGroup::addBufferData(GLuint bufferId, GLsizeiptr size, void * data) in addBufferData() argument
240 m_buffers.add(bufferId, new BufferData(size, data)); in addBufferData()
243 void GLSharedGroup::updateBufferData(GLuint bufferId, GLsizeiptr size, void * data) in updateBufferData() argument
246 m_buffers.replaceValueFor(bufferId, new BufferData(size, data)); in updateBufferData()
249 … GLSharedGroup::subUpdateBufferData(GLuint bufferId, GLintptr offset, GLsizeiptr size, void * data) in subUpdateBufferData() argument
256 memcpy((char*)buf->m_fixedBuffer.ptr() + offset, data, size); in subUpdateBufferData()
428 ShaderData* data = new ShaderData; in addShaderData() local
429 if (data) { in addShaderData()
[all …]
/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.java134 for (SourceFileData data : mFiles.values()) { in isOutput()
135 if (data.generated(file)) { in isOutput()
136 return data.getSourceFile(); in isOutput()
152 for (SourceFileData data : mFiles.values()) { in isDependency()
153 if (data.dependsOn(file)) { in isDependency()
154 files.add(data.getSourceFile()); in isDependency()
161 void addData(SourceFileData data) { in addData() argument
162 mFiles.put(data.getSourceFile(), data); in addData() local
268 SourceFileData data = getFileData(sourceFile); in compileFiles() local
269 if (data != null) { in compileFiles()
[all …]
/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/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/emulator/opengl/host/libs/GLESv2_dec/
DGL2Decoder.cpp103 … GLboolean normalized, GLsizei stride, void * data, GLuint datalen) in s_glVertexAttribPointerData() argument
107 ctx->m_contextData->storePointerData(indx, data, datalen); in s_glVertexAttribPointerData()
115 GLboolean normalized, GLsizei stride, GLuint data) in s_glVertexAttribPointerOffset() argument
118 ctx->glVertexAttribPointer(indx, size, type, normalized, stride, (GLvoid *)data); in s_glVertexAttribPointerOffset()
122 …lDrawElementsData(void *self, GLenum mode, GLsizei count, GLenum type, void * data, GLuint datalen) in s_glDrawElementsData() argument
125 ctx->glDrawElements(mode, count, type, data); in s_glDrawElementsData()
/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()
/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 …]

123456789