/foundation/ability/ability_base/interfaces/kits/native/configuration/src/ |
D | configuration_convertor.cpp | 25 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/ |
D | js_data_converter.cpp | 27 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/ |
D | ace_res_config.h | 42 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);
|
D | ace_res_config.cpp | 943 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/ |
D | input_device.cpp | 156 …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/ |
D | resource_convertor.cpp | 62 auto resolution = Global::Resource::ScreenDensity::SCREEN_DENSITY_NOT_SET; in ConvertDensityToGlobal() local 64 resolution = value; in ConvertDensityToGlobal() 69 return resolution; in ConvertDensityToGlobal()
|
D | system_properties.cpp | 119 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/ |
D | dcamera_client_demo.h | 150 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/ |
D | system_properties.h | 65 … 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/ |
D | resource_convertor.cpp | 62 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/ |
D | dcamera_client_demo.h | 150 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/ |
D | input_device.h | 88 … 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/ |
D | player_impl.cpp | 174 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/ |
D | ace_ability.cpp | 382 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()
|
D | ace_ability.h | 80 … const DeviceOrientation& orientation, const double& resolution, int32_t& width, int32_t& height);
|
/foundation/communication/bluetooth/frameworks/js/napi/src/common/ |
D | napi_async_callback.cpp | 152 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/ |
D | liteplayer.cpp | 613 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/ |
D | napi_async_callback.h | 71 void Resolve(napi_value resolution);
|
/foundation/multimodalinput/input/frameworks/napi/input_device/src/ |
D | js_util.cpp | 158 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/ |
D | kv_store_delegate_impl.h | 86 …ConflictResolutionPolicy(ResolutionPolicyType type, const ConflictResolution &resolution) override;
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/include/ |
D | kv_store_delegate.h | 91 const ConflictResolution &resolution) = 0;
|
/foundation/multimedia/player_framework/services/engine/gstreamer/common/playbin_adapter/ |
D | playbin_state.cpp | 153 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/ |
D | README.md | 25 …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/ |
D | 70-mouse.hwdb | 70 # 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/ |
D | player_engine_gst_impl.cpp | 314 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()
|