Searched refs:aspectRatio (Results 1 – 4 of 4) sorted by relevance
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | OpenGLWatchFaceService.java | 230 final float aspectRatio = (float) width / height; in onGlSurfaceCreated() local 233 -aspectRatio /* left */, in onGlSurfaceCreated() 234 aspectRatio /* right */, in onGlSurfaceCreated()
|
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/ |
D | Camera2VideoFragment.java | 255 private static Size chooseOptimalSize(Size[] choices, int width, int height, Size aspectRatio) { in chooseOptimalSize() argument 258 int w = aspectRatio.getWidth(); in chooseOptimalSize() 259 int h = aspectRatio.getHeight(); in chooseOptimalSize()
|
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/ |
D | Camera2BasicFragment.java | 385 int textureViewHeight, int maxWidth, int maxHeight, Size aspectRatio) { in chooseOptimalSize() argument 391 int w = aspectRatio.getWidth(); in chooseOptimalSize() 392 int h = aspectRatio.getHeight(); in chooseOptimalSize()
|
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/ |
D | Camera2RawFragment.java | 1633 int textureViewHeight, int maxWidth, int maxHeight, Size aspectRatio) { 1638 int w = aspectRatio.getWidth(); 1639 int h = aspectRatio.getHeight();
|