/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/ |
H A 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() 56 auto resolution = Global::Resource::ScreenDensity::SCREEN_DENSITY_NOT_SET; in ConvertDensity() local 69 resolution = value; in ConvertDensity() 74 return resolution; in ConvertDensity() 79 auto resolution = Global::Resource::Direction::DIRECTION_NOT_SET; in ConvertDirection() local 88 resolution = value; in ConvertDirection() 93 return resolution; in ConvertDirection()
|
/foundation/ability/ability_base/interfaces/kits/native/configuration/src/ |
H A 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() 44 auto resolution = Global::Resource::TimeFormat::HOUR_NOT_SET; in ConvertTimeFormat() local 53 resolution = value; in ConvertTimeFormat() 58 return resolution; in ConvertTimeFormat() 69 auto resolution = Global::Resource::Direction::DIRECTION_NOT_SET; in ConvertDirection() local 78 resolution = value; in ConvertDirection() 83 return resolution; in ConvertDirection() 99 auto resolution in ConvertDensity() local 111 auto resolution = Global::Resource::ScreenDensity::SCREEN_DENSITY_NOT_SET; ConvertDensity() local [all...] |
/foundation/ability/ability_runtime/frameworks/cj/ffi/ |
H A D | cj_environment_callback.cpp | 30 auto resolution = -1; in ConvertColorMode() local 37 resolution = value; in ConvertColorMode() 41 return resolution; in ConvertColorMode() 46 auto resolution = -1; in ConvertDirection() local 53 resolution = value; in ConvertDirection() 57 return resolution; in ConvertDirection() 62 auto resolution = 0; in ConvertDensity() local 73 resolution = value; in ConvertDensity() 77 return resolution; in ConvertDensity()
|
/foundation/arkui/ace_engine/frameworks/base/resource/ |
H A D | ace_res_config.h | 42 ResolutionType resolution) in AceResConfig() 44 resolution_(resolution) in AceResConfig() 49 DeviceType deviceType, ResolutionType resolution) in AceResConfig() 51 orientation_(orientation), colorMode_(colorMode), deviceType_(deviceType), resolution_(resolution) in AceResConfig() 74 static ResolutionType GetResolutionType(double resolution); 75 static LongScreenType GetLongScreenType(double resolution); 41 AceResConfig(int32_t mcc, int32_t mnc, DeviceOrientation orientation, ColorMode colorMode, DeviceType deviceType, ResolutionType resolution) AceResConfig() argument 47 AceResConfig(const std::string& language, const std::string& script, const std::string& region, LongScreenType screenLong, ScreenShape screenShape, DeviceOrientation orientation, ColorMode colorMode, DeviceType deviceType, ResolutionType resolution) AceResConfig() argument
|
H A D | ace_res_config.cpp | 937 ResolutionType AceResConfig::GetResolutionType(double resolution) in GetResolutionType() argument 941 [](double resolution) { return GreatNotEqual(resolution, 0.0) && LessNotEqual(resolution, 0.875); } }, in GetResolutionType() 943 [](double resolution) { return GreatOrEqual(resolution, 0.875) && LessNotEqual(resolution, 1.25); } }, in GetResolutionType() 945 [](double resolution) { return GreatOrEqual(resolution, 1.25) && LessNotEqual(resolution, 1.7 in GetResolutionType() 961 GetLongScreenType(double resolution) GetLongScreenType() argument [all...] |
/foundation/multimodalinput/input/frameworks/proxy/events/src/ |
H A D | input_device.cpp | 156 InputDevice::AxisInfo::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/distributeddatamgr/relational_store/frameworks/native/rdb/include/ |
H A D | transaction_impl.h | 36 std::pair<int32_t, int64_t> Insert(const std::string &table, const Row &row, Resolution resolution) override; 40 const Values &args, Resolution resolution) override; 42 Resolution resolution) override;
|
H A D | trans_db.h | 27 std::pair<int, int64_t> Insert(const std::string &table, const Row &row, Resolution resolution) override; 30 Resolution resolution) override;
|
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/ |
H A D | transaction.h | 94 * @param resolution Indicates the {@link ConflictResolution} to insert data into the table. 97 Resolution resolution = NO_ACTION) = 0; 125 const Values &args = {}, Resolution resolution = NO_ACTION) = 0; 135 Resolution resolution = NO_ACTION) = 0;
|
H A D | rdb_store.h | 152 * @param resolution Indicates the {@link ConflictResolution} to insert data into the table. 154 virtual std::pair<int, int64_t> Insert(const std::string &table, const Row &row, Resolution resolution = NO_ACTION); 169 * @param resolution Indicates the {@link ConflictResolution} to insert data into the table. 173 Resolution resolution = NO_ACTION); 209 const Values &args = {}, Resolution resolution = NO_ACTION); 253 * @param resolution Indicates the {@link ConflictResolution} to insert data into the table. 258 const std::string &whereClause, const Olds &args, Resolution resolution = NO_ACTION); 268 * @param resolution Indicates the {@link ConflictResolution} to update data into the table. 271 const std::string &whereClause = "", const Values &args = {}, Resolution resolution = NO_ACTION);
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | transaction_impl.cpp | 167 std::pair<int, int64_t> TransactionImpl::Insert(const std::string &table, const Row &row, Resolution resolution) in Insert() argument 174 return store->Insert(table, row, resolution); in Insert() 200 const Values &args, Resolution resolution) in Update() 207 return store->Update(table, row, where, args, resolution); in Update() 211 Resolution resolution) in Update() 219 resolution); in Update() 199 Update(const std::string &table, const Row &row, const std::string &where, const Values &args, Resolution resolution) Update() argument 210 Update(const Row &row, const AbsRdbPredicates &predicates, Resolution resolution) Update() argument
|
H A D | rdb_store.cpp | 105 std::pair<int, int64_t> RdbStore::Insert(const std::string &table, const Row &row, Resolution resolution) in Insert() argument 109 (void)resolution; in Insert() 123 Resolution resolution) in InsertWithConflictResolution() 125 auto [errCode, rowid] = Insert(table, row, resolution); in InsertWithConflictResolution() 160 const Values &args, Resolution resolution) in Update() 166 (void)resolution; in Update() 192 const std::string &whereClause, const Olds &args, Resolution resolution) in UpdateWithConflictResolution() 194 auto [errCode, changes] = Update(table, row, whereClause, ToValues(args), resolution); in UpdateWithConflictResolution() 202 const std::string &whereClause, const Values &args, Resolution resolution) in UpdateWithConflictResolution() 204 auto [errCode, changes] = Update(table, row, whereClause, args, resolution); in UpdateWithConflictResolution() 122 InsertWithConflictResolution(int64_t &outRowId, const std::string &table, const Row &row, Resolution resolution) InsertWithConflictResolution() argument 159 Update(const std::string &table, const Row &row, const std::string &where, const Values &args, Resolution resolution) Update() argument 191 UpdateWithConflictResolution(int &changedRows, const std::string &table, const Row &row, const std::string &whereClause, const Olds &args, Resolution resolution) UpdateWithConflictResolution() argument 201 UpdateWithConflictResolution(int &changedRows, const std::string &table, const Row &row, const std::string &whereClause, const Values &args, Resolution resolution) UpdateWithConflictResolution() argument [all...] |
H A D | trans_db.cpp | 35 std::pair<int, int64_t> TransDB::Insert(const std::string &table, const Row &row, Resolution resolution) in Insert() argument 38 auto conflictClause = SqliteUtils::GetConflictClause(static_cast<int>(resolution)); in Insert() 50 if (val.GetType() == ValueObject::TYPE_ASSETS && resolution == ConflictResolution::ON_CONFLICT_REPLACE) { in Insert() 108 const Values &args, Resolution resolution) in Update() 111 auto clause = SqliteUtils::GetConflictClause(static_cast<int>(resolution)); in Update() 107 Update(const std::string &table, const Row &row, const std::string &where, const Values &args, Resolution resolution) Update() argument
|
/foundation/arkui/ace_engine/adapter/preview/osal/ |
H A D | resource_convertor.cpp | 66 auto resolution = Global::Resource::ScreenDensity::SCREEN_DENSITY_NOT_SET; in ConvertDensityToGlobal() local 68 resolution = value; in ConvertDensityToGlobal() 73 return resolution; in ConvertDensityToGlobal()
|
H A D | system_properties.cpp | 153 int32_t deviceWidth, int32_t deviceHeight, int32_t orientation, double resolution, bool isRound) in InitDeviceInfo() 165 resolution_ = resolution; in InitDeviceInfo() 152 InitDeviceInfo( int32_t deviceWidth, int32_t deviceHeight, int32_t orientation, double resolution, bool isRound) InitDeviceInfo() argument
|
/foundation/multimodalinput/input/interfaces/native/innerkits/event/include/ |
H A 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/arkui/ace_engine/adapter/ohos/osal/ |
H A D | resource_convertor.cpp | 66 auto resolution = Global::Resource::ScreenDensity::SCREEN_DENSITY_NOT_SET; in ConvertDensityToGlobal() local 68 resolution = value; in ConvertDensityToGlobal() 73 return resolution; in ConvertDensityToGlobal()
|
/foundation/multimedia/av_codec/test/unittest/hls_test/ |
H A D | hls_tags_unit_test.cpp | 138 auto resolution = attr.GetResolution();
in HWTEST_F() local 139 EXPECT_EQ(resolution.first, 1920);
in HWTEST_F() 140 EXPECT_EQ(resolution.second, 1080);
in HWTEST_F()
|
/foundation/distributedhardware/distributed_camera/test/distributedcameraclienttest/ |
H A D | dcamera_client_demo.h | 150 std::string resolution = std::to_string(width_) + "_" + std::to_string(height_); variable 151 std::string fileName = "/data/log/dcamera_preview_" + resolution + ".yuv"; 182 std::string resolution = std::to_string(width_) + "_" + std::to_string(height_); variable 183 std::string fileName = "/data/log/dcamera_video_" + resolution + ".yuv";
|
/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/client/test/sample/ |
H A D | dcamera_client_demo.h | 150 std::string resolution = std::to_string(width_) + "_" + std::to_string(height_); variable 151 std::string fileName = "/data/log/dcamera_preview_" + resolution + ".yuv"; 182 std::string resolution = std::to_string(width_) + "_" + std::to_string(height_); variable 183 std::string fileName = "/data/log/dcamera_video_" + resolution + ".yuv";
|
/foundation/communication/bluetooth/frameworks/js/napi/src/common/ |
H A D | napi_async_callback.cpp | 169 void NapiPromise::Resolve(napi_value resolution) in Resolve() argument 171 auto status = napi_resolve_deferred(env_, deferred_, resolution); in Resolve()
|
/foundation/multimedia/media_lite/services/player_lite/impl/player_control/player/ |
H A 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 in GetVideoResolution() 1703 StreamResolution resolution = { 0 }; TPlayGetPlayMode() local [all...] |
/foundation/arkui/ace_engine/frameworks/base/utils/ |
H A D | system_properties.h | 80 int32_t deviceWidth, int32_t deviceHeight, int32_t orientation, double resolution, bool isRound); 205 * Set resolution of device. 207 static void SetResolution(double resolution) in SetResolution() argument 209 resolution_ = resolution; in SetResolution()
|
/foundation/multimedia/media_lite/services/player_lite/impl/ |
H A 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 in SetMediaStream() [all...] |
/foundation/arkui/ace_engine/adapter/preview/entrance/ |
H A D | ace_ability.cpp | 513 const DeviceOrientation& orientation, const double& resolution, int32_t& width, int32_t& height, in SurfaceChanged() 520 // Need to change the window resolution and then change the rendering resolution. Otherwise, the image may not adapt in SurfaceChanged() 526 width, height, orientation == DeviceOrientation::PORTRAIT ? 0 : 1, resolution, runArgs_.isRound); in SurfaceChanged() 529 deviceConfig.density = resolution; in SurfaceChanged() 531 viewPtr->NotifyDensityChanged(resolution); in SurfaceChanged() 534 (resolution != runArgs_.deviceConfig.density && configChanges_.watchDensity) || in SurfaceChanged() 538 if (orientation != runArgs_.deviceConfig.orientation || resolution != runArgs_.deviceConfig.density) { in SurfaceChanged() 542 runArgs_.deviceConfig.density = resolution; in SurfaceChanged() 512 SurfaceChanged( const DeviceOrientation& orientation, const double& resolution, int32_t& width, int32_t& height, WindowSizeChangeReason type) SurfaceChanged() argument
|