OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:FocusMode
(Results
1 - 9
of
9
) sorted by null
/frameworks/ex/camera2/portability/tests/src/com/android/ex/camera2/portability/
Camera2PortabilityTest.java
32
import com.android.ex.camera2.portability.CameraCapabilities.
FocusMode
;
45
* {@link Stringifier#stringify} for {@link
FocusMode
}, {@link FlashMode},
51
for(
FocusMode
val :
FocusMode
.values()) {
67
* {@link
FocusMode
}, {@link FlashMode}, {@link SceneMode}, and
73
assertEquals(strfy.focusModeFromString(null),
FocusMode
.AUTO);
81
* {@link
FocusMode
}, {@link FlashMode}, {@link SceneMode}, and
87
assertEquals(strfy.focusModeFromString("crap"),
FocusMode
.AUTO);
106
* {@code
FocusMode
}, {@code SceneMode}, and {@code WhiteBalance} to the
119
set.setFocusMode(
FocusMode
.AUTO)
[
all
...]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
CameraCapabilities.java
53
protected final EnumSet<
FocusMode
> mSupportedFocusModes = EnumSet.noneOf(
FocusMode
.class);
72
public enum
FocusMode
{
347
public String stringify(
FocusMode
focus) {
359
public
FocusMode
focusModeFromString(String val) {
361
return
FocusMode
.values()[0];
364
return
FocusMode
.valueOf(toEnumCase(val));
366
return
FocusMode
.values()[0];
598
public final Set<
FocusMode
> getSupportedFocusModes() {
599
return new HashSet<
FocusMode
>(mSupportedFocusModes)
[
all
...]
AndroidCamera2Capabilities.java
90
if (supports(
FocusMode
.AUTO)) {
137
FocusMode
equiv = focusModeFromInt(focus);
165
public static
FocusMode
focusModeFromInt(int fm) {
168
return
FocusMode
.AUTO;
170
return
FocusMode
.CONTINUOUS_PICTURE;
172
return
FocusMode
.CONTINUOUS_VIDEO;
174
return
FocusMode
.EXTENDED_DOF;
176
return
FocusMode
.FIXED;
179
return
FocusMode
.MACRO;
AndroidCameraCapabilities.java
74
if (supports(
FocusMode
.AUTO)) {
198
mSupportedFocusModes.add(
FocusMode
.AUTO);
200
mSupportedFocusModes.add(
FocusMode
.CONTINUOUS_PICTURE);
202
mSupportedFocusModes.add(
FocusMode
.CONTINUOUS_VIDEO);
204
mSupportedFocusModes.add(
FocusMode
.EXTENDED_DOF);
206
mSupportedFocusModes.add(
FocusMode
.FIXED);
208
mSupportedFocusModes.add(
FocusMode
.INFINITY);
210
mSupportedFocusModes.add(
FocusMode
.MACRO);
CameraSettings.java
53
protected CameraCapabilities.
FocusMode
mCurrentFocusMode;
394
* @param
focusMode
The focus mode to use.
396
public void setFocusMode(CameraCapabilities.
FocusMode
focusMode
) {
397
mCurrentFocusMode =
focusMode
;
403
public CameraCapabilities.
FocusMode
getCurrentFocusMode() {
AndroidCamera2Settings.java
31
import com.android.ex.camera2.portability.CameraCapabilities.
FocusMode
;
/packages/apps/Camera2/src/com/android/camera/
FocusOverlayManager.java
97
private CameraCapabilities.
FocusMode
mFocusMode;
98
private final List<CameraCapabilities.
FocusMode
> mDefaultFocusModes;
99
private CameraCapabilities.
FocusMode
mOverrideFocusMode;
157
List<CameraCapabilities.
FocusMode
> defaultFocusModes, CameraCapabilities capabilities,
162
mDefaultFocusModes = new ArrayList<CameraCapabilities.
FocusMode
>(defaultFocusModes);
235
public void onShutterUp(CameraCapabilities.
FocusMode
currentFocusMode) {
253
public void focusAndCapture(CameraCapabilities.
FocusMode
currentFocusMode) {
475
public CameraCapabilities.
FocusMode
getFocusMode(
476
final CameraCapabilities.
FocusMode
currentFocusMode) {
483
return CameraCapabilities.
FocusMode
.AUTO
[
all
...]
VideoModule.java
433
if (mCameraSettings.getCurrentFocusMode() == CameraCapabilities.
FocusMode
.CONTINUOUS_PICTURE) {
471
ArrayList<CameraCapabilities.
FocusMode
> defaultFocusModes =
472
new ArrayList<CameraCapabilities.
FocusMode
>();
474
CameraCapabilities.
FocusMode
mode = stringifier.focusModeFromString(modeString);
[
all
...]
PhotoModule.java
[
all
...]
Completed in 288 milliseconds