Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(623)

Side by Side Diff: media/capture/video/android/java/src/org/chromium/media/PhotoCapabilities.java

Issue 2214533002: move //media/capture to //device/capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package org.chromium.media;
6
7 import org.chromium.base.annotations.CalledByNative;
8 import org.chromium.base.annotations.JNINamespace;
9
10 /**
11 * Set of PhotoCapabilities read from the different VideoCapture Devices.
12 **/
13 @JNINamespace("media")
14 class PhotoCapabilities {
15 public final int maxIso;
16 public final int minIso;
17 public final int currentIso;
18 public final int maxHeight;
19 public final int minHeight;
20 public final int currentHeight;
21 public final int maxWidth;
22 public final int minWidth;
23 public final int currentWidth;
24 public final int maxZoom;
25 public final int minZoom;
26 public final int currentZoom;
27 public final boolean autoFocusInUse;
28
29 PhotoCapabilities(int maxIso, int minIso, int currentIso, int maxHeight, int minHeight,
30 int currentHeight, int maxWidth, int minWidth, int currentWidth, int maxZoom,
31 int minZoom, int currentZoom, boolean autoFocusInUse) {
32 this.maxIso = maxIso;
33 this.minIso = minIso;
34 this.currentIso = currentIso;
35 this.maxHeight = maxHeight;
36 this.minHeight = minHeight;
37 this.currentHeight = currentHeight;
38 this.maxWidth = maxWidth;
39 this.minWidth = minWidth;
40 this.currentWidth = currentWidth;
41 this.maxZoom = maxZoom;
42 this.minZoom = minZoom;
43 this.currentZoom = currentZoom;
44 this.autoFocusInUse = autoFocusInUse;
45 }
46
47 @CalledByNative
48 public int getMinIso() {
49 return minIso;
50 }
51
52 @CalledByNative
53 public int getMaxIso() {
54 return maxIso;
55 }
56
57 @CalledByNative
58 public int getCurrentIso() {
59 return currentIso;
60 }
61
62 @CalledByNative
63 public int getMinHeight() {
64 return minHeight;
65 }
66
67 @CalledByNative
68 public int getMaxHeight() {
69 return maxHeight;
70 }
71
72 @CalledByNative
73 public int getCurrentHeight() {
74 return currentHeight;
75 }
76
77 @CalledByNative
78 public int getMinWidth() {
79 return minWidth;
80 }
81
82 @CalledByNative
83 public int getMaxWidth() {
84 return maxWidth;
85 }
86
87 @CalledByNative
88 public int getCurrentWidth() {
89 return currentWidth;
90 }
91
92 @CalledByNative
93 public int getMinZoom() {
94 return minZoom;
95 }
96
97 @CalledByNative
98 public int getMaxZoom() {
99 return maxZoom;
100 }
101
102 @CalledByNative
103 public int getCurrentZoom() {
104 return currentZoom;
105 }
106
107 @CalledByNative
108 public boolean getAutoFocusInUse() {
109 return autoFocusInUse;
110 }
111 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698