OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:OneCamera
(Results
1 - 25
of
62
) sorted by null
1
2
3
/packages/apps/Camera2/src/com/android/camera/captureintent/event/
EventOnOpenCameraSucceeded.java
20
import com.android.camera.one.
OneCamera
;
25
private final
OneCamera
mCamera;
27
public EventOnOpenCameraSucceeded(@Nonnull
OneCamera
camera) {
31
public
OneCamera
getCamera() {
/packages/apps/Camera2/src/com/android/camera/settings/
CameraFacingSetting.java
20
import com.android.camera.one.
OneCamera
;
78
return getCameraFacing() ==
OneCamera
.Facing.BACK;
87
return getCameraFacing() ==
OneCamera
.Facing.FRONT;
95
public
OneCamera
.Facing getCameraFacing() {
98
return
OneCamera
.Facing.BACK;
100
return
OneCamera
.Facing.FRONT;
111
public void setCameraFacing(
OneCamera
.Facing cameraFacing) {
112
final int cameraId = (cameraFacing ==
OneCamera
.Facing.BACK) ?
122
public
OneCamera
.Facing switchCameraFacing() {
123
final
OneCamera
.Facing originalFacing = getCameraFacing()
[
all
...]
ResolutionSetting.java
25
import com.android.camera.one.
OneCamera
;
26
import com.android.camera.one.
OneCamera
.Facing;
75
final String pictureSizeSettingKey = cameraFacing ==
OneCamera
.Facing.FRONT ?
77
final String blacklist = cameraFacing ==
OneCamera
.Facing.FRONT ? mResolutionBlackListFront
88
supportedPictureSizes, cameraFacing ==
OneCamera
.Facing.BACK);
109
final String pictureSizeSettingKey = cameraFacing ==
OneCamera
.Facing.FRONT ?
115
if (cameraFacing ==
OneCamera
.Facing.BACK) {
117
} else if (cameraFacing ==
OneCamera
.Facing.FRONT) {
/packages/apps/Camera2/src/com/android/camera/one/
CameraDirectionProvider.java
32
public
OneCamera
.Facing getDirection() {
35
return
OneCamera
.Facing.BACK;
37
return
OneCamera
.Facing.FRONT;
39
return
OneCamera
.Facing.BACK;
FlashSetting.java
26
* appropriate {@link
OneCamera
.PhotoCaptureParameters.Flash} value.
28
public class FlashSetting extends ForwardingObservable<
OneCamera
.PhotoCaptureParameters.Flash> {
30
Function<String,
OneCamera
.PhotoCaptureParameters.Flash> {
32
public
OneCamera
.PhotoCaptureParameters.Flash apply(String settingString) {
33
return
OneCamera
.PhotoCaptureParameters.Flash.decodeSettingsString(settingString);
OneCameraManager.java
20
import com.android.camera.one.
OneCamera
.Facing;
OneCameraCaptureSetting.java
23
import com.android.camera.one.
OneCamera
.Facing;
37
private final Observable<
OneCamera
.PhotoCaptureParameters.Flash> mFlashSetting;
48
Observable<
OneCamera
.PhotoCaptureParameters.Flash> flashSetting = new FlashSetting(
69
Observable<
OneCamera
.PhotoCaptureParameters.Flash> flashSetting,
84
public Observable<
OneCamera
.PhotoCaptureParameters.Flash> getFlashSetting() {
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/
PictureTaker.java
19
import com.android.camera.one.
OneCamera
;
24
* @See {@link
OneCamera
#takePicture}
26
public void takePicture(
OneCamera
.PhotoCaptureParameters params, CaptureSession session);
FlashBasedPhotoCommand.java
24
import com.android.camera.one.
OneCamera
;
35
private final Supplier<
OneCamera
.PhotoCaptureParameters.Flash> mFlashMode;
41
Supplier<
OneCamera
.PhotoCaptureParameters.Flash> flashMode,
57
OneCamera
.PhotoCaptureParameters.Flash flashMode = mFlashMode.get();
58
if (flashMode ==
OneCamera
.PhotoCaptureParameters.Flash.ON) {
61
} else if (flashMode ==
OneCamera
.PhotoCaptureParameters.Flash.AUTO) {
ImageRotationCalculatorImpl.java
26
import com.android.camera.one.
OneCamera
;
61
OneCamera
.Facing lensDirection = characteristics.getCameraDirection();
63
lensDirection ==
OneCamera
.Facing.FRONT);
PictureCallbackAdapter.java
22
import com.android.camera.one.
OneCamera
;
30
* Splits a {@link
OneCamera
.PictureCallback} into separate thread-safe
34
private final
OneCamera
.PictureCallback mPictureCallback;
37
public PictureCallbackAdapter(
OneCamera
.PictureCallback pictureCallback,
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/
ResourceOpenedCamera.java
24
import com.android.camera.one.
OneCamera
;
31
* retaining and releasing an opened {@link com.android.camera.one.
OneCamera
}.
37
* @return A {@link com.android.camera.one.
OneCamera
} object.
39
public
OneCamera
getCamera();
44
* @return A {@link com.android.camera.one.
OneCamera
} object.
51
* @return A {@link com.android.camera.one.
OneCamera
.Facing}.
53
public
OneCamera
.Facing getCameraFacing();
96
* @param captureReadyCallback A {@link com.android.camera.one.
OneCamera
.CaptureReadyCallback}.
99
Surface previewSurface,
OneCamera
.CaptureReadyCallback captureReadyCallback);
ResourceOpenedCameraImpl.java
25
import com.android.camera.one.
OneCamera
;
34
private final
OneCamera
mCamera;
40
private final
OneCamera
.Facing mCameraFacing;
57
OneCamera
camera,
59
OneCamera
.Facing cameraFacing,
69
OneCamera
camera,
71
OneCamera
.Facing cameraFacing,
92
public
OneCamera
getCamera() {
102
public
OneCamera
.Facing getCameraFacing() {
134
Surface previewSurface,
OneCamera
.CaptureReadyCallback captureReadyCallback)
[
all
...]
ResourceCaptureTools.java
23
import com.android.camera.one.
OneCamera
;
46
* @param pictureCallback A {@link com.android.camera.one.
OneCamera
.PictureCallback}.
50
OneCamera
.PictureCallback pictureCallback,
120
* @return A {@link com.android.camera.one.
OneCamera
} object.
122
OneCamera
getCamera();
ResourceCaptureToolsImpl.java
28
import com.android.camera.one.
OneCamera
;
151
OneCamera
.PictureCallback pictureCallback,
182
(openedCamera.getCameraFacing() ==
OneCamera
.Facing.FRONT),
193
OneCamera
.PhotoCaptureParameters params = new
OneCamera
.PhotoCaptureParameters(
226
public
OneCamera
getCamera() {
230
private final
OneCamera
.PictureSaverCallback mPictureSaverCallback =
231
new
OneCamera
.PictureSaverCallback() {
/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/
ManualAutoFocus.java
19
import com.android.camera.one.
OneCamera
;
23
* @See {@link
OneCamera
#triggerFocusAndMeterAtPoint}
/packages/apps/Camera2/src/com/android/camera/one/v2/common/
FlashBasedAEMode.java
21
import com.android.camera.one.
OneCamera
;
28
private final Supplier<
OneCamera
.PhotoCaptureParameters.Flash> mFlash;
32
Supplier<
OneCamera
.PhotoCaptureParameters.Flash> flash,
/packages/apps/Camera2/src/com/android/camera/hardware/
HardwareSpecImpl.java
20
import com.android.camera.one.
OneCamera
;
51
OneCamera
.Facing cameraFacing =
52
isFrontCamera ?
OneCamera
.Facing.FRONT :
OneCamera
.Facing.BACK;
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/
DeferredPictureTaker.java
19
import com.android.camera.one.
OneCamera
;
39
public void takePicture(
OneCamera
.PhotoCaptureParameters params, CaptureSession session) {
MetadataCallback.java
22
import com.android.camera.one.
OneCamera
;
35
private final Updatable<
OneCamera
.FocusState> mOneCameraFocusState;
40
Updatable<
OneCamera
.FocusState> oneCameraFocusState,
76
mOneCameraFocusState.update(new
OneCamera
.FocusState(focusDistance, active));
InitializedOneCameraFactory.java
31
import com.android.camera.one.
OneCamera
;
45
* Simplifies the construction of
OneCamera
instances which use the camera2 API
55
* {@link
OneCamera
#startPreview} is called.</li>
75
LinearScale lensRange,
OneCamera
.Facing direction) {
76
// Assembles and returns a
OneCamera
based on the CameraStarter.
91
// The
OneCamera
interface exposes various types of state, either
98
final ConcurrentState<
OneCamera
.FocusState> focusState = new ConcurrentState<>(new
99
OneCamera
.FocusState(0.0f, false));
108
Listenable<
OneCamera
.FocusState> focusStateListenable = new Listenable<>(
157
public
OneCamera
provideOneCamera()
[
all
...]
/packages/apps/Camera2/src/com/android/camera/one/config/
OneCameraFeatureConfig.java
26
import com.android.camera.one.
OneCamera
;
127
public HdrPlusSupportLevel getHdrPlusSupportLevel(
OneCamera
.Facing cameraFacing) {
128
if (cameraFacing ==
OneCamera
.Facing.FRONT) {
/packages/apps/Camera2/src/com/android/camera/one/v2/
OneCameraFactory.java
23
import com.android.camera.one.
OneCamera
;
31
OneCamera
createOneCamera(CameraDeviceProxy cameraDevice,
37
Observable<
OneCamera
.PhotoCaptureParameters.Flash> flashSetting,
AutoFocusHelper.java
26
import com.android.camera.one.
OneCamera
;
32
* {@link com.android.camera.one.
OneCamera
} implementations.
53
* Convert reported camera2 AF state to
OneCamera
AutoFocusState.
55
public static
OneCamera
.AutoFocusState stateFromCamera2State(int state) {
58
return
OneCamera
.AutoFocusState.ACTIVE_SCAN;
60
return
OneCamera
.AutoFocusState.PASSIVE_SCAN;
62
return
OneCamera
.AutoFocusState.PASSIVE_FOCUSED;
64
return
OneCamera
.AutoFocusState.ACTIVE_FOCUSED;
66
return
OneCamera
.AutoFocusState.PASSIVE_UNFOCUSED;
68
return
OneCamera
.AutoFocusState.ACTIVE_UNFOCUSED
[
all
...]
/packages/apps/Camera2/src/com/android/camera/burst/
BurstFacade.java
23
import com.android.camera.one.
OneCamera
.Facing;
Completed in 6805 milliseconds
1
2
3