mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-17 21:29:54 +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
|
@UiThread
|
||||||
private void setDisplayOrientation(int rotationDegrees)
|
private void setDisplayOrientation(int rotationDegrees)
|
||||||
throws CameraException {
|
throws CameraException {
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import android.content.Context;
|
|||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.content.IntentFilter;
|
import android.content.IntentFilter;
|
||||||
import android.graphics.Bitmap;
|
import android.graphics.Bitmap;
|
||||||
|
import android.hardware.Camera;
|
||||||
import android.os.AsyncTask;
|
import android.os.AsyncTask;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.support.annotation.UiThread;
|
import android.support.annotation.UiThread;
|
||||||
@@ -166,6 +167,9 @@ public class ShowQrCodeFragment extends BaseEventFragment
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* See {@link Camera#setDisplayOrientation(int)}.
|
||||||
|
*/
|
||||||
private int getScreenRotationDegrees() {
|
private int getScreenRotationDegrees() {
|
||||||
Display d = getActivity().getWindowManager().getDefaultDisplay();
|
Display d = getActivity().getWindowManager().getDefaultDisplay();
|
||||||
switch (d.getRotation()) {
|
switch (d.getRotation()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user