Home
last modified time | relevance | path

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

1234567

/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/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/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 …]
DAidlProcessor.java171 SourceFileData data = getFileData(sourceFile); in doCompileFiles() local
172 if (data == null) { in doCompileFiles()
173 data = new SourceFileData(sourceFile); in doCompileFiles()
174 addData(data); in doCompileFiles()
178 if (data.getOutput() == null) { in doCompileFiles()
181 data.setOutputFile(javaFile); in doCompileFiles()
186 commands[index + 1] = quote(data.getOutput().getLocation().toOSString()); in doCompileFiles()
222 for (SourceFileData data : dataList) { in loadOutputAndDependencies()
224 IFile javaFile = getAidlOutputFile(data.getSourceFile(), genFolder, in loadOutputAndDependencies()
226 data.setOutputFile(javaFile); in loadOutputAndDependencies()
/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()
DUiFlagAttributeNode.java147 AndroidTargetData data = editor.getTargetData(); in getPossibleValues() local
148 if (data != null) { in getPossibleValues()
149 values = data.getAttributeValues(element_name, attr_name); in getPossibleValues()
233 GridData data = new GridData(); in createDialogArea() local
235 data.widthHint = convertWidthInCharsToPixels(60); in createDialogArea()
236 data.heightHint = convertHeightInCharsToPixels(18); in createDialogArea()
237 data.grabExcessVerticalSpace = true; in createDialogArea()
238 data.grabExcessHorizontalSpace = true; in createDialogArea()
239 data.horizontalAlignment = GridData.FILL; in createDialogArea()
240 data.verticalAlignment = GridData.FILL; in createDialogArea()
[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/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()
DViewHierarchyLoader.java154 private static void loadProperties(ViewNode node, String data) { in loadProperties() argument
159 int index = data.indexOf('=', start); in loadProperties()
161 property.name = data.substring(start, index); in loadProperties()
168 int index2 = data.indexOf(',', index + 1); in loadProperties()
169 int length = Integer.parseInt(data.substring(index + 1, index2)); in loadProperties()
171 property.value = data.substring(index2 + 1, index2 + 1 + length); in loadProperties()
176 stop = start >= data.length(); in loadProperties()
/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/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DOutlineDragListener.java98 e.data = SelectionItem.getAsText(canvas, mDragSelection); in dragSetData()
103 e.data = mDragElements; in dragSetData()
122 Object data = item.getData(); in getViewInfo() local
123 if (data != null) { in getViewInfo()
124 return OutlinePage.getViewInfo(data); in getViewInfo()
/sdk/templates/docs/
Ddefault.js26 …$(this).attr('id', 'toc_' + sluggify_($(this).data('tocid') || $(this).data('toctitle') || $(this)…
73 .html($(this).data('toctitle') || $(this).html())
74 .data('target', tocId)
76 smoothScrollToId($(this).data('target'));
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
DResourceValueCompleter.java98 AndroidTargetData data = editor.getTargetData(); in computeResourceStringMatches() local
99 if (data != null) { in computeResourceStringMatches()
100 ResourceRepository repository = data.getFrameworkResources(); in computeResourceStringMatches()
106 AndroidTargetData data = editor.getTargetData(); in computeResourceStringMatches() local
107 if (data != null) { in computeResourceStringMatches()
108 ResourceRepository repository = data.getFrameworkResources(); in computeResourceStringMatches()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/detail/
DDetailsPage.java207 Object data = ((TreeSelection) selection).getFirstElement(); in getSelectedCall() local
208 if (data instanceof GLCallNode) { in getSelectedCall()
209 return ((GLCallNode) data).getCall(); in getSelectedCall()
224 Object data = objects.get(0); in getSelectedProperty() local
225 if (data instanceof IGLProperty) { in getSelectedProperty()
226 return (IGLProperty) data; in getSelectedProperty()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/
DValuesContentAssist.java102 AndroidTargetData data = mEditor.getTargetData(); in computeAttributeValues() local
103 if (data != null) { in computeAttributeValues()
105 data.getDescriptorProvider( in computeAttributeValues()
156 AndroidTargetData data = mEditor.getTargetData(); in computeTextValues() local
157 if (data != null) { in computeTextValues()
159 data.getDescriptorProvider(DESCRIPTOR_LAYOUT); in computeTextValues()
181 data.getLayoutDescriptors().getDescriptor(); in computeTextValues()

1234567