Home
last modified time | relevance | path

Searched refs:GetDeviceType (Results 1 - 25 of 275) sorted by relevance

1234567891011

/foundation/arkui/ace_engine/frameworks/core/components/focus_animation/
H A Drender_focus_animation.cpp54 if (SystemProperties::GetDeviceType() == DeviceType::TV) { in Update()
107 if (SystemProperties::GetDeviceType() == DeviceType::TV) { in SetFocusAnimationProperties()
113 } else if (SystemProperties::GetDeviceType() == DeviceType::PHONE) { in SetFocusAnimationProperties()
126 if (SystemProperties::GetDeviceType() == DeviceType::TV) { in SetFocusAnimationProperties()
136 if (SystemProperties::GetDeviceType() == DeviceType::TV) { in CancelFocusAnimation()
149 if (SystemProperties::GetDeviceType() != DeviceType::TV) { in StopFocusAnimation()
159 if (SystemProperties::GetDeviceType() == DeviceType::PHONE) { in StartFocusAnimation()
161 } else if (SystemProperties::GetDeviceType() == DeviceType::TV) { in StartFocusAnimation()
/foundation/ability/ability_runtime/test/unittest/app_utils_test/
H A Dapp_utils_test.cpp56 std::string deviceType = OHOS::system::GetDeviceType(); in HWTEST_F()
76 std::string deviceType = OHOS::system::GetDeviceType(); in HWTEST_F()
96 std::string deviceType = OHOS::system::GetDeviceType(); in HWTEST_F()
116 std::string deviceType = OHOS::system::GetDeviceType(); in HWTEST_F()
136 std::string deviceType = OHOS::system::GetDeviceType(); in HWTEST_F()
156 std::string deviceType = OHOS::system::GetDeviceType(); in HWTEST_F()
176 std::string deviceType = OHOS::system::GetDeviceType(); in HWTEST_F()
196 std::string deviceType = OHOS::system::GetDeviceType(); in HWTEST_F()
216 std::string deviceType = OHOS::system::GetDeviceType(); in HWTEST_F()
236 std::string deviceType = OHOS::system::GetDeviceType(); in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/shadow/
H A Drender_shadow.cpp27 if (SystemProperties::GetDeviceType() != DeviceType::TV) { in SetShadowProperties()
38 if (SystemProperties::GetDeviceType() != DeviceType::TV) { in SetShadowProperties()
51 if (SystemProperties::GetDeviceType() != DeviceType::TV) { in CancelShadow()
/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Dpicker_column_component.cpp55 if (SystemProperties::GetDeviceType() == DeviceType::PHONE && in Initialize()
65 option->SetDisappear((SystemProperties::GetDeviceType() != DeviceType::WATCH && in Initialize()
66 SystemProperties::GetDeviceType() != DeviceType::UNKNOWN && showCount >= 5 && in Initialize()
H A Drender_picker_option.cpp35 if (SystemProperties::GetDeviceType() == DeviceType::WATCH || in RenderPickerOption()
36 SystemProperties::GetDeviceType() == DeviceType::UNKNOWN) { in RenderPickerOption()
315 if (SystemProperties::GetDeviceType() != DeviceType::PHONE) { in UpdatePhoneFocus()
346 if (SystemProperties::GetDeviceType() != DeviceType::TV) { in UpdateFocus()
384 if (SystemProperties::GetDeviceType() != DeviceType::TV) { in RefreshFocus()
411 if (SystemProperties::GetDeviceType() != DeviceType::WATCH && in LayoutBox()
412 SystemProperties::GetDeviceType() != DeviceType::UNKNOWN && selected_ && !autoLayout_) { in LayoutBox()
H A Drender_picker_value.cpp94 if (SystemProperties::GetDeviceType() != DeviceType::TV) { in HandleTextFocus()
97 if (SystemProperties::GetDeviceType() != DeviceType::PHONE) { in HandleTextFocus()
/foundation/arkui/ace_engine/frameworks/bridge/common/media_query/
H A Dmedia_query_info.cpp23 std::string MediaQueryInfo::GetDeviceType() in GetDeviceType() function in OHOS::Ace::Framework::MediaQueryInfo
31 switch (SystemProperties::GetDeviceType()) { in GetDeviceType()
97 json->Put("device-type", GetDeviceType().c_str()); in GetMediaQueryJsonInfo()
/foundation/arkui/ace_engine_lite/frameworks/src/core/base/
H A Dsystem_info.cpp42 deviceType_ = ProductAdapter::GetDeviceType(); in Initialize()
60 const char *SystemInfo::GetDeviceType() const in GetDeviceType() function in OHOS::ACELite::SystemInfo
/foundation/arkui/ace_engine/frameworks/core/components/calendar/
H A Drender_calendar.cpp118 if (SystemProperties::GetDeviceType() == DeviceType::TV && !cardCalendar_) { in PerformLayout()
136 if (SystemProperties::GetDeviceType() == DeviceType::TV && IsValid(focusIndex_) && in OnDataChanged()
190 } else if (SystemProperties::GetDeviceType() == DeviceType::TV) { in OnSelectedDay()
227 if (SystemProperties::GetDeviceType() == DeviceType::TV) { in OnStatusChanged()
248 if (SystemProperties::GetDeviceType() == DeviceType::TV) { in OnDateSelected()
251 if (SystemProperties::GetDeviceType() == DeviceType::WATCH && in OnDateSelected()
300 if (SystemProperties::GetDeviceType() == DeviceType::TV) { in FocusChanged()
322 if (SystemProperties::GetDeviceType() == DeviceType::TV) { in HandleClick()
418 if ((SystemProperties::GetDeviceType() != DeviceType::WATCH && type_ != CalendarType::SIMPLE) || in UpdateBreakInformation()
/foundation/arkui/ace_engine/frameworks/core/components/option/
H A Doption_component.cpp68 icon_->SetAlignment((SystemProperties::GetDeviceType() == DeviceType::TV ? in Initialize()
114 double minFontSize = (SystemProperties::GetDeviceType() == DeviceType::TV ? in Initialize()
117 if (SystemProperties::GetDeviceType() == DeviceType::TV) { in Initialize()
/foundation/arkui/ace_engine/frameworks/core/components/checkable/
H A Drender_checkable.h81 return SystemProperties::GetDeviceType() == DeviceType::PHONE; in IsPhone()
85 return SystemProperties::GetDeviceType() == DeviceType::TABLET || in IsTablet()
86 SystemProperties::GetDeviceType() == DeviceType::TWO_IN_ONE; in IsTablet()
/foundation/arkui/ace_engine/test/unittest/core/accessibility/
H A Djs_inspector_test.cpp90 DeviceType deviceType = SystemProperties::GetDeviceType(); in CheckToggleAttrAndStyle()
133 DeviceType deviceType = SystemProperties::GetDeviceType(); in CheckTextAreaAttrAndStyle()
160 DeviceType deviceType = SystemProperties::GetDeviceType(); in CheckTextAttrAndStyle()
192 DeviceType deviceType = SystemProperties::GetDeviceType(); in CheckTabBarAttrAndStyle()
211 DeviceType deviceType = SystemProperties::GetDeviceType(); in CheckSwiperAttrAndStyle()
243 DeviceType deviceType = SystemProperties::GetDeviceType(); in CheckSliderAttrAndStyle()
277 DeviceType deviceType = SystemProperties::GetDeviceType(); in CheckRefreshAttrAndStyle()
311 DeviceType deviceType = SystemProperties::GetDeviceType(); in CheckRatingAttrAndStyle()
336 DeviceType deviceType = SystemProperties::GetDeviceType(); in CheckProgressAttrAndStyle()
365 DeviceType deviceType = SystemProperties::GetDeviceType(); in CheckButtonAttrAndStyle()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/rating/
H A Drender_rating.h99 return SystemProperties::GetDeviceType() == DeviceType::TV; in IsTv()
103 return SystemProperties::GetDeviceType() == DeviceType::PHONE; in IsPhone()
107 return SystemProperties::GetDeviceType() == DeviceType::TABLET || in IsTablet()
108 SystemProperties::GetDeviceType() == DeviceType::TWO_IN_ONE; in IsTablet()
/foundation/deviceprofile/device_info_manager/old/services/core/src/devicemanager/
H A Ddevice_info.cpp30 int32_t DeviceInfo::GetDeviceType() const in GetDeviceType() function in OHOS::DeviceProfile::DeviceInfo
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/include/parameter/
H A Dparameter.h20 char *GetDeviceType();
/foundation/ability/dmsfwk/services/dtbabilitymgr/src/continuation_manager/
H A Dcontinuation_extra_params.cpp62 parcel.WriteString16Vector(ContinationManagerUtils::Str8VecToStr16Vec(GetDeviceType())); in Marshalling()
76 std::vector<std::string> ContinuationExtraParams::GetDeviceType() const in GetDeviceType() function in OHOS::DistributedSchedule::ContinuationExtraParams
H A Dcontinuation_result.cpp60 parcel.WriteString16(Str8ToStr16(GetDeviceType())); in Marshalling()
80 std::string ContinuationResult::GetDeviceType() const in GetDeviceType() function in OHOS::DistributedSchedule::ContinuationResult
/foundation/arkui/ace_engine_lite/frameworks/src/core/base/test/unittest/common/
H A Dsystem_info_tdd_test.cpp53 const char *deviceType = SystemInfo::GetInstance().GetDeviceType(); in HWTEST_F()
125 const char *deviceType = SystemInfo::GetInstance().GetDeviceType(); in HWTEST_F()
/foundation/distributedhardware/device_manager/common/src/dfx/standard/
H A Ddm_hidumper.cpp100 std::string deviceType = GetDeviceType(nodeInfos_[i].deviceTypeId); in ShowAllLoadTrustedList()
109 std::string HiDumpHelper::GetDeviceType(int32_t deviceTypeId) in GetDeviceType() function in OHOS::DistributedHardware::HiDumpHelper
/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/device_registrar/
H A Ddevice_registrar_test.cpp48 virtual int32_t GetDeviceType(V2_0::DeviceType& deviceType) = 0;
101 OH_NN_ReturnCode GetDeviceType(OH_NN_DeviceType& deviceType) override
167 MOCK_METHOD1(GetDeviceType, int32_t(V2_0::DeviceType&));
/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/device_registrar/
H A Ddevice_registrar_test.cpp48 virtual int32_t GetDeviceType(V1_0::DeviceType& deviceType) = 0;
101 OH_NN_ReturnCode GetDeviceType(OH_NN_DeviceType& deviceType) override
167 MOCK_METHOD1(GetDeviceType, int32_t(V1_0::DeviceType&));
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/
H A Dtool_bar_layout_algorithm.cpp42 if (SystemProperties::GetDeviceType() == DeviceType::PHONE && in GetToolbarContainerMaxWidth()
52 if (SystemProperties::GetDeviceType() == DeviceType::TABLET && in GetToolbarContainerMaxWidth()
62 if (SystemProperties::GetDeviceType() == DeviceType::TABLET && in GetToolbarContainerMaxWidth()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/resourcemanager/
H A Dmeta_capability_info.cpp102 if (this->GetDeviceType() != metaCapInfo.GetDeviceType()) { in Compare()
156 cJSON_AddNumberToObject(jsonObject, DEV_TYPE.c_str(), (double)metaCapInfo.GetDeviceType()); in ToJson()
/foundation/ability/dmsfwk/services/dtbschedmgr/src/deviceManager/
H A Ddms_device_info.cpp36 int32_t DmsDeviceInfo::GetDeviceType() const in GetDeviceType() function in OHOS::DistributedSchedule::DmsDeviceInfo
/foundation/arkui/ace_engine/frameworks/core/accessibility/js_inspector/
H A Dinspect_tab_bar.cpp30 DeviceType deviceType = SystemProperties::GetDeviceType(); in PackAttrAndStyle()

Completed in 20 milliseconds

1234567891011