mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 02:39:05 +01:00
Add javadoc links.
This commit is contained in:
@@ -223,6 +223,9 @@ public class CameraView extends SurfaceView implements SurfaceHolder.Callback,
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* See {@link Camera#setDisplayOrientation(int)}.
|
||||
*/
|
||||
@UiThread
|
||||
private void setDisplayOrientation(int rotationDegrees)
|
||||
throws CameraException {
|
||||
|
||||
@@ -6,6 +6,7 @@ import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.IntentFilter;
|
||||
import android.graphics.Bitmap;
|
||||
import android.hardware.Camera;
|
||||
import android.os.AsyncTask;
|
||||
import android.os.Bundle;
|
||||
import android.support.annotation.UiThread;
|
||||
@@ -166,6 +167,9 @@ public class ShowQrCodeFragment extends BaseEventFragment
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* See {@link Camera#setDisplayOrientation(int)}.
|
||||
*/
|
||||
private int getScreenRotationDegrees() {
|
||||
Display d = getActivity().getWindowManager().getDefaultDisplay();
|
||||
switch (d.getRotation()) {
|
||||
|
||||
Reference in New Issue
Block a user