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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: media/capture/video/android/java/src/org/chromium/media/PhotoCapabilities.java
diff --git a/media/capture/video/android/java/src/org/chromium/media/PhotoCapabilities.java b/media/capture/video/android/java/src/org/chromium/media/PhotoCapabilities.java
deleted file mode 100644
index 3b7fccee47c33f7e1f4e798303acccb4bbfd7c0d..0000000000000000000000000000000000000000
--- a/media/capture/video/android/java/src/org/chromium/media/PhotoCapabilities.java
+++ /dev/null
@@ -1,111 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-package org.chromium.media;
-
-import org.chromium.base.annotations.CalledByNative;
-import org.chromium.base.annotations.JNINamespace;
-
-/**
- * Set of PhotoCapabilities read from the different VideoCapture Devices.
- **/
-@JNINamespace("media")
-class PhotoCapabilities {
- public final int maxIso;
- public final int minIso;
- public final int currentIso;
- public final int maxHeight;
- public final int minHeight;
- public final int currentHeight;
- public final int maxWidth;
- public final int minWidth;
- public final int currentWidth;
- public final int maxZoom;
- public final int minZoom;
- public final int currentZoom;
- public final boolean autoFocusInUse;
-
- PhotoCapabilities(int maxIso, int minIso, int currentIso, int maxHeight, int minHeight,
- int currentHeight, int maxWidth, int minWidth, int currentWidth, int maxZoom,
- int minZoom, int currentZoom, boolean autoFocusInUse) {
- this.maxIso = maxIso;
- this.minIso = minIso;
- this.currentIso = currentIso;
- this.maxHeight = maxHeight;
- this.minHeight = minHeight;
- this.currentHeight = currentHeight;
- this.maxWidth = maxWidth;
- this.minWidth = minWidth;
- this.currentWidth = currentWidth;
- this.maxZoom = maxZoom;
- this.minZoom = minZoom;
- this.currentZoom = currentZoom;
- this.autoFocusInUse = autoFocusInUse;
- }
-
- @CalledByNative
- public int getMinIso() {
- return minIso;
- }
-
- @CalledByNative
- public int getMaxIso() {
- return maxIso;
- }
-
- @CalledByNative
- public int getCurrentIso() {
- return currentIso;
- }
-
- @CalledByNative
- public int getMinHeight() {
- return minHeight;
- }
-
- @CalledByNative
- public int getMaxHeight() {
- return maxHeight;
- }
-
- @CalledByNative
- public int getCurrentHeight() {
- return currentHeight;
- }
-
- @CalledByNative
- public int getMinWidth() {
- return minWidth;
- }
-
- @CalledByNative
- public int getMaxWidth() {
- return maxWidth;
- }
-
- @CalledByNative
- public int getCurrentWidth() {
- return currentWidth;
- }
-
- @CalledByNative
- public int getMinZoom() {
- return minZoom;
- }
-
- @CalledByNative
- public int getMaxZoom() {
- return maxZoom;
- }
-
- @CalledByNative
- public int getCurrentZoom() {
- return currentZoom;
- }
-
- @CalledByNative
- public boolean getAutoFocusInUse() {
- return autoFocusInUse;
- }
-}

Powered by Google App Engine
This is Rietveld 408576698