Lines Matching refs:replace
25 return line.replace('<?xml version="1.0" encoding="utf-8"?>', '<?xml version="1.0" encoding="utf-8"?>\n<!-- This file is auto-generated from {}.xml. DO NOT MODIFY. -->\n'.format(name))
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')
48 line = line.replace('GuidedStepHalfScreenActivity', 'GuidedStepSupportHalfScreenActivity')
49 line = line.replace('extends Activity', 'extends FragmentActivity')
58 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment')
59 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity')
60 line = line.replace('BrowseFragment', 'BrowseSupportFragment')
61 line = line.replace('GuidedStepFragment', 'GuidedStepSupportFragment')
62 line = line.replace('GuidedStepActivity', 'GuidedStepSupportActivity')
63 line = line.replace('getActivity().getFragmentManager()', 'getActivity().getSupportFragmentManager()')
64 line = line.replace('BrowseActivity', 'BrowseSupportActivity')
65 line = line.replace('DetailsActivity', 'DetailsSupportActivity')
66 line = line.replace('SearchActivity', 'SearchSupportActivity')
67 line = line.replace('RowsActivity', 'RowsSupportActivity')
68 line = line.replace('RowsFragment', 'RowsSupportFragment')
69 line = line.replace('GuidedStepHalfScreenActivity', 'GuidedStepSupportHalfScreenActivity')
78 line = line.replace('BrowseActivity', 'BrowseSupportActivity')
79 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity')
80 line = line.replace('extends Activity', 'extends FragmentActivity')
81 line = line.replace('R.layout.browse', 'R.layout.browse_support')
90 line = line.replace('com.example.android.leanback.BrowseFragment', 'com.example.android.leanback.BrowseSupportFragment')
100 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment')
101 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity')
102 line = line.replace('DetailsFragment', 'DetailsSupportFragment')
103 line = line.replace('DetailsActivity', 'DetailsSupportActivity')
104 line = line.replace('PlaybackOverlayActivity', 'PlaybackOverlaySupportActivity')
105 line = line.replace('SearchActivity', 'SearchSupportActivity')
114 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment')
115 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity')
116 line = line.replace('DetailsFragment', 'DetailsSupportFragment')
117 line = line.replace('DetailsActivity', 'DetailsSupportActivity')
118 line = line.replace('PlaybackOverlayActivity', 'PlaybackOverlaySupportActivity')
119 line = line.replace('SearchActivity', 'SearchSupportActivity')
128 line = line.replace('DetailsActivity', 'DetailsSupportActivity')
129 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity')
130 line = line.replace('extends Activity', 'extends FragmentActivity')
131 line = line.replace('R.layout.details', 'R.layout.details_support')
132 line = line.replace('R.layout.legacy_details', 'R.layout.legacy_details_support')
133 line = line.replace('getFragmentManager()', 'getSupportFragmentManager()')
134 line = line.replace('DetailsFragment', 'DetailsSupportFragment')
135 line = line.replace('NewDetailsFragment', 'NewDetailsSupportFragment')
144 line = line.replace('com.example.android.leanback.NewDetailsFragment', 'com.example.android.leanback.NewDetailsSupportFragment')
154 line = line.replace('com.example.android.leanback.DetailsFragment', 'com.example.android.leanback.DetailsSupportFragment')
164 line = line.replace('DetailsActivity', 'DetailsSupportActivity')
174 line = line.replace('SearchFragment', 'SearchSupportFragment')
175 line = line.replace('DetailsActivity', 'DetailsSupportActivity')
184 line = line.replace('SearchActivity', 'SearchSupportActivity')
185 line = line.replace('extends Activity', 'extends FragmentActivity')
186 line = line.replace('R.layout.search', 'R.layout.search_support')
187 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity')
188 line = line.replace('getFragmentManager()', 'getSupportFragmentManager()')
189 line = line.replace('SearchFragment', 'SearchSupportFragment')
198 line = line.replace('com.example.android.leanback.SearchFragment', 'com.example.android.leanback.SearchSupportFragment')
207 line = line.replace('VerticalGridFragment', 'VerticalGridSupportFragment')
208 line = line.replace('DetailsActivity', 'DetailsSupportActivity')
209 line = line.replace('SearchActivity', 'SearchSupportActivity')
218 line = line.replace('VerticalGridActivity', 'VerticalGridSupportActivity')
219 line = line.replace('extends Activity', 'extends FragmentActivity')
220 line = line.replace('R.layout.vertical_grid', 'R.layout.vertical_grid_support')
221 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity')
222 line = line.replace('getFragmentManager()', 'getSupportFragmentManager()')
223 line = line.replace('VerticalGridFragment', 'VerticalGridSupportFragment')
232 line = line.replace('com.example.android.leanback.VerticalGridFragment', 'com.example.android.leanback.VerticalGridSupportFragment')
242 line = line.replace('ErrorFragment', 'ErrorSupportFragment')
251 line = line.replace('BrowseErrorActivity', 'BrowseErrorSupportActivity')
252 line = line.replace('extends Activity', 'extends FragmentActivity')
253 line = line.replace('R.layout.browse', 'R.layout.browse_support')
254 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity')
255 line = line.replace('getFragmentManager()', 'getSupportFragmentManager()')
256 line = line.replace('ErrorFragment', 'ErrorSupportFragment')
257 line = line.replace('SpinnerFragment', 'SpinnerSupportFragment')
258 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment')
267 line = line.replace('RowsFragment', 'RowsSupportFragment')
268 line = line.replace('DetailsActivity', 'DetailsSupportActivity')
277 line = line.replace('RowsActivity', 'RowsSupportActivity')
278 line = line.replace('extends Activity', 'extends FragmentActivity')
279 line = line.replace('R.layout.rows', 'R.layout.rows_support')
280 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity')
281 line = line.replace('RowsFragment', 'RowsSupportFragment')
282 line = line.replace('getFragmentManager()', 'getSupportFragmentManager()')
283 line = line.replace('SearchActivity', 'SearchSupportActivity')
292 line = line.replace('com.example.android.leanback.RowsFragment', 'com.example.android.leanback.RowsSupportFragment')
302 line = line.replace('PlaybackOverlayFragment', 'PlaybackOverlaySupportFragment')
303 line = line.replace('PlaybackControlHelper', 'PlaybackControlSupportHelper')
304 line = line.replace('PlaybackOverlayActivity', 'PlaybackOverlaySupportActivity')
313 line = line.replace('PlaybackControlHelper', 'PlaybackControlSupportHelper')
314 line = line.replace('PlaybackControlGlue', 'PlaybackControlSupportGlue')
315 line = line.replace('PlaybackOverlayFragment', 'PlaybackOverlaySupportFragment')
324 line = line.replace('PlaybackOverlayActivity', 'PlaybackOverlaySupportActivity')
325 line = line.replace('extends Activity', 'extends FragmentActivity')
326 line = line.replace('R.layout.playback_controls', 'R.layout.playback_controls_support')
327 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity')
336 line = line.replace('com.example.android.leanback.PlaybackOverlayFragment', 'com.example.android.leanback.PlaybackOverlaySupportFragment')
345 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment')
346 line = line.replace
347 line = line.replace('OnboardingActivity', 'OnboardingSupportActivity')
348 line = line.replace('OnboardingDemoFragment', 'OnboardingDemoSupportFragment')
349 line = line.replace('extends Activity', 'extends FragmentActivity')
350 line = line.replace('getFragmentManager()', 'getSupportFragmentManager()')
359 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment')
360 line = line.replace('import android.app.Activity', 'import android.support.v4.app.FragmentActivity')
361 line = line.replace('OnboardingDemoFragment', 'OnboardingDemoSupportFragment')
362 line = line.replace('OnboardingFragment', 'OnboardingSupportFragment')
363 line = line.replace('OnboardingActivity', 'OnboardingSupportActivity')