Home
last modified time | relevance | path

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

1234567891011

/frameworks/support/samples/SupportLeanbackDemos/
Dgeneratev4.py25 …return line.replace('<?xml version="1.0" encoding="utf-8"?>', '<?xml version="1.0" encoding="utf-8…
31 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment')
32 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity')
33 line = line.replace('GuidedStepFragment', 'GuidedStepSupportFragment')
34 line = line.replace('GuidedStepActivity', 'GuidedStepSupportActivity')
35 line = line.replace('extends Activity', 'extends FragmentActivity')
44 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment')
45 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity')
46 line = line.replace('GuidedStepFragment', 'GuidedStepSupportFragment')
47 line = line.replace('GuidedStepActivity', 'GuidedStepSupportActivity')
[all …]
/frameworks/support/v17/leanback/tests/
Dgeneratev4.py37 line = line.replace('{}Fragment'.format(w), '{}SupportFragment'.format(w))
38 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment')
39 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity')
56 line = line.replace('{}Fragment'.format(w), '{}SupportFragment'.format(w))
58 line = line.replace('{}FragmentTest'.format(w), '{}SupportFragmentTest'.format(w))
59 … line = line.replace('{}FragmentTestActivity'.format(w), '{}SupportFragmentTestActivity'.format(w))
60 line = line.replace('{}TestFragment'.format(w), '{}TestSupportFragment'.format(w))
71 line = line.replace('BrowseTestFragment', 'BrowseTestSupportFragment')
72 line = line.replace('BrowseFragmentTestActivity', 'BrowseSupportFragmentTestActivity')
73 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment')
[all …]
/frameworks/support/v17/leanback/
Dgeneratev4.py34 line = line.replace('IS_FRAMEWORK_FRAGMENT = true', 'IS_FRAMEWORK_FRAGMENT = false');
36 line = line.replace('{}Fragment'.format(w), '{}SupportFragment'.format(w))
37 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment')
38 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity')
39 line = line.replace('activity.getFragmentManager()', 'activity.getSupportFragmentManager()')
40 line = line.replace('Activity activity', 'FragmentActivity activity')
41 line = line.replace('(Activity', '(FragmentActivity')
50 line = line.replace('PlaybackControlGlue', 'PlaybackControlSupportGlue');
51 line = line.replace('PlaybackOverlayFragment', 'PlaybackOverlaySupportFragment');
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
DStringUtils.java69 return escaped.replace(QUOT_ENTITY, "\"") in unescapeXml()
70 .replace(LT_ENTITY, "<") in unescapeXml()
71 .replace(GT_ENTITY, ">") in unescapeXml()
72 .replace(APOS_ENTITY, "'") in unescapeXml()
73 .replace(AMP_ENTITY, "&") in unescapeXml()
74 .replace(TAB_ENTITY, "\t") in unescapeXml()
75 .replace(CR_ENTITY, "\r") in unescapeXml()
76 .replace(LFEED_ENTITY, "\n"); in unescapeXml()
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DReplaceMethodCallsAdapter.java71 public void replace(MethodInformation mi) { in METHOD_REPLACERS.add()
89 public void replace(MethodInformation mi) { in METHOD_REPLACERS.add()
115 public void replace(MethodInformation mi) { in METHOD_REPLACERS.add()
129 public void replace(MethodInformation mi) { in METHOD_REPLACERS.add()
145 public void replace(MethodInformation mi) { in METHOD_REPLACERS.add()
157 public void replace(MethodInformation mi) { in METHOD_REPLACERS.add()
178 public void replace(MethodInformation mi) { in METHOD_REPLACERS.add()
208 public void replace(MethodInformation mi) { in METHOD_REPLACERS.add()
257 replacer.replace(mi); in visitMethodInsn()
290 void replace(MethodInformation mi); in replace() method
/frameworks/base/tools/preload/
Dsorttable.js98 this.className = this.className.replace('sorttable_sorted',
111 this.className = this.className.replace('sorttable_sorted_reverse',
125 cell.className = cell.className.replace('sorttable_sorted_reverse','');
126 cell.className = cell.className.replace('sorttable_sorted','');
213 return node.textContent.replace(/^\s+|\s+$/g, '');
216 return node.innerText.replace(/^\s+|\s+$/g, '');
219 return node.text.replace(/^\s+|\s+$/g, '');
225 return node.value.replace(/^\s+|\s+$/g, '');
228 return node.nodeValue.replace(/^\s+|\s+$/g, '');
236 return innerText.replace(/^\s+|\s+$/g, '');
[all …]
/frameworks/support/fragment/tests/java/android/support/v4/app/
DFragmentTransitionTest.java62 .replace(R.id.content, mEndFragment) in testFragmentTransition()
98 .replace(R.id.content, mMidFragment) in testFirstOutLastInTransition()
99 .replace(R.id.content, mEndFragment) in testFirstOutLastInTransition()
154 .replace(R.id.content, mMidFragment) in testPopTwo()
166 .replace(R.id.content, mEndFragment) in testPopTwo()
226 .replace(R.id.content, mStartFragment) in testNullTransition()
242 .replace(R.id.content, mMidFragment) in testNullTransition()
243 .replace(R.id.content, mEndFragment) in testNullTransition()
295 .replace(R.id.content, mEndFragment) in testRemoveAdded()
296 .replace(R.id.content, mStartFragment) in testRemoveAdded()
[all …]
/frameworks/support/samples/SupportLeanbackShowcase/
Dbuild-release.py9 def replace(inputFile, pattern, newVal, ): function
25 replace(os.getcwd()+"/local.properties", r'(.*)LOCAL_REPO(.*)', 'LOCAL_REPO=')
26 replace(os.getcwd()+"/local.properties", r'(.*)LIBRARY_VERSION(.*)', 'LIBRARY_VERSION=')
Dbuild-local.py9 def replace(inputFile, pattern, newVal, ): function
51 replace(os.getcwd()+"/local.properties", r'(.*)LOCAL_REPO(.*)', 'LOCAL_REPO='+repo_path)
52 replace(os.getcwd()+"/local.properties", r'(.*)LIBRARY_VERSION(.*)', 'LIBRARY_VERSION='+library_ver…
/frameworks/base/core/java/android/text/method/
DCharacterPickerDialog.java93 private void replaceCharacterAndClose(CharSequence replace) { in replaceCharacterAndClose() argument
96 mText.insert(selEnd, replace); in replaceCharacterAndClose()
98 mText.replace(selEnd - 1, selEnd, replace); in replaceCharacterAndClose()
DQwertyKeyListener.java174 boolean replace = false; in onKeyDown()
182 replace = true; in onKeyDown()
187 if (!replace) { in onKeyDown()
223 content.replace(selStart, selEnd, String.valueOf((char) i)); in onKeyDown()
273 content.replace(x, oldStart, rep); in onKeyDown()
296 content.replace(selEnd - 2, selEnd - 1, "."); in onKeyDown()
337 content.replace(st, en, old); in onKeyDown()
/frameworks/base/packages/Keyguard/scripts/
Dnew_merge.py130 def prepareFileForCompare(inFile, outFile, skip="", replace="", withText=""): argument
143 if len(replace) > 0:
144 fout.write(line.replace(replace, withText))
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerActivity.java44 getFragmentManager().beginTransaction().replace(R.id.content_frame, in onCreate()
63 transaction.replace(R.id.content_frame, fragment); in onPreferenceStartFragment()
81 transaction.replace(R.id.content_frame, fragment); in onPreferenceStartScreen()
/frameworks/base/docs/html/training/basics/fragments/
Dfragment-ui.jd48 replace each other as the user navigates.</p>
51 remove, and replace fragments to an activity at runtime in order to create a dynamic experience.</p>
64 {@link android.support.v4.app.FragmentTransaction}, which provides APIs to add, remove, replace,
76 href="creating.html">previous lesson</a> that shows only one fragment at a time. In order to replace
144 element&mdash;the activity can remove the fragment and replace it with a different one.</p>
150 <p>The procedure to replace a fragment is similar to adding one, but requires the {@link
151 android.support.v4.app.FragmentTransaction#replace replace()} method instead of {@link
154 <p>Keep in mind that when you perform fragment transactions, such as replace or remove one, it's
160 <p class="note"><strong>Note:</strong> When you remove or replace a fragment and add the transaction
178 transaction.replace(R.id.fragment_container, newFragment);
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/
DDataBindingBuilder.java110 String appPkgAsClass = layoutXmlProcessor.getPackage().replace('.', '/'); in getJarExcludeList()
111 String infoClassAsClass = layoutXmlProcessor.getInfoClassFullName().replace('.', '/'); in getJarExcludeList()
120 excludes.add(klass.replace('.', '/') + ".class"); in getJarExcludeList()
163 String asPath = canonicalName.replace('.', '/'); in writeToFile()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/
DAnnotationTypeUtil.java41 return modelClass.getCanonicalName().replace('.', '/'); in getDescription()
73 … return CLASS_PREFIX + mTypes.erasure(typeMirror).toString().replace('.', '/') + CLASS_SUFFIX; in getDescription()
83 return CLASS_PREFIX + name.replace('.', '/') + CLASS_SUFFIX; in getDescription()
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/ext/
Dext.kt61 'L' -> componentType = name.substring(numArray + 1, name.length - 1).replace('$', '.'); in lazyProp()
69 val arrayComp = name.substring(0, numArray).replace("[", "[]"); in lazyProp()
72 return name.replace("$", ".") in lazyProp()
/frameworks/data-binding/gradlePlugin/src/main/java/android/databinding/tool/
DDataBindingExcludeGeneratedTask.java85 String appPkgAsClass = appPackage.replace('.', '/'); in excludeGenerated()
86 String infoClassAsClass = infoClassQualifiedName.replace('.', '/'); in excludeGenerated()
94 exclude(klass.replace('.', '/') + ".class"); in excludeGenerated()
/frameworks/base/core/java/android/text/
DEditable.java52 public Editable replace(int st, int en, CharSequence source, int start, int end); in replace() method
58 public Editable replace(int st, int en, CharSequence text); in replace() method
/frameworks/support/samples/SupportPreferenceDemos/src/com/example/android/supportpreference/
DFragmentSupportPreferences.java37 getFragmentManager().beginTransaction().replace(android.R.id.content, in onCreate()
47 getFragmentManager().beginTransaction().replace(android.R.id.content, f) in onPreferenceStartScreen()
DFragmentSupportPreferencesCompat.java37 getSupportFragmentManager().beginTransaction().replace(android.R.id.content, in onCreate()
48 .replace(android.R.id.content, f) in onPreferenceStartScreen()
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
DVolume.java98 numList = numList.replace('{', ' '); in readNumbers()
99 numList = numList.replace('}', ' '); in readNumbers()
100 numList = numList.replace(';', ' '); in readNumbers()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
DMediaBrowserSupport.java48 .replace(R.id.container, queueFragment) in onMediaItemSelected()
53 .replace(R.id.container, BrowseFragment.newInstance(item.getMediaId())) in onMediaItemSelected()
/frameworks/base/telephony/java/android/telephony/
DJapanesePhoneNumberFormatter.java190 text.replace(0, length, saved); in format()
196 text.replace(0, length, saved); in format()
/frameworks/compile/mclinker/include/mcld/ADT/
DTreeAllocator.h60 replace(pClient); in delegate()
75 void replace(NodeFactory& pClient) { in replace() function

1234567891011