Home
last modified time | relevance | path

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

12345

/development/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 …]
/development/scripts/
Dcombine_sdks.sh3 function replace() function
68 replace tools/lib/images
69 replace tools/lib/res
70 replace tools/lib/fonts
71 replace tools/lib/layoutlib.jar
72 replace docs
73 replace android.jar
76 replace tools/lib/$i.txt
80 replace usb_driver
/development/apps/BluetoothDebug/src/com/android/bluetoothdebug/
DDebugReceiver.java59 return action.replace("android", "a") in shorten()
60 .replace("bluetooth", "b") in shorten()
61 .replace("extra", "e") in shorten()
62 .replace("action", "a"); in shorten()
/development/samples/SupportLeanbackShowcase/
Dbuild-release.py9 def replace(inputFile, pattern, newVal, ): function
27 replace(os.getcwd()+"/local.properties", r'(.*)LOCAL_REPO(.*)', 'LOCAL_REPO=')
28 replace(os.getcwd()+"/local.properties", r'(.*)LIBRARY_VERSION(.*)', 'LIBRARY_VERSION=')
Dbuild-local.py9 def replace(inputFile, pattern, newVal, ): function
53 replace(os.getcwd()+"/local.properties", r'(.*)LOCAL_REPO(.*)', 'LOCAL_REPO='+repo_path)
54 replace(os.getcwd()+"/local.properties", r'(.*)LIBRARY_VERSION(.*)', 'LIBRARY_VERSION='+library_ver…
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DMainActivity.java65 .replace(R.id.container, new SetupProfileFragment()) in showSetupProfile()
71 .replace(R.id.container, new StatusFragment()) in showStatusProfile()
77 .replace(R.id.container, new AppRestrictionEnforcerFragment()) in showMainFragment()
/development/tools/apkcheck/src/com/android/apkcheck/
DTypeUtils.java83 builder.append(type.replace('.', '/')); in typeToDescriptor()
99 return className.replace('.', '$'); in simpleClassNameToBinary()
237 typeName = typeName.replace('.', '$'); in ambiguousToBinaryName()
244 typeName.substring(nextDot+1).replace('.', '$'); in ambiguousToBinaryName()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DMusicPlayerActivity.java45 .replace(R.id.container, queueFragment) in onMediaItemSelected()
50 .replace(R.id.container, BrowseFragment.newInstance(item.getMediaId())) in onMediaItemSelected()
/development/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()
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/
DSignatureSourcer.java224 getBuf().append(name.replace('/', '.')); in visitTypeVariable()
235 getBuf().append(name.replace('/', '.')); in visitClassType()
243 getBuf().append(name.replace('/', '.')); in visitInnerClassType()
DClassSourcer.java54 String pkg = name.substring(0, name.lastIndexOf('/')).replace('/', '.'); in visit()
79 mOutput.write(" extends %s", superName.replace('/', '.')); in visit()
90 mOutput.write(i.replace('/', '.')); in visit()
/development/tools/idegen/src/
DIntelliJ.java85 iml = iml.replace("SOURCE_FOLDERS", in generateFrom()
87 iml = iml.replace("JAR_ENTRIES", jarsXml.toString()); in generateFrom()
/development/samples/browseable/BluetoothAdvertisements/src/com.example.android.bluetoothadvertisements/
DMainActivity.java117 transaction.replace(R.id.scanner_fragment_container, scannerFragment); in setupFragments()
120 transaction.replace(R.id.advertiser_fragment_container, advertiserFragment); in setupFragments()
/development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/
DCustomRestrictionsActivity.java40 getFragmentManager().beginTransaction().replace(android.R.id.content, in onCreate()
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCameraActivity.java30 .replace(R.id.container, Camera2BasicFragment.newInstance()) in onCreate()
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/
DCameraActivity.java33 .replace(R.id.container, Camera2RawFragment.newInstance()) in onCreate()
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
DCameraActivity.java30 .replace(R.id.container, Camera2VideoFragment.newInstance()) in onCreate()
/development/samples/browseable/AsymmetricFingerprintDialog/src/com.example.android.asymmetricfingerprintdialog/
DSettingsActivity.java30 getFragmentManager().beginTransaction().replace(android.R.id.content, in onCreate()
/development/samples/browseable/FingerprintDialog/src/com.example.android.fingerprintdialog/
DSettingsActivity.java30 getFragmentManager().beginTransaction().replace(android.R.id.content, in onCreate()
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/
DMainActivity.java35 getFragmentManager().beginTransaction().replace(R.id.fragmentContainer, fragment) in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/preference/
DFragmentPreferences.java36 getFragmentManager().beginTransaction().replace(android.R.id.content, in onCreate()
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/
DMainActivity.java45 .replace(R.id.container, SetupProfileFragment.newInstance()) in showSetupProfile()
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/
DVideoExampleActivity.java35 ft1.replace(R.id.videoFragment, new VideoSurfaceFragment(), VideoSurfaceFragment.TAG); in onCreate()
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/
DMainActivity.java242 .replace(R.id.sample_content_fragment, CameraPreviewFragment.newInstance()) in showCameraPreview()
254 .replace(R.id.sample_content_fragment, ContactsFragment.newInstance()) in showContactDetails()
375 transaction.replace(R.id.sample_content_fragment, fragment); in onCreate()
/development/samples/browseable/DeviceOwner/src/com.example.android.deviceowner/
DMainActivity.java51 .replace(R.id.container, fragment) in showFragment()

12345