Home
last modified time | relevance | path

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

/pdk/apps/TestingCamera/src/com/android/testingcamera/
DTestingCamera.java1476 int callbackWidth = mCallbackView.getWidth(); in layoutPreview() local
1477 float callbackAspect = ((float) callbackWidth) / callbackHeight; in layoutPreview()
1479 callbackHeight = (int) (callbackWidth / previewAspect); in layoutPreview()
1481 callbackWidth = (int) (callbackHeight * previewAspect); in layoutPreview()
1484 new LayoutParams(callbackWidth, callbackHeight)); in layoutPreview()
1485 configureCallbacks(callbackWidth, callbackHeight); in layoutPreview()
1490 private void configureCallbacks(int callbackWidth, int callbackHeight) { in configureCallbacks() argument
1499 callbackWidth, callbackHeight, mRS); in configureCallbacks()