Display more accurate time in demo app
PiperOrigin-RevId: 558077709
This commit is contained in:
parent
02b347ac66
commit
c6804e40a3
@ -688,7 +688,10 @@ public final class TransformerActivity extends AppCompatActivity {
|
||||
private void onCompleted(Uri inputUri, String filePath) {
|
||||
exportStopwatch.stop();
|
||||
informationTextView.setText(
|
||||
getString(R.string.export_completed, exportStopwatch.elapsed(TimeUnit.SECONDS), filePath));
|
||||
getString(
|
||||
R.string.export_completed,
|
||||
exportStopwatch.elapsed(TimeUnit.MILLISECONDS) / 1000.f,
|
||||
filePath));
|
||||
progressViewGroup.setVisibility(View.GONE);
|
||||
debugFrame.removeAllViews();
|
||||
inputCardView.setVisibility(View.VISIBLE);
|
||||
|
@ -42,7 +42,7 @@
|
||||
<string name="debug_preview_not_available" translatable="false">No debug preview available.</string>
|
||||
<string name="export_started" translatable="false">Export started</string>
|
||||
<string name="export_timer" translatable="false">Export started %d seconds ago.</string>
|
||||
<string name="export_completed" translatable="false">Export completed in %d seconds.\nOutput: %s</string>
|
||||
<string name="export_completed" translatable="false">Export completed in %.3f seconds.\nOutput: %s</string>
|
||||
<string name="export_error" translatable="false">Export error</string>
|
||||
<string name="trim_range">Bounds in seconds</string>
|
||||
<string-array name="color_filter_options">
|
||||
|
Loading…
x
Reference in New Issue
Block a user