No man No cry!
Jan. 31st, 2015 12:30 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Для разработчиков из 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
Все.
В подобном аду уже страдают разработчики разъемов для мобильных телефонов. Только там их писюн ни к кому не подходит.
Для тех, кто не рыбак, и не понимает к чему тут самцы человекообразных.
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
Все.