/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | arkts-layout-development-flex-layout.md | 42 .width('90%') 59 .width('90%') 76 .width('90%') 93 .width('90%') 114 .width('90%') 130 .width('90%') 146 .width('90%') 171 .width('90%') 188 .width('90%') 205 .width('90%') [all …]
|
H A D | arkts-layout-development-linear.md | 46 Row().width('90%').height(50).backgroundColor(0xF5DEB3) 49 }.width('100%') 69 }.width('90%') 464 Text('1:2:3').width('100%') 483 Text('2:5:3').width('100%') 523 Text('left width 20%') 528 Text('center width 50%') 533 Text('right width 30%') 573 .width('90%') 582 }.width('100%') [all …]
|
H A D | arkts-geometric-shape-drawing.md | 83 .width(150) 127 .width(300) 142 .width(300) 159 .width(100) 171 .width(100) 184 .width(100) 199 .width(100) 216 .width(100) 227 .width(100) 244 .width(150) [all …]
|
H A D | arkts-modal-transition.md | 156 .width('90%') 205 .width('92%') 279 .width('100%') 335 .width('100%') 337 .width('100%') 386 .width('100%') 423 .width(140) 453 .width('100%') 488 .width(100) 517 .width('100%') [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-container-flex.md | 86 .width('90%') 98 .width('90%') 110 .width('90%') 126 }.width('100%') 174 }.width('100%') 195 .width('90%') 225 }.width('100%') 276 }.width('100%') 339 }.width('100%') 388 }.width('100%') [all …]
|
H A D | ts-container-column.md | 113 Text('space').width('90%') 117 }.width('90%').height(100).border({ width: 1 }) 120 Text('alignItems(Start)').width('90%') 124 }.alignItems(HorizontalAlign.Start).width('90%').border({ width: 1 }) 126 Text('alignItems(End)').width('90%') 130 }.alignItems(HorizontalAlign.End).width('90%').border({ width: 1 }) 132 Text('alignItems(Center)').width('90%') 136 }.alignItems(HorizontalAlign.Center).width('90%').border({ width: 1 }) 139 Text('justifyContent(Center)').width('90%') 145 Text('justifyContent(End)').width('90%') [all …]
|
H A D | ts-container-row.md | 114 Text('space').width('90%') 118 }.width('90%').height(107).border({ width: 1 }) 121 Text('alignItems(Bottom)').width('90%') 125 }.width('90%').alignItems(VerticalAlign.Bottom).height('15%').border({ width: 1 }) 127 Text('alignItems(Center)').width('90%') 131 }.width('90%').alignItems(VerticalAlign.Center).height('15%').border({ width: 1 }) 134 Text('justifyContent(End)').width('90%') 138 }.width('90%').border({ width: 1 }).justifyContent(FlexAlign.End) 140 Text('justifyContent(Center)').width('90%') 144 }.width('90%').border({ width: 1 }).justifyContent(FlexAlign.Center) [all …]
|
H A D | ts-universal-attributes-location.md | 278 .width('90%') 287 .width('90%') 329 }.width('90%').height(100).border({ width: 1, style: BorderStyle.Dashed }) 378 }.width('90%').height(100).border({ width: 1, style: BorderStyle.Dashed }) 408 }.width('90%').height(100).border({ width: 1, style: BorderStyle.Dashed }) 421 }.width('90%').height(150).border({ width: 1, style: BorderStyle.Dashed }) 450 .width("30%") 458 .width("30%") 466 .width("30%") 501 .width('100%') [all …]
|
H A D | ts-universal-attributes-size.md | 9 ## width section 11 width(value: Length) 180 | maxWidth、maxHeight | width=MAX(minWidth,width)<br/>height=MAX(minHeight,height) | 183 | width与maxWidth、height与maxHeight | width=minWidth<br/>height=minHeight | 236 .width(80) 245 .width('90%') 271 // width和height设置百分比时,以父容器的width和height作为基础值。 299 .width(80) 343 .width("100%") 347 .width(200) [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/include/ |
H A D | path_test.h | 39 static void TestMoveTo(Canvas& canvas, uint32_t width, uint32_t height); 40 static void TestLineTo(Canvas& canvas, uint32_t width, uint32_t height); 41 static void TestArcTo(Canvas& canvas, uint32_t width, uint32_t height); 42 static void TestCubicTo(Canvas& canvas, uint32_t width, uint32_t height); 43 static void TestQuadTo(Canvas& canvas, uint32_t width, uint32_t height); 46 static void TestAddArc(Canvas& canvas, uint32_t width, uint32_t height); 57 static void TestOp(Canvas& canvas, uint32_t width, uint32_t height); 58 static void TestOp2(Canvas& canvas, uint32_t width, uint32_t height); 59 static void TestOp3(Canvas& canvas, uint32_t width, uint32_t height); 60 static void TestOp4(Canvas& canvas, uint32_t width, uint32_t height); [all …]
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/jpeg_yuv_decoder/ |
H A D | jpeg_decoder_yuv.cpp | 163 width = dinfo.output_width; in JpegCalculateOutputSize() 239 info.imageSize.width = static_cast<int32_t>(width); in InitYuvDataOutInfoTo420() 263 info.imageSize.width = static_cast<int32_t>(width); in InitYuvDataOutInfoTo420NV() 278 info.imageSize.width = static_cast<int32_t>(width); in InitYuvDataOutInfo() 287 info.imageWidth = width; in InitPlaneOutInfoTo420() 305 info.imageWidth = width; in InitPlaneOutInfoTo420NV() 311 info.strides[UVCOM] = Get420OutPlaneWidth(UCOM, width) + Get420OutPlaneWidth(VCOM, width); in InitPlaneOutInfoTo420NV() 373 info.imageWidth = width; in FillJpgOutYuvInfo() 406 int width = 0; in DecodeHeader() local 443 uint32_t width = outw; in DoDecodeToYuvPlane() local [all …]
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-layout-development-flex-layout.md | 42 .width('90%') 59 .width('90%') 76 .width('90%') 93 .width('90%') 114 .width('90%') 130 .width('90%') 146 .width('90%') 171 .width('90%') 188 .width('90%') 205 .width('90%') [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | jsShape.js | 19 width(width) { method in RectShape 20 return super.width(width); 31 fill(width) { argument 32 return super.fill(width); 65 width(width) { argument 66 return super.width(width); 77 fill(width) { argument 105 fill(width) { argument 133 width(width) { method in EllipseShape 134 return super.width(width); [all …]
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.50/ |
H A D | changelogs-multimedia.md | 25 let width = previewProfile.size.width 29 size:{height: height, width: width}, 44 let width = previewProfile.size.width 50 size:{height: height, width: width}, 63 size:{height: height, width: width}, 72 pixelMap.cropSync({size:{width:width, height:height}, x:0, y:0}) 103 let width = previewProfile.size.width 109 size:{height: height, width: width}, 122 size:{height: height, width: width}, 131 pixelMap.cropSync({size:{width:width, height:height}, x:0, y:0}) [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-container-flex.md | 86 .width('90%') 98 .width('90%') 110 .width('90%') 126 }.width('100%') 174 }.width('100%') 195 .width('90%') 225 }.width('100%') 276 }.width('100%') 339 }.width('100%') 388 }.width('100%') [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/ |
H A D | drawing_bitmap_test.cpp | 62 const unsigned int width = 500; variable 86 const unsigned int width = 0; variable 102 const unsigned int width = 500; variable 121 const unsigned int width = 500; variable 141 constexpr uint32_t width = 200; variable 146 uint32_t rowBytes = width * height * 4; 168 const unsigned int width = 500; variable 174 EXPECT_EQ(width, imageInfo->width); 190 const unsigned int width = 500; variable 224 const unsigned int width = 500; variable [all …]
|
H A D | drawing_record_cmd_test.cpp | 64 int32_t width = 10; // canvas width is 10 variable 74 EXPECT_TRUE(width1 == width); 98 int32_t width = -1; // canvas width is -1 variable 106 width = 10; // canvas width is 10 111 width = -1; // canvas width is -1 129 int32_t width = 0; // canvas width is 0 variable 137 width = 10; // canvas width is 10 142 width = -1; // canvas width is -1 147 width = 0; // canvas width is 0 152 width = 0; // canvas width is 0 [all …]
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_qrcode.cpp | 70 if (GetWidth() != width) { in SetWidth() 118 int16_t width = GetWidth(); in SetImageInfo() local 120 width_ = (width >= height) ? height : width; in SetImageInfo() 125 imageInfo_.header.width = width; in SetImageInfo() 128 width = UI_ALIGN_UP(width); in SetImageInfo() 156 int16_t width = imageInfo_.header.width; in FillQrCodeColor() local 162 width = UI_ALIGN_UP(width); in FillQrCodeColor() 185 uint32_t width = imageInfo_.header.width; in FillQrCodeBackgroundColor() local 186 width = UI_ALIGN_UP(width); in FillQrCodeBackgroundColor() 209 uint32_t width = imageInfo_.header.width; in GetDestData() local [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/examples/showcase/src/main/js/default/pages/component/progress/horizontal/style/ |
H A D | style.css | 18 width: 454px; 23 width: 454px; 28 width: 454px; 34 width: 454px; 41 width: 200px; 48 width: 450px; 53 width: 450px; 58 width: 220px; 64 width: 230px; 71 width: 250px; [all …]
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/demo/entry/src/main/ets/Dialog/ |
H A D | MultiCameraDialog.ets | 34 .width('96%') 45 .width('100%') 53 .fontWeight(500).width('60%') 62 .width('110%') 71 .fontWeight(500).width('60%') 80 .width('110%') 89 .fontWeight(500).width('60%') 98 .width('110%') 116 .width('110%') 119 .width('96%') [all …]
|
/ohos5.0/drivers/peripheral/display/buffer/test/unittest/ |
H A D | display_buffer_ut.cpp | 70 .width = ALLOC_SIZE_1920, 77 .width = ALLOC_SIZE_1080, 84 .width = ALLOC_SIZE_1280, 91 .width = ALLOC_SIZE_1080, 98 .width = ALLOC_SIZE_1080, 105 .width = ALLOC_SIZE_1080, 112 .width = ALLOC_SIZE_1080, 119 .width = ALLOC_SIZE_1080, 126 .width = ALLOC_SIZE_1080, 133 .width = ALLOC_SIZE_1080, [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/ |
H A D | default.scss | 46 width: 100.0%; 67 width: 100%; 76 width: 100%; 85 width: 80%; 92 width: 100%; 142 width: 100%; 150 width: 85%; 215 width: 80%; 224 width: 100%; 260 width: 80%; [all …]
|
/ohos5.0/foundation/ability/ability_runtime/services/dialog_ui/ams_system_dialog/entry/src/main/ets/utils/ |
H A D | PositionUtils.ts | 62 width: number; 72 width: UI_TIPS_DIALOG_WIDTH, 83 position.width = displayClass.width * WIDTH_MULTIPLE; 89 position.offsetX = (displayClass.width - position.width) / UI_HALF; 101 width: 0, 121 let width = displayClass.width; 132 position.width = UI_SELECTOR_DIALOG_WIDTH; 137 position.offsetX = (displayClass.width - position.width) / UI_HALF; 146 position.width = Math.floor(width * UI_SELECTOR_PORTRAIT_WIDTH_RATIO); 162 …position.width = Math.floor(width * (UI_SELECTOR_LANDSCAPE_GRILLE_LARGE * UI_SELECTOR_LANDSCAPE_CO… [all …]
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/pixel_map_test/ |
H A D | pixel_yuv_ext_test.cpp | 47 auto width = pixelYuvExt.imageInfo_.size.width; variable 49 ASSERT_EQ(width, pixelYuvExt.imageInfo_.size.width); 82 auto width = pixelYuvExt.imageInfo_.size.width; variable 84 ASSERT_EQ(width, pixelYuvExt.imageInfo_.size.width); 87 ASSERT_EQ(width, pixelYuvExt.imageInfo_.size.width); 89 ASSERT_EQ(width, pixelYuvExt.imageInfo_.size.width); 102 auto width = pixelYuvExt.imageInfo_.size.width; variable 105 ASSERT_EQ(width, pixelYuvExt.imageInfo_.size.width); 106 pixelYuvExt.imageInfo_.size.width = 1; 110 ASSERT_EQ(1, pixelYuvExt.imageInfo_.size.width); [all …]
|
/ohos5.0/docs/zh-cn/application-dev/key-features/multi-device-app-dev/ |
H A D | adaptive-layout.md | 76 .width('60%') 104 .width('100%') 133 .width('60%') 164 .width('100%') 210 .width('60%') 271 .width('100%') 315 将三个按钮的.layoutWeight(1)分别替换为.width('33%')、.width('34%')、.width('33%'),也可以实现与当前同样的显示效果。 383 .width('100%') 465 .width('100%') 564 .width('100%') [all …]
|