/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); \ 67 #define COLOR_BLEND_RGBA(r1, g1, b1, a1, r2, g2, b2, a2) \ 69 const float Alpha2 = static_cast<float>(a2) / OPA_OPAQU [all...] |
/foundation/graphic/graphic_utils_lite/interfaces/innerkits/ |
H A D | graphic_neon_utils.h | 121 uint8x8_t r2, uint8x8_t g2, uint8x8_t b2, uint8x8_t a2) in NeonBlendRGBA() 123 uint8x8_t da = NeonMulDiv255(a1, vdup_n_u8(OPA_OPAQUE) - a2); in NeonBlendRGBA() 124 a1 = a1 - NeonMulDiv255(a2, a1) + a2; in NeonBlendRGBA() 125 uint16x8_t r = vmull_u8(r2, a2) + vmull_u8(r1, da); in NeonBlendRGBA() 126 uint16x8_t g = vmull_u8(g2, a2) + vmull_u8(g1, da); in NeonBlendRGBA() 127 uint16x8_t b = vmull_u8(b2, a2) + vmull_u8(b1, da); in NeonBlendRGBA() 134 uint8x8_t r2, uint8x8_t g2, uint8x8_t b2, uint8x8_t a2) in NeonBlendXRGB() 136 uint8x8_t da = vdup_n_u8(OPA_OPAQUE) - a2; in NeonBlendXRGB() 137 a1 = a1 - NeonMulDiv255(a2, a in NeonBlendXRGB() 120 NeonBlendRGBA(uint8x8_t& r1, uint8x8_t& g1, uint8x8_t& b1, uint8x8_t& a1, uint8x8_t r2, uint8x8_t g2, uint8x8_t b2, uint8x8_t a2) NeonBlendRGBA() argument 133 NeonBlendXRGB(uint8x8_t& r1, uint8x8_t& g1, uint8x8_t& b1, uint8x8_t& a1, uint8x8_t r2, uint8x8_t g2, uint8x8_t b2, uint8x8_t a2) NeonBlendXRGB() argument 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...] |
H A D | graphic_neon_pipeline.h | 30 uint8x8_t r2, uint8x8_t g2, uint8x8_t b2, uint8x8_t a2);
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/ |
H A D | distributeddb_cloud_asset_compare_test.cpp | 53 Asset a2; member 105 a2 = GenAsset("suv", "suv1"); in GenData() 114 DATA_BASELINE = GenDatum(1, "Jack", a1, Assets({a2, a3, a4})); // id is 1 in GenData() 117 DATA_ASSET_SAME_NAME_BUT_CHANGE = GenDatum(3, "Alice", a1Changed, Assets({a2, a3, a4})); // id is 3 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, Assets({a1, a2, a 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/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) \ 33 const float A2 = static_cast<float>(a2) / OPA_OPAQUE; \ 40 #define COLOR_BLEND_RGB(r1, g1, b1, r2, g2, b2, a2) \ 41 (r1) = (((r2) * (a2)) / OPA_OPAQUE) + (((r1) * (OPA_OPAQUE - (a2))) / OPA_OPAQUE); \ 42 (g1) = (((g2) * (a2)) / OPA_OPAQUE) + (((g1) * (OPA_OPAQUE - (a2))) / OPA_OPAQUE); \ 43 (b1) = (((b2) * (a2)) / OPA_OPAQUE) + (((b1) * (OPA_OPAQUE - (a2))) / OPA_OPAQUE);
|
/foundation/multimedia/media_foundation/test/unittest/ |
H A D | TestAny.cpp | 208 Any a2 = 4; in HWTEST() local 209 a1.Swap(a2); in HWTEST() 211 ASSERT_EQ(AnyCast<NonTrivialNonThrowMove>(a2).a_, n1.a_); in HWTEST() 213 a2 = "test"; in HWTEST() 216 a2.Swap(a1); in HWTEST() 218 ASSERT_TRUE(AnyCast<Star>(a2) == star); in HWTEST() 220 std::swap(a1, a2); in HWTEST() 221 ASSERT_STREQ(AnyCast<const char*>(a2), "test"); in HWTEST()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/shaders/common/ |
H A D | 3d_dm_brdf_common.h | 117 float a2 = at * ab; in dGGXAnisotropic() local 118 vec3 d = vec3(ab * ToH, at * BoH, a2 * NoH); in dGGXAnisotropic() 123 float w2 = a2 / d2; in dGGXAnisotropic() 124 return a2 * w2 * w2 * (1.0 / CORE_BRDF_PI); in dGGXAnisotropic()
|
/foundation/arkui/ace_engine/advanced_ui_component/atomicserviceweb/interfaces/ |
H A D | atomicserviceweb.js | 1100 }).then(a2 => { 1102 new GetLocationResult(a2.latitude, a2.longitude, a2.altitude, a2.accuracy, a2.speed, a2.timeStamp, 1103 a2.direction, a2.timeSinceBoot, a2 [all...] |
/foundation/arkui/advanced_ui_component/atomicserviceweb/interfaces/ |
H A D | atomicserviceweb.js | 1100 }).then(a2 => { 1102 new GetLocationResult(a2.latitude, a2.longitude, a2.altitude, a2.accuracy, a2.speed, a2.timeStamp, 1103 a2.direction, a2.timeSinceBoot, a2 [all...] |
/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/interstitialdialogaction/interfaces/ |
H A D | interstitialdialogaction.js | 64 constructor(a2, b2) { 65 this.options = a2;
|
/foundation/arkui/advanced_ui_component/interstitialdialogaction/interfaces/ |
H A D | interstitialdialogaction.js | 64 constructor(a2, b2) { 65 this.options = a2;
|
/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 516 a2.streamUsage = StreamUsage::STREAM_USAGE_VOICE_RINGTONE; in HWTEST() 519 interruptServiceTest->zonesMap_[0]->audioFocusInfoList.push_back({a2, AudioFocuState::ACTIVE}); in HWTEST()
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/cloud_extension/ |
H A D | cloud_extension_stub.js | 219 for (let a2 = 0; a2 < z1; a2++) {
|
/foundation/arkui/ace_engine/advanced_ui_component/segmentbutton/interfaces/ |
H A D | segmentbutton.js | 103 a2: { 1427 Stack.borderColor(e1.a2); 2165 let a2 = event.fingerList.find(Boolean); 2166 if (a2 === void 0) { 2172 let b2 = a2.localX;
|
/foundation/arkui/ace_engine/advanced_ui_component/chip/interfaces/ |
H A D | chip.js | 201 a2: { 1295 : this.theme.q1.a2;
|
/foundation/arkui/ace_engine/advanced_ui_component/treeview/interfaces/ |
H A D | treeview.js | 61 const a2 = '#00000000'; 1075 Row.backgroundColor(a2); 3947 Row.backgroundColor(a2);
|
/foundation/arkui/ace_engine/advanced_ui_component/composelistitem/interfaces/ |
H A D | composelistitem.js | 1675 this.observeComponentCreation2((z1, a2) => {
|
/foundation/arkui/ace_engine/advanced_ui_component/tabtitlebar/interfaces/ |
H A D | tabtitlebar.js | 1087 this.observeComponentCreation2((a2, b2) => {
|
/foundation/arkui/ace_engine/advanced_ui_component/subheader/interfaces/ |
H A D | subheader.js | 2025 this.observeComponentCreation2((a2, b2) => {
|