Lines Matching defs:line
25 def replace_xml_head(line, name): argument
32 line = line.replace('android.app.Fragment', 'androidx.fragment.app.Fragment') variable
33 line = line.replace('android.app.Activity', 'androidx.fragment.app.FragmentActivity') variable
34 line = line.replace('GuidedStepFragment', 'GuidedStepSupportFragment') variable
35 line = line.replace('GuidedStepActivity', 'GuidedStepSupportActivity') variable
36 line = line.replace('extends Activity', 'extends FragmentActivity') variable
45 line = line.replace('android.app.Fragment', 'androidx.fragment.app.Fragment') variable
46 line = line.replace('android.app.Activity', 'androidx.fragment.app.FragmentActivity') variable
47 line = line.replace('GuidedStepFragment', 'GuidedStepSupportFragment') variable
48 line = line.replace('GuidedStepActivity', 'GuidedStepSupportActivity') variable
49 line = line.replace('GuidedStepHalfScreenActivity', 'GuidedStepSupportHalfScreenActivity') variable
50 line = line.replace('extends Activity', 'extends FragmentActivity') variable
59 line = line.replace('android.app.Fragment', 'androidx.fragment.app.Fragment') variable
60 line = line.replace('android.app.Activity', 'androidx.fragment.app.FragmentActivity') variable
61 line = line.replace('BrowseFragment', 'BrowseSupportFragment') variable
62 line = line.replace('GuidedStepFragment', 'GuidedStepSupportFragment') variable
63 line = line.replace('GuidedStepActivity', 'GuidedStepSupportActivity') variable
64 …line = line.replace('getActivity().getFragmentManager()', 'getActivity().getSupportFragmentManager… variable
65 line = line.replace('BrowseActivity', 'BrowseSupportActivity') variable
66 line = line.replace('DetailsActivity', 'DetailsSupportActivity') variable
67 line = line.replace('SearchActivity', 'SearchSupportActivity') variable
68 line = line.replace('RowsActivity', 'RowsSupportActivity') variable
69 line = line.replace('RowsFragment', 'RowsSupportFragment') variable
70 line = line.replace('GuidedStepHalfScreenActivity', 'GuidedStepSupportHalfScreenActivity') variable
79 line = line.replace('BrowseActivity', 'BrowseSupportActivity') variable
80 line = line.replace('android.app.Activity', 'androidx.fragment.app.FragmentActivity') variable
81 line = line.replace('extends Activity', 'extends FragmentActivity') variable
82 line = line.replace('R.layout.browse', 'R.layout.browse_support') variable
90 line = replace_xml_head(line, "browse") variable
91 …line = line.replace('com.example.android.leanback.BrowseFragment', 'com.example.android.leanback.B… variable
101 line = line.replace('android.app.Fragment', 'androidx.fragment.app.Fragment') variable
102 line = line.replace('android.app.Activity', 'androidx.fragment.app.FragmentActivity') variable
103 line = line.replace('DetailsFragment', 'DetailsSupportFragment') variable
104 line = line.replace('DetailsActivity', 'DetailsSupportActivity') variable
105 line = line.replace('PlaybackOverlayActivity', 'PlaybackOverlaySupportActivity') variable
106 line = line.replace('SearchActivity', 'SearchSupportActivity') variable
115 line = line.replace('android.app.Fragment', 'androidx.fragment.app.Fragment') variable
116 line = line.replace('android.app.Activity', 'androidx.fragment.app.FragmentActivity') variable
117 line = line.replace('DetailsFragment', 'DetailsSupportFragment') variable
118 line = line.replace('DetailsSupportFragmentVideoHelper', 'DetailsFragmentVideoHelper') variable
119 line = line.replace('VideoFragment', 'VideoSupportFragment') variable
120 line = line.replace('PlaybackFragmentGlueHost', 'PlaybackSupportFragmentGlueHost') variable
121 line = line.replace('DetailsActivity', 'DetailsSupportActivity') variable
122 line = line.replace('PlaybackOverlayActivity', 'PlaybackOverlaySupportActivity') variable
123 line = line.replace('SearchActivity', 'SearchSupportActivity') variable
124 line = line.replace('SearchActivity', 'SearchSupportActivity') variable
125 line = line.replace('getRowsFragment', 'getRowsSupportFragment') variable
134 line = line.replace('DetailsActivity', 'DetailsSupportActivity') variable
135 line = line.replace('android.app.Activity', 'androidx.fragment.app.FragmentActivity') variable
136 line = line.replace('extends Activity', 'extends FragmentActivity') variable
137 line = line.replace('getFragmentManager()', 'getSupportFragmentManager()') variable
138 line = line.replace('DetailsFragment', 'DetailsSupportFragment') variable
139 line = line.replace('NewDetailsFragment', 'NewDetailsSupportFragment') variable
148 line = line.replace('DetailsActivity', 'DetailsSupportActivity') variable
158 line = line.replace('SearchFragment', 'SearchSupportFragment') variable
159 line = line.replace('DetailsActivity', 'DetailsSupportActivity') variable
168 line = line.replace('SearchActivity', 'SearchSupportActivity') variable
169 line = line.replace('extends Activity', 'extends FragmentActivity') variable
170 line = line.replace('R.layout.search', 'R.layout.search_support') variable
171 line = line.replace('android.app.Activity', 'androidx.fragment.app.FragmentActivity') variable
172 line = line.replace('getFragmentManager()', 'getSupportFragmentManager()') variable
173 line = line.replace('SearchFragment', 'SearchSupportFragment') variable
181 line = replace_xml_head(line, "search") variable
182 …line = line.replace('com.example.android.leanback.SearchFragment', 'com.example.android.leanback.S… variable
191 line = line.replace('VerticalGridFragment', 'VerticalGridSupportFragment') variable
192 line = line.replace('DetailsActivity', 'DetailsSupportActivity') variable
193 line = line.replace('SearchActivity', 'SearchSupportActivity') variable
202 line = line.replace('VerticalGridActivity', 'VerticalGridSupportActivity') variable
203 line = line.replace('extends Activity', 'extends FragmentActivity') variable
204 line = line.replace('R.layout.vertical_grid', 'R.layout.vertical_grid_support') variable
205 line = line.replace('android.app.Activity', 'androidx.fragment.app.FragmentActivity') variable
206 line = line.replace('getFragmentManager()', 'getSupportFragmentManager()') variable
207 line = line.replace('VerticalGridFragment', 'VerticalGridSupportFragment') variable
215 line = replace_xml_head(line, "vertical_grid") variable
216 …line = line.replace('com.example.android.leanback.VerticalGridFragment', 'com.example.android.lean… variable
226 line = line.replace('ErrorFragment', 'ErrorSupportFragment') variable
235 line = line.replace('BrowseErrorActivity', 'BrowseErrorSupportActivity') variable
236 line = line.replace('extends Activity', 'extends FragmentActivity') variable
237 line = line.replace('R.layout.browse', 'R.layout.browse_support') variable
238 line = line.replace('android.app.Activity', 'androidx.fragment.app.FragmentActivity') variable
239 line = line.replace('getFragmentManager()', 'getSupportFragmentManager()') variable
240 line = line.replace('ErrorFragment', 'ErrorSupportFragment') variable
241 line = line.replace('SpinnerFragment', 'SpinnerSupportFragment') variable
242 line = line.replace('android.app.Fragment', 'androidx.fragment.app.Fragment') variable
251 line = line.replace('RowsFragment', 'RowsSupportFragment') variable
252 line = line.replace('DetailsActivity', 'DetailsSupportActivity') variable
261 line = line.replace('RowsActivity', 'RowsSupportActivity') variable
262 line = line.replace('extends Activity', 'extends FragmentActivity') variable
263 line = line.replace('R.layout.rows', 'R.layout.rows_support') variable
264 line = line.replace('android.app.Activity', 'androidx.fragment.app.FragmentActivity') variable
265 line = line.replace('RowsFragment', 'RowsSupportFragment') variable
266 line = line.replace('getFragmentManager()', 'getSupportFragmentManager()') variable
267 line = line.replace('SearchActivity', 'SearchSupportActivity') variable
275 line = replace_xml_head(line, "rows") variable
276 …line = line.replace('com.example.android.leanback.RowsFragment', 'com.example.android.leanback.Row… variable
285 line = line.replace('PlaybackFragment', 'PlaybackSupportFragment') variable
286 line = line.replace('PlaybackActivity', 'PlaybackSupportActivity') variable
295 line = line.replace('PlaybackActivity', 'PlaybackSupportActivity') variable
296 line = line.replace('extends Activity', 'extends FragmentActivity') variable
297 line = line.replace('R.layout.playback_activity', 'R.layout.playback_activity_support') variable
298 line = line.replace('android.app.Activity', 'androidx.fragment.app.FragmentActivity') variable
306 line = replace_xml_head(line, "playback_controls") variable
307 …line = line.replace('com.example.android.leanback.PlaybackFragment', 'com.example.android.leanback… variable
316 line = line.replace('PlaybackFragment', 'PlaybackSupportFragment') variable
317 … line = line.replace('PlaybackTransportControlFragment', 'PlaybackTransportControlSupportFragment') variable
318 … line = line.replace('PlaybackTransportControlActivity', 'PlaybackTransportControlSupportActivity') variable
327 … line = line.replace('PlaybackTransportControlActivity', 'PlaybackTransportControlSupportActivity') variable
328 line = line.replace('extends Activity', 'extends FragmentActivity') variable
329 …line = line.replace('R.layout.playback_transportcontrol_activity', 'R.layout.playback_transportcon… variable
330 line = line.replace('android.app.Activity', 'androidx.fragment.app.FragmentActivity') variable
338 line = replace_xml_head(line, "playback_transportcontrols") variable
339 …line = line.replace('com.example.android.leanback.PlaybackTransportControlFragment', 'com.example.… variable
347 line = replace_xml_head(line, "playback_controls") variable
348 …line = line.replace('com.example.android.leanback.PlaybackOverlayFragment', 'com.example.android.l… variable
357 line = line.replace('android.app.Fragment', 'androidx.fragment.app.Fragment') variable
358 line = line.replace('android.app.Activity', 'androidx.fragment.app.FragmentActivity') variable
359 line = line.replace('OnboardingActivity', 'OnboardingSupportActivity') variable
360 line = line.replace('OnboardingDemoFragment', 'OnboardingDemoSupportFragment') variable
361 line = line.replace('extends Activity', 'extends FragmentActivity') variable
362 line = line.replace('getFragmentManager()', 'getSupportFragmentManager()') variable
371 line = line.replace('android.app.Fragment', 'androidx.fragment.app.Fragment') variable
372 …line = line.replace('import android.app.Activity', 'import androidx.fragment.app.FragmentActivity') variable
373 line = line.replace('OnboardingDemoFragment', 'OnboardingDemoSupportFragment') variable
374 line = line.replace('OnboardingFragment', 'OnboardingSupportFragment') variable
375 line = line.replace('OnboardingActivity', 'OnboardingSupportActivity') variable
384 line = line.replace('android.app.Fragment', 'androidx.fragment.app.Fragment') variable
385 …line = line.replace('import android.app.Activity', 'import androidx.fragment.app.FragmentActivity') variable
386 line = line.replace('SampleVideoFragment', 'SampleVideoSupportFragment') variable
387 line = line.replace('VideoFragment', 'VideoSupportFragment') variable
396 line = line.replace('android.app.Fragment', 'androidx.fragment.app.Fragment') variable
397 …line = line.replace('import android.app.Activity', 'import androidx.fragment.app.FragmentActivity') variable
398 line = line.replace('VideoActivity', 'VideoSupportActivity') variable
399 line = line.replace('extends Activity', 'extends FragmentActivity') variable
400 line = line.replace('getFragmentManager()', 'getSupportFragmentManager()') variable
401 line = line.replace('SampleVideoFragment', 'SampleVideoSupportFragment') variable