Home
last modified time | relevance | path

Searched refs:textAlign (Results 1 – 25 of 596) sorted by relevance

12345678910>>...24

/ohos5.0/docs/zh-cn/application-dev/onlyfortest/9Release/
H A Dcheck-illegal-code.md30 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center)
38 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center)
46 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center)
54 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center)
105 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center)
113 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center)
121 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center)
129 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center)
180 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center)
188 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center)
[all …]
H A Dcheck-deprecated-doc.md33 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center)
41 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center)
49 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center)
57 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center)
110 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center)
118 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center)
126 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center)
134 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center)
187 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center)
195 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center)
[all …]
H A Dcheck-legal-code.md32 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center)
40 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center)
48 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center)
56 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center)
109 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center)
117 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center)
125 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center)
133 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center)
186 .height(50).backgroundColor(0x4682B4).textAlign(TextAlign.Center)
194 .height(50).backgroundColor(0x00BFFF).textAlign(TextAlign.Center)
[all …]
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-layout-development-create-looping.md28 .textAlign(TextAlign.Center)
35 .textAlign(TextAlign.Center)
42 .textAlign(TextAlign.Center)
94 .textAlign(TextAlign.Center)
101 .textAlign(TextAlign.Center)
108 .textAlign(TextAlign.Center)
187 .textAlign(TextAlign.Center)
268 .textAlign(TextAlign.Center)
274 .textAlign(TextAlign.Center)
280 .textAlign(TextAlign.Center)
[all …]
H A Darkts-blur-effect.md35 .textAlign(TextAlign.Center)
121 .textAlign(TextAlign.Center)
146 .textAlign(TextAlign.Center)
180 .textAlign(TextAlign.Center)
210 .textAlign(TextAlign.Center)
240 .textAlign(TextAlign.Center)
270 .textAlign(TextAlign.Center)
300 .textAlign(TextAlign.Center)
330 .textAlign(TextAlign.Center)
384 .textAlign(TextAlign.Center)
[all …]
H A Darkts-layout-development-linear.md468 .textAlign(TextAlign.Center)
473 .textAlign(TextAlign.Center)
478 .textAlign(TextAlign.Center)
487 .textAlign(TextAlign.Center)
492 .textAlign(TextAlign.Center)
497 .textAlign(TextAlign.Center)
524 .textAlign(TextAlign.Center)
529 .textAlign(TextAlign.Center)
534 .textAlign(TextAlign.Center)
578 .textAlign(TextAlign.Center)
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dspan_model_adapter.cpp115 TextAlign textAlign; in CreateParagraphStyle() local
116 switch (typoStyle->textAlign) { in CreateParagraphStyle()
118 textAlign = TextAlign::LEFT; in CreateParagraphStyle()
121 textAlign = TextAlign::RIGHT; in CreateParagraphStyle()
124 textAlign = TextAlign::CENTER; in CreateParagraphStyle()
127 textAlign = TextAlign::JUSTIFY; in CreateParagraphStyle()
130 textAlign = TextAlign::START; in CreateParagraphStyle()
133 textAlign = TextAlign::END; in CreateParagraphStyle()
136 textAlign = TextAlign::START; in CreateParagraphStyle()
141 .align = textAlign, in CreateParagraphStyle()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-attributes-flex-layout.md100 .textAlign(TextAlign.Center)
106 .textAlign(TextAlign.Center)
116 .textAlign(TextAlign.Center)
121 .textAlign(TextAlign.Center)
133 .textAlign(TextAlign.Center)
138 .textAlign(TextAlign.Center)
144 .textAlign(TextAlign.Center)
154 .textAlign(TextAlign.Center)
160 .textAlign(TextAlign.Center)
165 .textAlign(TextAlign.Center)
H A Dts-universal-attributes-location.md313 .textAlign(TextAlign.Center)
322 .textAlign(TextAlign.Center)
340 .textAlign(TextAlign.Center)
346 .textAlign(TextAlign.Center)
352 .textAlign(TextAlign.Center)
362 .textAlign(TextAlign.Center)
371 .textAlign(TextAlign.Center)
403 .textAlign(TextAlign.Center).position({top: 0, left: 0})
414 .textAlign(TextAlign.Center)
416 .textAlign(TextAlign.Center).offset({top: 30, left: 0})
[all …]
H A Dts-pixel-units.md57 .textAlign(TextAlign.Center)
67 .textAlign(TextAlign.Center)
76 .textAlign(TextAlign.Center)
86 .textAlign(TextAlign.Center)
97 .textAlign(TextAlign.Center)
107 .textAlign(TextAlign.Center)
118 .textAlign(TextAlign.Center)
H A Dts-container-rowsplit.md62 Text('1').width('10%').height(100).backgroundColor(0xF5DEB3).textAlign(TextAlign.Center)
63 Text('2').width('10%').height(100).backgroundColor(0xD2B48C).textAlign(TextAlign.Center)
64 Text('3').width('10%').height(100).backgroundColor(0xF5DEB3).textAlign(TextAlign.Center)
65 Text('4').width('10%').height(100).backgroundColor(0xD2B48C).textAlign(TextAlign.Center)
66 Text('5').width('10%').height(100).backgroundColor(0xF5DEB3).textAlign(TextAlign.Center)
H A Dts-container-columnsplit.md88 Text('1').width('100%').height(50).backgroundColor(0xF5DEB3).textAlign(TextAlign.Center)
89 Text('2').width('100%').height(50).backgroundColor(0xD2B48C).textAlign(TextAlign.Center)
90 Text('3').width('100%').height(50).backgroundColor(0xF5DEB3).textAlign(TextAlign.Center)
91 Text('4').width('100%').height(50).backgroundColor(0xD2B48C).textAlign(TextAlign.Center)
92 Text('5').width('100%').height(50).backgroundColor(0xF5DEB3).textAlign(TextAlign.Center)
H A Dts-container-effectcomponent-sys.md52 .textAlign(TextAlign.Center)
62 .textAlign(TextAlign.Center)
72 .textAlign(TextAlign.Center)
82 .textAlign(TextAlign.Center)
H A Dohos-arkui-advanced-TabTitleBar.md90 .textAlign(TextAlign.Center)
97 .textAlign(TextAlign.Center)
104 .textAlign(TextAlign.Center)
111 .textAlign(TextAlign.Center)
118 .textAlign(TextAlign.Center)
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/examples/showcase/src/main/js/default/pages/component/canvas/indexAPIAttr/
H A Dindex.js95 let getTextAlign1 = ctx.textAlign; // getter默认text align
98 let getTextAlign2 = ctx.textAlign; // 再次getter默认text align
102 ctx.textAlign = 'left'; // setter
104 ctx.textAlign = 'right'; // setter
106 ctx.textAlign = 'center'; // setter
109 let getTextAlign3 = ctx.textAlign; // setter后 getter text align
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js-lite/
H A Djs-lite-components-canvas-canvasrenderingcontext2d.md286 ## textAlign section
309 // Show the different textAlign values
310 ctx.textAlign = 'left';
311 ctx.fillText('textAlign=left', 140, 100);
312 ctx.textAlign = 'center';
313 ctx.fillText('textAlign=center',140, 120);
314 ctx.textAlign = 'right';
315 ctx.fillText('textAlign=right',140, 140);
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/test/ndktest/camera_ndk_demo/entry/src/main/ets/Dialog/
H A DmainDialog.ets34 .textAlign(TextAlign.Start)
38 .textAlign(TextAlign.Start)
54 .textAlign(TextAlign.Center)
68 .textAlign(TextAlign.Center)
82 .textAlign(TextAlign.Center)
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-blur-effect.md35 .textAlign(TextAlign.Center)
121 .textAlign(TextAlign.Center)
146 .textAlign(TextAlign.Center)
180 .textAlign(TextAlign.Center)
210 .textAlign(TextAlign.Center)
240 .textAlign(TextAlign.Center)
270 .textAlign(TextAlign.Center)
300 .textAlign(TextAlign.Center)
330 .textAlign(TextAlign.Center)
384 .textAlign(TextAlign.Center)
[all …]
H A Darkts-layout-development-create-looping.md28 .textAlign(TextAlign.Center)
35 .textAlign(TextAlign.Center)
42 .textAlign(TextAlign.Center)
94 .textAlign(TextAlign.Center)
101 .textAlign(TextAlign.Center)
108 .textAlign(TextAlign.Center)
187 .textAlign(TextAlign.Center)
268 .textAlign(TextAlign.Center)
274 .textAlign(TextAlign.Center)
280 .textAlign(TextAlign.Center)
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Ddrawing_prop_convertor.cpp79 RSTextAlign textAlign = RSTextAlign::START; in ToRSTextAlign() local
82 textAlign = RSTextAlign::LEFT; in ToRSTextAlign()
85 textAlign = RSTextAlign::RIGHT; in ToRSTextAlign()
88 textAlign = RSTextAlign::CENTER; in ToRSTextAlign()
91 textAlign = RSTextAlign::JUSTIFY; in ToRSTextAlign()
94 textAlign = RSTextAlign::START; in ToRSTextAlign()
97 textAlign = RSTextAlign::END; in ToRSTextAlign()
100 textAlign = RSTextAlign::START; in ToRSTextAlign()
103 return textAlign; in ToRSTextAlign()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/txt/
H A Dparagraph_style.cpp40 if (textAlign == TextAlign::START) { in GetEquivalentAlign()
42 } else if (textAlign == TextAlign::END) { in GetEquivalentAlign()
45 return textAlign; in GetEquivalentAlign()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/marquee/
H A Drender_marquee.cpp378 auto textAlign = textStyle_.GetTextAlign(); in GetTextPosition() local
380 if (textAlign == TextAlign::START) { in GetTextPosition()
381textAlign = RenderNode::GetTextDirection() == TextDirection::LTR ? TextAlign::LEFT : TextAlign::RI… in GetTextPosition()
383 if (textAlign == TextAlign::END) { in GetTextPosition()
384textAlign = RenderNode::GetTextDirection() == TextDirection::LTR ? TextAlign::RIGHT : TextAlign::L… in GetTextPosition()
388 if (textAlign == TextAlign::CENTER) { in GetTextPosition()
390 } else if (textAlign == TextAlign::RIGHT) { in GetTextPosition()
/ohos5.0/docs/zh-cn/third-party-cases/
H A Dnavigation-drawer.md32 .textAlign(TextAlign.Center)
72 .textAlign(TextAlign.Start)
102 .textAlign(TextAlign.Start)
115 .textAlign(TextAlign.Center)
/ohos5.0/foundation/arkui/advanced_ui_component/source/SplitLayout/
H A DSplitLayout.ets43 .textAlign(TextAlign.Center)
47 .textAlign(TextAlign.Center)
52 .textAlign(TextAlign.Center)
129 .textAlign(TextAlign.Center)
134 .textAlign(TextAlign.Center)
139 .textAlign(TextAlign.Center)
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/pages/subManualApiTestManager/subGattTestManager/
H A DgattClientManager.ets243 .textAlign(TextAlign.Start)
248 .textAlign(TextAlign.Start)
253 .textAlign(TextAlign.Start)
258 .textAlign(TextAlign.Start)
263 .textAlign(TextAlign.Start)
268 .textAlign(TextAlign.Start)
273 .textAlign(TextAlign.Start)
278 .textAlign(TextAlign.Start)
283 .textAlign(TextAlign.Start)

12345678910>>...24