Searched defs:result (Results 326 - 350 of 680) sorted by last modified time

<<11121314151617181920>>

/frameworks/base/tools/aapt/
H A Dpseudolocalize.cpp111 String16 result = k_expansion_string; local
112 const char16_t* s = result.string();
113 if (result.size() < length) {
114 result += String16(" ");
115 result += pseudo_generate_expansion(length - result.size());
119 for (unsigned int i = length + 1; i < result.size(); ++i) {
125 result.remove(length + ext, 0);
127 return result;
140 String16 result; local
248 String16 result; local
[all...]
/frameworks/base/tools/aapt/tests/
H A DCrunchCache_test.cpp58 int result = cc.crunch(cu); local
59 cout << ((result > 0) ? "PASSED" : "FAILED") << endl;
60 errno += ((result > 0) ? 0 : 1);
63 expectEqual(result, EXPECTED_RESULT, "number of files touched");
74 result = cc.crunch(cu, true);
75 expectEqual(result, EXPECTED_OVERWRITES, "number of files touched with overwrite");
/frameworks/base/tools/aidl/
H A DAST.cpp877 string result; local
882 result += "\\\\";
884 result += c;
887 return result;
H A DType.cpp1342 Type* result = Find(name); local
1343 if (result != NULL) {
1344 return result;
1399 result = make_generic_type(g->package, g->name, args);
1400 if (result == NULL) {
1404 this->Add(result);
1405 return this->Find(result->QualifiedName());
H A Daidl.cpp694 string result; local
698 result = options.outputBaseFolder;
699 result += OS_PATH_SEPARATOR;
709 result += packageStr;
715 result += OS_PATH_SEPARATOR;
716 result.append(name.data, len);
717 result += ".java";
719 return result;
737 string result; local
738 return result;
1143 int result = parse_options(argc, argv, &options); local
[all...]
H A Doptions_test.cpp10 int result; member in struct:Answer
67 int result = parse_options(argc, answer.argv, &options); local
69 // result
70 if (((bool)result) != ((bool)answer.result)) {
71 cout << "mismatch: result: got " << result << " expected " <<
72 answer.result << endl;
76 if (result != 0) {
141 /* result */
243 int result = 0; local
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBlendComposite.java200 int[] result = new int[4];
223 result = blender.blend(srcPixel, dstPixel, result);
225 // mixes the result with the opacity
227 dstPixels[x] = (result[3] & 0xFF) << 24 |
228 (result[0] & 0xFF) << 16 |
229 (result[1] & 0xFF) << 8 |
230 result[2] & 0xFF;
233 ((int) (dstPixel[3] + (result[3] - dstPixel[3]) * alpha) & 0xFF) << 24 |
234 ((int) (dstPixel[0] + (result[
247 blend(int[] src, int[] dst, int[] result) argument
[all...]
H A DPath_Delegate.java477 /*package*/ static boolean native_op(long nPath1, long nPath2, int op, long result) { argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeWindowSession.java189 public void wallpaperCommandComplete(IBinder window, Bundle result) { argument
/frameworks/base/tools/layoutlib/bridge/src/libcore/icu/
H A DICU_Delegate.java181 /*package*/ static boolean initLocaleDataNative(String locale, LocaleData result) { argument
184 result.firstDayOfWeek = Integer.valueOf(1);
185 result.minimalDaysInFirstWeek = Integer.valueOf(1);
188 result.amPm = new String[] { "AM", "PM" };
189 result.eras = new String[] { "BC", "AD" };
191 result.longMonthNames = new String[] { "January", "February", "March", "April", "May",
193 result.shortMonthNames = new String[] { "Jan", "Feb", "Mar", "Apr", "May",
195 result.longStandAloneMonthNames = result.longMonthNames;
196 result
[all...]
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/gradle/wrapper/
H A Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/Download ...
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DDependencyFinder.java85 List<Map<String, Set<String>>> result = new ArrayList<Map<String,Set<String>>>(2);
86 result.add(deps);
87 result.add(missing);
88 return result;
94 public void printAllDeps(List<Map<String, Set<String>>> result) { argument
95 assert result.size() == 2;
96 Map<String, Set<String>> deps = result.get(0);
97 Map<String, Set<String>> missing = result.get(1);
137 public void printMissingDeps(List<Map<String, Set<String>>> result) { argument
138 assert result
[all...]
/frameworks/base/tools/obbtool/
H A DMain.cpp187 int result = 1; // pessimistically assume an error. local
297 result = 2;
300 return result;
/frameworks/base/tools/validatekeymaps/
H A DMain.cpp134 int result = 0; local
137 result = 1;
141 if (result) {
146 return result;
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfiguration.java566 for(ScanResult result : scanResultCache.values()) {
567 if (result.seen == 0)
570 if (result.is5GHz()) {
574 } else if (result.is24GHz()) {
580 if ((now_ms - result.seen) > age) continue;
582 if (result.is5GHz()) {
583 if (result.level > status.rssi5) {
584 status.rssi5 = result.level;
585 status.age5 = result.seen;
586 status.BSSID5 = result
1412 configKey(ScanResult result) argument
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLLogWrapper.java109 private void returns(String result) { argument
110 log(") returns " + result + ";\n");
114 private void returns(int result) { argument
115 returns(Integer.toString(result));
931 ByteBuffer result = null;
939 result = ByteBuffer.allocate(byteCount).order(input2.order());
941 result.put(input2.get());
950 result = ByteBuffer.allocate(byteCount).order(input2.order());
951 CharBuffer result2 = result.asCharBuffer();
962 result
[all...]
H A DMatrix.java50 * Multiplies two 4x4 matrices together and stores the result in a third 4x4
51 * matrix. In matrix notation: result = lhs x rhs. Due to the way
52 * matrix multiplication works, the result matrix will have the same
56 * The same float array may be passed for result, lhs, and/or rhs. However,
57 * the result element values are undefined if the result elements overlap
60 * @param result The float array that holds the result.
61 * @param resultOffset The offset into the result array where the result i
72 multiplyMM(float[] result, int resultOffset, float[] lhs, int lhsOffset, float[] rhs, int rhsOffset) argument
[all...]
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
H A DCaptivePortalLoginActivity.java69 private static final String LOGGED_IN_RESULT = "result";
163 private void done(int result) { argument
169 intent.putExtra(LOGGED_IN_RESULT, String.valueOf(result));
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DCreateDirectoryFragment.java121 protected void onPostExecute(DocumentInfo result) { argument
122 if (result != null) {
124 mActivity.onDocumentPicked(result);
H A DDirectoryFragment.java293 public void onLoadFinished(Loader<DirectoryResult> loader, DirectoryResult result) {
296 mAdapter.swapResult(result);
300 if (result.mode != MODE_UNKNOWN) {
301 state.derivedMode = result.mode;
303 state.derivedSortOrder = result.sortOrder;
701 public void swapResult(DirectoryResult result) { argument
702 mCursor = result != null ? result.cursor : null;
722 if (result != null && result
1046 onPostExecute(Bitmap result) argument
[all...]
H A DDirectoryLoader.java102 final DirectoryResult result = new DirectoryResult();
114 result.exception = e;
115 return result;
133 result.mode = userMode;
136 result.mode = State.MODE_GRID;
138 result.mode = State.MODE_LIST;
143 result.sortOrder = mUserSortOrder;
146 result.sortOrder = State.SORT_ORDER_LAST_MODIFIED;
148 result.sortOrder = State.SORT_ORDER_DISPLAY_NAME;
154 result
205 deliverResult(DirectoryResult result) argument
238 onCanceled(DirectoryResult result) argument
[all...]
H A DDocumentsActivity.java334 protected void onPostExecute(Void result) { argument
949 protected void onPostExecute(DocumentInfo result) { argument
950 if (result != null) {
951 mState.stack.push(result);
980 // Pass back result to original caller
1141 protected void onPostExecute(Uri result) { argument
1142 if (result != null) {
1143 onFinished(result);
1167 protected void onPostExecute(Void result) { argument
1186 protected void onPostExecute(Void result) { argument
[all...]
H A DRecentLoader.java228 final DirectoryResult result = new DirectoryResult();
229 result.sortOrder = SORT_ORDER_LAST_MODIFIED;
245 final SortingCursorWrapper sorted = new SortingCursorWrapper(merged, result.sortOrder) {
252 result.cursor = sorted;
254 return result;
263 public void deliverResult(DirectoryResult result) { argument
265 IoUtils.closeQuietly(result);
269 mResult = result;
272 super.deliverResult(result);
275 if (oldResult != null && oldResult != result) {
296 onCanceled(DirectoryResult result) argument
[all...]
H A DRootsLoader.java50 public void deliverResult(Collection<RootInfo> result) { argument
55 mResult = result;
58 super.deliverResult(result);
H A DUriDerivativeLoader.java69 public void deliverResult(R result) { argument
71 closeQuietly(result);
75 mResult = result;
78 super.deliverResult(result);
81 if (oldResult != null && oldResult != result) {
108 public void onCanceled(R result) { argument
109 closeQuietly(result);
125 private void closeQuietly(R result) { argument
126 if (result instanceof AutoCloseable) {
128 ((AutoCloseable) result)
[all...]

Completed in 728 milliseconds

<<11121314151617181920>>