Home
last modified time | relevance | path

Searched refs:CalendarType (Results 1 – 25 of 26) sorted by relevance

12

/ohos5.0/base/global/i18n/frameworks/intl/include/
H A Di18n_calendar.h30 enum CalendarType { enum
49 I18nCalendar(std::string localeTag, CalendarType type);
73 void InitCalendar(const icu::Locale &locale, CalendarType type);
74 void InitCalendar2(const icu::Locale &locale, CalendarType type, UErrorCode &status);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/calendar/
H A Dcalendar_component.h429 void SetCalendarType(CalendarType type) in SetCalendarType()
434 CalendarType GetCalendarType() const in GetCalendarType()
450 CalendarType type_ { CalendarType::NORMAL };
524 void SetCalendarType(CalendarType type) in SetCalendarType()
529 CalendarType GetCalendarType() const in GetCalendarType()
540 CalendarType type_ { CalendarType::NORMAL };
H A Drender_calendar.h126 CalendarType type_ { CalendarType::NORMAL };
H A Drosen_render_calendar.cpp185 topPadding_ = type_ == CalendarType::SIMPLE ? 0.0 : NormalizeToPx(calendarTheme_.topPadding); in PerformLayout()
210 } else if (type_ == CalendarType::SIMPLE) { in PerformLayout()
302 if (SystemProperties::GetDeviceType() == DeviceType::WATCH || type_ == CalendarType::SIMPLE) { in DrawFocusedArea()
314 type_ == CalendarType::SIMPLE in DrawFocusedArea()
324 if (SystemProperties::GetDeviceType() == DeviceType::WATCH || type_ == CalendarType::SIMPLE) { in DrawFocusedArea()
336 type_ == CalendarType::SIMPLE in DrawFocusedArea()
447 if (!day.dayMark.empty() && showHoliday_ && type_ == CalendarType::SIMPLE) { in PaintDay()
475 if ((SystemProperties::GetDeviceType() == DeviceType::WATCH || type_ == CalendarType::SIMPLE) && in PaintDay()
483 if (!day.dayMark.empty() && showHoliday_ && type_ != CalendarType::SIMPLE) { in PaintDay()
757 if ((SystemProperties::GetDeviceType() == DeviceType::WATCH || type_ == CalendarType::SIMPLE) &&
[all …]
H A Dcalendar_data_adapter.h191 CalendarType type { CalendarType::NORMAL };
470 CalendarType type_ { CalendarType::NORMAL };
H A Drender_calendar.cpp58 if (type_ != CalendarType::SIMPLE) { in Update()
313 if (type_ == CalendarType::SIMPLE) { in OnTouchTestHit()
418 if ((SystemProperties::GetDeviceType() != DeviceType::WATCH && type_ != CalendarType::SIMPLE) || in UpdateBreakInformation()
H A Dcalendar_data_adapter.cpp172 if (SystemProperties::GetDeviceType() == DeviceType::TV || type_ == CalendarType::NORMAL) { in RequestData()
187 …} else if (SystemProperties::GetDeviceType() == DeviceType::WATCH || type_ == CalendarType::SIMPLE… in RequestData()
270 if ((SystemProperties::GetDeviceType() == DeviceType::WATCH || type_ == CalendarType::SIMPLE) && in UpdateCardCalendarAttr()
H A Dcalendar_component.cpp330 if (type_ == CalendarType::SIMPLE) { in Build()
/ohos5.0/base/global/i18n/interfaces/js/kits/src/
H A Di18n_calendar_addon.cpp60 { "buddhist", CalendarType::BUDDHIST },
61 { "chinese", CalendarType::CHINESE },
62 { "coptic", CalendarType::COPTIC },
63 { "ethiopic", CalendarType::ETHIOPIC },
64 { "hebrew", CalendarType::HEBREW },
65 { "gregory", CalendarType::GREGORY },
66 { "indian", CalendarType::INDIAN },
70 { "japanese", CalendarType::JAPANESE },
71 { "persion", CalendarType::PERSIAN },
690 CalendarType type) in InitCalendarContext()
[all …]
/ohos5.0/base/global/i18n/interfaces/js/kits/include/
H A Di18n_calendar_addon.h54 static CalendarType GetCalendarType(napi_env env, napi_value value);
57 …darContext(napi_env env, napi_callback_info info, const std::string &localeTag, CalendarType type);
/ohos5.0/base/global/i18n/frameworks/intl/test/unittest/
H A Di18n_test.cpp213 I18nCalendar buddhistCalendar("zh-Hans", CalendarType::BUDDHIST);
217 I18nCalendar chineseCalendar("zh-Hans", CalendarType::CHINESE);
221 I18nCalendar copticCalendar("zh-Hans", CalendarType::COPTIC);
225 I18nCalendar ethiopicCalendar("zh-Hans", CalendarType::ETHIOPIC);
230 I18nCalendar hebrewCalendar("zh-Hans", CalendarType::HEBREW);
234 I18nCalendar gregoryCalendar("zh-Hans", CalendarType::GREGORY);
238 I18nCalendar indianCalendar("zh-Hans", CalendarType::INDIAN);
254 I18nCalendar japaneseCalendar("zh-Hans", CalendarType::JAPANESE);
267 I18nCalendar persianTblaCalendar("zh-Hans", CalendarType::PERSIAN);
271 I18nCalendar defaultCalendar("zh-Hans", CalendarType::UNDEFINED);
[all …]
/ohos5.0/base/global/i18n/frameworks/intl/src/
H A Di18n_calendar.cpp65 I18nCalendar::I18nCalendar(std::string localeTag, CalendarType type) in I18nCalendar()
82 void I18nCalendar::InitCalendar(const icu::Locale &locale, CalendarType type) in InitCalendar()
126 void I18nCalendar::InitCalendar2(const icu::Locale &locale, CalendarType type, UErrorCode &status) in InitCalendar2()
/ohos5.0/base/global/i18n/frameworks/intl/test/fuzztest/calendar_fuzzer/
H A Dcalendar_fuzzer.cpp34 I18nCalendar calendar(input, CalendarType::GREGORY); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_calendar.cpp107 calendar.calendarComponent_->SetCalendarType(CalendarType::NORMAL); in SetSpecializedAttr()
109 calendar.calendarComponent_->SetCalendarType(CalendarType::SIMPLE); in SetSpecializedAttr()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-calendar-kit/
H A Djs-apis-calendarManager.md148 type: calendarManager.CalendarType.LOCAL
205 type: calendarManager.CalendarType.LOCAL,
251 type: calendarManager.CalendarType.LOCAL
314 type: calendarManager.CalendarType.LOCAL
416 type: calendarManager.CalendarType.LOCAL
1502 | type | [CalendarType](#calendartype) | 否 | 否 | 账户类型。 |
1540 ## CalendarType section
/ohos5.0/docs/zh-cn/application-dev/calendarmanager/
H A Dcalendarmanager-calendar-developer.md110 type: calendarManager.CalendarType.LOCAL,
H A Dcalendarmanager-event-developer.md104 type: calendarManager.CalendarType.LOCAL,
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v4.0-beta2/
H A Djs-apidiff-application.md32 |新增|NA|类名:CalendarAccount;<br>方法or属性:type: CalendarType;|@ohos.calendarManager.d.ts|
50 |新增|NA|类名:CalendarType;<br>方法or属性:LOCAL = 'local'|@ohos.calendarManager.d.ts|
51 |新增|NA|类名:CalendarType;<br>方法or属性:EMAIL = 'email'|@ohos.calendarManager.d.ts|
52 |新增|NA|类名:CalendarType;<br>方法or属性:BIRTHDAY = 'birthday'|@ohos.calendarManager.d.ts|
53 |新增|NA|类名:CalendarType;<br>方法or属性:CALDAV = 'caldav'|@ohos.calendarManager.d.ts|
54 |新增|NA|类名:CalendarType;<br>方法or属性:SUBSCRIBED = 'subscribed'|@ohos.calendarManager.d.ts|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/
H A Djs-apidiff-application.md32 |新增|NA|类名:CalendarAccount;<br>方法or属性:type: CalendarType;|@ohos.calendarManager.d.ts|
50 |新增|NA|类名:CalendarType;<br>方法or属性:LOCAL = 'local'|@ohos.calendarManager.d.ts|
51 |新增|NA|类名:CalendarType;<br>方法or属性:EMAIL = 'email'|@ohos.calendarManager.d.ts|
52 |新增|NA|类名:CalendarType;<br>方法or属性:BIRTHDAY = 'birthday'|@ohos.calendarManager.d.ts|
53 |新增|NA|类名:CalendarType;<br>方法or属性:CALDAV = 'caldav'|@ohos.calendarManager.d.ts|
54 |新增|NA|类名:CalendarType;<br>方法or属性:SUBSCRIBED = 'subscribed'|@ohos.calendarManager.d.ts|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/layout/
H A Dconstants.h652 enum class CalendarType { enum
/ohos5.0/docs/en/application-dev/reference/apis-calendar-kit/
H A Djs-apis-calendarManager.md148 type: calendarManager.CalendarType.LOCAL
205 type: calendarManager.CalendarType.LOCAL,
251 type: calendarManager.CalendarType.LOCAL
314 type: calendarManager.CalendarType.LOCAL
416 type: calendarManager.CalendarType.LOCAL
1506 | type | [CalendarType](#calendartype) | No | No | Account type. |
1544 ## CalendarType section
/ohos5.0/docs/en/application-dev/calendarmanager/
H A Dcalendarmanager-calendar-developer.md110 type: calendarManager.CalendarType.LOCAL,
H A Dcalendarmanager-event-developer.md104 type: calendarManager.CalendarType.LOCAL,
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v4.0-beta2/
H A Djs-apidiff-application.md32 |Added|NA|Class name: CalendarAccount;<br>Method or attribute name: type: CalendarType;|@ohos.calen…
50 |Added|NA|Class name: CalendarType;<br>Method or attribute name: LOCAL = 'local'|@ohos.calendarMana…
51 |Added|NA|Class name: CalendarType;<br>Method or attribute name: EMAIL = 'email'|@ohos.calendarMana…
52 |Added|NA|Class name: CalendarType;<br>Method or attribute name: BIRTHDAY = 'birthday'|@ohos.calend…
53 |Added|NA|Class name: CalendarType;<br>Method or attribute name: CALDAV = 'caldav'|@ohos.calendarMa…
54 |Added|NA|Class name: CalendarType;<br>Method or attribute name: SUBSCRIBED = 'subscribed'|@ohos.ca…
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v3.2-Release/
H A Djs-apidiff-application.md32 |Added|NA|Class name: CalendarAccount;<br>Method or attribute name: type: CalendarType;|@ohos.calen…
50 |Added|NA|Class name: CalendarType;<br>Method or attribute name: LOCAL = 'local'|@ohos.calendarMana…
51 |Added|NA|Class name: CalendarType;<br>Method or attribute name: EMAIL = 'email'|@ohos.calendarMana…
52 |Added|NA|Class name: CalendarType;<br>Method or attribute name: BIRTHDAY = 'birthday'|@ohos.calend…
53 |Added|NA|Class name: CalendarType;<br>Method or attribute name: CALDAV = 'caldav'|@ohos.calendarMa…
54 |Added|NA|Class name: CalendarType;<br>Method or attribute name: SUBSCRIBED = 'subscribed'|@ohos.ca…

12