Home
last modified time | relevance | path

Searched refs:aspectRatio (Results 1 – 4 of 4) sorted by relevance

/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DOpenGLWatchFaceService.java230 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/
DCamera2VideoFragment.java255 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/
DCamera2BasicFragment.java385 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/
DCamera2RawFragment.java1633 int textureViewHeight, int maxWidth, int maxHeight, Size aspectRatio) {
1638 int w = aspectRatio.getWidth();
1639 int h = aspectRatio.getHeight();