Home
last modified time | relevance | path

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

/pdk/apps/TestingCamera2/src/com/android/testingcamera2/
DSurfaceViewSubPane.java123 Size s = mSizes[mCurrentSizeId]; in updateSizes() local
124 mFixedSurfaceView.getHolder().setFixedSize(s.getWidth(), s.getHeight()); in updateSizes()
125 mAspectRatio = ((float) s.getWidth()) / s.getHeight(); in updateSizes()
DTextureViewSubPane.java110 Size s = mSizes[mCurrentSizeId]; in updateSizes() local
112 mSurfaceTexture.setDefaultBufferSize(s.getWidth(), s.getHeight()); in updateSizes()
115 int height = width * s.getHeight() / s.getWidth(); in updateSizes()
DImageReaderSubPane.java459 Size s = mSizes[mCurrentSizeId]; in getOutputSurface() local
463 !Objects.equals(mConfiguredSize, s) || in getOutputSurface()
472 mReader = ImageReader.newInstance(s.getWidth(), s.getHeight(), f.imageFormat, c); in getOutputSurface()
474 mConfiguredSize = s; in getOutputSurface()
/pdk/apps/TestingCamera2/
DREADME.txt23 The left pane contains target panes along with the app's overall log pane. The right pane contains
53 in the selected camera's next configure operation. Until the target pane is included in a camera's
68 These are video recording targets, which use the Android device's video encoding APIs to create
74 processed by Android's RenderScript APIs.
87 Once a camera has been opened and configured, and the correct target(s) has been selected for the
99 To stop repeating, use the camera pane's stop method.
/pdk/apps/TestingCamera/src/com/android/testingcamera/
DTestingCamera.java789 Camera.Size s = mVideoRecordSizes.get(i);
790 if (width == s.width && height == s.height) {
1384 for (Camera.Size s : videoSizes) { in updateVideoRecordSize()
1385 availableVideoRecordSizes.add(s.width + "x" + s.height); in updateVideoRecordSize()
1386 mVideoRecordSizes.add(s); in updateVideoRecordSize()