Home
last modified time | relevance | path

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

/pdk/apps/TestingCamera2/src/com/android/testingcamera2/v1/
DTestingCamera2.java291 LayoutParams params = mPreviewView.getLayoutParams(); in updatePreviewOrientation() local
292 int width = params.width; in updatePreviewOrientation()
293 int height = params.height; in updatePreviewOrientation()
318 if (width != params.width && height != params.height) { in updatePreviewOrientation()
324 params.width = width; in updatePreviewOrientation()
325 params.height = height; in updatePreviewOrientation()
327 mPreviewView.setLayoutParams(params); in updatePreviewOrientation()
/pdk/apps/TestingCamera/src/com/android/testingcamera/
DTestingCamera.java1108 private void updateAfModes(Parameters params) { in updateAfModes() argument
1109 mAfModes = params.getSupportedFocusModes(); in updateAfModes()
1117 params.setFocusMode(mAfModes.get(mAfMode)); in updateAfModes()
1122 private void updateFlashModes(Parameters params) { in updateFlashModes() argument
1123 mFlashModes = params.getSupportedFlashModes(); in updateFlashModes()
1134 params.setFlashMode(mFlashModes.get(mFlashMode)); in updateFlashModes()
1172 private void updatePreviewSizes(Camera.Parameters params) { in updatePreviewSizes() argument
1173 mPreviewSizes = params.getSupportedPreviewSizes(); in updatePreviewSizes()
1190 params.setPreviewSize(width, height); in updatePreviewSizes()
1222 private void updatePreviewFormats(Camera.Parameters params) { in updatePreviewFormats() argument
[all …]
DSnapshotDialogFragment.java66 protected Bitmap doInBackground(byte[]... params) { in onCreateView() argument
67 byte[] jpegImage = params[0]; in onCreateView()
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/
DSurfaceViewSubPane.java24 import android.hardware.camera2.params.StreamConfigurationMap;
DTextureViewSubPane.java25 import android.hardware.camera2.params.StreamConfigurationMap;
DImageReaderSubPane.java45 import android.hardware.camera2.params.StreamConfigurationMap;