Home
last modified time | relevance | path

Searched refs:fixedX (Results 1 – 2 of 2) sorted by relevance

/base/global/i18n/frameworks/intl/src/
Di18n_timezone.cpp1040 int fixedX, fixedY; in GetTimezoneIdByLocation() local
1061 fixedX = (int)(y * (width / TZ_X_PLUS) + width / TZ_HALF_OF_SIZE); in GetTimezoneIdByLocation()
1063 if (ParamExceedScope(fixedX, fixedY, width, height * pathLen)) { in GetTimezoneIdByLocation()
1064 HiLog::Error(LABEL, "invalid width:%{public}d or height: %{public}d ", fixedX, fixedY); in GetTimezoneIdByLocation()
1068 std::vector<int> pixel = GetColorData(fixedX, fixedY, actualHeight, preferredPath); in GetTimezoneIdByLocation()
1205 int fixedX = (int)(x + TZ_X_PLUS); in GetPreferredPath() local
1210 if (fixedX >= atoi(left.c_str()) && fixedX < atoi(right.c_str())) { in GetPreferredPath()
1277 bool I18nTimeZone::ParamExceedScope(const int x, const int y, int fixedX, int fixedY) in ParamExceedScope() argument
1279 if (x < 0 || y < 0 || fixedX == 0 || fixedY == 0) { in ParamExceedScope()
1282 if (x > (fixedX - 1) || y > (fixedY - 1)) { in ParamExceedScope()
/base/global/i18n/frameworks/intl/include/
Di18n_timezone.h93 static bool ParamExceedScope(const int x, const int y, int fixedX, int fixedY);