Home
last modified time | relevance | path

Searched refs:replace (Results 1 – 25 of 77) sorted by relevance

1234

/packages/apps/Calculator/src/com/android/calculator2/
DCalculatorEditable.java35 replace(int start, int end, CharSequence tb, int tbstart, int tbend) { in replace() method in CalculatorEditable
37 return super.replace(start, end, tb, tbstart, tbend); in replace()
57 delta = delta.replace(ORIGINALS[i], REPLACEMENTS[i]); in internalReplace()
71 return super.replace(start, end, ""); in internalReplace()
79 return super.replace(start, end, ""); in internalReplace()
93 return super.replace(start, end, ""); in internalReplace()
96 return super.replace(start, end, delta); in internalReplace()
DLogic.java250 return result.replace('-', MINUS).replace(INFINITY, INFINITY_UNICODE); in evaluate()
274 input = input.replace(entry.getKey(), entry.getValue()); in replaceTranslations()
/packages/apps/Settings/tests/src/com/android/settings/bluetooth/
DUtf8ByteLengthFilterTest.java64 dest.replace(5, 8, source); in testFilter()
80 dest.replace(8, 10, source); in testFilter()
83 dest.replace(0, 1, source); in testFilter()
87 dest.replace(0, 4, source); in testFilter()
97 dest.replace(2, 3, source); in testFilter()
101 dest.replace(3, 4, source); in testFilter()
/packages/apps/Browser/tools/
Dget_search_engines.py87 str = str.replace('&', '&amp;').replace('<', '&lt;').replace('>', '&gt;')
88 str = str.replace('"', '&quot;').replace('\'', '&apos;')
130 engine_data_str = engine_data_str.replace('"L"', '')
166 engines_str = engines_str.replace('&','')
/packages/apps/Browser/src/com/android/browser/search/
DSearchEngineInfo.java94 mSearchEngineData[FIELD_SEARCH_URI].replace(PARAMETER_LANGUAGE, language_str); in SearchEngineInfo()
96 mSearchEngineData[FIELD_SUGGEST_URI].replace(PARAMETER_LANGUAGE, language_str); in SearchEngineInfo()
107 mSearchEngineData[FIELD_SEARCH_URI].replace(PARAMETER_INPUT_ENCODING, enc); in SearchEngineInfo()
109 mSearchEngineData[FIELD_SUGGEST_URI].replace(PARAMETER_INPUT_ENCODING, enc); in SearchEngineInfo()
164 return templateUri.replace(PARAMETER_SEARCH_TERMS, URLEncoder.encode(query, enc)); in getFormattedUri()
/packages/apps/Email/tests/src/com/android/email/activity/
DIntentUtilitiesTests.java78 Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(uri.replace("ID", "ACCOUNT_ID"))); in checkGetIdFromIntent()
81 i = new Intent(Intent.ACTION_VIEW, Uri.parse(uri.replace("ID", "MAILBOX_ID"))); in checkGetIdFromIntent()
84 i = new Intent(Intent.ACTION_VIEW, Uri.parse(uri.replace("ID", "MESSAGE_ID"))); in checkGetIdFromIntent()
/packages/inputmethods/LatinIME/tools/maketext/src/com/android/inputmethod/latin/maketext/
DMoreKeysResources.java82 return language.replace("-r", "_"); in getLanguageFromResDir()
101 JAVA_TEMPLATE.replace(".tmpl", ".java")); in writeToJava()
242 private static String replaceAll(final String text, final String target, final String replace) { in replaceAll() argument
245 t = t.replace(target, replace); in replaceAll()
/packages/apps/Contacts/src/com/android/contacts/editor/
DPhotoActionPopup.java90 boolean replace = (mode & Flags.TAKE_OR_PICK_PHOTO_REPLACE_WORDING) > 0; in createPopupMenu()
91 final int takePhotoResId = replace ? R.string.take_new_photo : R.string.take_photo; in createPopupMenu()
93 final int pickPhotoResId = replace ? R.string.pick_new_photo : R.string.pick_photo; in createPopupMenu()
/packages/apps/Browser/src/com/android/browser/
DHttpAuthenticationDialog.java126 String title = mContext.getText(R.string.sign_in_to).toString().replace( in createDialog()
127 "%s1", mHost).replace("%s2", mRealm); in createDialog()
DUrlUtils.java117 inUrl = inUrl.replace(" ", "%20"); in smartUrlFilter()
DPerformance.java67 host = host.replace('.', '_'); in tracePageStart()
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/
DAttachmentLoaderTests.java37 assertEquals(TEST_LOCATION.replace("|", "%7C"), in testEncodeForExchange2003()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/
DAttachmentLoaderTests.java37 assertEquals(TEST_LOCATION.replace("|", "%7C"), in testEncodeForExchange2003()
/packages/apps/Mms/src/com/android/mms/ui/
DRecipientsAdapter.java106 name = name.replace(", ", " ") in convertToString()
107 .replace(",", " "); // Make sure we leave a space between parts of names. in convertToString()
DUriImage.java111 mSrc = mSrc.replace(' ', '_'); in buildSrcFromPath()
157 mSrc = mSrc.replace(' ', '_'); in initFromContentUri()
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
DSelectVisibleCalendarsActivity.java47 ft.replace(R.id.main_frame, mFragment); in onCreate()
/packages/apps/Mms/src/com/android/mms/data/
DConversation.java149 if (!Cache.replace(conv)) { in get()
186 if (!Cache.replace(conv)) { in get()
224 .replace(',', ';'); in get()
284 if (!Cache.replace(conv)) { in from()
959 static boolean replace(Conversation c) { in replace() method in Conversation.Cache
1182 if (!Cache.replace(conv)) { in cacheAllThreads()
/packages/apps/Exchange/tests/src/com/android/exchange/utility/
DSimpleIcsWriterTests.java103 final String unfolded = actual.replace("\r\n\t", ""); in checkWriteLine()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/utility/
DSimpleIcsWriterTests.java103 final String unfolded = actual.replace("\r\n\t", ""); in checkWriteLine()
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/
DSimpleIcsWriter.java133 return "\"" + paramValue.replace("\"", "'") + "\""; in quoteParamValue()
/packages/apps/Mms/src/com/android/mms/transaction/
DMessagingNotification.java1015 : displayAddress.replace('\n', ' ').replace('\r', ' ')); in buildTickerMessage()
1020 subject = subject.replace('\n', ' ').replace('\r', ' '); in buildTickerMessage()
1026 body = body.replace('\n', ' ').replace('\r', ' '); in buildTickerMessage()
/packages/apps/Calendar/src/com/android/calendar/
DEventInfoActivity.java105 ft.replace(R.id.main_frame, mInfoFragment); in onCreate()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastSettings.java84 getFragmentManager().beginTransaction().replace(android.R.id.content, in onCreate()
/packages/apps/Mms/tests/src/com/android/mms/
DInterceptSendSms.java139 assertEquals(semiSepRecipients, RECIPIENTS.replace(',', ';')); in onReceive()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DMetaData.java204 db.replace("CalendarMetaData", null, values); in writeLocked()

1234