/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/ |
H A D | brush.cpp | 168 bool operator==(const Brush& b1, const Brush& b2) in operator ==() argument 170 return b1.color_ == b2.color_ && b1.blendMode_ == b2.blendMode_ && b1.shaderEffect_ == b2.shaderEffect_ && in operator ==() 171 b1.blender_ == b2.blender_ && b1.blenderEnabled_ == b2.blenderEnabled_ && b1.colorSpace_ == b2.colorSpace_ && in operator ==() 172 b1.filter_ == b2.filter_ && b1.antiAlias_ == b2.antiAlias_ && b1 in operator ==() 175 operator !=(const Brush& b1, const Brush& b2) operator !=() argument [all...] |
/foundation/arkui/ace_engine/advanced_ui_component/chipgroup/interfaces/ |
H A D | chipgroup.js | 31 const b1 = { 376 this.n2 = new ObservedPropertyObjectPU(b1.itemStyle.size, this, 'chipSize'); 418 this.o4.set(b1.itemStyle); 430 this.s4.set(b1.chipGroupSpace); 445 this.u4.set(b1.chipGroupPadding); 560 return b1.itemStyle.size; 565 return b1.itemStyle.size; 572 return b1.itemStyle.fontColor; 577 return b1.itemStyle.fontColor; 581 return b1 [all...] |
/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | color_fill.h | 57 #define COLOR_BLEND_RGBA(r1, g1, b1, a1, r2, g2, b2, a2) \ 63 (b1) = static_cast<uint8_t>(((a2) * (b2) * OPA_OPAQUE + (OPA_OPAQUE - (a2)) * (a1) * (b1)) / Alpha3); \ 67 #define COLOR_BLEND_RGBA(r1, g1, b1, a1, r2, g2, b2, a2) \ 73 (b1) = static_cast<uint8_t>((Alpha2 * (b2) + (1 - Alpha2) * Alpha1 * (b1)) / Alpha3); \ 77 #define COLOR_BLEND_XRGB(r1, g1, b1, a1, r2, g2, b2, a2) \ 80 (b1) = (((b2) * (a2)) / OPA_OPAQUE) + (((b1) * (OPA_OPAQUE - (a2))) / OPA_OPAQUE); \ 83 #define COLOR_BLEND_RGB(r1, g1, b1, r [all...] |
/foundation/graphic/graphic_utils_lite/interfaces/innerkits/ |
H A D | graphic_neon_pipeline.h | 29 using NeonBlend = void (*)(uint8x8_t& r1, uint8x8_t& g1, uint8x8_t& b1, uint8x8_t& a1, 117 uint8x8_t b1 = Multipling(vdup_n_u8(b), vld1_u8(covers)); in NeonPreLerpARGB8888() local 122 uint8x8_t bs = NeonLerp(b0, b1, a1); in NeonPreLerpARGB8888() 137 uint8x8_t b1 = vdup_n_u8(blue); in NeonPrelerpARGB8888() local 142 uint8x8_t bs = NeonPreLerp(b0, b1, a1); in NeonPrelerpARGB8888() 158 uint8x8_t b1 = Multipling(vdup_n_u8(blue), vdup_n_u8(cover)); in NeonPrelerpARGB8888() local 163 uint8x8_t bs = NeonPreLerp(b0, b1, a1); in NeonPrelerpARGB8888() 179 uint8x8_t b1 = vSrcBuf.val[NEON_B]; in NeonPrelerpARGB8888() local 184 b1 = Multipling(b1, vdup_n_u in NeonPrelerpARGB8888() 207 uint8x8_t b1 = Multipling(vSrcBuf.val[NEON_B], vld1_u8(covers)); NeonPrelerpARGB8888() local 228 uint8x8_t b1 = Multipling(vdup_n_u8(b), vld1_u8(covers)); NeonLerpARGB8888() local 248 uint8x8_t b1 = vdup_n_u8(b); NeonLerpARGB8888() local 269 uint8x8_t b1 = Multipling(vdup_n_u8(b), vdup_n_u8(cover)); NeonLerpARGB8888() local 290 uint8x8_t b1 = vSrcBuf.val[NEON_B]; NeonLerpARGB8888() local 318 uint8x8_t b1 = Multipling(vSrcBuf.val[NEON_B], vld1_u8(covers)); NeonLerpARGB8888() local [all...] |
H A D | graphic_neon_utils.h | 120 static inline void NeonBlendRGBA(uint8x8_t& r1, uint8x8_t& g1, uint8x8_t& b1, uint8x8_t& a1, in NeonBlendRGBA() argument 127 uint16x8_t b = vmull_u8(b2, a2) + vmull_u8(b1, da); in NeonBlendRGBA() 130 b1 = NeonDivInt(b, a1); in NeonBlendRGBA() 133 static inline void NeonBlendXRGB(uint8x8_t& r1, uint8x8_t& g1, uint8x8_t& b1, uint8x8_t& a1, in NeonBlendXRGB() argument 140 uint16x8_t b = vmull_u8(b2, a2) + vmull_u8(b1, da); in NeonBlendXRGB() 143 b1 = NeonDivInt(b, a1); in NeonBlendXRGB() 146 static inline void NeonBlendRGB(uint8x8_t& r1, uint8x8_t& g1, uint8x8_t& b1, uint8x8_t& a1, in NeonBlendRGB() argument 152 b1 = NeonMulDiv255(b2, a2) + NeonMulDiv255(b1, da); in NeonBlendRGB()
|
/foundation/arkui/ace_engine/advanced_ui_component/foldsplitcontainer/interfaces/ |
H A D | foldsplitcontainer.js | 500 const b1 = initLayout(); 510 b1.size.width = x / (c1 + 1); 512 b1.size.width = 0; 525 z.size.width = x - b1.size.width; 526 a1.size.width = x - b1.size.width; 527 b1.size.height = y; 528 b1.position.x = z.size.width; 529 b1.position.y = 0; 537 a1.size.width = x - b1.size.width; 538 b1 [all...] |
/foundation/filemanagement/dfs_service/utils/cloud_disk/src/ |
H A D | cloud_file_utils.cpp | 90 uint32_t b1 = buf[1]; in TeaTransform() local 96 b0 += ((b1 << LEFT_SHIFT) + a) ^ (b1 + sum) ^ ((b1 >> RIGHT_SHIFT) + b); in TeaTransform() 97 b1 += ((b0 << LEFT_SHIFT) + c) ^ (b0 + sum) ^ ((b0 >> RIGHT_SHIFT) + d); in TeaTransform() 101 buf[1] += b1; in TeaTransform()
|
/foundation/window/window_manager_lite/services/wms/ |
H A D | lite_win.cpp | 31 #define COLOR_BLEND_RGBA(r1, g1, b1, a1, r2, g2, b2, a2) \ 37 (b1) = (A2 * (b2) + (1 - A2) * A1 * (b1)) / a; \ 40 #define COLOR_BLEND_RGB(r1, g1, b1, r2, g2, b2, a2) \ 43 (b1) = (((b2) * (a2)) / OPA_OPAQUE) + (((b1) * (OPA_OPAQUE - (a2))) / OPA_OPAQUE);
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/draw/ |
H A D | brush.h | 270 friend DRAWING_API bool operator==(const Brush& b1, const Brush& b2); 271 friend DRAWING_API bool operator!=(const Brush& b1, const Brush& b2);
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/ |
H A D | test_common.cpp | 103 unsigned b1 = (unsigned)rgb565 & 0x1F;
in color_to_565() local 107 unsigned b2 = (b1 << 3) | (b1 >> 2);
in color_to_565()
|
/foundation/filemanagement/dfs_service/test/unittests/clouddisk_database/mock/ |
H A D | meta_file_clouddisk_mock.cpp | 185 uint32_t b1 = buf[1]; /* buf pos 1 */ in TeaTransform() local 190 b0 += ((b1 << 4) + a) ^ (b1 + sum) ^ ((b1 >> 5) + b); /* tea transform width 4 and 5 */ in TeaTransform() 191 b1 += ((b0 << 4) + c) ^ (b0 + sum) ^ ((b0 >> 5) + d); /* tea transform width 4 and 5 */ in TeaTransform() 195 buf[1] += b1; in TeaTransform()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/ |
H A D | distributeddb_cloud_syncer_lock_test.cpp | 691 * @tc.steps:step1. init cloud assert {a, b1, b2} in HWTEST_F() 723 * @tc.steps:step1. init cloud assert {a, b1, b2} and sync to local in HWTEST_F() 732 * @tc.steps:step2. change cloud assets {b1, b3} in HWTEST_F() 736 Asset b1 = ASSET_COPY; in HWTEST_F() local 737 b1.name = ASSET_COPY.name + std::string("0"); in HWTEST_F() 742 Assets assets = { b1, b3 }; in HWTEST_F() 748 g_virtualAssetLoader->ForkDownload([&b1, &b3](std::map<std::string, Assets> &assets) { in HWTEST_F() 787 * @tc.steps:step1. init cloud assert {a, b1, b2} and sync to local in HWTEST_F() 801 Asset b1 = ASSET_COPY; in HWTEST_F() local 802 b1 in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/utils/color_manager/src/ |
H A D | color_space.cpp | 286 double b1 = a00 * a12 - a02 * a10;
in Invert() local 292 double determinant = b0 * b5 - b1 * b4 + b2 * b3;
in Invert() 306 b1 *= invdet;
in Invert() 317 dst[2][1] = static_cast<float>(-b1); // compute dst[2][1] value
in Invert()
|
/foundation/arkui/ace_engine/frameworks/core/components/transform/ |
H A D | transform_component.cpp | 153 void TransformComponent::Matrix3d(float a1, float b1, float c1, float d1, float a2, float b2, float c2, float d2, in Matrix3d() argument 159 operation.matrix4_ = Matrix4(a1, a2, a3, a4, b1, b2, b3, b4, c1, c2, c3, c4, d1, d2, d3, d4); in Matrix3d()
|
H A D | transform_component.h | 81 void Matrix3d(float a1, float b1, float c1, float d1, float a2, float b2, float c2, float d2, float a3, float b3,
|
/foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/test/unittest/ |
H A D | event_controller_test.cpp | 255 bool b1 = EventController::GetInstance().HandlePkgCommonEvent(action, want, payload); in HWTEST_F() local 256 EXPECT_EQ(b1, true); in HWTEST_F()
|
/foundation/arkui/ace_engine/advanced_ui_component/innerfullscreenlaunchcomponent/interfaces/ |
H A D | innerfullscreenlaunchcomponent.js | 77 updateStateVars(b1) {
|
/foundation/arkui/advanced_ui_component/innerfullscreenlaunchcomponent/interfaces/ |
H A D | innerfullscreenlaunchcomponent.js | 77 updateStateVars(b1) {
|
/foundation/multimedia/av_codec/test/unittest/video_test/video_test/sample/base/ |
H A D | video_sample_base.cpp | 56 ret = videoCodec->Create(info.codecMime, info.codecType & 0b1); // 0b1: software codec mask in Create()
|
/foundation/arkui/ace_engine/advanced_ui_component/subheader/interfaces/ |
H A D | subheader.js | 2118 function getResourceValue(b1) { 2119 if (RESOURCE_CACHE_MAP.hasKey(b1)) { 2120 let c1 = RESOURCE_CACHE_MAP.get(b1).resourceValue; 2124 c1 = Util.getNumberByResource(RESOURCE_CACHE_MAP.get(b1).resourceId, 2125 RESOURCE_CACHE_MAP.get(b1).defaultValue); 2126 RESOURCE_CACHE_MAP.get(b1).resourceValue = c1;
|
/foundation/arkui/ace_engine/advanced_ui_component/interstitialdialogaction/interfaces/ |
H A D | interstitialdialogaction.js | 192 (l ? l : this).observeComponentCreation2((a1, b1, c1 = m) => {
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | nav_destination_modifier.cpp | 20 constexpr int32_t DEFAULT_SAFE_AREA_TYPE = 0b1;
|
/foundation/arkui/ace_engine/frameworks/core/image/ |
H A D | image_object.cpp | 74 colorValue = colorValue | (static_cast<int64_t>(0b1) << 32); in BuildImageObject()
|
/foundation/arkui/advanced_ui_component/interstitialdialogaction/interfaces/ |
H A D | interstitialdialogaction.js | 192 (l ? l : this).observeComponentCreation2((a1, b1, c1 = m) => {
|
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/schedule/video_processor/strategy/ |
H A D | video_strategy_center.cpp | 38 constexpr uint32_t SINGLE_TIME_LIMIT = 0b1;
|