/frameworks/base/tools/aapt/ |
H A D | pseudolocalize.cpp | 111 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 D | CrunchCache_test.cpp | 58 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 D | AST.cpp | 877 string result; local 882 result += "\\\\"; 884 result += c; 887 return result;
|
H A D | Type.cpp | 1342 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 D | aidl.cpp | 694 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 D | options_test.cpp | 10 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 D | BlendComposite.java | 200 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 D | Path_Delegate.java | 477 /*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 D | BridgeWindowSession.java | 189 public void wallpaperCommandComplete(IBinder window, Bundle result) { argument
|
/frameworks/base/tools/layoutlib/bridge/src/libcore/icu/ |
H A D | ICU_Delegate.java | 181 /*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 D | gradle-wrapper.jar | META-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 D | DependencyFinder.java | 85 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 D | Main.cpp | 187 int result = 1; // pessimistically assume an error. local 297 result = 2; 300 return result;
|
/frameworks/base/tools/validatekeymaps/ |
H A D | Main.cpp | 134 int result = 0; local 137 result = 1; 141 if (result) { 146 return result;
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiConfiguration.java | 566 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 D | GLLogWrapper.java | 109 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 D | Matrix.java | 50 * 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 D | CaptivePortalLoginActivity.java | 69 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 D | CreateDirectoryFragment.java | 121 protected void onPostExecute(DocumentInfo result) { argument 122 if (result != null) { 124 mActivity.onDocumentPicked(result);
|
H A D | DirectoryFragment.java | 293 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 D | DirectoryLoader.java | 102 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 D | DocumentsActivity.java | 334 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 D | RecentLoader.java | 228 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 D | RootsLoader.java | 50 public void deliverResult(Collection<RootInfo> result) { argument 55 mResult = result; 58 super.deliverResult(result);
|
H A D | UriDerivativeLoader.java | 69 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...] |