Lines Matching refs:CameraArea
118 status_t CameraArea::transfrom(size_t width, in transfrom()
131 hRange = CameraArea::RIGHT - CameraArea::LEFT; in transfrom()
132 vRange = CameraArea::BOTTOM - CameraArea::TOP; in transfrom()
148 status_t CameraArea::checkArea(ssize_t top, in checkArea()
160 if ( ( CameraArea::WEIGHT_MIN > weight ) || ( CameraArea::WEIGHT_MAX < weight ) ) { in checkArea()
165 if ( ( CameraArea::TOP > top ) || ( CameraArea::BOTTOM < top ) ) { in checkArea()
170 if ( ( CameraArea::TOP > bottom ) || ( CameraArea::BOTTOM < bottom ) ) { in checkArea()
175 if ( ( CameraArea::LEFT > left ) || ( CameraArea::RIGHT < left ) ) { in checkArea()
180 if ( ( CameraArea::LEFT > right ) || ( CameraArea::RIGHT < right ) ) { in checkArea()
198 status_t CameraArea::parseAreas(const char *area, in parseAreas()
200 android::Vector<android::sp<CameraArea> > &areas) in parseAreas()
212 android::sp<CameraArea> currentArea; in parseAreas()
303 currentArea = new CameraArea(top, left, bottom, right, weight); in parseAreas()
335 bool CameraArea::areAreasDifferent(android::Vector< android::sp<CameraArea> > &area1, in areAreasDifferent()
336 android::Vector< android::sp<CameraArea> > &area2) { in areAreasDifferent()
351 bool CameraArea::compare(const android::sp<CameraArea> &area) { in compare()