CameraPreviewView.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!--NewPage-->
  3. <HTML>
  4. <HEAD>
  5. <!-- Generated by javadoc (build 1.6.0_20) on Thu Apr 26 18:24:30 CEST 2012 -->
  6. <TITLE>
  7. CameraPreviewView
  8. </TITLE>
  9. <META NAME="date" CONTENT="2012-04-26">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
  11. <SCRIPT type="text/javascript">
  12. function windowTitle()
  13. {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="CameraPreviewView";
  16. }
  17. }
  18. </SCRIPT>
  19. <NOSCRIPT>
  20. </NOSCRIPT>
  21. </HEAD>
  22. <BODY BGCOLOR="white" onload="windowTitle();">
  23. <HR>
  24. <!-- ========= START OF TOP NAVBAR ======= -->
  25. <A NAME="navbar_top"><!-- --></A>
  26. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  27. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  28. <TR>
  29. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  30. <A NAME="navbar_top_firstrow"><!-- --></A>
  31. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  32. <TR ALIGN="center" VALIGN="top">
  33. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  36. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  39. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  40. </TR>
  41. </TABLE>
  42. </TD>
  43. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  44. </EM>
  45. </TD>
  46. </TR>
  47. <TR>
  48. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  49. &nbsp;PREV CLASS&nbsp;
  50. &nbsp;<A HREF="../../../../org/ros/android/view/DistanceView.html" title="class in org.ros.android.view"><B>NEXT CLASS</B></A></FONT></TD>
  51. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  52. <A HREF="../../../../index.html?org/ros/android/view/CameraPreviewView.html" target="_top"><B>FRAMES</B></A> &nbsp;
  53. &nbsp;<A HREF="CameraPreviewView.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  54. &nbsp;<SCRIPT type="text/javascript">
  55. <!--
  56. if(window==top) {
  57. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  58. }
  59. //-->
  60. </SCRIPT>
  61. <NOSCRIPT>
  62. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  63. </NOSCRIPT>
  64. </FONT></TD>
  65. </TR>
  66. <TR>
  67. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  68. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  69. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  70. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  71. </TR>
  72. </TABLE>
  73. <A NAME="skip-navbar_top"></A>
  74. <!-- ========= END OF TOP NAVBAR ========= -->
  75. <HR>
  76. <!-- ======== START OF CLASS DATA ======== -->
  77. <H2>
  78. <FONT SIZE="-1">
  79. org.ros.android.view</FONT>
  80. <BR>
  81. Class CameraPreviewView</H2>
  82. <PRE>
  83. java.lang.Object
  84. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">ViewGroup
  85. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.ros.android.view.CameraPreviewView</B>
  86. </PRE>
  87. <DL>
  88. <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/ros/android/view/RosCameraPreviewView.html" title="class in org.ros.android.view">RosCameraPreviewView</A></DD>
  89. </DL>
  90. <HR>
  91. <DL>
  92. <DT><PRE>public class <B>CameraPreviewView</B><DT>extends ViewGroup</DL>
  93. </PRE>
  94. <P>
  95. <HR>
  96. <P>
  97. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  98. <A NAME="constructor_summary"><!-- --></A>
  99. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  100. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  101. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  102. <B>Constructor Summary</B></FONT></TH>
  103. </TR>
  104. <TR BGCOLOR="white" CLASS="TableRowColor">
  105. <TD><CODE><B><A HREF="../../../../org/ros/android/view/CameraPreviewView.html#CameraPreviewView(Context)">CameraPreviewView</A></B>(Context&nbsp;context)</CODE>
  106. <BR>
  107. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  108. </TR>
  109. <TR BGCOLOR="white" CLASS="TableRowColor">
  110. <TD><CODE><B><A HREF="../../../../org/ros/android/view/CameraPreviewView.html#CameraPreviewView(Context, AttributeSet)">CameraPreviewView</A></B>(Context&nbsp;context,
  111. AttributeSet&nbsp;attrs)</CODE>
  112. <BR>
  113. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  114. </TR>
  115. <TR BGCOLOR="white" CLASS="TableRowColor">
  116. <TD><CODE><B><A HREF="../../../../org/ros/android/view/CameraPreviewView.html#CameraPreviewView(Context, AttributeSet, int)">CameraPreviewView</A></B>(Context&nbsp;context,
  117. AttributeSet&nbsp;attrs,
  118. int&nbsp;defStyle)</CODE>
  119. <BR>
  120. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  121. </TR>
  122. </TABLE>
  123. &nbsp;
  124. <!-- ========== METHOD SUMMARY =========== -->
  125. <A NAME="method_summary"><!-- --></A>
  126. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  127. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  128. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  129. <B>Method Summary</B></FONT></TH>
  130. </TR>
  131. <TR BGCOLOR="white" CLASS="TableRowColor">
  132. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  133. <CODE>protected &nbsp;void</CODE></FONT></TD>
  134. <TD><CODE><B><A HREF="../../../../org/ros/android/view/CameraPreviewView.html#onLayout(boolean, int, int, int, int)">onLayout</A></B>(boolean&nbsp;changed,
  135. int&nbsp;l,
  136. int&nbsp;t,
  137. int&nbsp;r,
  138. int&nbsp;b)</CODE>
  139. <BR>
  140. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  141. </TR>
  142. <TR BGCOLOR="white" CLASS="TableRowColor">
  143. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  144. <CODE>&nbsp;void</CODE></FONT></TD>
  145. <TD><CODE><B><A HREF="../../../../org/ros/android/view/CameraPreviewView.html#releaseCamera()">releaseCamera</A></B>()</CODE>
  146. <BR>
  147. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  148. </TR>
  149. <TR BGCOLOR="white" CLASS="TableRowColor">
  150. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  151. <CODE>&nbsp;void</CODE></FONT></TD>
  152. <TD><CODE><B><A HREF="../../../../org/ros/android/view/CameraPreviewView.html#setCamera(Camera)">setCamera</A></B>(Camera&nbsp;camera)</CODE>
  153. <BR>
  154. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  155. </TR>
  156. <TR BGCOLOR="white" CLASS="TableRowColor">
  157. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  158. <CODE>&nbsp;void</CODE></FONT></TD>
  159. <TD><CODE><B><A HREF="../../../../org/ros/android/view/CameraPreviewView.html#setPreviewCallback(PreviewCallback)">setPreviewCallback</A></B>(PreviewCallback&nbsp;previewCallback)</CODE>
  160. <BR>
  161. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  162. </TR>
  163. </TABLE>
  164. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  165. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  166. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  167. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  168. </TR>
  169. <TR BGCOLOR="white" CLASS="TableRowColor">
  170. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  171. </TR>
  172. </TABLE>
  173. &nbsp;
  174. <P>
  175. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  176. <A NAME="constructor_detail"><!-- --></A>
  177. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  178. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  179. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  180. <B>Constructor Detail</B></FONT></TH>
  181. </TR>
  182. </TABLE>
  183. <A NAME="CameraPreviewView(Context)"><!-- --></A><H3>
  184. CameraPreviewView</H3>
  185. <PRE>
  186. public <B>CameraPreviewView</B>(Context&nbsp;context)</PRE>
  187. <DL>
  188. </DL>
  189. <HR>
  190. <A NAME="CameraPreviewView(Context, AttributeSet)"><!-- --></A><H3>
  191. CameraPreviewView</H3>
  192. <PRE>
  193. public <B>CameraPreviewView</B>(Context&nbsp;context,
  194. AttributeSet&nbsp;attrs)</PRE>
  195. <DL>
  196. </DL>
  197. <HR>
  198. <A NAME="CameraPreviewView(Context, AttributeSet, int)"><!-- --></A><H3>
  199. CameraPreviewView</H3>
  200. <PRE>
  201. public <B>CameraPreviewView</B>(Context&nbsp;context,
  202. AttributeSet&nbsp;attrs,
  203. int&nbsp;defStyle)</PRE>
  204. <DL>
  205. </DL>
  206. <!-- ============ METHOD DETAIL ========== -->
  207. <A NAME="method_detail"><!-- --></A>
  208. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  209. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  210. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  211. <B>Method Detail</B></FONT></TH>
  212. </TR>
  213. </TABLE>
  214. <A NAME="releaseCamera()"><!-- --></A><H3>
  215. releaseCamera</H3>
  216. <PRE>
  217. public void <B>releaseCamera</B>()</PRE>
  218. <DL>
  219. <DD><DL>
  220. </DL>
  221. </DD>
  222. </DL>
  223. <HR>
  224. <A NAME="setPreviewCallback(PreviewCallback)"><!-- --></A><H3>
  225. setPreviewCallback</H3>
  226. <PRE>
  227. public void <B>setPreviewCallback</B>(PreviewCallback&nbsp;previewCallback)</PRE>
  228. <DL>
  229. <DD><DL>
  230. </DL>
  231. </DD>
  232. </DL>
  233. <HR>
  234. <A NAME="setCamera(Camera)"><!-- --></A><H3>
  235. setCamera</H3>
  236. <PRE>
  237. public void <B>setCamera</B>(Camera&nbsp;camera)</PRE>
  238. <DL>
  239. <DD><DL>
  240. </DL>
  241. </DD>
  242. </DL>
  243. <HR>
  244. <A NAME="onLayout(boolean, int, int, int, int)"><!-- --></A><H3>
  245. onLayout</H3>
  246. <PRE>
  247. protected void <B>onLayout</B>(boolean&nbsp;changed,
  248. int&nbsp;l,
  249. int&nbsp;t,
  250. int&nbsp;r,
  251. int&nbsp;b)</PRE>
  252. <DL>
  253. <DD><DL>
  254. </DL>
  255. </DD>
  256. </DL>
  257. <!-- ========= END OF CLASS DATA ========= -->
  258. <HR>
  259. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  260. <A NAME="navbar_bottom"><!-- --></A>
  261. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  262. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  263. <TR>
  264. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  265. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  266. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  267. <TR ALIGN="center" VALIGN="top">
  268. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  269. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  270. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  271. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  272. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  273. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  274. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  275. </TR>
  276. </TABLE>
  277. </TD>
  278. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  279. </EM>
  280. </TD>
  281. </TR>
  282. <TR>
  283. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  284. &nbsp;PREV CLASS&nbsp;
  285. &nbsp;<A HREF="../../../../org/ros/android/view/DistanceView.html" title="class in org.ros.android.view"><B>NEXT CLASS</B></A></FONT></TD>
  286. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  287. <A HREF="../../../../index.html?org/ros/android/view/CameraPreviewView.html" target="_top"><B>FRAMES</B></A> &nbsp;
  288. &nbsp;<A HREF="CameraPreviewView.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  289. &nbsp;<SCRIPT type="text/javascript">
  290. <!--
  291. if(window==top) {
  292. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  293. }
  294. //-->
  295. </SCRIPT>
  296. <NOSCRIPT>
  297. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  298. </NOSCRIPT>
  299. </FONT></TD>
  300. </TR>
  301. <TR>
  302. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  303. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  304. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  305. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  306. </TR>
  307. </TABLE>
  308. <A NAME="skip-navbar_bottom"></A>
  309. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  310. <HR>
  311. </BODY>
  312. </HTML>