JavaCameraView.html 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="en">
  4. <head>
  5. <!-- Generated by javadoc (1.8.0_65) on Fri Dec 18 18:19:50 MSK 2015 -->
  6. <title>JavaCameraView</title>
  7. <meta name="date" content="2015-12-18">
  8. <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
  9. <script type="text/javascript" src="../../../script.js"></script>
  10. </head>
  11. <body>
  12. <script type="text/javascript"><!--
  13. try {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="JavaCameraView";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":10};
  22. var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
  23. var altColor = "altColor";
  24. var rowColor = "rowColor";
  25. var tableTab = "tableTab";
  26. var activeTableTab = "activeTableTab";
  27. </script>
  28. <noscript>
  29. <div>JavaScript is disabled on your browser.</div>
  30. </noscript>
  31. <!-- ========= START OF TOP NAVBAR ======= -->
  32. <div class="topNav"><a name="navbar.top">
  33. <!-- -->
  34. </a>
  35. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  36. <a name="navbar.top.firstrow">
  37. <!-- -->
  38. </a>
  39. <ul class="navList" title="Navigation">
  40. <li><a href="../../../overview-summary.html">Overview</a></li>
  41. <li><a href="package-summary.html">Package</a></li>
  42. <li class="navBarCell1Rev">Class</li>
  43. <li><a href="package-tree.html">Tree</a></li>
  44. <li><a href="../../../index-all.html">Index</a></li>
  45. <li><a href="../../../help-doc.html">Help</a></li>
  46. </ul>
  47. <div class="aboutLanguage">OpenCV 3.1.0</div>
  48. </div>
  49. <div class="subNav">
  50. <ul class="navList">
  51. <li><a href="../../../org/opencv/android/InstallCallbackInterface.html" title="interface in org.opencv.android"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  52. <li><a href="../../../org/opencv/android/JavaCameraView.JavaCameraSizeAccessor.html" title="class in org.opencv.android"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  53. </ul>
  54. <ul class="navList">
  55. <li><a href="../../../index.html?org/opencv/android/JavaCameraView.html" target="_top">Frames</a></li>
  56. <li><a href="JavaCameraView.html" target="_top">No&nbsp;Frames</a></li>
  57. </ul>
  58. <ul class="navList" id="allclasses_navbar_top">
  59. <li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  60. </ul>
  61. <div>
  62. <script type="text/javascript"><!--
  63. allClassesLink = document.getElementById("allclasses_navbar_top");
  64. if(window==top) {
  65. allClassesLink.style.display = "block";
  66. }
  67. else {
  68. allClassesLink.style.display = "none";
  69. }
  70. //-->
  71. </script>
  72. </div>
  73. <div>
  74. <ul class="subNavList">
  75. <li>Summary:&nbsp;</li>
  76. <li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
  77. <li><a href="#fields.inherited.from.class.org.opencv.android.CameraBridgeViewBase">Field</a>&nbsp;|&nbsp;</li>
  78. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  79. <li><a href="#method.summary">Method</a></li>
  80. </ul>
  81. <ul class="subNavList">
  82. <li>Detail:&nbsp;</li>
  83. <li>Field&nbsp;|&nbsp;</li>
  84. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  85. <li><a href="#method.detail">Method</a></li>
  86. </ul>
  87. </div>
  88. <a name="skip.navbar.top">
  89. <!-- -->
  90. </a></div>
  91. <!-- ========= END OF TOP NAVBAR ========= -->
  92. <!-- ======== START OF CLASS DATA ======== -->
  93. <div class="header">
  94. <div class="subTitle">org.opencv.android</div>
  95. <h2 title="Class JavaCameraView" class="title">Class JavaCameraView</h2>
  96. </div>
  97. <div class="contentContainer">
  98. <ul class="inheritance">
  99. <li>java.lang.Object</li>
  100. <li>
  101. <ul class="inheritance">
  102. <li>android.view.View</li>
  103. <li>
  104. <ul class="inheritance">
  105. <li>android.view.SurfaceView</li>
  106. <li>
  107. <ul class="inheritance">
  108. <li><a href="../../../org/opencv/android/CameraBridgeViewBase.html" title="class in org.opencv.android">org.opencv.android.CameraBridgeViewBase</a></li>
  109. <li>
  110. <ul class="inheritance">
  111. <li>org.opencv.android.JavaCameraView</li>
  112. </ul>
  113. </li>
  114. </ul>
  115. </li>
  116. </ul>
  117. </li>
  118. </ul>
  119. </li>
  120. </ul>
  121. <div class="description">
  122. <ul class="blockList">
  123. <li class="blockList">
  124. <dl>
  125. <dt>All Implemented Interfaces:</dt>
  126. <dd>android.graphics.drawable.Drawable.Callback, android.hardware.Camera.PreviewCallback, android.view.accessibility.AccessibilityEventSource, android.view.KeyEvent.Callback, android.view.SurfaceHolder.Callback</dd>
  127. </dl>
  128. <hr>
  129. <br>
  130. <pre>public class <span class="typeNameLabel">JavaCameraView</span>
  131. extends <a href="../../../org/opencv/android/CameraBridgeViewBase.html" title="class in org.opencv.android">CameraBridgeViewBase</a>
  132. implements android.hardware.Camera.PreviewCallback</pre>
  133. <div class="block">This class is an implementation of the Bridge View between OpenCV and Java Camera.
  134. This class relays on the functionality available in base class and only implements
  135. required functions:
  136. connectCamera - opens Java camera and sets the PreviewCallback to be delivered.
  137. disconnectCamera - closes the camera and stops preview.
  138. When frame is delivered via callback from Camera - it processed via OpenCV to be
  139. converted to RGBA32 and then passed to the external callback for modifications if required.</div>
  140. </li>
  141. </ul>
  142. </div>
  143. <div class="summary">
  144. <ul class="blockList">
  145. <li class="blockList">
  146. <!-- ======== NESTED CLASS SUMMARY ======== -->
  147. <ul class="blockList">
  148. <li class="blockList"><a name="nested.class.summary">
  149. <!-- -->
  150. </a>
  151. <h3>Nested Class Summary</h3>
  152. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
  153. <caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
  154. <tr>
  155. <th class="colFirst" scope="col">Modifier and Type</th>
  156. <th class="colLast" scope="col">Class and Description</th>
  157. </tr>
  158. <tr class="altColor">
  159. <td class="colFirst"><code>static class&nbsp;</code></td>
  160. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/android/JavaCameraView.JavaCameraSizeAccessor.html" title="class in org.opencv.android">JavaCameraView.JavaCameraSizeAccessor</a></span></code>&nbsp;</td>
  161. </tr>
  162. </table>
  163. <ul class="blockList">
  164. <li class="blockList"><a name="nested.classes.inherited.from.class.org.opencv.android.CameraBridgeViewBase">
  165. <!-- -->
  166. </a>
  167. <h3>Nested classes/interfaces inherited from class&nbsp;org.opencv.android.<a href="../../../org/opencv/android/CameraBridgeViewBase.html" title="class in org.opencv.android">CameraBridgeViewBase</a></h3>
  168. <code><a href="../../../org/opencv/android/CameraBridgeViewBase.CvCameraViewFrame.html" title="interface in org.opencv.android">CameraBridgeViewBase.CvCameraViewFrame</a>, <a href="../../../org/opencv/android/CameraBridgeViewBase.CvCameraViewListener.html" title="interface in org.opencv.android">CameraBridgeViewBase.CvCameraViewListener</a>, <a href="../../../org/opencv/android/CameraBridgeViewBase.CvCameraViewListener2.html" title="interface in org.opencv.android">CameraBridgeViewBase.CvCameraViewListener2</a>, <a href="../../../org/opencv/android/CameraBridgeViewBase.ListItemAccessor.html" title="interface in org.opencv.android">CameraBridgeViewBase.ListItemAccessor</a></code></li>
  169. </ul>
  170. <ul class="blockList">
  171. <li class="blockList"><a name="nested.classes.inherited.from.class.android.view.View">
  172. <!-- -->
  173. </a>
  174. <h3>Nested classes/interfaces inherited from class&nbsp;android.view.View</h3>
  175. <code>android.view.View.AccessibilityDelegate, android.view.View.BaseSavedState, android.view.View.DragShadowBuilder, android.view.View.MeasureSpec, android.view.View.OnAttachStateChangeListener, android.view.View.OnClickListener, android.view.View.OnCreateContextMenuListener, android.view.View.OnDragListener, android.view.View.OnFocusChangeListener, android.view.View.OnGenericMotionListener, android.view.View.OnHoverListener, android.view.View.OnKeyListener, android.view.View.OnLayoutChangeListener, android.view.View.OnLongClickListener, android.view.View.OnSystemUiVisibilityChangeListener, android.view.View.OnTouchListener</code></li>
  176. </ul>
  177. </li>
  178. </ul>
  179. <!-- =========== FIELD SUMMARY =========== -->
  180. <ul class="blockList">
  181. <li class="blockList"><a name="field.summary">
  182. <!-- -->
  183. </a>
  184. <h3>Field Summary</h3>
  185. <ul class="blockList">
  186. <li class="blockList"><a name="fields.inherited.from.class.org.opencv.android.CameraBridgeViewBase">
  187. <!-- -->
  188. </a>
  189. <h3>Fields inherited from class&nbsp;org.opencv.android.<a href="../../../org/opencv/android/CameraBridgeViewBase.html" title="class in org.opencv.android">CameraBridgeViewBase</a></h3>
  190. <code><a href="../../../org/opencv/android/CameraBridgeViewBase.html#CAMERA_ID_ANY">CAMERA_ID_ANY</a>, <a href="../../../org/opencv/android/CameraBridgeViewBase.html#CAMERA_ID_BACK">CAMERA_ID_BACK</a>, <a href="../../../org/opencv/android/CameraBridgeViewBase.html#CAMERA_ID_FRONT">CAMERA_ID_FRONT</a>, <a href="../../../org/opencv/android/CameraBridgeViewBase.html#GRAY">GRAY</a>, <a href="../../../org/opencv/android/CameraBridgeViewBase.html#RGBA">RGBA</a></code></li>
  191. </ul>
  192. <ul class="blockList">
  193. <li class="blockList"><a name="fields.inherited.from.class.android.view.View">
  194. <!-- -->
  195. </a>
  196. <h3>Fields inherited from class&nbsp;android.view.View</h3>
  197. <code>ALPHA, DRAWING_CACHE_QUALITY_AUTO, DRAWING_CACHE_QUALITY_HIGH, DRAWING_CACHE_QUALITY_LOW, FIND_VIEWS_WITH_CONTENT_DESCRIPTION, FIND_VIEWS_WITH_TEXT, FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT, FOCUS_RIGHT, FOCUS_UP, FOCUSABLES_ALL, FOCUSABLES_TOUCH_MODE, GONE, HAPTIC_FEEDBACK_ENABLED, INVISIBLE, KEEP_SCREEN_ON, LAYER_TYPE_HARDWARE, LAYER_TYPE_NONE, LAYER_TYPE_SOFTWARE, MEASURED_HEIGHT_STATE_SHIFT, MEASURED_SIZE_MASK, MEASURED_STATE_MASK, MEASURED_STATE_TOO_SMALL, NO_ID, OVER_SCROLL_ALWAYS, OVER_SCROLL_IF_CONTENT_SCROLLS, OVER_SCROLL_NEVER, ROTATION, ROTATION_X, ROTATION_Y, SCALE_X, SCALE_Y, SCROLLBAR_POSITION_DEFAULT, SCROLLBAR_POSITION_LEFT, SCROLLBAR_POSITION_RIGHT, SCROLLBARS_INSIDE_INSET, SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET, SCROLLBARS_OUTSIDE_OVERLAY, SOUND_EFFECTS_ENABLED, STATUS_BAR_HIDDEN, STATUS_BAR_VISIBLE, SYSTEM_UI_FLAG_HIDE_NAVIGATION, SYSTEM_UI_FLAG_LOW_PROFILE, SYSTEM_UI_FLAG_VISIBLE, TRANSLATION_X, TRANSLATION_Y, VISIBLE, X, Y</code></li>
  198. </ul>
  199. </li>
  200. </ul>
  201. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  202. <ul class="blockList">
  203. <li class="blockList"><a name="constructor.summary">
  204. <!-- -->
  205. </a>
  206. <h3>Constructor Summary</h3>
  207. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  208. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  209. <tr>
  210. <th class="colOne" scope="col">Constructor and Description</th>
  211. </tr>
  212. <tr class="altColor">
  213. <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/opencv/android/JavaCameraView.html#JavaCameraView-android.content.Context-android.util.AttributeSet-">JavaCameraView</a></span>(android.content.Context&nbsp;context,
  214. android.util.AttributeSet&nbsp;attrs)</code>&nbsp;</td>
  215. </tr>
  216. <tr class="rowColor">
  217. <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/opencv/android/JavaCameraView.html#JavaCameraView-android.content.Context-int-">JavaCameraView</a></span>(android.content.Context&nbsp;context,
  218. int&nbsp;cameraId)</code>&nbsp;</td>
  219. </tr>
  220. </table>
  221. </li>
  222. </ul>
  223. <!-- ========== METHOD SUMMARY =========== -->
  224. <ul class="blockList">
  225. <li class="blockList"><a name="method.summary">
  226. <!-- -->
  227. </a>
  228. <h3>Method Summary</h3>
  229. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  230. <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
  231. <tr>
  232. <th class="colFirst" scope="col">Modifier and Type</th>
  233. <th class="colLast" scope="col">Method and Description</th>
  234. </tr>
  235. <tr id="i0" class="altColor">
  236. <td class="colFirst"><code>void</code></td>
  237. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/android/JavaCameraView.html#onPreviewFrame-byte:A-android.hardware.Camera-">onPreviewFrame</a></span>(byte[]&nbsp;frame,
  238. android.hardware.Camera&nbsp;arg1)</code>&nbsp;</td>
  239. </tr>
  240. </table>
  241. <ul class="blockList">
  242. <li class="blockList"><a name="methods.inherited.from.class.org.opencv.android.CameraBridgeViewBase">
  243. <!-- -->
  244. </a>
  245. <h3>Methods inherited from class&nbsp;org.opencv.android.<a href="../../../org/opencv/android/CameraBridgeViewBase.html" title="class in org.opencv.android">CameraBridgeViewBase</a></h3>
  246. <code><a href="../../../org/opencv/android/CameraBridgeViewBase.html#disableFpsMeter--">disableFpsMeter</a>, <a href="../../../org/opencv/android/CameraBridgeViewBase.html#disableView--">disableView</a>, <a href="../../../org/opencv/android/CameraBridgeViewBase.html#enableFpsMeter--">enableFpsMeter</a>, <a href="../../../org/opencv/android/CameraBridgeViewBase.html#enableView--">enableView</a>, <a href="../../../org/opencv/android/CameraBridgeViewBase.html#setCameraIndex-int-">setCameraIndex</a>, <a href="../../../org/opencv/android/CameraBridgeViewBase.html#SetCaptureFormat-int-">SetCaptureFormat</a>, <a href="../../../org/opencv/android/CameraBridgeViewBase.html#setCvCameraViewListener-org.opencv.android.CameraBridgeViewBase.CvCameraViewListener-">setCvCameraViewListener</a>, <a href="../../../org/opencv/android/CameraBridgeViewBase.html#setCvCameraViewListener-org.opencv.android.CameraBridgeViewBase.CvCameraViewListener2-">setCvCameraViewListener</a>, <a href="../../../org/opencv/android/CameraBridgeViewBase.html#setMaxFrameSize-int-int-">setMaxFrameSize</a>, <a href="../../../org/opencv/android/CameraBridgeViewBase.html#surfaceChanged-android.view.SurfaceHolder-int-int-int-">surfaceChanged</a>, <a href="../../../org/opencv/android/CameraBridgeViewBase.html#surfaceCreated-android.view.SurfaceHolder-">surfaceCreated</a>, <a href="../../../org/opencv/android/CameraBridgeViewBase.html#surfaceDestroyed-android.view.SurfaceHolder-">surfaceDestroyed</a></code></li>
  247. </ul>
  248. <ul class="blockList">
  249. <li class="blockList"><a name="methods.inherited.from.class.android.view.SurfaceView">
  250. <!-- -->
  251. </a>
  252. <h3>Methods inherited from class&nbsp;android.view.SurfaceView</h3>
  253. <code>draw, gatherTransparentRegion, getHolder, setVisibility, setZOrderMediaOverlay, setZOrderOnTop</code></li>
  254. </ul>
  255. <ul class="blockList">
  256. <li class="blockList"><a name="methods.inherited.from.class.android.view.View">
  257. <!-- -->
  258. </a>
  259. <h3>Methods inherited from class&nbsp;android.view.View</h3>
  260. <code>addFocusables, addFocusables, addOnAttachStateChangeListener, addOnLayoutChangeListener, addTouchables, animate, bringToFront, buildDrawingCache, buildDrawingCache, buildLayer, cancelLongPress, canScrollHorizontally, canScrollVertically, checkInputConnectionProxy, clearAnimation, clearFocus, combineMeasuredStates, computeScroll, createAccessibilityNodeInfo, createContextMenu, destroyDrawingCache, dispatchConfigurationChanged, dispatchDisplayHint, dispatchDragEvent, dispatchGenericMotionEvent, dispatchKeyEvent, dispatchKeyEventPreIme, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchSystemUiVisibilityChanged, dispatchTouchEvent, dispatchTrackballEvent, dispatchUnhandledMove, dispatchWindowFocusChanged, dispatchWindowVisibilityChanged, findFocus, findViewById, findViewsWithText, findViewWithTag, fitsSystemWindows, focusSearch, forceLayout, getAlpha, getAnimation, getApplicationWindowToken, getBackground, getBaseline, getBottom, getContentDescription, getContext, getDefaultSize, getDrawableState, getDrawingCache, getDrawingCache, getDrawingCacheBackgroundColor, getDrawingCacheQuality, getDrawingRect, getDrawingTime, getFilterTouchesWhenObscured, getFocusables, getFocusedRect, getGlobalVisibleRect, getGlobalVisibleRect, getHandler, getHeight, getHitRect, getHorizontalFadingEdgeLength, getId, getKeepScreenOn, getKeyDispatcherState, getLayerType, getLayoutParams, getLeft, getLocalVisibleRect, getLocationInWindow, getLocationOnScreen, getMatrix, getMeasuredHeight, getMeasuredHeightAndState, getMeasuredState, getMeasuredWidth, getMeasuredWidthAndState, getNextFocusDownId, getNextFocusForwardId, getNextFocusLeftId, getNextFocusRightId, getNextFocusUpId, getOnFocusChangeListener, getOverScrollMode, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getParent, getPivotX, getPivotY, getResources, getRight, getRootView, getRotation, getRotationX, getRotationY, getScaleX, getScaleY, getScrollBarStyle, getScrollX, getScrollY, getSolidColor, getSystemUiVisibility, getTag, getTag, getTop, getTouchables, getTouchDelegate, getTranslationX, getTranslationY, getVerticalFadingEdgeLength, getVerticalScrollbarPosition, getVerticalScrollbarWidth, getViewTreeObserver, getVisibility, getWidth, getWindowToken, getWindowVisibility, getWindowVisibleDisplayFrame, getX, getY, hasFocus, hasFocusable, hasWindowFocus, inflate, invalidate, invalidate, invalidate, invalidateDrawable, isActivated, isClickable, isDirty, isDrawingCacheEnabled, isDuplicateParentStateEnabled, isEnabled, isFocusable, isFocusableInTouchMode, isFocused, isHapticFeedbackEnabled, isHardwareAccelerated, isHorizontalFadingEdgeEnabled, isHorizontalScrollBarEnabled, isHovered, isInEditMode, isInTouchMode, isLayoutRequested, isLongClickable, isOpaque, isPressed, isSaveEnabled, isSaveFromParentEnabled, isScrollbarFadingEnabled, isSelected, isShown, isSoundEffectsEnabled, isVerticalFadingEdgeEnabled, isVerticalScrollBarEnabled, jumpDrawablesToCurrentState, layout, measure, offsetLeftAndRight, offsetTopAndBottom, onCheckIsTextEditor, onCreateInputConnection, onDragEvent, onFilterTouchEventForSecurity, onFinishTemporaryDetach, onGenericMotionEvent, onHoverChanged, onHoverEvent, onInitializeAccessibilityEvent, onInitializeAccessibilityNodeInfo, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyPreIme, onKeyShortcut, onKeyUp, onPopulateAccessibilityEvent, onStartTemporaryDetach, onTouchEvent, onTrackballEvent, onWindowFocusChanged, performClick, performHapticFeedback, performHapticFeedback, performLongClick, playSoundEffect, post, postDelayed, postInvalidate, postInvalidate, postInvalidateDelayed, postInvalidateDelayed, refreshDrawableState, removeCallbacks, removeOnAttachStateChangeListener, removeOnLayoutChangeListener, requestFocus, requestFocus, requestFocus, requestFocusFromTouch, requestLayout, requestRectangleOnScreen, requestRectangleOnScreen, resolveSize, resolveSizeAndState, restoreHierarchyState, saveHierarchyState, scheduleDrawable, scrollBy, scrollTo, sendAccessibilityEvent, sendAccessibilityEventUnchecked, setAccessibilityDelegate, setActivated, setAlpha, setAnimation, setBackgroundColor, setBackgroundDrawable, setBackgroundResource, setBottom, setCameraDistance, setClickable, setContentDescription, setDrawingCacheBackgroundColor, setDrawingCacheEnabled, setDrawingCacheQuality, setDuplicateParentStateEnabled, setEnabled, setFadingEdgeLength, setFilterTouchesWhenObscured, setFitsSystemWindows, setFocusable, setFocusableInTouchMode, setHapticFeedbackEnabled, setHorizontalFadingEdgeEnabled, setHorizontalScrollBarEnabled, setHovered, setId, setKeepScreenOn, setLayerType, setLayoutParams, setLeft, setLongClickable, setMinimumHeight, setMinimumWidth, setNextFocusDownId, setNextFocusForwardId, setNextFocusLeftId, setNextFocusRightId, setNextFocusUpId, setOnClickListener, setOnCreateContextMenuListener, setOnDragListener, setOnFocusChangeListener, setOnGenericMotionListener, setOnHoverListener, setOnKeyListener, setOnLongClickListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setOverScrollMode, setPadding, setPivotX, setPivotY, setPressed, setRight, setRotation, setRotationX, setRotationY, setSaveEnabled, setSaveFromParentEnabled, setScaleX, setScaleY, setScrollbarFadingEnabled, setScrollBarStyle, setScrollContainer, setScrollX, setScrollY, setSelected, setSoundEffectsEnabled, setSystemUiVisibility, setTag, setTag, setTop, setTouchDelegate, setTranslationX, setTranslationY, setVerticalFadingEdgeEnabled, setVerticalScrollBarEnabled, setVerticalScrollbarPosition, setWillNotCacheDrawing, setWillNotDraw, setX, setY, showContextMenu, startActionMode, startAnimation, startDrag, unscheduleDrawable, unscheduleDrawable, willNotCacheDrawing, willNotDraw</code></li>
  261. </ul>
  262. <ul class="blockList">
  263. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  264. <!-- -->
  265. </a>
  266. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  267. <code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  268. </ul>
  269. </li>
  270. </ul>
  271. </li>
  272. </ul>
  273. </div>
  274. <div class="details">
  275. <ul class="blockList">
  276. <li class="blockList">
  277. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  278. <ul class="blockList">
  279. <li class="blockList"><a name="constructor.detail">
  280. <!-- -->
  281. </a>
  282. <h3>Constructor Detail</h3>
  283. <a name="JavaCameraView-android.content.Context-android.util.AttributeSet-">
  284. <!-- -->
  285. </a>
  286. <ul class="blockList">
  287. <li class="blockList">
  288. <h4>JavaCameraView</h4>
  289. <pre>public&nbsp;JavaCameraView(android.content.Context&nbsp;context,
  290. android.util.AttributeSet&nbsp;attrs)</pre>
  291. </li>
  292. </ul>
  293. <a name="JavaCameraView-android.content.Context-int-">
  294. <!-- -->
  295. </a>
  296. <ul class="blockListLast">
  297. <li class="blockList">
  298. <h4>JavaCameraView</h4>
  299. <pre>public&nbsp;JavaCameraView(android.content.Context&nbsp;context,
  300. int&nbsp;cameraId)</pre>
  301. </li>
  302. </ul>
  303. </li>
  304. </ul>
  305. <!-- ============ METHOD DETAIL ========== -->
  306. <ul class="blockList">
  307. <li class="blockList"><a name="method.detail">
  308. <!-- -->
  309. </a>
  310. <h3>Method Detail</h3>
  311. <a name="onPreviewFrame-byte:A-android.hardware.Camera-">
  312. <!-- -->
  313. </a>
  314. <ul class="blockListLast">
  315. <li class="blockList">
  316. <h4>onPreviewFrame</h4>
  317. <pre>public&nbsp;void&nbsp;onPreviewFrame(byte[]&nbsp;frame,
  318. android.hardware.Camera&nbsp;arg1)</pre>
  319. <dl>
  320. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  321. <dd><code>onPreviewFrame</code>&nbsp;in interface&nbsp;<code>android.hardware.Camera.PreviewCallback</code></dd>
  322. </dl>
  323. </li>
  324. </ul>
  325. </li>
  326. </ul>
  327. </li>
  328. </ul>
  329. </div>
  330. </div>
  331. <!-- ========= END OF CLASS DATA ========= -->
  332. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  333. <div class="bottomNav"><a name="navbar.bottom">
  334. <!-- -->
  335. </a>
  336. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  337. <a name="navbar.bottom.firstrow">
  338. <!-- -->
  339. </a>
  340. <ul class="navList" title="Navigation">
  341. <li><a href="../../../overview-summary.html">Overview</a></li>
  342. <li><a href="package-summary.html">Package</a></li>
  343. <li class="navBarCell1Rev">Class</li>
  344. <li><a href="package-tree.html">Tree</a></li>
  345. <li><a href="../../../index-all.html">Index</a></li>
  346. <li><a href="../../../help-doc.html">Help</a></li>
  347. </ul>
  348. <div class="aboutLanguage"><a href="http://docs.opencv.org">OpenCV 3.1.0 Documentation</a></div>
  349. </div>
  350. <div class="subNav">
  351. <ul class="navList">
  352. <li><a href="../../../org/opencv/android/InstallCallbackInterface.html" title="interface in org.opencv.android"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  353. <li><a href="../../../org/opencv/android/JavaCameraView.JavaCameraSizeAccessor.html" title="class in org.opencv.android"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  354. </ul>
  355. <ul class="navList">
  356. <li><a href="../../../index.html?org/opencv/android/JavaCameraView.html" target="_top">Frames</a></li>
  357. <li><a href="JavaCameraView.html" target="_top">No&nbsp;Frames</a></li>
  358. </ul>
  359. <ul class="navList" id="allclasses_navbar_bottom">
  360. <li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  361. </ul>
  362. <div>
  363. <script type="text/javascript"><!--
  364. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  365. if(window==top) {
  366. allClassesLink.style.display = "block";
  367. }
  368. else {
  369. allClassesLink.style.display = "none";
  370. }
  371. //-->
  372. </script>
  373. </div>
  374. <div>
  375. <ul class="subNavList">
  376. <li>Summary:&nbsp;</li>
  377. <li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
  378. <li><a href="#fields.inherited.from.class.org.opencv.android.CameraBridgeViewBase">Field</a>&nbsp;|&nbsp;</li>
  379. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  380. <li><a href="#method.summary">Method</a></li>
  381. </ul>
  382. <ul class="subNavList">
  383. <li>Detail:&nbsp;</li>
  384. <li>Field&nbsp;|&nbsp;</li>
  385. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  386. <li><a href="#method.detail">Method</a></li>
  387. </ul>
  388. </div>
  389. <a name="skip.navbar.bottom">
  390. <!-- -->
  391. </a></div>
  392. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  393. </body>
  394. </html>