/base/security/security_component_manager/services/security_component_service/sa/sa_main/ |
H A D | sec_comp_info_helper.cpp | 38 void SecCompInfoHelper::AdjustSecCompRect(SecCompBase* comp, float scale) in AdjustSecCompRect() argument 40 comp->rect_.width_ *= scale; in AdjustSecCompRect() 41 comp->rect_.height_ *= scale; in AdjustSecCompRect() 42 comp->rect_.x_ = comp->windowRect_.x_ + (comp->rect_.x_ - comp->windowRect_.x_) * scale; in AdjustSecCompRect() 43 comp->rect_.y_ = comp->windowRect_.y_ + (comp->rect_.y_ - comp->windowRect_.y_) * scale; in AdjustSecCompRect() 213 float scale = WindowInfoHelper::GetWindowScale(comp->windowId_); in CheckComponentValid() local 214 SC_LOG_DEBUG(LABEL, "WindowScale = %{public}f", scale); in CheckComponentValid() 215 if (!IsEqual(scale, WindowInfoHelper::FULL_SCREEN_SCALE) && !IsEqual(scale, 0.0)) { in CheckComponentValid() 216 AdjustSecCompRect(comp, scale); in CheckComponentValid() [all...] |
H A D | window_info_helper.cpp | 32 float scale = FULL_SCREEN_SCALE; in GetWindowScale() local 36 return scale; in GetWindowScale() 42 SC_LOG_WARN(LABEL, "Cannot find AccessibilityWindowInfo, return default scale"); in GetWindowScale() 43 return scale; in GetWindowScale() 45 scale = (*iter)->scaleVal_; in GetWindowScale() 46 SC_LOG_INFO(LABEL, "Get scale %{public}f", scale); in GetWindowScale() 47 return scale; in GetWindowScale()
|
/base/msdp/device_status/utils/common/src/ |
H A D | preview_style_packer.cpp | 39 WRITEFLOAT(data, previewStyle.scale, ERR_INVALID_VALUE); in Marshalling() 53 READFLOAT(data, previewStyle.scale, ERR_INVALID_VALUE); in UnMarshalling()
|
/base/security/security_component_manager/interfaces/inner_api/security_component_common/ |
H A D | sec_comp_info_helper.h | 45 static void AdjustSecCompRect(SecCompBase* comp, float scale);
|
/base/msdp/device_status/interfaces/innerkits/interaction/include/ |
H A D | drag_data.h | 171 float scale { -1.0F }; 176 radius == other.radius && fabsf(scale - other.scale) < EPSILON; in operator ==()
|
/base/msdp/device_status/services/interaction/drag/include/ |
H A D | drag_drawing.h | 90 void SetScale(float scale); 103 void SetScale(float scale); 104 void SetStyleScale(float scale); 120 void SetScale(float scale); 132 void SetScale(float scale); 146 float scale { 1.0f };
|
/base/web/webview/ohos_nweb/include/ |
H A D | nweb_init_params.h | 280 NWebPDFConfigArgsImpl(const double width, const double height, const double scale, const double marginTop, in NWebPDFConfigArgsImpl() argument 282 : width_(width), height_(height), scale_(scale), marginTop_(marginTop), marginBottom_(marginBottom), in NWebPDFConfigArgsImpl()
|
/base/msdp/device_status/services/interaction/drag/src/ |
H A D | drag_drawing.cpp | 1182 shadowNode->SetCornerRadius(cornerRadiusVector * filterInfo.dipScale * filterInfo.scale); in DrawShadow() 1377 g_drawingInfo.pixelMap->scale(scalingValue, scalingValue, Media::AntiAliasingOption::HIGH); in InitDrawingInfo() 1383 g_drawingInfo.pixelMap->scale(widthScale, widthScale, Media::AntiAliasingOption::HIGH); in InitDrawingInfo() 1406 pixelMap->scale(scalingValue, scalingValue, Media::AntiAliasingOption::HIGH); in InitDrawingInfo() 1971 cJSON *scale = cJSON_GetObjectItemCaseSensitive(filterInfoParser.json, "scale"); in ParserFilterInfo() local 1972 if (cJSON_IsNumber(scale)) { in ParserFilterInfo() 1973 filterInfo.scale = AdjustDoubleValue(scale->valuedouble); in ParserFilterInfo() 2576 node->SetScale(previewStyle.scale); in ModifyPreviewStyle() 3332 SetScale(float scale) SetScale() argument 3388 SetScale(float scale) SetScale() argument 3418 SetScale(float scale) SetScale() argument 3474 SetScale(float scale) SetScale() argument 3486 SetStyleScale(float scale) SetStyleScale() argument 3555 float scale = 1.0; GetMaxWidthScale() local [all...] |
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/include/ |
H A D | ark_web_nweb.h | 253 * @brief Sets the initla scale for the page. 255 * @param scale: the initla scale of the page. 258 virtual void InitialScale(float scale) = 0; 323 * @brief Gets the current scale of this NWeb. 325 * @return the current scale 1169 * @brief Set the params when the scale of WebView changed by pinch gestrue. 1171 * @param scale: the scale factor to apply. The scale wil [all...] |
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webcore/ |
H A D | ark_web_nweb_impl.h | 199 * @brief Sets the initla scale for the page. 201 * @param scale: the initla scale of the page. 203 void InitialScale(float scale) override; 261 * @brief Gets the current scale of this NWeb. 263 * @return the current scale 1010 * @brief Set the params when the scale of WebView changed by pinch gestrue. 1012 * @param scale: the scale factor to apply. The scale wil [all...] |
H A D | ark_web_nweb_impl.cpp | 246 void ArkWebNWebImpl::InitialScale(float scale) in InitialScale() argument 248 nweb_nweb_->InitialScale(scale); in InitialScale() 933 int ArkWebNWebImpl::ScaleGestureChange(double scale, double centerX, double centerY) in ScaleGestureChange() argument 935 return nweb_nweb_->ScaleGestureChange(scale, centerX, centerY); in ScaleGestureChange()
|
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webview/ |
H A D | ark_web_nweb_wrapper.cpp | 255 void ArkWebNWebWrapper::InitialScale(float scale) in InitialScale() argument 257 ark_web_nweb_->InitialScale(scale); in InitialScale() 1129 int ArkWebNWebWrapper::ScaleGestureChange(double scale, double centerX, double centerY) in ScaleGestureChange() argument 1131 return ark_web_nweb_->ScaleGestureChange(scale, centerX, centerY); in ScaleGestureChange()
|
H A D | ark_web_nweb_wrapper.h | 205 * @brief Sets the initla scale for the page. 207 * @param scale: the initla scale of the page. 209 void InitialScale(float scale) override; 267 * @brief Gets the current scale of this NWeb. 269 * @return the current scale 1083 * @brief Set the params when the scale of WebView changed by pinch gestrue. 1085 * @param scale: the scale factor to apply. The scale wil [all...] |
/base/web/webview/ohos_interface/include/ohos_nweb/ |
H A D | nweb.h | 430 * Sets the initla scale for the page. 432 * @param scale float: the initla scale of the page. 435 virtual void InitialScale(float scale) = 0; 494 * Gets the current scale of this NWeb. 496 * @return the current scale 1210 * @brief Set the params when the scale of WebView changed by pinch gestrue. 1212 * @param scale: the scale factor to apply. The scale wil [all...] |
/base/notification/distributed_notification_service/frameworks/core/test/unittest/mock/ |
H A D | mock_pixel_map.cpp | 367 void PixelMap::scale(float xAxis, float yAxis) in scale() function in OHOS::Media::PixelMap
|
/base/web/webview/test/fuzztest/ohos_nweb/nwebhelper_fuzzer/ |
H A D | nweb_create_window.h | 104 void InitialScale(float scale) override {}
|
/base/web/webview/test/unittest/common/ |
H A D | nweb_create_window.h | 127 void InitialScale(float scale) override
|
/base/global/i18n/frameworks/intl/src/ |
H A D | number_format.cpp | 164 numberFormat = numberFormat.unit(icu::NoUnit::percent()).scale(icu::number::Scale::powerOfTen(2)).precision( in InitProperties()
|
/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
H A D | napi_webview_controller.cpp | 412 double scale = 1.0; in ParsePDFConfigArgs() local 413 napi_get_named_property(env, preArgs, "scale", &scaleObj); in ParsePDFConfigArgs() 414 NapiParseUtils::ParseDouble(env, scaleObj, scale); in ParsePDFConfigArgs() 415 scale = scale > SCALE_MAX ? SCALE_MAX : scale < SCALE_MIN ? SCALE_MIN : scale; in ParsePDFConfigArgs() 425 width, height, scale, margin.top, margin.bottom, margin.right, margin.left, shouldPrintBackground); in ParsePDFConfigArgs()
|