-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
314 additions
and
135 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
out/production/Gallery4Glass/com/w9jds/gallery4glass/BuildConfig.class
Binary file not shown.
Binary file modified
BIN
-4 Bytes
(100%)
out/production/Gallery4Glass/com/w9jds/gallery4glass/CameraActivity$1.class
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
out/production/Gallery4Glass/com/w9jds/gallery4glass/CameraActivity$2.class
Binary file not shown.
Binary file modified
BIN
+143 Bytes
(110%)
out/production/Gallery4Glass/com/w9jds/gallery4glass/CameraActivity$3.class
Binary file not shown.
Binary file modified
BIN
-2 Bytes
(100%)
out/production/Gallery4Glass/com/w9jds/gallery4glass/CameraActivity$4.class
Binary file not shown.
Binary file modified
BIN
+287 Bytes
(110%)
out/production/Gallery4Glass/com/w9jds/gallery4glass/CameraActivity$SavePhotoTask.class
Binary file not shown.
Binary file modified
BIN
+1.01 KB
(120%)
out/production/Gallery4Glass/com/w9jds/gallery4glass/CameraActivity.class
Binary file not shown.
Binary file added
BIN
+692 Bytes
out/production/Gallery4Glass/com/w9jds/gallery4glass/Widget/OpenCVSurface.class
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package com.w9jds.gallery4glass.Widget; | ||
|
||
import android.content.Context; | ||
import android.hardware.Camera; | ||
import android.util.AttributeSet; | ||
|
||
import org.opencv.android.JavaCameraView; | ||
|
||
/** | ||
* Created by w9jds on 3/25/14. | ||
*/ | ||
public class OpenCVSurface extends JavaCameraView | ||
{ | ||
|
||
public OpenCVSurface(Context cContext, AttributeSet args) | ||
{ | ||
super(cContext, args); | ||
|
||
this.setKeepScreenOn(true); | ||
} | ||
|
||
public Camera getCamera() | ||
{ | ||
return mCamera; | ||
} | ||
|
||
} |