Home
last modified time | relevance | path

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

12

/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 …]
Dutils.h187 CArray<CString> *result = new CArray<CString>(n); in split() local
194 (*result)[n++].set(start, s-start); in split()
200 return result; in split()
286 CPath result; in dirName() local
290 result.set(mStr, pos - mStr); in dirName()
293 return result; in dirName()
Dutils.cpp119 int result = -1; in execWait() local
126 result = exitCode; in execWait()
132 return result; in execWait()
/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/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/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/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_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/hierarchyviewer/src/com/android/hierarchyviewer/scene/
DCaptureLoader.java45 boolean result = false; in saveLayers()
69 result = true; in saveLayers()
88 return result; in saveLayers()
/sdk/sdklauncher/
Dbuild.gradle33 // calling .exeFile on the set returns an array with the result from each item in the set...
/sdk/avdlauncher/
Dbuild.gradle33 // calling .exeFile on the set returns an array with the result from each item in the set...
DNOTICE172 result of this License or out of the use or inability to use the
/sdk/find_java/
Dbuild.gradle44 // calling .exeFile on the set returns an array with the result from each item in the set...
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/
DWorkspace.java1235 WindowsResult result = get(); in done() local
1236 protocolVersion = result.protocolVersion; in done()
1237 serverVersion = result.serverVersion; in done()
1240 windowsTableModel.addWindows(result.windows); in done()
/sdk/docs/
DNotes_on_WST_StructuredDocument.txt59 This will result in the following regions and sub-regions:
Dhowto_build_SDK.txt147 The result is located at
/sdk/apps/SdkController/
DNOTICE172 result of this License or out of the use or inability to use the
/sdk/emulator/
DNOTICE172 result of this License or out of the use or inability to use the
/sdk/files/
DNOTICE172 result of this License or out of the use or inability to use the
/sdk/files/ant/
DNOTICE172 result of this License or out of the use or inability to use the
/sdk/annotations/
DNOTICE172 result of this License or out of the use or inability to use the
/sdk/apkbuilder/
DNOTICE172 result of this License or out of the use or inability to use the

12