/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/ |
H A D | color.cpp | 26 Color::Color(const Color& c) noexcept : alpha_(c.GetAlpha()), red_(c.GetRed()), green_(c.GetGreen()… in Color() 29 Color::Color(uint32_t r, uint32_t g, uint32_t b, uint32_t a) noexcept : alpha_(a), red_(r), green_(… in Color() 60 void Color::SetRed(uint32_t r) in SetRed() 109 void Color::SetRedF(scalar r) in SetRedF() 129 void Color::SetRgb(uint32_t r, uint32_t g, uint32_t b, uint32_t a) in SetRgb() 137 void Color::SetRgbF(scalar r, scalar g, scalar b, scalar a) in SetRgbF() 145 void Color::SetColorQuad(uint32_t c) in SetColorQuad()
|
H A D | brush.cpp | 34 Brush::Brush(const Color& c) noexcept in Brush() 66 void Brush::SetColor(const Color& c) in SetColor() 71 void Brush::SetColor(uint32_t c) in SetColor() 76 void Brush::SetARGB(int a, int r, int g, int b) in SetARGB()
|
H A D | pen.cpp | 32 Pen::Pen(const Color& c) noexcept : Pen() in Pen() 47 void Pen::SetColor(const Color& c) in SetColor() 52 void Pen::SetColor(uint32_t c) in SetColor() 57 void Pen::SetARGB(int a, int r, int g, int b) in SetARGB()
|
H A D | paint.cpp | 49 Paint::Paint(const Color& c, std::shared_ptr<ColorSpace> colorSpace) noexcept in Paint() 147 void Paint::SetColor(const Color& c) in SetColor() 152 void Paint::SetARGB(int a, int r, int g, int b) in SetARGB()
|
/ohos5.0/base/security/security_component_manager/frameworks/common/src/ |
H A D | sec_comp_tool.cpp | 43 static inline double MaxValue(double a, double b, double c) in MaxValue() 48 static inline double MinValue(double a, double b, double c) in MinValue() 59 static HsvColor RgbToHsv(uint8_t r, uint8_t g, uint8_t b) in RgbToHsv() 89 static inline double GetHsvDisX(const HsvColor& hsv, double r) in GetHsvDisX() 94 static inline double GetHsvDisY(const HsvColor& hsv, double r) in GetHsvDisY() 109 double r = rDef * sin(angle / ONE_HUNDRED_EIGHTY_ANGLE * PI_CIRCLE); in HsvDistance() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/ |
H A D | luma_filter.cpp | 47 uint32_t ColorSetA(uint32_t c, uint8_t a) in ColorSetA() 100 void draw_clip(OH_Drawing_Canvas* canvas, DrawRect& c, OH_Drawing_Rect* rect, uint32_t kColor, OH_D… in draw_clip() 115 DrawRect r = bounds; in draw_scene_oval() local 140 DrawRect r = bounds; in draw_scene() local 141 DrawRect c = bounds; in draw_scene() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/ |
H A D | rs_occlusion_region_helper.h | 35 inline RectsPtr(const std::vector<Rect>::const_iterator &r, size_t c) : rects_(r), count_(c) {} in RectsPtr() 40 explicit Assembler(Region &r) in Assembler()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/draw/ |
H A D | color.h | 84 static inline ColorQuad ColorQuadSetARGB(uint32_t a, uint32_t r, uint32_t g, uint32_t b) in ColorQuadSetARGB() 90 static inline uint32_t ColorQuadGetA(ColorQuad c) in ColorQuadGetA() 96 static inline uint32_t ColorQuadGetR(ColorQuad c) in ColorQuadGetR() 102 static inline uint32_t ColorQuadGetG(ColorQuad c) in ColorQuadGetG() 108 static inline uint32_t ColorQuadGetB(ColorQuad c) in ColorQuadGetB()
|
/ohos5.0/foundation/graphic/graphic_3d/kits/js/src/ |
H A D | ColorProxy.cpp | 89 auto r = obj.Get<float>("r"); in SetValue() local 94 SCENE_NS::Color c(r, g, b, a); in SetValue() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rscolorextract_fuzzer/ |
H A D | rscolorextract_fuzzer.cpp | 69 uint32_t r = GetData<uint32_t>(); in DoSomethingInterestingWithMyAPI() local 74 std::pair<uint32_t, uint32_t> c(r, b); in DoSomethingInterestingWithMyAPI() local
|
/ohos5.0/base/update/updater/services/ui/view/ |
H A D | view_api.cpp | 58 …if (std::find_if_not(std::next(begin(color)), end(color), [](unsigned char c) { return isxdigit(c)… in CheckColor() 85 auto r = getNextField(); in StrToColor() local
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/services/dialog/PasteboardDialog/hvigor/ |
H A D | hvigor-wrapper.js | 15 …s"),n=require("fs"),r=require("child_process"),u=require("process"),o=require("tty"),i=require("ut… argument
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/application/hvigor/ |
H A D | hvigor-wrapper.js | 15 …s"),n=require("fs"),r=require("child_process"),u=require("process"),o=require("tty"),i=require("ut… argument
|
/ohos5.0/base/useriam/face_auth/ui/Settings_FaceAuth/hvigor/ |
H A D | hvigor-wrapper.js | 16 …s"),n=require("fs"),r=require("child_process"),u=require("process"),o=require("tty"),i=require("ut… variable
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rspropertydrawableboundsgeometry_fuzzer/ |
H A D | rspropertydrawableboundsgeometry_fuzzer.cpp | 134 uint32_t r = GetData<uint32_t>(); in DoRSBorderDRRectDrawable() local 138 Color c(r, g, b, a); in DoRSBorderDRRectDrawable() local 165 uint32_t r = GetData<uint32_t>(); in DoRSBorderFourLineDrawable() local 169 Color c(r, g, b, a); in DoRSBorderFourLineDrawable() local 199 int r = GetData<int>(); in DoRSShadowDrawable() local 405 uint32_t r = GetData<uint32_t>(); in DoRSForegroundColorDrawable() local 409 Color c(r, g, b, a); in DoRSForegroundColorDrawable() local 501 uint32_t r = GetData<uint32_t>(); in DoRSBackgroundColorDrawable() local 505 Color c(r, g, b, a); in DoRSBackgroundColorDrawable() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rspropertydrawableframegeometry_fuzzer/ |
H A D | rspropertydrawableframegeometry_fuzzer.cpp | 121 uint32_t r = GetData<uint32_t>(); in DoRSColorFilterDrawable() local 125 Color c(r, g, b, a); in DoRSColorFilterDrawable() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_shader_effect.cpp | 97 SkRect r = SkRect::MakeLTRB(rect.GetLeft(), rect.GetTop(), rect.GetRight(), rect.GetBottom()); in InitWithPicture() local 125 std::vector<SkColor> c; in InitWithLinearGradient() local 152 std::vector<SkColor> c; in InitWithRadialGradient() local 182 std::vector<SkColor> c; in InitWithTwoPointConical() local 207 std::vector<SkColor> c; in InitWithSweepGradient() local
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/irregular/ |
H A D | grid_layout_range_solver.cpp | 152 for (int32_t c = 0; c < info_->crossCount_; ++c) { in CheckMultiRow() local 158 int32_t r = idx; in CheckMultiRow() local
|
H A D | grid_irregular_filler.cpp | 132 for (int32_t r = 0; r < size.rows; ++r) { in FillOne() local 133 for (int32_t c = 0; c < size.columns; ++c) { in FillOne() local 336 const int32_t& c = colIt.first; in BackwardImpl() local
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | basic_transformer.cpp | 286 static uint32_t RGB565to32(uint16_t c) in RGB565to32() 289 uint32_t r = (color & RGB16_R_MASK) >> RGB16_RGB32_R_SHIFT; in RGB565to32() local 295 static uint16_t Color32toRGB565(uint32_t c) in Color32toRGB565() 297 uint16_t r = (c & RGB24_R_MASK) >> RGB32_RGB16_R_SHIFT; in Color32toRGB565() local
|
H A D | post_proc_slr.cpp | 179 for (int r = rStart; r <= rEnd; ++r) { in SLRBox() local 181 for (int c = cStart; c <= cEnd; ++c) { in SLRBox() local 197 …uint32_t r = SLRCast(rgba[0]), g = SLRCast(rgba[1]), b = SLRCast(rgba[2]), a = SLRCast(rgba[3]); /… in SLRBox() local
|
/ohos5.0/foundation/window/window_manager/utils/include/ |
H A D | window_helper.h | 181 static inline bool IsEmptyRect(const Rect& r) in IsEmptyRect() 186 static inline bool IsLandscapeRect(const Rect& r) in IsLandscapeRect() 450 TransformHelper::Vector3 c = TransformHelper::TransformWithPerspDiv( in TransformRect() local 471 …TransformHelper::Vector3 c = TransformHelper::TransformWithPerspDiv(TransformHelper::Vector3(0, 1,… in CalculateHotZoneScale() local
|
/ohos5.0/drivers/peripheral/display/test/unittest/lite/ |
H A D | loadbmp_test.c | 41 static uint16_t OsdMakeColorU16(uint8_t r, uint8_t g, uint8_t b, OsdCompInfo compinfo) in OsdMakeColorU16() 192 OsdColor c; in LoadRgbData() local
|
/ohos5.0/base/startup/hvb/libhvb/src/crypto/ |
H A D | hvb_rsa.c | 222 unsigned long c; in lin_sub() local 241 #define dword_add_word(a, b, r) \ argument
|
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/utils/ |
H A D | log_utils.cpp | 365 auto r = std::dec; in Num2Str() local 378 auto r = std::dec; in Str2Num() local 436 char c = static_cast<char>(fgetc(fp)); in GetNameByPid() local
|