Lines Matching refs:format

28     print "copy {}Fragment to {}SupportFragment".format(w, w)
30 file = open('src/android/support/v17/leanback/app/{}Fragment.java'.format(w), 'r')
31 outfile = open('src/android/support/v17/leanback/app/{}SupportFragment.java'.format(w), 'w')
34 outfile.write("/* This file is auto-generated from {}Fragment.java. DO NOT MODIFY. */\n\n".format(w))
39 line = line.replace('{}Fragment'.format(w), '{}SupportFragment'.format(w))
50 print "copy VideoFragmentGlueHost to VideoSupportFragmentGlueHost".format(w, w)
51 file = open('src/android/support/v17/leanback/app/VideoFragmentGlueHost.java'.format(w), 'r')
52 outfile = open('src/android/support/v17/leanback/app/VideoSupportFragmentGlueHost.java'.format(w), 'w')
55 outfile.write("/* This file is auto-generated from {}VideoFragmentGlueHost.java. DO NOT MODIFY. */\n\n".format(w))
59 line = line.replace('VideoSupportFragmentGlueHost'.format(w), 'VideoSupportFragmentGlueHost'.format(w))
71 print "copy PlaybackFragmentGlueHost to PlaybackSupportFragmentGlueHost".format(w, w)
72 file = open('src/android/support/v17/leanback/app/PlaybackFragmentGlueHost.java'.format(w), 'r')
73 outfile = open('src/android/support/v17/leanback/app/PlaybackSupportFragmentGlueHost.java'.format(w), 'w')
76 outfile.write("/* This file is auto-generated from {}PlaybackFragmentGlueHost.java. DO NOT MODIFY. */\n\n".format(w))
80 line = line.replace('VideoSupportFragmentGlueHost'.format(w), 'VideoSupportFragmentGlueHost'.format(w))
92 print "copy DetailsFragmentBackgroundController to DetailsSupportFragmentBackgroundController".format(w, w)
93 file = open('src/android/support/v17/leanback/app/DetailsFragmentBackgroundController.java'.format(w), 'r')
94 outfile = open('src/android/support/v17/leanback/app/DetailsSupportFragmentBackgroundController.java'.format(w), 'w')
97 outfile.write("/* This file is auto-generated from {}DetailsFragmentBackgroundController.java. DO NOT MODIFY. */\n\n".format(w))
104 line = line.replace('VideoSupportFragmentGlueHost'.format(w), 'VideoSupportFragmentGlueHost'.format(w))