Home
last modified time | relevance | path

Searched refs:resolution (Results 1 – 25 of 42) sorted by relevance

12

/foundation/ability/ability_base/interfaces/kits/native/configuration/src/
Dconfiguration_convertor.cpp25 auto resolution = Global::Resource::ColorMode::COLOR_MODE_NOT_SET; in ConvertColorMode() local
34 resolution = value; in ConvertColorMode()
39 return resolution; in ConvertColorMode()
50 auto resolution = Global::Resource::Direction::DIRECTION_NOT_SET; in ConvertDirection() local
59 resolution = value; in ConvertDirection()
64 return resolution; in ConvertDirection()
80 auto resolution = Global::Resource::ScreenDensity::SCREEN_DENSITY_NOT_SET; in ConvertDensity() local
82 resolution = value; in ConvertDensity()
87 return resolution; in ConvertDensity()
92 auto resolution = Global::Resource::ScreenDensity::SCREEN_DENSITY_NOT_SET; in ConvertDensity() local
[all …]
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/
Djs_data_converter.cpp27 auto resolution = Global::Resource::ColorMode::COLOR_MODE_NOT_SET; in ConvertColorMode() local
36 resolution = value; in ConvertColorMode()
41 return resolution; in ConvertColorMode()
55 auto resolution = Global::Resource::ScreenDensity::SCREEN_DENSITY_NOT_SET; in ConvertDensity() local
68 resolution = value; in ConvertDensity()
73 return resolution; in ConvertDensity()
78 auto resolution = Global::Resource::Direction::DIRECTION_NOT_SET; in ConvertDirection() local
87 resolution = value; in ConvertDirection()
92 return resolution; in ConvertDirection()
/foundation/arkui/ace_engine/frameworks/base/resource/
Dace_res_config.h42 ResolutionType resolution) in AceResConfig() argument
44 resolution_(resolution) in AceResConfig()
49 DeviceType deviceType, ResolutionType resolution) in AceResConfig() argument
51 … orientation_(orientation), colorMode_(colorMode), deviceType_(deviceType), resolution_(resolution) in AceResConfig()
74 static ResolutionType GetResolutionType(double resolution);
75 static LongScreenType GetLongScreenType(double resolution);
Dace_res_config.cpp943 ResolutionType AceResConfig::GetResolutionType(double resolution) in GetResolutionType() argument
947 …[](double resolution) { return GreatNotEqual(resolution, 0.0) && LessNotEqual(resolution, 0.875); … in GetResolutionType()
949 …[](double resolution) { return GreatOrEqual(resolution, 0.875) && LessNotEqual(resolution, 1.25); … in GetResolutionType()
951 …[](double resolution) { return GreatOrEqual(resolution, 1.25) && LessNotEqual(resolution, 1.75); }… in GetResolutionType()
953 …[](double resolution) { return GreatOrEqual(resolution, 1.75) && LessNotEqual(resolution, 2.5); } … in GetResolutionType()
955 …[](double resolution) { return GreatOrEqual(resolution, 2.5) && LessNotEqual(resolution, 3.5); } }, in GetResolutionType()
956 …{ ResolutionType::RESOLUTION_XXXHDPI, [](double resolution) { return GreatOrEqual(resolution, 3.5)… in GetResolutionType()
960 if (idx.value(resolution)) { in GetResolutionType()
967 LongScreenType AceResConfig::GetLongScreenType(double resolution) in GetLongScreenType() argument
969 if (GreatNotEqual(resolution, 1.5)) { in GetLongScreenType()
[all …]
/foundation/multimodalinput/input/frameworks/proxy/events/src/
Dinput_device.cpp156 …o::AxisInfo(int32_t type, int32_t min, int32_t max, int32_t fuzz, int32_t flat, int32_t resolution) in AxisInfo() argument
157 …axisType_(type), minimum_(min), maximum_(max), fuzz_(fuzz), flat_(flat), resolution_(resolution) {} in AxisInfo()
209 void InputDevice::AxisInfo::SetResolution(int32_t resolution) in SetResolution() argument
211 resolution_ = resolution; in SetResolution()
/foundation/arkui/ace_engine/adapter/preview/osal/
Dresource_convertor.cpp62 auto resolution = Global::Resource::ScreenDensity::SCREEN_DENSITY_NOT_SET; in ConvertDensityToGlobal() local
64 resolution = value; in ConvertDensityToGlobal()
69 return resolution; in ConvertDensityToGlobal()
Dsystem_properties.cpp119 int32_t deviceWidth, int32_t deviceHeight, int32_t orientation, double resolution, bool isRound) in InitDeviceInfo() argument
131 resolution_ = resolution; in InitDeviceInfo()
/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/client/test/sample/
Ddcamera_client_demo.h150 std::string resolution = std::to_string(width_) + "_" + std::to_string(height_); in SaveFile() local
151 std::string fileName = "/data/log/dcamera_preview_" + resolution + ".yuv"; in SaveFile()
182 std::string resolution = std::to_string(width_) + "_" + std::to_string(height_); in SaveFile() local
183 std::string fileName = "/data/log/dcamera_video_" + resolution + ".yuv"; in SaveFile()
/foundation/arkui/ace_engine/frameworks/base/utils/
Dsystem_properties.h65 … int32_t deviceWidth, int32_t deviceHeight, int32_t orientation, double resolution, bool isRound);
131 static void SetResolution(double resolution) in SetResolution() argument
133 resolution_ = resolution; in SetResolution()
/foundation/arkui/ace_engine/adapter/ohos/osal/
Dresource_convertor.cpp62 auto resolution = Global::Resource::ScreenDensity::SCREEN_DENSITY_NOT_SET; in ConvertDensityToGlobal() local
64 resolution = value; in ConvertDensityToGlobal()
69 return resolution; in ConvertDensityToGlobal()
/foundation/distributedhardware/distributed_camera/test/distributedcameraclienttest/
Ddcamera_client_demo.h150 std::string resolution = std::to_string(width_) + "_" + std::to_string(height_); in SaveFile() local
151 std::string fileName = "/data/log/dcamera_preview_" + resolution + ".yuv"; in SaveFile()
182 std::string resolution = std::to_string(width_) + "_" + std::to_string(height_); in SaveFile() local
183 std::string fileName = "/data/log/dcamera_video_" + resolution + ".yuv"; in SaveFile()
/foundation/multimodalinput/input/interfaces/native/innerkits/event/include/
Dinput_device.h88 … AxisInfo(int32_t type, int32_t min, int32_t max, int32_t fuzz, int32_t flat, int32_t resolution);
100 void SetResolution(int32_t resolution);
/foundation/multimedia/media_lite/services/player_lite/impl/
Dplayer_impl.cpp174 const StreamResolution *resolution = &fileInfo->stSteamResolution[i]; in ShowFileInfo() local
175 if (resolution->u32Width == 0 || resolution->u32Height == 0) { in ShowFileInfo()
178 MEDIA_INFO_LOG("video[%d],w=%u,h=%u,index=%d ", i, resolution->u32Width, in ShowFileInfo()
179 resolution->u32Height, resolution->s32VideoStreamIndex); in ShowFileInfo()
336 StreamResolution *resolution = &formatFileInfo_.stSteamResolution[i]; in SetMediaStream() local
337 if (resolution->s32VideoStreamIndex == mediaAttr_.s32VidStreamId) { in SetMediaStream()
339 resolution->u32Width, resolution->u32Height, mediaAttr_.s32VidStreamId); in SetMediaStream()
/foundation/arkui/ace_engine/adapter/preview/entrance/
Dace_ability.cpp382 const DeviceOrientation& orientation, const double& resolution, int32_t& width, int32_t& height) in SurfaceChanged() argument
393 … width, height, orientation == DeviceOrientation::PORTRAIT ? 0 : 1, resolution, runArgs_.isRound); in SurfaceChanged()
396 deviceConfig.density = resolution; in SurfaceChanged()
398 viewPtr->NotifyDensityChanged(resolution); in SurfaceChanged()
401 (resolution != runArgs_.deviceConfig.density && configChanges_.watchDensity) || in SurfaceChanged()
406 runArgs_.deviceConfig.density = resolution; in SurfaceChanged()
Dace_ability.h80 … const DeviceOrientation& orientation, const double& resolution, int32_t& width, int32_t& height);
/foundation/communication/bluetooth/frameworks/js/napi/src/common/
Dnapi_async_callback.cpp152 void NapiPromise::Resolve(napi_value resolution) in Resolve() argument
154 auto status = napi_resolve_deferred(env_, deferred_, resolution); in Resolve()
/foundation/multimedia/media_lite/services/player_lite/impl/player_control/player/
Dliteplayer.cpp613 StreamResolution resolution = { 0 }; in SetVDecAttr() local
614 if (GetVideoResolution(fmtFileInfo_.s32UsedVideoStreamIndex, resolution) != HI_SUCCESS) { in SetVDecAttr()
618 vdecAttr_.maxWidth = resolution.u32Width; in SetVDecAttr()
619 vdecAttr_.maxHeight = resolution.u32Height; in SetVDecAttr()
620 vdecAttr_.type = resolution.enVideoType; in SetVDecAttr()
640 StreamResolution resolution = { 0 }; in SetStreamAttr() local
641 if (GetVideoResolution(fmtFileInfo_.s32UsedVideoStreamIndex, resolution) != HI_SUCCESS) { in SetStreamAttr()
904 int32_t PlayerControl::GetVideoResolution(int32_t streamIdx, StreamResolution &resolution) in GetVideoResolution() argument
913 resolution.enVideoType = fmtFileInfo_.stSteamResolution[i].enVideoType; in GetVideoResolution()
914 resolution.s32VideoStreamIndex = fmtFileInfo_.stSteamResolution[i].s32VideoStreamIndex; in GetVideoResolution()
[all …]
/foundation/communication/bluetooth/frameworks/js/napi/include/
Dnapi_async_callback.h71 void Resolve(napi_value resolution);
/foundation/multimodalinput/input/frameworks/napi/input_device/src/
Djs_util.cpp158 napi_value resolution = nullptr; in GetDeviceAxisInfo() local
159 CHKRF(napi_create_int32(cb->env, item.GetResolution(), &resolution), CREATE_INT32); in GetDeviceAxisInfo()
160 … CHKRF(napi_set_named_property(cb->env, axisRange, "resolution", resolution), SET_NAMED_PROPERTY); in GetDeviceAxisInfo()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/
Dkv_store_delegate_impl.h86 …ConflictResolutionPolicy(ResolutionPolicyType type, const ConflictResolution &resolution) override;
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/include/
Dkv_store_delegate.h91 const ConflictResolution &resolution) = 0;
/foundation/multimedia/player_framework/services/engine/gstreamer/common/playbin_adapter/
Dplaybin_state.cpp153 std::pair<int32_t, int32_t> resolution; in HandleResolutionChange() local
161 resolution.first = msg.detail2; in HandleResolutionChange()
162 resolution.second = msg.detail1; in HandleResolutionChange()
164 resolution.first = msg.detail1; in HandleResolutionChange()
165 resolution.second = msg.detail2; in HandleResolutionChange()
167 …ayBinMessage playBinMsg { PLAYBIN_MSG_SUBTYPE, PLAYBIN_SUB_MSG_VIDEO_SIZE_CHANGED, 0, resolution }; in HandleResolutionChange()
/foundation/distributeddatamgr/datamgr_service/
DREADME.md25 …es data access, data reduction, transactions, snapshots, data combination, and conflict resolution.
65 - Currently, DDS does not allow customization of conflict resolution policies.
106 - **Conflict resolution policy for the distributed database**
108 …fault conflict resolution policy is used, that is, the data modification committed later takes eff…
/foundation/multimodalinput/input/patch/prebuild_eudev/hwdb.d/
D70-mouse.hwdb70 # Where <dpi> is the resolution in dots per inch, and <frequency> the
76 # - a single integer for single-resolution mice, e.g.
80 # - a space-separated list of resolutions for multi-resolution mice.
81 # The default resolution must be prefixed by an asterisk, the resolutions
92 # If the default manufacturer-set resolution is unclear, a resolution of
94 # available, choose the "middle" resolution value of those available.
99 # Local changes to the non-default resolution of the mouse (e.g. through
161 # For mice with switchable resolution, sort by the starred entry.
/foundation/multimedia/player_framework/services/engine/gstreamer/player/
Dplayer_engine_gst_impl.cpp314 std::pair<int32_t, int32_t> resolution = std::any_cast<std::pair<int32_t, int32_t>>(msg.extra); in HandleVideoSizeChanged() local
316 (void)format.PutIntValue(std::string(PlayerKeys::PLAYER_WIDTH), resolution.first); in HandleVideoSizeChanged()
317 (void)format.PutIntValue(std::string(PlayerKeys::PLAYER_HEIGHT), resolution.second); in HandleVideoSizeChanged()
318 …video size changed, width = %{public}d, height = %{public}d", resolution.first, resolution.second); in HandleVideoSizeChanged()
323 videoWidth_ = resolution.first; in HandleVideoSizeChanged()
324 videoHeight_ = resolution.second; in HandleVideoSizeChanged()

12