Demo: Shorten trim range from 60 seconds to 10 seconds.
Most demo videos aren't very long, and the default demo video is only 10 seconds. Shorten the maximum trim duration to 10 seconds, to demonstrate transformer functionality more easily, and allow this to be used more easily when trimming short sections of a longer video (ex. to make test clips) PiperOrigin-RevId: 480602037 (cherry picked from commit 3142a2127dc224e4c2124989b952a8bd1e06d510)
This commit is contained in:
parent
2244549146
commit
4198ddebe2
@ -437,7 +437,7 @@ public final class ConfigurationActivity extends AppCompatActivity {
|
|||||||
View dialogView = getLayoutInflater().inflate(R.layout.trim_options, /* root= */ null);
|
View dialogView = getLayoutInflater().inflate(R.layout.trim_options, /* root= */ null);
|
||||||
RangeSlider trimRangeSlider =
|
RangeSlider trimRangeSlider =
|
||||||
checkNotNull(dialogView.findViewById(R.id.trim_bounds_range_slider));
|
checkNotNull(dialogView.findViewById(R.id.trim_bounds_range_slider));
|
||||||
trimRangeSlider.setValues(0f, 60f); // seconds
|
trimRangeSlider.setValues(0f, 10f); // seconds
|
||||||
new AlertDialog.Builder(/* context= */ this)
|
new AlertDialog.Builder(/* context= */ this)
|
||||||
.setView(dialogView)
|
.setView(dialogView)
|
||||||
.setPositiveButton(
|
.setPositiveButton(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user