• Home
  • Raw
  • Download

Lines Matching refs:focusAreas

715     OMX_ALGOAREASTYPE *focusAreas;  in setTouchFocus()  local
733 focusAreas = (OMX_ALGOAREASTYPE*) bufferlist[0].opaque; in setTouchFocus()
738 if (!focusAreas) in setTouchFocus()
744 OMX_INIT_STRUCT_PTR (focusAreas, OMX_ALGOAREASTYPE); in setTouchFocus()
746 focusAreas->nPortIndex = OMX_ALL; in setTouchFocus()
747 focusAreas->nNumAreas = mFocusAreas.size(); in setTouchFocus()
748 focusAreas->nAlgoAreaPurpose = OMX_AlgoAreaFocus; in setTouchFocus()
755 focusAreas->nNumAreas = 0; in setTouchFocus()
772 (size_t&)focusAreas->tAlgoAreas[n].nTop, in setTouchFocus()
773 (size_t&)focusAreas->tAlgoAreas[n].nLeft, in setTouchFocus()
774 (size_t&)focusAreas->tAlgoAreas[n].nWidth, in setTouchFocus()
775 (size_t&)focusAreas->tAlgoAreas[n].nHeight); in setTouchFocus()
777 focusAreas->tAlgoAreas[n].nLeft = in setTouchFocus()
778 ( focusAreas->tAlgoAreas[n].nLeft * TOUCH_FOCUS_RANGE ) / mPreviewData->mWidth; in setTouchFocus()
779 focusAreas->tAlgoAreas[n].nTop = in setTouchFocus()
780 ( focusAreas->tAlgoAreas[n].nTop* TOUCH_FOCUS_RANGE ) / mPreviewData->mHeight; in setTouchFocus()
781 focusAreas->tAlgoAreas[n].nWidth = in setTouchFocus()
782 ( focusAreas->tAlgoAreas[n].nWidth * TOUCH_FOCUS_RANGE ) / mPreviewData->mWidth; in setTouchFocus()
783 focusAreas->tAlgoAreas[n].nHeight = in setTouchFocus()
784 … ( focusAreas->tAlgoAreas[n].nHeight * TOUCH_FOCUS_RANGE ) / mPreviewData->mHeight; in setTouchFocus()
785 focusAreas->tAlgoAreas[n].nPriority = mFocusAreas.itemAt(n)->getWeight(); in setTouchFocus()
788 n, (int)focusAreas->tAlgoAreas[n].nTop, (int)focusAreas->tAlgoAreas[n].nLeft, in setTouchFocus()
789 (int)focusAreas->tAlgoAreas[n].nWidth, (int)focusAreas->tAlgoAreas[n].nHeight, in setTouchFocus()
790 (int)focusAreas->tAlgoAreas[n].nPriority); in setTouchFocus()