Home
last modified time | relevance | path

Searched refs:result (Results 1 – 25 of 138) sorted by relevance

123456

/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
DGLProtoBuf.java1586 private com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType result; field in GLProtoBuf.GLMessage.DataType.Builder
1593 builder.result = new com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType(); in create()
1599 return result; in internalGetResult()
1604 if (result == null) { in clear()
1608 result = new com.android.ide.eclipse.gltrace.GLProtoBuf.GLMessage.DataType(); in clear()
1614 return create().mergeFrom(result); in clone()
1624 return result.isInitialized(); in isInitialized()
1628 if (result != null && !isInitialized()) { in build()
1629 throw newUninitializedMessageException(result); in build()
1638 result).asInvalidProtocolBufferException(); in buildParsed()
[all …]
/sdk/testapps/customViewTest/libWithCustomView/src/com/android/tests/libwithcustom/
DLabelView.java137 int result = 0; in measureWidth() local
143 result = specSize; in measureWidth()
146 result = (int) mTextPaint.measureText(mText) + getPaddingLeft() in measureWidth()
150 result = Math.min(result, specSize); in measureWidth()
154 return result; in measureWidth()
163 int result = 0; in measureHeight() local
170 result = specSize; in measureHeight()
173 result = (int) (-mAscent + mTextPaint.descent()) + getPaddingTop() in measureHeight()
177 result = Math.min(result, specSize); in measureHeight()
180 return result; in measureHeight()
/sdk/find_java/src/source/
Dfind_java_lib.cpp107 int result = 0; in checkPath() local
111 if (!getJavaVersion(*inOutPath, NULL /*versionStr*/, &result)) { in checkPath()
112 result = 0; in checkPath()
116 return result; in checkPath()
298 for (LONG result = ERROR_SUCCESS; result == ERROR_SUCCESS; index++) { in exploreJavaRegistry() local
301 result = RegEnumKeyExA( in exploreJavaRegistry()
310 if (result == ERROR_SUCCESS && nameLen < 256) { in exploreJavaRegistry()
350 bool result = false; in findJavaInRegistry() local
351result |= (!isJdk && getMaxJavaInRegistry("Java Runtime Environment", 0, outJavaPath, &version)); in findJavaInRegistry()
352 result |= getMaxJavaInRegistry("Java Development Kit", 0, outJavaPath, &version); in findJavaInRegistry()
[all …]
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/device/
DDeviceBridge.java66 final boolean[] result = new boolean[1]; in isViewServerRunning()
70 new BooleanResultReader(result)); in isViewServerRunning()
71 if (!result[0]) { in isViewServerRunning()
73 result[0] = true; in isViewServerRunning()
86 return result[0]; in isViewServerRunning()
95 final boolean[] result = new boolean[1]; in startViewServer()
99 new BooleanResultReader(result)); in startViewServer()
110 return result[0]; in startViewServer()
115 final boolean[] result = new boolean[1]; in stopViewServer()
119 new BooleanResultReader(result)); in stopViewServer()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/
DGraphicsUtilitiesTest.java33 ImageData result = GraphicsUtilities.convertToNinePatch(null); in testConvertToNinePatchNull() local
34 assertNull(result); in testConvertToNinePatchNull()
43 ImageData result = GraphicsUtilities.convertToNinePatch(baseData); in testConvertToNinePatch() local
45 assertEquals(baseData.width + 2, result.width); in testConvertToNinePatch()
46 assertEquals(baseData.height + 2, result.height); in testConvertToNinePatch()
49 for (int x = 0; x < result.width; x++) { in testConvertToNinePatch()
52 assertEquals(0x0, result.getPixel(x, 0) & MASK_ALPHA); in testConvertToNinePatch()
55 assertEquals(0x0, result.getPixel(x, result.height - 1) & MASK_ALPHA); in testConvertToNinePatch()
59 for (int y = 0; y < result.height; y++) { in testConvertToNinePatch()
62 assertEquals(0x0, result.getPixel(0, y) & MASK_ALPHA); in testConvertToNinePatch()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DExecResultException.java54 String result = String.format("%1$s Error %2$d", getLabel(), mErrorCode); in toString() local
58 result += " \nOutput:"; in toString()
61 result += " \n" + o; in toString()
65 return result; in toString()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/
DGraphicsUtilities.java34 ImageData result = new ImageData(image.width + 2, image.height + 2, image.depth, in convertToNinePatch() local
44 result.setPixels(1, y + 1, image.width, colors, 0); in convertToNinePatch()
48 result.setAlphas(1, y + 1, image.width, alpha, 0); in convertToNinePatch()
51 return result; in convertToNinePatch()
79 ImageData result = new ImageData(image.width, image.height, image.depth, in copy() local
89 result.setPixels(0, y, image.width, colors, 0); in copy()
93 result.setAlphas(0, y, image.width, alpha, 0); in copy()
96 return result; in copy()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DLayoutPoint.java135 int result = 1; in hashCode() local
136 result = prime * result + x; in hashCode()
137 result = prime * result + y; in hashCode()
138 return result; in hashCode()
DControlPoint.java162 int result = 1; in hashCode() local
163 result = prime * result + x; in hashCode()
164 result = prime * result + y; in hashCode()
165 return result; in hashCode()
DIncludeOverlay.java104 List<Rectangle> result = new ArrayList<Rectangle>(); in subtractRectangles() local
105 result.add(rectangle); in subtractRectangles()
109 for (Rectangle r : result) { in subtractRectangles()
145 result = tempResult; in subtractRectangles()
148 return result; in subtractRectangles()
DIncludeFinder.java170 List<String> result = mIncludedBy.get(mapKey); in getIncludedBy() local
171 if (result == null) { in getIncludedBy()
174 result = mIncludedBy.get(name); in getIncludedBy()
178 if (result != null && result.size() > 0) { in getIncludedBy()
179 List<Reference> references = new ArrayList<Reference>(result.size()); in getIncludedBy()
180 for (String s : result) { in getIncludedBy()
199 List<String> result = mIncludedBy.get(mapKey); in isIncluded() local
200 if (result == null) { in isIncluded()
203 result = mIncludedBy.get(name); in isIncluded()
207 return result != null && result.size() > 0; in isIncluded()
[all …]
/sdk/avdlauncher/src/source/
Davdlauncher.c72 int result = 0; in avd_launcher() local
89 result = 1; in avd_launcher()
99 if (!result) { in avd_launcher()
118 result = 1; in avd_launcher()
124 return result; in avd_launcher()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/
DProjectResources.java183 Pair<ResourceType, String> result = null; in resolveResourceId() local
185 result = mResIdValueToNameMap.get(id); in resolveResourceId()
188 if (result == null) { in resolveResourceId()
190 result = mDynamicIdMap.resolveId(id); in resolveResourceId()
194 return result; in resolveResourceId()
216 Integer result = null; in getResourceId() local
220 result = map.get(name); in getResourceId()
224 if (result == null) { in getResourceId()
226 result = mDynamicIdMap.getId(type, name); in getResourceId()
230 return result; in getResourceId()
/sdk/sdklauncher/src/source/
Dsdklauncher.c72 int result = 0; in sdk_launcher() local
89 result = 1; in sdk_launcher()
99 if (!result) { in sdk_launcher()
138 result = 1; in sdk_launcher()
144 return result; in sdk_launcher()
/sdk/find_lock/
Dfind_lock_exe.cpp70 CString result; in main() local
71 if (findLock(dirPath, &result)) { in main()
74 printf("%s", result.cstr()); in main()
Dfind_lock.cpp240 bool result = false; in getHandleType() local
267 result = true; in getHandleType()
272 return result; in getHandleType()
317 bool result; member
354 info->result = true; in FileNameThreadFunc()
365 info.result = false; in getFileName()
384 bool result = false; in getFileName() local
391 result = info.result; in getFileName()
395 return result; in getFileName()
569 bool result = false; in findLock() local
[all …]
/sdk/find_java2/src/
DJavaFinder.cpp71 bool result = false; in getJavaVersion() local
182 result = exitCode == 0; in getJavaVersion()
190 if (result && index > 0) { in getJavaVersion()
201 result = extractJavaVersion(first32, index, outVersionStr, outVersionInt); in getJavaVersion()
205 return result; in getJavaVersion()
224 int result = 0; in checkPath() local
230 if (!getJavaVersion(*inOutPath, &versionStr, &result)) { in checkPath()
231 result = 0; in checkPath()
236 return result; in checkPath()
373 for (LONG result = ERROR_SUCCESS; result == ERROR_SUCCESS; index++) { in exploreJavaRegistry() local
[all …]
Dutils.cpp104 CString result; in getLastWin32Error() local
115 result.Format(_T("[%d] %s"), err, errStr); in getLastWin32Error()
117 result.Format(_T("%s[%d] %s"), message, err, errStr); in getLastWin32Error()
121 return result; in getLastWin32Error()
204 int result = -1; in execWait() local
211 result = exitCode; in execWait()
217 return result; in execWait()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
DActivityLaunchAction.java105 boolean result = true; in doLaunchAction()
109 result = doLaunchAction(info, d) && result; in doLaunchAction()
112 return result; in doLaunchAction()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DEclipseLintIssueRegistry.java37 List<Issue> result = new ArrayList<Issue>(sIssues.size()); in getIssues() local
58 result.add(issue); in getIssues()
60 sFilteredIssues = result; in getIssues()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DAndroidTypeRenameParticipant.java220 CompositeChange result = new CompositeChange(getName()); in createChange() local
223 result.markAsSynthetic(); in createChange()
225 addManifestFileChanges(mManifestFile, result); in createChange()
226 addLayoutFileChanges(mProject, result); in createChange()
227 addJavaChanges(mProject, result, pm); in createChange()
241 addManifestFileChanges((IFile) manifestResource, result); in createChange() local
243 addLayoutFileChanges(project, result); in createChange()
244 addJavaChanges(project, result, pm); in createChange()
250 RenameResourceParticipant.disableRClassChanges(result); in createChange()
252 return (result.getChildren().length == 0) ? null : result; in createChange()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DLocale.java160 int result = 1; in hashCode() local
161 result = prime * result + qualifier.hashCode(); in hashCode()
162 return result; in hashCode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidSourceViewerConfig.java185 ICompletionProposal[] result = mDelegate.computeCompletionProposals(viewer, offset); in computeCompletionProposals() local
186 if (result == null) { in computeCompletionProposals()
191 new ArrayList<ICompletionProposal>(result.length); in computeCompletionProposals()
192 for (ICompletionProposal proposal : result) { in computeCompletionProposals()
211 if (proposals.size() == result.length) { in computeCompletionProposals()
212 return result; in computeCompletionProposals()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
DWorkingSetHelper.java109 ArrayList<Object> result = new ArrayList<Object>(); in getSelectedWorkingSet() local
113 result.add(element); in getSelectedWorkingSet()
116 return result.toArray(new IWorkingSet[result.size()]); in getSelectedWorkingSet()
/sdk/eclipse/plugins/com.android.ide.eclipse.traceview/src/com/android/ide/eclipse/traceview/
DTraceviewLauncher.java45 final boolean[] result = new boolean[] { false }; in openFile()
65 result[0] = IDE.openEditorOnFileStore(page, fileStore) != null; in openFile()
72 return result[0]; in openFile()

123456