Home
last modified time | relevance | path

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

/development/samples/browseable/RuntimePermissionsBasic/src/com.example.android.basicpermissions/camera/
DCameraPreviewActivity.java68 final int displayRotation = getWindowManager().getDefaultDisplay() in onCreate() local
72 mPreview = new CameraPreview(this, mCamera, cameraInfo, displayRotation); in onCreate()
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/camera/
DCameraPreviewFragment.java81 final int displayRotation = getActivity().getWindowManager().getDefaultDisplay() in onCreateView() local
85 mPreview = new CameraPreview(getActivity(), mCamera, cameraInfo, displayRotation); in onCreateView()
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCamera2BasicFragment.java522 int displayRotation = activity.getWindowManager().getDefaultDisplay().getRotation(); in setUpCameraOutputs() local
526 switch (displayRotation) { in setUpCameraOutputs()
540 Log.e(TAG, "Display rotation is invalid: " + displayRotation); in setUpCameraOutputs()