|
50 | 50 |
|
51 | 51 | public class MainActivity extends AppCompatActivity |
52 | 52 | { |
53 | | - private static final int REQUEST_TAKE_GALLERY_VIDEO = 100; |
54 | | - private VideoView videoView; |
55 | | - private CrystalRangeSeekbar rangeSeekBar; |
56 | | - private Timer videoTimer = null; |
57 | | - private ProgressDialog progressDialog; |
58 | | - private Uri selectedVideoUri; |
59 | 53 | private static final String TAG = "VideoTranscoder"; |
60 | | - private TextView tvLeft, tvRight; |
61 | | - private String filePath; |
62 | | - private int durationMs; |
| 54 | + |
| 55 | + private static final int REQUEST_TAKE_GALLERY_VIDEO = 100; |
| 56 | + private static final int READ_WRITE_PERMISSION_REQUEST = 1; |
63 | 57 |
|
64 | 58 | final List<Integer> BASIC_SETTINGS_IDS = Collections.unmodifiableList(Arrays.asList( |
65 | 59 | R.id.basicSettingsText, |
@@ -89,7 +83,15 @@ public class MainActivity extends AppCompatActivity |
89 | 83 | R.id.audioChannelContainer, |
90 | 84 | R.id.audioChannelContainerDivider)); |
91 | 85 |
|
92 | | - private static final int READ_WRITE_PERMISSION_REQUEST = 1; |
| 86 | + private VideoView videoView; |
| 87 | + private CrystalRangeSeekbar rangeSeekBar; |
| 88 | + private Timer videoTimer = null; |
| 89 | + private ProgressDialog progressDialog; |
| 90 | + private Uri selectedVideoUri; |
| 91 | + |
| 92 | + private TextView tvLeft, tvRight; |
| 93 | + private String filePath; |
| 94 | + private int durationMs; |
93 | 95 |
|
94 | 96 | @Override |
95 | 97 | protected void onCreate(Bundle savedInstanceState) |
|
0 commit comments