Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: offer common Matrices for various scaling types for TextureView, either in library or in sample #5412

Open
AndroidDeveloperLB opened this issue Jan 21, 2019 · 0 comments

Comments

@AndroidDeveloperLB
Copy link

I'm talking about the matrix we can provide to : https://developer.android.com/reference/android/view/TextureView#setTransform(android.graphics.Matrix)

Examples of common transform :

  1. All of those that we have for ImageView.
  2. scale-crop to position. It's like center-crop, but not neccassary to the center. Could be to any point in percentage of the video.
  3. Maybe others that I didn't think about. Could be useful to take inspiration of what's the most popular ones by looking at ImageView scaling types third party libraries. Example : https://github.com/omgnuts/JCropImageView
@ojw28 ojw28 self-assigned this Jan 21, 2019
@ojw28 ojw28 assigned icbaker and unassigned ojw28 Jul 6, 2022
@icbaker icbaker assigned andrewlewis and unassigned icbaker Jul 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants