Home
last modified time | relevance | path

Searched refs:symbol (Results 1 – 25 of 292) sorted by relevance

12345678910>>...12

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/hm_symbol/
H A Dhm_symbol_txt_test.cpp90 HMSymbolTxt symbol; variable
95 symbol.SetRenderColor(colors);
96 auto colors1 = symbol.GetRenderColor();
99 symbol.SetRenderColor(color1);
100 auto colors2 = symbol.GetRenderColor();
106 symbol.SetRenderColor(rsscolors);
107 auto colors3 = symbol.GetRenderColor();
110 symbol.SetRenderColor(color4);
111 auto colors4 = symbol.GetRenderColor();
211 style.symbol.SetAnimationStart(true);
[all …]
H A Dhm_symbol_node_build_test.cpp131 RSHMSymbolData symbol; variable
148 RSHMSymbolData symbol; variable
149 symbol.path_ = path;
183 RSHMSymbolData symbol; variable
184 symbol.path_ = path;
208 RSHMSymbolData symbol; variable
209 symbol.path_ = path;
234 symbol.path_ = path;
259 symbol.path_ = path;
283 symbol.path_ = path;
[all …]
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-common-components-symbol.md30 SymbolSpan($r('sys.symbol.ohos_trash'))
83 SymbolSpan($r('sys.symbol.ohos_trash'))
92 SymbolSpan($r('sys.symbol.ohos_trash'))
101 SymbolSpan($r('sys.symbol.ohos_trash'))
188 SymbolSpan($r('sys.symbol.ohos_wifi'))
197 SymbolSpan($r('sys.symbol.ohos_wifi'))
206 SymbolSpan($r('sys.symbol.ohos_wifi'))
229 SymbolGlyph($r('sys.symbol.ohos_wifi'))
263 SymbolGlyph($r('sys.symbol.ohos_wifi'))
283 [$r('sys.symbol.repeat'), $r('sys.symbol.repeat_1'), $r('sys.symbol.arrow_left_arrow_right')];
[all …]
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-common-components-symbol.md8 You create a symbol glyph by referencing a resource through $r. Currently, only the preset symbol r…
30 SymbolSpan($r('sys.symbol.ohos_trash'))
83 SymbolSpan($r('sys.symbol.ohos_trash'))
92 SymbolSpan($r('sys.symbol.ohos_trash'))
101 SymbolSpan($r('sys.symbol.ohos_trash'))
188 SymbolSpan($r('sys.symbol.ohos_wifi'))
197 SymbolSpan($r('sys.symbol.ohos_wifi'))
206 SymbolSpan($r('sys.symbol.ohos_wifi'))
229 SymbolGlyph($r('sys.symbol.ohos_wifi'))
263 SymbolGlyph($r('sys.symbol.ohos_wifi'))
[all …]
/ohos5.0/foundation/ability/ability_runtime/cj_environment/frameworks/cj_environment/src/
H A Dcj_environment.cpp60 if (symbol == nullptr) { in LoadSymbolInitCJRuntime()
64 apis.InitCJRuntime = reinterpret_cast<InitCJRuntimeType>(symbol); in LoadSymbolInitCJRuntime()
71 if (symbol == nullptr) { in LoadSymbolInitUIScheduler()
82 if (symbol == nullptr) { in LoadSymbolRunUIScheduler()
93 if (symbol == nullptr) { in LoadSymbolFiniCJRuntime()
104 if (symbol == nullptr) { in LoadSymbolInitCJLibrary()
115 if (symbol == nullptr) { in LoadSymbolRegisterEventHandlerCallbacks()
127 if (symbol == nullptr) { in LoadSymbolRegisterCJUncaughtExceptionHandler()
448 void* CJEnvironment::GetSymbol(void* dso, const char* symbol) in GetSymbol() argument
450 return DynamicFindSymbol(dso, symbol); in GetSymbol()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/skia_txt/
H A Dconvert.cpp119 textStyle.symbol.SetRenderColor(style.symbol.GetRenderColor()); in CopyTextStyleSymbol()
120 textStyle.symbol.SetRenderMode(style.symbol.GetRenderMode()); in CopyTextStyleSymbol()
121 textStyle.symbol.SetSymbolEffect(style.symbol.GetEffectStrategy()); in CopyTextStyleSymbol()
122 textStyle.symbol.SetAnimationMode(style.symbol.GetAnimationMode()); in CopyTextStyleSymbol()
123 textStyle.symbol.SetRepeatCount(style.symbol.GetRepeatCount()); in CopyTextStyleSymbol()
125 textStyle.symbol.SetCommonSubType(style.symbol.GetCommonSubType()); in CopyTextStyleSymbol()
199 textStyle.symbol.SetRenderColor(style.symbol.GetRenderColor()); in CopyTextStyleSymbol()
200 textStyle.symbol.SetRenderMode(style.symbol.GetRenderMode()); in CopyTextStyleSymbol()
201 textStyle.symbol.SetSymbolEffect(style.symbol.GetEffectStrategy()); in CopyTextStyleSymbol()
202 textStyle.symbol.SetAnimationMode(style.symbol.GetAnimationMode()); in CopyTextStyleSymbol()
[all …]
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.30/
H A Dchangelogs-arkui.md66 SymbolSpan($r('sys.symbol.ohos_wifi')).style()
67 SymbolSpan($r('sys.symbol.ohos_trash')).style()
68 SymbolSpan($r('sys.symbol.ohos_trash_circle')).style()
69 SymbolSpan($r('sys.symbol.ohos_photo')).style()
70 SymbolSpan($r('sys.symbol.ohos_folder_badge_plus')).style()
71 SymbolSpan($r('sys.symbol.ohos_lungs')).style()
72 SymbolSpan($r('sys.symbol.ohos_mic')).style()
73 SymbolSpan($r('sys.symbol.ohos_circle')).style()
75 SymbolSpan($r('sys.symbol.ohos_lock')).style()
76 SymbolSpan($r('sys.symbol.ohos_star')).style()
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-basic-components-symbolSpan.md35 > $r('sys.symbol.ohos_wifi')中引用的资源为系统预置,SymbolSpan仅支持系统预置的symbol资源名,引用非symbol资源将显示异常。
83 sys.symbol.ohos_lungs图标不支持设置fontWeight。
172 SymbolSpan($r('sys.symbol.ohos_trash'))
181 SymbolSpan($r('sys.symbol.ohos_trash'))
190 SymbolSpan($r('sys.symbol.ohos_trash'))
201 SymbolSpan($r('sys.symbol.ohos_folder_badge_plus'))
211 SymbolSpan($r('sys.symbol.ohos_folder_badge_plus'))
221 SymbolSpan($r('sys.symbol.ohos_folder_badge_plus'))
233 SymbolSpan($r('sys.symbol.ohos_wifi'))
242 SymbolSpan($r('sys.symbol.ohos_wifi'))
[all …]
H A Dts-basic-components-symbolGlyph.md31 > $r('sys.symbol.ohos_wifi')中引用的资源为系统预置,SymbolGlyph仅支持系统预置的symbol资源名,引用非symbol资源将显示异常。
81 sys.symbol.ohos_lungs图标不支持设置fontWeight。
496 SymbolGlyph($r('sys.symbol.ohos_trash'))
503 SymbolGlyph($r('sys.symbol.ohos_trash'))
545 SymbolGlyph($r('sys.symbol.ohos_wifi'))
552 SymbolGlyph($r('sys.symbol.ohos_wifi'))
559 SymbolGlyph($r('sys.symbol.ohos_wifi'))
568 ![symbol](figures/symbolGlyph.gif)
588 SymbolGlyph($r('sys.symbol.ohos_wifi'))
598 … SymbolGlyph(this.replaceFlag ? $r('sys.symbol.checkmark_circle') : $r('sys.symbol.repeat_1'))
[all …]
H A Dohos-arkui-advanced-SubHeader.md216 ### 示例4(设置左侧symbol图标)
217 该示例主要演示子标题左侧icon设置symbol图标。
229 // 设置icon为symbol图标
230 icon: $r('sys.symbol.ohos_wifi'),
250 ### 示例5(设置右侧symbol图标)
251 该示例主要演示子标题operationType设置为OperationType.ICON_GROUP,operationItem的value设置为symbol图标。
274 value: $r('sys.symbol.ohos_lungs'),
279 value: $r('sys.symbol.ohos_lungs'),
284 value: $r('sys.symbol.ohos_lungs'),
289 // 设置右侧icon图标symbol样式
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-basic-components-symbolSpan.md45 Sets the color of the symbol span.
63 Sets the size of the symbol span.
101 Sets the rendering strategy of the symbol span.
123 Sets the symbol effect of the symbol span.
172 SymbolSpan($r('sys.symbol.ohos_trash'))
181 SymbolSpan($r('sys.symbol.ohos_trash'))
190 SymbolSpan($r('sys.symbol.ohos_trash'))
201 SymbolSpan($r('sys.symbol.ohos_folder_badge_plus'))
233 SymbolSpan($r('sys.symbol.ohos_wifi'))
242 SymbolSpan($r('sys.symbol.ohos_wifi'))
[all …]
H A Dts-basic-components-symbolGlyph.md3 The **SymbolGlyph** component represents a symbol glyph.
446 Enumerates symbol effect types. Once applied, the symbol effect becomes active instantly, eliminati…
494 SymbolGlyph($r('sys.symbol.ohos_trash'))
501 SymbolGlyph($r('sys.symbol.ohos_trash'))
543 SymbolGlyph($r('sys.symbol.ohos_wifi'))
550 SymbolGlyph($r('sys.symbol.ohos_wifi'))
557 SymbolGlyph($r('sys.symbol.ohos_wifi'))
566 ![symbol](figures/symbolGlyph.gif)
586 SymbolGlyph($r('sys.symbol.ohos_wifi'))
596 … SymbolGlyph(this.replaceFlag ? $r('sys.symbol.checkmark_circle') : $r('sys.symbol.repeat_1'))
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/symbol_engine/
H A Dhm_symbol_txt.cpp23 bool HMSymbolTxt::operator ==(HMSymbolTxt const &symbol) const in operator ==()
25 if (colorList_.size() != symbol.colorList_.size()) { in operator ==()
28 if (renderMode_ != symbol.renderMode_ || effectStrategy_ != symbol.effectStrategy_) { in operator ==()
32 if (abs(colorList_[i].a - symbol.colorList_[i].a) > MINLOSE || in operator ==()
33 colorList_[i].r != symbol.colorList_[i].r || in operator ==()
34 colorList_[i].g != symbol.colorList_[i].g || in operator ==()
35 colorList_[i].b != symbol.colorList_[i].b) { in operator ==()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_engine/fuzztest/hm_symbol/hmsymboltxt_fuzzer/
H A Dhm_symbol_txt_fuzzer.cpp33 symbol.SetRenderColor(color1); in HmSymbolTxtFuzzTestInner01()
34 symbol.SetRenderColor(colors1); in HmSymbolTxtFuzzTestInner01()
39 symbol.SetRenderColor(color2); in HmSymbolTxtFuzzTestInner01()
40 symbol.SetRenderColor(colors2); in HmSymbolTxtFuzzTestInner01()
50 symbol.SetRenderMode(renderMode); in HmSymbolTxtFuzzTestInner01()
51 symbol.SetSymbolEffect(effectStrategy); in HmSymbolTxtFuzzTestInner01()
52 symbol.SetAnimationMode(animationMode); in HmSymbolTxtFuzzTestInner01()
53 symbol.SetRepeatCount(repeatCount); in HmSymbolTxtFuzzTestInner01()
54 symbol.SetAnimationStart(animationStart); in HmSymbolTxtFuzzTestInner01()
55 symbol.SetCommonSubType(commonSubType); in HmSymbolTxtFuzzTestInner01()
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/dynamic_loader_ohos_test/
H A Ddynamic_loader_ohos_test.cpp90 const char* symbol = "test_symbol"; variable
93 void* result = DynamicFindSymbol(so, symbol);
94 EXPECT_EQ(result, dlsym(so, symbol));
104 const char* symbol = "test_symbol"; variable
108 void* result = DynamicLoadLibrary(nullptr, symbol, mode);
109 EXPECT_EQ(result, dlopen(symbol, mode));
/ohos5.0/docs/en/application-dev/reference/native-lib/
H A Dnapi.md62 |FUNC|napi_create_symbol|Creates a JS symbol.|10|
181 …on, the symbol exported to OpenHarmony is referred to as "exported symbol" and the symbol in the n…
187 - If **code** is a null pointer, the native symbol returns **napi_invalid_arg**, whereas the export…
195 - If **code** is a null pointer, the native symbol returns **napi_invalid_arg**, whereas the export…
251 … be object, function, or symbol in the native symbol, whereas there are no restrictions on the val…
429 - **finalize_cb**: It can be empty in the native symbol. If this parameter is empty, the exported s…
430 - **result**: The native symbol returns a weak reference, whereas the exported symbol returns a str…
456 - The exported symbol does not support **async_hooks**.
466 - The exported symbol does not support **async_hooks**.
472 - The exported symbol does not support **async_hooks**.
[all …]
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/lexer/
H A Dlexer.cpp393 auto iter = symbols_.find(symbol); in ReadShiftLeftOp()
395 token.value = symbol; in ReadShiftLeftOp()
410 auto iter = symbols_.find(symbol); in ReadShiftRightOp()
412 token.value = symbol; in ReadShiftRightOp()
427 auto iter = symbols_.find(symbol); in ReadPPlusOp()
429 token.value = symbol; in ReadPPlusOp()
444 auto iter = symbols_.find(symbol); in ReadMMinusOp()
446 token.value = symbol; in ReadMMinusOp()
462 auto iter = symbols_.find(symbol); in ReadComment()
464 token.value = symbol; in ReadComment()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/
H A Dbar_item_pattern.cpp56 …const Color& iconColor, std::function<void(WeakPtr<NG::FrameNode>)>& symbol, ImageSourceInfo& info) in UpdateSymbolBarButton() argument
61 if (symbol != nullptr) { in UpdateSymbolBarButton()
67 symbol(AccessibilityManager::WeakClaim(AccessibilityManager::RawPtr(iconNode))); in UpdateSymbolBarButton()
89 …const Color& iconColor, std::function<void(WeakPtr<NG::FrameNode>)>& symbol, ImageSourceInfo& info) in UpdateImageBarButton() argument
94 if (symbol != nullptr) { in UpdateImageBarButton()
108 symbol(AccessibilityManager::WeakClaim(AccessibilityManager::RawPtr(iconNodeNew))); in UpdateImageBarButton()
163 std::function<void(WeakPtr<NG::FrameNode>)> symbol; in UpdateBarItemActiveStatusResource() local
168 symbol = GetActiveIconSymbol(); in UpdateBarItemActiveStatusResource()
175 symbol = GetInitialIconSymbol(); in UpdateBarItemActiveStatusResource()
181 UpdateSymbolBarButton(barItemNode, iconNode, iconColor, symbol, info); in UpdateBarItemActiveStatusResource()
[all …]
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/lexer/
H A Dlexer.cpp440 auto iter = symbols_.find(symbol); in ReadShiftLeftOp()
442 token.value = symbol; in ReadShiftLeftOp()
457 auto iter = symbols_.find(symbol); in ReadShiftRightOp()
459 token.value = symbol; in ReadShiftRightOp()
474 auto iter = symbols_.find(symbol); in ReadPPlusOp()
476 token.value = symbol; in ReadPPlusOp()
491 auto iter = symbols_.find(symbol); in ReadMMinusOp()
493 token.value = symbol; in ReadMMinusOp()
509 auto iter = symbols_.find(symbol); in ReadComment()
511 token.value = symbol; in ReadComment()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/impl/
H A Dparagraph_builder_impl.cpp285 paint.symbol.SetRenderColor(txt.symbol.GetRenderColor()); in CopyTextStylePaint()
286 paint.symbol.SetRenderMode(txt.symbol.GetRenderMode()); in CopyTextStylePaint()
287 paint.symbol.SetSymbolEffect(txt.symbol.GetEffectStrategy()); in CopyTextStylePaint()
288 paint.symbol.SetAnimationMode(txt.symbol.GetAnimationMode()); in CopyTextStylePaint()
289 paint.symbol.SetRepeatCount(txt.symbol.GetRepeatCount()); in CopyTextStylePaint()
290 paint.symbol.SetAnimationStart(txt.symbol.GetAnimationStart()); in CopyTextStylePaint()
291 paint.symbol.SetCommonSubType(txt.symbol.GetCommonSubType()); in CopyTextStylePaint()
/ohos5.0/foundation/arkui/ace_engine/interfaces/inner_api/ace/
H A Dutils.h25 #define LOADSYM(libHandle, symbol) GetProcAddress(libHandle, symbol) argument
31 #define LOADSYM(libHandle, symbol) dlsym(libHandle, symbol) argument
/ohos5.0/docs/en/device-dev/kernel/
H A Dkernel-mini-extend-dynamic-loading.md22symbol information to the specified section and calls the **SYM_EXPORT** macro to export informati…
38 **Figure 2** Exported symbol table
40 ![](figures/exported-symbol-table-information.png "exported-symbol-table-information")
75symbol is searched, based on the symbol name that needs to be relocated, in the shared library and…
109 …an depend only on the external APIs provided by the kernel (provided by the exported symbol table).
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/touch_screen/
H A Dtouch_screen.h57 void GetHandleBySymbol(Handle& handle, const char* symbol) in GetHandleBySymbol() argument
59 handle = reinterpret_cast<Handle>(dlsym(touchScreenHandle_, symbol)); in GetHandleBySymbol()
62 symbol, dlerror()); in GetHandleBySymbol()
64 RS_LOGI("touch screen get handle by %{public}s success", symbol); in GetHandleBySymbol()
/ohos5.0/foundation/multimedia/image_framework/plugins/manager/src/common/
H A Dplatform_adp.cpp50 FARPROC PlatformAdp::AdpGetSymAddress(HMODULE handle, const string &symbol) in AdpGetSymAddress() argument
52 return GetProcAddress(handle, symbol.c_str()); in AdpGetSymAddress()
65 void *PlatformAdp::GetSymAddress(void *handle, const std::string &symbol) in GetSymAddress() argument
67 return dlsym(handle, symbol.c_str()); in GetSymAddress()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/export/symbol_engine/
H A Dhm_symbol_run.cpp97 symbolData.symbolInfo_ = GetSymbolLayers(glyphId, style.symbol); in DrawSymbol()
104 RSEffectStrategy symbolEffect = style.symbol.GetEffectStrategy(); in DrawSymbol()
107 if (!SymbolAnimation(symbolData, symbolId, offset, style.symbol.GetEffectStrategy())) { in DrawSymbol()
120 bool HMSymbolRun::SymbolAnimation(const RSHMSymbolData symbol, const uint32_t glyohId, in SymbolAnimation() argument
133 SymbolNodeBuild symbolNode = SymbolNodeBuild(animationSetting, symbol, effectMode, offset); in SymbolAnimation()
142 void HMSymbolRun::ClearSymbolAnimation(const RSHMSymbolData symbol, const uint32_t glyohId, in ClearSymbolAnimation() argument
148 SymbolNodeBuild symbolNode = SymbolNodeBuild(animationSetting, symbol, effectMode, offset); in ClearSymbolAnimation()

12345678910>>...12