Home
last modified time | relevance | path

Searched refs:percent (Results 1 - 25 of 136) sorted by relevance

123456

/foundation/arkui/ace_engine_lite/frameworks/examples/showcase/src/main/js/default/common/js/
H A Dprogress.js38 this.percent = this.percent + 10;
42 this.percent = this.percent + 20;
/foundation/CastEngine/castengine_cast_plus_stream/src/channel/include/
H A Dchannel_listener.h41 virtual void OnSendFileProcess(int percent) {} in OnSendFileProcess() argument
42 virtual void OnFilesSent(std::string firstFile, int percent) {} in OnFilesSent() argument
43 virtual void OnFilesReceived(std::string files, int percent) {} in OnFilesReceived() argument
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/channel/include/
H A Dchannel_listener.h41 virtual void OnSendFileProcess(int percent) {} in OnSendFileProcess() argument
42 virtual void OnFilesSent(std::string firstFile, int percent) {} in OnFilesSent() argument
43 virtual void OnFilesReceived(std::string files, int percent) {} in OnFilesReceived() argument
/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/
H A Drosen_render_offscreen_canvas.h189 void SetGrayFilter(const std::string& percent);
190 void SetSepiaFilter(const std::string& percent);
191 void SetInvertFilter(const std::string& percent);
192 void SetOpacityFilter(const std::string& percent);
193 void SetBrightnessFilter(const std::string& percent);
194 void SetContrastFilter(const std::string& percent);
195 void SetBlurFilter(const std::string& percent);
196 void SetDropShadowFilter(const std::string& percent);
197 void SetSaturateFilter(const std::string& percent);
198 void SetHueRotateFilter(const std::string& percent);
[all...]
H A Drosen_render_offscreen_canvas.cpp2733 bool RosenRenderOffscreenCanvas::IsPercentStr(std::string& percent) in UpdateTextStyleForeground() argument
2735 if (percent.find("%") != std::string::npos) { in UpdateTextStyleForeground()
2736 size_t index = percent.find("%"); in UpdateTextStyleForeground()
2737 percent = percent.substr(0, index); in UpdateTextStyleForeground()
2778 void RosenRenderOffscreenCanvas::SetGrayFilter(const std::string& percent) in UpdateTextStyleForeground() argument
2780 std::string percentage = percent; in UpdateTextStyleForeground()
2800 void RosenRenderOffscreenCanvas::SetSepiaFilter(const std::string& percent) in UpdateTextStyleForeground() argument
2802 std::string percentage = percent; in UpdateTextStyleForeground()
2829 std::string percent in UpdateTextStyleForeground() local
2847 std::string percent = filterParam; UpdateTextStyleForeground() local
2862 SetBrightnessFilter(const std::string& percent) UpdateTextStyleForeground() argument
2882 SetContrastFilter(const std::string& percent) UpdateTextStyleForeground() argument
2900 SetBlurFilter(const std::string& percent) UpdateTextStyleForeground() argument
2913 SetDropShadowFilter(const std::string& percent) UpdateTextStyleForeground() argument
2928 std::string percent = filterParam; UpdateTextStyleForeground() local
2950 std::string percent = filterParam; UpdateTextStyleForeground() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/progress/
H A Drender_loading_progress.cpp309 double percent = (curDistance_ - minDistance_) / (maxDistance_ - minDistance_); in SetDragDistance() local
310 double scale = RING_SCALE_BEGIN + RING_SCALE_RANGE * percent; in SetDragDistance()
319 dragAlpha_ = percent; in SetDragDistance()
323 para.angular = DRAG_ANGLE_BEGIN + DRAG_ANGLE_RANGE * percent; in SetDragDistance()
335 exitAlpha_ = percent; in SetDragDistance()
399 void RenderLoadingProgress::CalculateValue(int32_t start, int32_t end, double percent) in CalculateValue() argument
409 (MODE_RING_WIDTH[end] - MODE_RING_WIDTH[start]) * percent); in CalculateValue()
411 (MODE_COMET_RADIUS[end] - MODE_COMET_RADIUS[start]) * percent); in CalculateValue()
413 (MODE_RING_BLUR_RADIUS[end] - MODE_RING_BLUR_RADIUS[start]) * percent); in CalculateValue()
415 (MODE_RING_BG_WIDTH[end] - MODE_RING_BG_WIDTH[start]) * percent); in CalculateValue()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/
H A Dcustom_paint_paint_method.h332 void SetGrayFilter(const std::string& percent);
333 void SetSepiaFilter(const std::string& percent);
334 void SetSaturateFilter(const std::string& percent);
335 void SetHueRotateFilter(const std::string& percent);
336 void SetInvertFilter(const std::string& percent);
337 void SetOpacityFilter(const std::string& percent);
338 void SetBrightnessFilter(const std::string& percent);
339 void SetContrastFilter(const std::string& percent);
340 void SetBlurFilter(const std::string& percent);
/foundation/arkui/ace_engine_lite/frameworks/src/core/stylemgr/
H A Dapp_style_item.h44 float percent; member
135 return (valueType_ != STYLE_PROP_VALUE_TYPE_PERCENT) ? 0 : styleValue_.percent; in GetPercentValue()
211 styleValue_.percent = value; in SetPercentValue()
/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/
H A Dtab_content_element.cpp45 [weakTabContentElement = AceType::WeakClaim(this)](double percent, int32_t newIndex, bool needChange) { in CreateRenderNode()
48 tabContent->IndicatorByContent(percent, newIndex, needChange); in CreateRenderNode()
71 void TabContentElement::IndicatorByContent(double percent, int32_t newIndex, bool needChange) in IndicatorByContent() argument
74 controller_->SetIndicatorByScrollContent(percent, newIndex, needChange); in IndicatorByContent()
H A Dtab_controller.cpp137 void TabController::SetIndicatorByScrollContent(double percent, int32_t newIndex, bool needChange) in SetIndicatorByScrollContent() argument
142 tabBar->UpdateScrollIndicator(percent, newIndex, needChange); in SetIndicatorByScrollContent()
H A Dtab_bar_element.h33 void UpdateScrollIndicator(double percent, int32_t newIndex, bool needChange);
/foundation/window/window_manager/window_scene/session/host/src/
H A Dkeyboard_session.cpp59 uint32_t percent = 0; in GetKeyboardGravity() local
62 sessionProperty->GetSessionGravity(gravity, percent); in GetKeyboardGravity()
226 WSError KeyboardSession::SetKeyboardSessionGravity(SessionGravity gravity, uint32_t percent) in SetKeyboardSessionGravity() argument
233 sessionProperty->SetKeyboardSessionGravity(gravity, percent); in SetKeyboardSessionGravity()
531 uint32_t percent = 0; in RelayoutKeyBoard() local
532 sessionProperty->GetSessionGravity(gravity, percent); in RelayoutKeyBoard()
544 if (percent != 0) { in RelayoutKeyBoard()
545 // 100: for calc percent. in RelayoutKeyBoard()
546 requestRect.height_ = static_cast<uint32_t>(screenHeight) * percent / 100u; in RelayoutKeyBoard()
/foundation/CastEngine/castengine_cast_plus_stream/src/channel/src/softbus/
H A Dsoftbus_connection.cpp227 float percent = (static_cast<float>(bytesUpload) / bytesTotal) * 100; in OnSendFileProcess() local
233 channelListener->OnSendFileProcess(static_cast<int>(floor(percent))); in OnSendFileProcess()
248 int percent = 100; in OnSendFileFinished() local
254 channelListener->OnFilesSent(std::string(firstFile), percent); in OnSendFileFinished() local
302 int percent = 100; in OnReceiveFileFinished() local
308 channelListener->OnFilesReceived(std::string(files), percent); in OnReceiveFileFinished() local
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/channel/src/softbus/
H A Dsoftbus_connection.cpp226 float percent = (static_cast<float>(bytesUpload) / bytesTotal) * 100; in OnSendFileProcess() local
232 channelListener->OnSendFileProcess(static_cast<int>(floor(percent))); in OnSendFileProcess()
247 int percent = 100; in OnSendFileFinished() local
253 channelListener->OnFilesSent(std::string(firstFile), percent); in OnSendFileFinished() local
299 int percent = 100; in OnReceiveFileFinished() local
305 channelListener->OnFilesReceived(std::string(files), percent); in OnReceiveFileFinished() local
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/pixel_map_test/
H A Dimage_pixel_map_switch_test.cpp422 float percent = 0.8; in HWTEST_F() local
423 bool ret = pixelMap.SetAlpha(percent); in HWTEST_F()
431 * @tc.desc: percent <= 0 || percent > 1
449 float percent = 1.5; in HWTEST_F() local
450 bool ret = pixelMap.SetAlpha(percent); in HWTEST_F()
1125 // 0.0 means alpha percent in HWTEST_F()
1126 float percent = 0.0; in HWTEST_F() local
1127 uint32_t res1 = pixelMap.SetAlpha(percent); in HWTEST_F()
1130 // 2.0 means alpha percent in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/svg/
H A Drosen_render_svg_line.cpp93 void RosenRenderSvgLine::UpdateMotion(const std::string& path, const std::string& rotate, double percent) in UpdateMotion() argument
100 RosenSvgPainter::UpdateMotionMatrix(rsNode, path, rotate, percent); in UpdateMotion()
H A Drosen_render_svg_ellipse.h42 void UpdateMotion(const std::string& path, const std::string& rotate, double percent) override;
H A Drosen_render_svg_circle.h36 void UpdateMotion(const std::string& path, const std::string& rotate, double percent) override;
H A Drosen_render_svg_path.h43 void UpdateMotion(const std::string& path, const std::string& rotate, double percent) override;
H A Drosen_render_svg_line.h41 void UpdateMotion(const std::string& path, const std::string& rotate, double percent) override;
H A Drosen_render_svg_rect.h42 void UpdateMotion(const std::string& path, const std::string& rotate, double percent) override;
/foundation/window/window_manager/wmserver/src/
H A Dwindow_node.cpp415 void WindowNode::SetWindowGravity(WindowGravity gravity, uint32_t percent) in SetWindowGravity() argument
417 property_->SetWindowGravity(gravity, percent); in SetWindowGravity()
420 void WindowNode::GetWindowGravity(WindowGravity& gravity, uint32_t& percent) const in GetWindowGravity()
422 property_->GetWindowGravity(gravity, percent); in GetWindowGravity()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/draw/
H A DOpListHandle.h44 int percent = 0; member
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_utils.h155 static bool IsPercentStr(std::string& percent) in IsPercentStr() argument
157 if (percent.find("%") != std::string::npos) { in IsPercentStr()
158 size_t index = percent.find("%"); in IsPercentStr()
159 percent = percent.substr(0, index); in IsPercentStr()
/foundation/arkui/ace_engine/frameworks/core/components/common/painter/
H A Drosen_svg_painter.h71 static bool GetMotionPathPosition(const std::string& path, double percent, MotionPathPosition& result);
117 const std::shared_ptr<RSNode>& rsNode, const std::string& path, const std::string& rotate, double percent);

Completed in 17 milliseconds

123456