/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, 118 uint8x8_t a1 = Multipling(vdup_n_u8(a), vld1_u8(covers)); in NeonPreLerpARGB8888() local 120 uint8x8_t rs = NeonLerp(r0, r1, a1); in NeonPreLerpARGB8888() 121 uint8x8_t gs = NeonLerp(g0, g1, a1); in NeonPreLerpARGB8888() 122 uint8x8_t bs = NeonLerp(b0, b1, a1); in NeonPreLerpARGB8888() 123 uint8x8_t as = NeonPreLerp(a0, a1, a1); in NeonPreLerpARGB8888() 138 uint8x8_t a1 = vdup_n_u8(alpha); in NeonPrelerpARGB8888() local 140 uint8x8_t rs = NeonPreLerp(r0, r1, a1); in NeonPrelerpARGB8888() 141 uint8x8_t gs = NeonPreLerp(g0, g1, a1); in NeonPrelerpARGB8888() 159 uint8x8_t a1 = Multipling(vdup_n_u8(alpha), vdup_n_u8(cover)); NeonPrelerpARGB8888() local 180 uint8x8_t a1 = vSrcBuf.val[NEON_A]; NeonPrelerpARGB8888() local 208 uint8x8_t a1 = Multipling(vSrcBuf.val[NEON_A], vld1_u8(covers)); NeonPrelerpARGB8888() local 229 uint8x8_t a1 = Multipling(vdup_n_u8(a), vld1_u8(covers)); NeonLerpARGB8888() local 249 uint8x8_t a1 = vdup_n_u8(a); NeonLerpARGB8888() local 270 uint8x8_t a1 = Multipling(vdup_n_u8(a), vdup_n_u8(cover)); NeonLerpARGB8888() local 291 uint8x8_t a1 = vSrcBuf.val[NEON_A]; NeonLerpARGB8888() local 319 uint8x8_t a1 = Multipling(vSrcBuf.val[NEON_A], 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 123 uint8x8_t da = NeonMulDiv255(a1, vdup_n_u8(OPA_OPAQUE) - a2); in NeonBlendRGBA() 124 a1 = a1 - NeonMulDiv255(a2, a1) + a2; in NeonBlendRGBA() 128 r1 = NeonDivInt(r, a1); in NeonBlendRGBA() 129 g1 = NeonDivInt(g, a1); 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 137 a1 in NeonBlendXRGB() 146 NeonBlendRGB(uint8x8_t& r1, uint8x8_t& g1, uint8x8_t& b1, uint8x8_t& a1, uint8x8_t r2, uint8x8_t g2, uint8x8_t b2, uint8x8_t a2) NeonBlendRGB() argument [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) \ 58 const uint16_t Alpha3 = 65025 - (OPA_OPAQUE - (a1)) * (OPA_OPAQUE - (a2)); \ 61 (r1) = static_cast<uint8_t>(((a2) * (r2) * OPA_OPAQUE + (OPA_OPAQUE - (a2)) * (a1) * (r1)) / Alpha3); \ 62 (g1) = static_cast<uint8_t>(((a2) * (g2) * OPA_OPAQUE + (OPA_OPAQUE - (a2)) * (a1) * (g1)) / Alpha3); \ 63 (b1) = static_cast<uint8_t>(((a2) * (b2) * OPA_OPAQUE + (OPA_OPAQUE - (a2)) * (a1) * (b1)) / Alpha3); \ 64 (a1) = static_cast<uint8_t>(Alpha3 / OPA_OPAQUE); \ 67 #define COLOR_BLEND_RGBA(r1, g1, b1, a1, r2, g2, b2, a2) \ 68 const float Alpha1 = static_cast<float>(a1) / OPA_OPAQUE; \ 74 (a1) = static_cast<uint8_t>(Alpha3 * OPA_OPAQUE) 77 #define COLOR_BLEND_XRGB(r1, g1, b1, a1, r [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/ |
H A D | distributeddb_cloud_asset_compare_test.cpp | 51 Asset a1; member 103 a1 = GenAsset("mansion", "mansion1"); in GenData() 114 DATA_BASELINE = GenDatum(1, "Jack", a1, Assets({a2, a3, a4})); // id is 1 in GenData() 115 DATA_EMPTY_ASSET = GenDatum(2, "PoorGuy", a1, Assets({})); // id is 2 in GenData() 118 DATA_ASSETS_SAME_NAME_PARTIALLY_CHANGED = GenDatum(4, "David", a1, Assets({a2, a3Changed, a4})); // id is 4 in GenData() 119 DATA_ALL_SAME = GenDatum(5, "Marry", a1, Assets({a2, a3, a4})); // id is 5 in GenData() 120 DATA_ASSETS_MORE_FIELD = GenDatum(6, "Carl", a1, Assets({a2, a3, a4, a5})); // id is 6 in GenData() 121 DATA_ASSETS_DIFFERENT_FIELD = GenDatum(7, "Carllol", a1, Assets({a2, a3, a5})); // id is 7 in GenData() 122 DATA_ASSETS_DIFFERENT_CHANGED_FIELD = GenDatum(8, "Carllol", a1, Assets({a2, a3Changed, a5})); // id is 8 in GenData() 125 DATA_ASSETS_ASSET_SAME_NAME = GenDatum(10, "Lob2", a1, Asset in GenData() [all...] |
/foundation/graphic/graphic_3d/lume/metaobject/test/src/api/property/ |
H A D | ArrayPropertyEventHandlerTest.cpp | 44 static void ExpectChanges(ArrayChanges<Type> a1, ArrayChanges<Type> a2) in ExpectChanges() argument 46 EXPECT_EQ(a1.indexesRemoved, a2.indexesRemoved); in ExpectChanges() 47 EXPECT_EQ(a1.valuesAdded, a2.valuesAdded); in ExpectChanges() 48 EXPECT_EQ(a1.positionChanged, a2.positionChanged); in ExpectChanges()
|
/foundation/multimedia/media_foundation/test/unittest/ |
H A D | TestAny.cpp | 207 Any a1 = n1; in HWTEST() local 209 a1.Swap(a2); in HWTEST() 210 ASSERT_TRUE(AnyCast<int32_t>(a1) == 4); in HWTEST() 215 a1 = star; in HWTEST() 216 a2.Swap(a1); in HWTEST() 217 ASSERT_STREQ(AnyCast<const char*>(a1), "test"); in HWTEST() 220 std::swap(a1, a2); in HWTEST() 222 ASSERT_TRUE(AnyCast<Star>(a1) == star); in HWTEST()
|
/foundation/arkui/ace_engine/advanced_ui_component/foldsplitcontainer/interfaces/ |
H A D | foldsplitcontainer.js | 499 const a1 = initLayout(); 514 a1.size.height = y / (d1 + 1); 515 z.size.height = y - a1.size.height; 517 a1.position.x = 0; 519 a1.position.y = z.size.height; 526 a1.size.width = x - b1.size.width; 537 a1.size.width = x - b1.size.width; 538 b1.size.height = a1.size.height; 539 b1.position.x = a1.size.width; 543 a1 [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/round_corner_display/ |
H A D | rs_round_corner_config.cpp | 115 auto a1 = xmlGetProp(ptr, BAD_CAST(supportAttr.c_str())); in ReadXmlNode() local 116 if (a1 == nullptr) { in ReadXmlNode() 122 xmlFree(a1); in ReadXmlNode() 314 auto a1 = xmlGetProp(ptr, BAD_CAST(supportAttr.c_str())); in ReadXmlNode() local 315 if (a1 == nullptr) { in ReadXmlNode() 320 xmlFree(a1); in ReadXmlNode()
|
/foundation/arkui/ace_engine/advanced_ui_component/fullscreenlaunchcomponent/interfaces/ |
H A D | fullscreenlaunchcomponent.js | 24 constructor(v, w, x, y = -1, z = undefined, a1) { 25 super(v, x, y, a1);
|
/foundation/arkui/ace_engine/advanced_ui_component/innerfullscreenlaunchcomponent/interfaces/ |
H A D | innerfullscreenlaunchcomponent.js | 79 purgeVariableDependenciesOnElmtId(a1) { 80 this.__isShow.purgeDependencyOnElmtId(a1);
|
/foundation/arkui/advanced_ui_component/innerfullscreenlaunchcomponent/interfaces/ |
H A D | innerfullscreenlaunchcomponent.js | 79 purgeVariableDependenciesOnElmtId(a1) { 80 this.__isShow.purgeDependencyOnElmtId(a1);
|
/foundation/arkui/ace_engine/advanced_ui_component/segmentbutton/interfaces/ |
H A D | segmentbutton.js | 42 const a1 = 5; 157 if (this.length + items.length > a1) { 190 if (this.length + items.length > a1) { 209 if (length > a1) { 408 if (index < a1) { 583 this.w2 = new ObservedPropertyObjectPU(Array.from({ length: a1 }, (q3, index) => Color.Transparent), this, 682 for (let n3 = 0; n3 < a1; n3++) { 710 if (index < a1) { 1100 this.s3 = new ObservedPropertyObjectPU(Array.from({ length: a1 }, (j3, index) => 0), this, "buttonWidth"); 1101 this.t3 = new ObservedPropertyObjectPU(Array.from({ length: a1 }, (i [all...] |
/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) \ 32 const float A1 = static_cast<float>(a1) / OPA_OPAQUE; \ 38 (a1) = a * OPA_OPAQUE;
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/ |
H A D | aa_rect_modes.cpp | 105 static float drawCell(OH_Drawing_Canvas *canvas, OH_Drawing_BlendMode mode, uint8_t a0, uint8_t a1) in drawCell() argument 118 OH_Drawing_BrushSetAlpha(brush, a1); in drawCell()
|
/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/arkui/ace_engine/advanced_ui_component/chip/interfaces/ |
H A D | chip.js | 36 var a1; variable 41 })(a1 || (a1 = {})); 496 this.u3 = new ObservedPropertySimplePU(a1.SM, this, 'chipBreakPoints'); 1487 case a1.SM: 1493 case a1.MD: 1499 case a1.LG: 1570 this.chipBreakPoints = a1.SM; 1575 this.chipBreakPoints = a1.MD; 1580 this.chipBreakPoints = a1 [all...] |
/foundation/multimedia/audio_framework/services/audio_policy/test/unittest/audio_interrupt_service_test/src/ |
H A D | audio_interrupt_unit_test.cpp | 514 AudioInterrupt a1, a2, a3; in HWTEST() local 515 a1.streamUsage = StreamUsage::STREAM_USAGE_VOICE_MODEM_COMMUNICATION; in HWTEST() 518 interruptServiceTest->zonesMap_[0]->audioFocusInfoList.push_back({a1, AudioFocuState::ACTIVE}); in HWTEST()
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/cloud_extension/ |
H A D | cloud_extension_stub.js | 106 let a1 = await this.cloudService.getAppSchema(z); 107 u.writeInt(a1.code); 108 if (a1.code === a.ErrorCode.SUCCESS) { 109 this.marshallingAppSchema(u, a1.value);
|
/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/advanced_ui_component/interstitialdialogaction/interfaces/ |
H A D | interstitialdialogaction.js | 192 (l ? l : this).observeComponentCreation2((a1, b1, c1 = m) => {
|
/foundation/arkui/ace_engine/advanced_ui_component/composetitlebar/interfaces/ |
H A D | composetitlebar.js | 1260 set windowStandardHeight(a1) { 1261 this.__windowStandardHeight.set(a1);
|
/foundation/arkui/ace_engine/advanced_ui_component/atomicserviceweb/interfaces/ |
H A D | atomicserviceweb.js | 1254 constructor(z, a1, b1) { 1256 this.resultUri = a1;
|
/foundation/arkui/advanced_ui_component/atomicserviceweb/interfaces/ |
H A D | atomicserviceweb.js | 1254 constructor(z, a1, b1) { 1256 this.resultUri = a1;
|
/foundation/arkui/ace_engine/advanced_ui_component/composelistitem/interfaces/ |
H A D | composelistitem.js | 1038 Button.onHover((a1) => { 1043 if (a1) { 1046 if (!a1) {
|