Searched refs:ADJUST_WEB_DRAW_LENGTH (Results 1 – 2 of 2) sorted by relevance
48 const uint32_t ADJUST_WEB_DRAW_LENGTH = 3000; variable416 …if (webOffset_ >= 0 || bufferHeight < ADJUST_WEB_DRAW_LENGTH * 2 || bufferHeight >= DEFAULT_WEB_DR… in DrawBuffer()419 int32_t stepStear = bufferHeight - ADJUST_WEB_DRAW_LENGTH * 2; in DrawBuffer()420 orgin_.SetY(stepStear * ADJUST_WEB_DRAW_LENGTH); in DrawBuffer()423 …if (webOffset_ >= 0 || bufferWidth < ADJUST_WEB_DRAW_LENGTH * 2 || bufferWidth >= DEFAULT_WEB_DRAW… in DrawBuffer()426 int32_t stepStear = bufferWidth - ADJUST_WEB_DRAW_LENGTH * 2; in DrawBuffer()427 orgin_.SetX(stepStear * ADJUST_WEB_DRAW_LENGTH); in DrawBuffer()
256 constexpr uint32_t ADJUST_WEB_DRAW_LENGTH = 3000; variable6029 SetDrawRect(0, 0, ADJUST_WEB_DRAW_LENGTH + ADJUST_WEB_DRAW_LENGTH, drawRectHeight_); in CalculateHorizontalDrawRect()6035 int32_t stepGear = (-fitContentOffset_.GetX()) / ADJUST_WEB_DRAW_LENGTH; in CalculateHorizontalDrawRect()6036 int32_t width = ADJUST_WEB_DRAW_LENGTH * 2 + stepGear; in CalculateHorizontalDrawRect()6038 int32_t x = ADJUST_WEB_DRAW_LENGTH * stepGear; in CalculateHorizontalDrawRect()6054 SetDrawRect(0, 0, drawRectWidth_, ADJUST_WEB_DRAW_LENGTH + ADJUST_WEB_DRAW_LENGTH); in CalculateVerticalDrawRect()6060 int32_t stepGear = (-fitContentOffset_.GetY()) / ADJUST_WEB_DRAW_LENGTH; in CalculateVerticalDrawRect()6062 int32_t height = ADJUST_WEB_DRAW_LENGTH * 2 + stepGear; in CalculateVerticalDrawRect()6064 int32_t y = ADJUST_WEB_DRAW_LENGTH * stepGear; in CalculateVerticalDrawRect()