Searched refs:touchableRect (Results 1 – 2 of 2) sorted by relevance
641 const Rect& windowRect, Rect& touchableRect) in ParseAndCheckRect() argument645 touchableRect.posX_ = data; in ParseAndCheckRect()651 touchableRect.posY_ = data; in ParseAndCheckRect()658 touchableRect.width_ = udata; in ParseAndCheckRect()664 touchableRect.height_ = udata; in ParseAndCheckRect()669 if ((touchableRect.posX_ < 0) || (touchableRect.posY_ < 0) || in ParseAndCheckRect()670 (touchableRect.posX_ > static_cast<int32_t>(windowRect.width_)) || in ParseAndCheckRect()671 (touchableRect.posY_ > static_cast<int32_t>(windowRect.height_)) || in ParseAndCheckRect()672 (touchableRect.width_ > (windowRect.width_ - static_cast<uint32_t>(touchableRect.posX_))) || in ParseAndCheckRect()673 … (touchableRect.height_ > (windowRect.height_ - static_cast<uint32_t>(touchableRect.posY_)))) { in ParseAndCheckRect()
303 … ParseAndCheckRect(napi_env env, napi_value jsObject, const Rect& windowRect, Rect& touchableRect);