/packages/apps/Mms/src/com/android/mms/util/ |
SmileyParser.java | 170 // Replace the extra '|' with a ')' 171 patternString.replace(patternString.length() - 1, patternString.length(), ")"); 178 * Adds ImageSpans to a CharSequence that replace textual emoticons such
|
/packages/apps/Phone/src/com/android/phone/ |
CallForwardEditPreference.java | 137 summaryOn = TextUtils.replace(mSummaryOnTemplate, SRC_TAGS, values);
|
/packages/apps/SpeechRecorder/src/com/android/speechrecorder/ |
SpeechRecorderActivity.java | 133 utterances[i].toLowerCase().replace(' ', '_') + ".wav");
|
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
VoiceDialerTester.java | 123 String utter = wf.mFile.getName().toLowerCase().replace('_', ' ');
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
HomeGroupsXLarge.java | 108 xact.replace(R.id.largePane, details);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/ |
ElementDescriptor.java | 446 return new String(c).replace("-", " "); //$NON-NLS-1$ //$NON-NLS-2$
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
PropertySheetPage.java | 94 // the viewer we will just replace the status message with our own, which works 109 help = help.replace('\n', ' ');
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
NewProjectWizardState.java | 263 newPackageName = newPackageName.replace('.', '_');
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gldebugger/ |
BreakpointOption.java | 130 call = call.replace(ptr, '"' + msg.getData().toStringUtf8() + '"');
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
AdtProjectTest.java | 462 data = data.replace(getProject().getName(), "PROJECTNAME"); 547 expectedName.replace("expected", "actual")); 574 File testData = new File(sdkPath, TEST_DATA_REL_PATH.replace('/', 596 String name = String.format("adtTests_%1$tF_%1$tT", c).replace(':', '-'); //$NON-NLS-1$
|
/sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/ |
AbstractCheckTest.java | 114 String name = String.format("lintTests_%1$tF_%1$tT", c).replace(':', '-'); //$NON-NLS-1$
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/gdocs/js/ |
jquery-1.4.1.min.js | 18 a.currentTarget);m=0;for(s=i.length;m<s;m++)for(o in x){j=x[o];n=i[m].elem;f=null;if(i[m].selector===j.selector){if(j.live==="mouseenter"||j.live==="mouseleave")f=c(a.relatedTarget).closest(j.selector)[0];if(!f||f!==n)d.push({elem:n,fn:j})}}m=0;for(s=d.length;m<s;m++){i=d[m];a.currentTarget=i.elem;a.data=i.fn.data;if(i.fn.apply(i.elem,e)===false){b=false;break}}return b}}function oa(a,b){return"live."+(a?a+".":"")+b.replace(/\./g,"`").replace(/ /g,"&")}function pa(a){return!a||!a.parentNode||a.parentNode.nodeType=== 28 return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return z.JSON&&z.JSON.parse?z.JSON.parse(a):(new Function("return "+a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&Ra.test(a)){var b=r.getElementsByTagName("head")[0]|| 30 a[0];e<i&&b.call(d,e,d)!==false;d=a[++e]);return a},trim:function(a){return(a||"").replace(Sa,"")},makeArray:function(a,b){b=b||[];if(a!=null)a.length==null||typeof a==="string"||c.isFunction(a)||typeof a!=="function"&&a.setInterval?ba.call(b,a):c.merge(b,a);return b},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var d=0,f=b.length;d<f;d++)if(b[d]===a)return d;return-1},merge:function(a,b){var d=a.length,f=0;if(typeof b.length==="number")for(var e=b.length;f<e;f++)a[d++]=b[f];else for(;b[f]!== 43 d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1&&e.className)if(a){for(var i=(" "+e.className+" ").replace(ya," "),j=0,n=b.length;j<n;j++)i=i.replace(" "+b[j]+" "," ");e.className=i.substring(1,i.length-1)}else e.className=""}return this},toggleClass:function(a,b){var d=typeof a,f=typeof b==="boolean";if(c.isFunction(a))return this.each(function(e){var i=c(this);i.toggleClass(a.call(this,e,i.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var e,i=0,j=c(this),n=b,o= 44 a.split(ca);e=o[i++];){n=f?n:!j.hasClass(e);j[n?"addClass":"removeClass"](e)}else if(d==="undefined"||d==="boolean"){this.className&&c.data(this,"__className__",this.className);this.className=this.className||a===false?"":c.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;b<d;b++)if((" "+this[b].className+" ").replace(ya," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===v){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value|| 45 {}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,f=[],e=b.options;b=b.type==="select-one";if(d<0)return null;var i=b?d:0;for(d=b?d+1:e.length;i<d;i++){var j=e[i];if(j.selected){a=c(j).val();if(b)return a;f.push(a)}}return f}if(za.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Wa,"")}return v}var n=c.isFunction(a);return this.each(function(o){var m=c(this),s=a;if(this.nodeT (…) [all...] |
/external/libxml2/ |
catalog.c | [all...] |
/libcore/luni/src/test/java/libcore/xml/ |
DomTest.java | 459 String expected = original.replace("image/png", "foobar"); 487 String expected = original.replace("standard=\"strawberry\"", "standard=\"foobar\""); 494 String expected = original.replace(">Belgian<!", ">foobar<!"); 501 String expected = original.replace( 509 String expected = original.replace(" square shape?>", " foobar?>"); 516 String expected = original.replace("-- add other vitamins? --", "--foobar--"); 708 String expected = original.replace( 717 String expected = original.replace( 727 String expected = original.replace( 738 String expected = original.replace("60%", "70%") [all...] |
/external/webkit/PerformanceTests/SunSpider/tests/parse-only/ |
mootools-1.2.2-core-nc.js | 99 'String': ["charAt", "charCodeAt", "concat", "indexOf", "lastIndexOf", "match", "replace", "search", "slice", "split", "substr", "substring", "toLowerCase", "toUpperCase", "valueOf"] 717 return this.replace(/^\s+|\s+$/g, ''); 721 return this.replace(/\s+/g, ' ').trim(); 725 return this.replace(/-\D/g, function(match){ 731 return this.replace(/[A-Z]/g, function(match){ 737 return this.replace(/\b[a-z]/g, function(match){ 743 return this.replace(/([-.*+?^${}()|[\]\/\\])/g, '\\$1'); 766 var text = this.replace(/<script[^>]*>([\s\S]*?)<\/script>/gi, function(){ 776 return this.replace(regexp || (/\\?\{([^{}]+)\}/g), function(match, name){ 1272 return string.replace(/^on([A-Z])/, function(full, first) [all...] |
/external/icu4c/test/intltest/ |
ustrtest.cpp | 94 test1.replace(58, 6, "ir country"); 97 errln("replace() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); 137 test3.replace(2, 2, (UChar32)0xe0061).length() != 4 || 140 errln((UnicodeString)"simple UChar32 overloads for replace, insert, setTo or = failed"); 453 s2.replace(0, 0, u+1, -1); 454 s3.replace(0, 0, u, 1, -1); 456 errln("error UnicodeString::replace(..., const UChar *, srcLength=-1, ...) does not work"); 658 test1.replace(4, 4, test2, 4, 4); 659 test1.replace(12, 5, test3, 4); 661 test1.replace(17, 4, test3) [all...] |
/frameworks/ex/chips/src/com/android/ex/chips/ |
RecipientEditTextView.java | 820 editable.replace(tokenStart, tokenEnd, chipText); 821 // Add this chip to the list of entries "to replace" 2067 IndividualReplacementTask replace = new IndividualReplacementTask(); local [all...] |
/external/libvpx/vp8/common/arm/armv6/ |
idct_v6.asm | 42 ldmia sp!, {r4, r5, pc} ; replace vars, return restore 133 ldmia sp!, {r4 - r11, pc} ; replace vars, return restore 342 ldmia sp!, {r4 - r11, pc} ; replace vars, return restore
|
/external/llvm/utils/ |
llvmbuild | 331 prefix = self.component_abbrev[component.replace("-", "_")] 643 comp_key = comp.replace("-", "_") 690 for conf, mf in configure_files[component.replace("-", "_")]:
|
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
regexp-dna.js | [all...] |
/external/webkit/Source/WebKit/chromium/src/ |
WebFrameImpl.cpp | 951 bool replace) 956 // If we are loading substitute data to replace an existing load, then 963 if (replace && !unreachableURL.isEmpty()) 968 if (replace) { 978 bool replace) 985 replace); [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarDatabaseHelper.java | 260 return mEventsRawTimesInserter.replace(values); 268 return mInstancesInserter.replace(values); [all...] |
/external/chromium/chrome/browser/resources/file_manager/js/ |
harness.js | 130 var destPath = currentSrc.name.replace(/\^\^/g, '/');
|
/external/chromium/chrome/browser/resources/shared/js/ |
util.js | 51 var s2 = s.replace(/(\(|\)|\,|\s|\'|\"|\\)/g, '\\$1');
|
/external/chromium/chrome/common/extensions/docs/examples/api/tabs/inspector/ |
jstemplate_compiled.js | 616 return str.replace(/^\s+/, ""); 628 return str.replace(/\s+$/, "");
|