Skip to content
This repository was archived by the owner on Sep 10, 2020. It is now read-only.

Added a screenshot mode.#77

Open
tylerjroach wants to merge 4 commits intoJakeWharton:masterfrom
tylerjroach:master
Open

Added a screenshot mode.#77
tylerjroach wants to merge 4 commits intoJakeWharton:masterfrom
tylerjroach:master

Conversation

@tylerjroach
Copy link

I've added a screenshot button in the OverlayView. Rather than splitting Telecine into two different modes (recording vs. screenshot), I thought the two would fit together in the overlay. This way, the settings don't become more complex and a separate screenshot widget isn't needed. I added a FlashView in a quick attempt to animate the screenshot action and give the user visual feedback to the button press. When the screenshot has been taken, the overlay will reappear and allow the user to take another screenshot or a recording.

Potential Improvements:
*In attempting to keep the previous code mostly unchanged, I created a few screenshot methods that could probably be merged into the recording ones, ex. showNotification.
*Each notification currently overwrites the previous one. These notifications could be separated out, or a single notification could read something like... "2 screenshots taken".
*I added 2 strings that don't have translations.

Let me know what you think!

@JakeWharton
Copy link
Owner

Going to look soon. Sorry for the delay, lots going on in other projects.

On Fri, Oct 2, 2015 at 10:29 AM Tyler Roach notifications@github.com
wrote:

I've added a screenshot button in the OverlayView. Rather than splitting
Telecine into two different modes (recording vs. screenshot), I thought the
two would fit together in the overlay. This way, the settings don't become
more complex and a separate screenshot widget isn't needed. I added a
FlashView in a quick attempt to animate the screenshot action and give the
user visual feedback to the button press. When the screenshot has been
taken, the overlay will reappear and allow the user to take another
screenshot or a recording.

Potential Improvements:
*In attempting to keep the previous code mostly unchanged, I created a few
screenshot methods that could probably be merged into the recording ones,
ex. showNotification.
*Each notification currently overwrites the previous one. These
notifications could be separated out, or a single notification could read
something like... "2 screenshots taken".

Let me know what you think!

You can view, comment on, or merge this pull request online at:

#77
Commit Summary

  • Added a screenshot mode.

File Changes

Patch Links:


Reply to this email directly or view it on GitHub
#77.

@tylerjroach
Copy link
Author

No rush at all. Let me know if all of the formatting fix commits bother you and I could clean it up and submit a new pull request. I didn't have the proper indention settings before working on the project and noticed a few formatting issues after trying to clean it up at the end.

@tylerjroach tylerjroach mentioned this pull request Nov 12, 2015
private final File picturesOutputRoot;
private final DateFormat videofileFormat =
new SimpleDateFormat("'Telecine_'yyyy-MM-dd-HH-mm-ss'.mp4'", Locale.US);
private final DateFormat audiofileFormat =
Copy link

@simontb simontb Apr 25, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be named imagefileFormat? Or picturefileFormat to follow the naming for the File in line 92.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants