ti_ua: (Default)
[personal profile] ti_ua
Для разработчиков из Google и их OEM партнеров уже открывают отдельный кампус в раю в аду. С толпами гурий. И у каждой random behavior и чрезвычайно лаконичный man.
В подобном аду уже страдают разработчики разъемов для мобильных телефонов. Только там их писюн ни к кому не подходит.

Для тех, кто не рыбак, и не понимает к чему тут самцы человекообразных.


I've found some odd behavior around Camera.Parameters.setRecordingHint that I'd like to understand better.

If I set it to true, the size of the preview image can come back different from what I pass to setPreviewSize. It depends on what size I set it to-- some aspect ratios work and some don't.



- You need to set video-size parameter to the correct value. ... You can change this parameter using params.set("video-size", "WxH"). Only then is the aspect ratio correct.
- is "video-size" documented anywhere?
- I don't think so.


Хорошо, а что же там в документации?

public void set (String key, String value)

Sets a String parameter.

Parameters
key the key name for the parameter
value the String value of the parameter

Все.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

ti_ua: (Default)
ti_ua

June 2019

S M T W T F S
      1
2345678
9101112131415
16171819202122
23 242526 272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 6th, 2025 06:43 am
Powered by Dreamwidth Studios