Home
last modified time | relevance | path

Searched refs:vp (Results 1 - 24 of 24) sorted by relevance

/foundation/arkui/ace_engine/advanced_ui_component/subheader/interfaces/
H A Dsubheader.js45 const LEFT_ICON_SIZE = '16vp';
51 const RIGHT_SINGLE_ICON_SIZE = '24vp';
249 start: LengthMetrics.vp(getResourceValue('sys.float.margin_left')),
250 end: LengthMetrics.vp(getResourceValue('sys.float.margin_right')),
581 top: LengthMetrics.vp(getResourceValue('sys.float.padding_level8')),
582 bottom: LengthMetrics.vp(getResourceValue('sys.float.padding_level1')),
586 LengthMetrics.vp(getResourceValue('sys.float.margin_left')),
588 LengthMetrics.vp(getResourceValue('sys.float.margin_right')),
730 start: LengthMetrics.vp((this.contentMargin ?
734 LengthMetrics.vp(getResourceValu
[all...]
/foundation/arkui/ace_engine/advanced_ui_component/popup/interfaces/
H A Dpopup.js28 top: LengthMetrics.vp(12),
29 bottom: LengthMetrics.vp(12),
30 start: LengthMetrics.vp(12),
31 end: LengthMetrics.vp(12)
43 margin: { bottom: LengthMetrics.vp(2) },
63 top: LengthMetrics.vp(16),
64 bottom: LengthMetrics.vp(16),
65 start: LengthMetrics.vp(16),
66 end: LengthMetrics.vp(16)
69 top: LengthMetrics.vp(
[all...]
/foundation/multimedia/image_effect/frameworks/native/render_environment/
H A Drender_environment.cpp180 RenderViewport vp(0, 0, input->Width(), input->Height()); in DrawFlipTex()
181 param_->renderer_->Draw(input->GetName(), tempFbo, param_->meshBaseFlip_, param_->shaderBase_, &vp, GL_TEXTURE_2D); in DrawFlipTex()
240 RenderViewport vp(0, 0, renderTex->Width(), renderTex->Height()); in DrawBufferToTexture()
241 param_->renderer_->Draw(tex, tempFbo, param_->meshBase_, param_->shaderBase_, &vp, GL_TEXTURE_2D); in DrawBufferToTexture()
421 RenderViewport vp(0, 0, width, height); in ConvertYUV2RGBA()
422 param_->renderer_->Draw(sourceTex, tempFbo, param_->meshBaseFlipYUVDMA_, param_->shaderBaseYUVDMA2RGB2D_, &vp, in ConvertYUV2RGBA()
453 RenderViewport vp(0, 0, w, h); in Draw2D2OES()
454 param_->renderer_->Draw(source->GetName(), tempFbo, param_->meshBaseDMA_, param_->shaderBaseRGB2D2YUVDMA_, &vp, in Draw2D2OES()
491 RenderViewport vp(0, 0, tex->Width(), tex->Height()); in DrawSurfaceBufferFromTex()
493 param_->renderer_->Draw(tex->GetName(), tempFbo, param_->meshBase_, param_->shaderBase_, &vp, GL_TEXTURE_2 in DrawSurfaceBufferFromTex()
[all...]
/foundation/arkui/ace_engine/advanced_ui_component/segmentbutton/interfaces/
H A Dsegmentbutton.js860 top: LengthMetrics.vp(6),
861 bottom: LengthMetrics.vp(6),
862 start: LengthMetrics.vp(8),
863 end: LengthMetrics.vp(8)
867 top: LengthMetrics.vp(4),
868 bottom: LengthMetrics.vp(4),
869 start: LengthMetrics.vp(8),
870 end: LengthMetrics.vp(8)
1402 borderRadius.topStart = LengthMetrics.vp((borderRadius.topStart?.value ?? 0) + 4);
1403 borderRadius.topEnd = LengthMetrics.vp((borderRadiu
[all...]
/foundation/arkui/ace_engine/advanced_ui_component/composelistitem/interfaces/
H A Dcomposelistitem.js74 const RIGHT_CONTENT_NULL_RIGHTWIDTH = '0vp';
75 const LEFT_PART_WIDTH = 'calc(66% - 16vp)';
77 const LEFT_ONLY_ARROW_WIDTH = 'calc(100% - 40vp)';
78 const RIGHT_ONLY_ARROW_WIDTH = '24vp';
417 return LengthMetrics.vp(this.itemRowSpace);
429 LengthMetrics.vp(0) :
430 LengthMetrics.vp(16)
432 Flex.padding({ start: LengthMetrics.vp(LISTITEM_PADDING) });
782 Button.margin({ end: LengthMetrics.vp(LISTITEM_PADDING) });
868 Image.margin({ end: LengthMetrics.vp(LISTITEM_PADDIN
[all...]
/foundation/arkui/ace_engine/advanced_ui_component/chip/interfaces/
H A Dchip.js113 start: LengthMetrics.vp(6),
114 end: LengthMetrics.vp(6),
115 top: LengthMetrics.vp(0),
116 bottom: LengthMetrics.vp(0),
119 start: LengthMetrics.vp(4),
120 end: LengthMetrics.vp(4),
121 top: LengthMetrics.vp(0),
122 bottom: LengthMetrics.vp(0),
217 start: LengthMetrics.vp(16),
218 end: LengthMetrics.vp(1
[all...]
/foundation/arkui/ace_engine/advanced_ui_component/filter/interfaces/
H A Dfilter.js382 start: LengthMetrics.vp(TEXT_HOT_AREA_WIDTH - FOCUS_BORDER_WIDTH),
383 end: LengthMetrics.vp(TEXT_HOT_AREA_WIDTH - FOCUS_BORDER_WIDTH)
397 start: LengthMetrics.vp(TEXT_HOT_AREA_WIDTH),
398 end: LengthMetrics.vp(TEXT_HOT_AREA_WIDTH)
446 ListItem.margin({ start: LengthMetrics.vp(colIndex === 0 ? -TEXT_HOT_AREA_WIDTH : 0) });
734 fontSize: `${FILTER_FONT_SIZE * Math.min(this.updateFontScale(), MAX_FONT_SCALE)}vp`,
950 Text.margin({ start: LengthMetrics.vp(-TEXT_HOT_AREA_WIDTH) });
1032 start: LengthMetrics.vp(TEXT_HOT_AREA_WIDTH - FOCUS_BORDER_WIDTH),
1033 end: LengthMetrics.vp(TEXT_HOT_AREA_WIDTH - FOCUS_BORDER_WIDTH)
1047 start: LengthMetrics.vp(TEXT_HOT_AREA_WIDT
[all...]
/foundation/arkui/ace_engine/advanced_ui_component/foldsplitcontainer/interfaces/
H A Dfoldsplitcontainer.js278 this.listener = mediaQuery.matchMediaSync('(width<=600vp)');
340 start: LengthMetrics.vp(this.primaryLayout.position.x),
341 top: LengthMetrics.vp(this.primaryLayout.position.y),
361 start: LengthMetrics.vp(this.secondaryLayout.position.x),
362 top: LengthMetrics.vp(this.secondaryLayout.position.y),
389 start: LengthMetrics.vp(this.extraLayout.position.x),
390 top: LengthMetrics.vp(this.extraLayout.position.y),
/foundation/arkui/ace_engine/advanced_ui_component/counter/interfaces/
H A Dcounter.js133 CounterResource.BUTTON_BORDER_FOCUSED_WIDTH = '2vp';
134 CounterResource.BUTTON_BORDER_BLUR_WIDTH = '0vp';
135 CounterResource.COUNTER_BORDER_WIDTH = '1vp';
180 CounterResource.COUNTER_LIST_HEIGHT = '48vp';
181 CounterResource.COUNTER_LIST_BUTTON_ICON_SIZE = '20vp';
182 CounterResource.COUNTER_LIST_BUTTON_SIZE = '32vp';
183 CounterResource.COUNTER_LIST_BUTTON_RADIUS = '16vp';
184 CounterResource.COUNTER_LIST_BUTTON_TEXT_DISTANCE = '8vp';
186 CounterResource.COUNTER_LIST_FOCUS_BORDER_SIZE = '30vp';
187 CounterResource.COUNTER_LIST_FOCUS_BORDER_RADIUS = '15vp';
[all...]
/foundation/arkui/ace_engine/advanced_ui_component/toolbar/interfaces/
H A Dtoolbar.js46 const IMAGE_SIZE = '24vp';
50 const DIALOG_IMAGE_SIZE = '64vp';
51 const MAX_DIALOG = '256vp';
52 const MIN_DIALOG = '216vp';
141 this.heightValue = LengthMetrics.vp(DEFAULT_TOOLBAR_HEIGHT);
248 .height(LengthMetrics.vp(DEFAULT_TOOLBAR_HEIGHT))
441 margin: LengthMetrics.vp(FOCUS_BOX_MARGIN),
442 strokeWidth: LengthMetrics.vp(FOCUS_BOX_BORDER_WIDTH),
571 margin: LengthMetrics.vp(FOCUS_BOX_MARGIN),
572 strokeWidth: LengthMetrics.vp(FOCUS_BOX_BORDER_WIDT
[all...]
/foundation/graphic/graphic_2d/frameworks/bootanimation/include/
H A Dutil.h159 int32_t TransalteVp2Pixel(const int32_t sideLen, const int32_t vp);
/foundation/multimedia/camera_framework/test/fuzztest/timelapsephotosession_fuzzer/
H A Dtime_lapse_photo_session_fuzzer.cpp300 auto vp = cap->GetVideoProfiles()[0]; in Test2() local
302 auto vo = manager->CreateVideoOutput(vp, surface); in Test2()
319 output = manager->CreateVideoOutput(vp, surface); in Test2()
/foundation/graphic/graphic_2d/frameworks/bootanimation/src/
H A Dutil.cpp342 * Transate vp to pixel.
345 * @param vp vp value.
348 int32_t TransalteVp2Pixel(const int32_t sideLen, const int32_t vp) in TransalteVp2Pixel() argument
350 return static_cast<int32_t>(std::ceil(sideLen * HALF / RADIO) / HALF * vp); in TransalteVp2Pixel()
/foundation/arkui/ace_engine/advanced_ui_component/dialog/interfaces/
H A Ddialog.js109 this.textAlignment = getTextAlign(o34, this.content, `${BODY_L * this.fontSizeScale}vp`);
484 start: LengthMetrics.vp(0),
485 end: LengthMetrics.vp(CHECK_BOX_MARGIN_END)
540 Scroll.margin({ end: LengthMetrics.vp(this.marginOffset) });
1520 this.textAlign = getTextAlign(x25, this.content, `${BODY_L * this.fontSizeScale}vp`);
1665 Scroll.margin({ end: LengthMetrics.vp(this.marginOffset) });
1723 Checkbox.margin({ start: LengthMetrics.vp(0), end: LengthMetrics.vp(CHECK_BOX_MARGIN_END) });
2103 Column.margin({ end: LengthMetrics.vp(this.getMargin()) });
2132 Text.width(`calc(100% - ${PADDING_LEVEL_8}vp)`);
[all...]
/foundation/multimodalinput/input/service/key_command/test/
H A Dkey_command_handler_test.cpp640 int32_t vp = -1; in HWTEST_F() local
641 ASSERT_NO_FATAL_FAILURE(handler.ConvertVPToPX(vp)); in HWTEST_F()
642 vp = 1; in HWTEST_F()
645 ASSERT_NO_FATAL_FAILURE(handler.ConvertVPToPX(vp)); in HWTEST_F()
648 ASSERT_NO_FATAL_FAILURE(handler.ConvertVPToPX(vp)); in HWTEST_F()
1294 int32_t vp = 10;
1300 int32_t ret = handler.ConvertVPToPX(vp);
1304 ret = handler.ConvertVPToPX(vp);
3853 int32_t vp = -1;
3854 ASSERT_NO_FATAL_FAILURE(handler.ConvertVPToPX(vp));
[all...]
/foundation/arkui/ace_engine/frameworks/core/pipeline/
H A Dpipeline_base.cpp144 double PipelineBase::Vp2PxWithCurrentDensity(double vp) in Vp2PxWithCurrentDensity() argument
147 return vp * density; in Vp2PxWithCurrentDensity()
H A Dpipeline_base.h121 * Change px to vp with density of current pipeline
126 * Change vp to px with density of current pipeline
128 static double Vp2PxWithCurrentDensity(double vp);
/foundation/multimodalinput/input/service/key_command/include/
H A Dkey_command_handler.h308 int32_t ConvertVPToPX(int32_t vp) const;
/foundation/arkui/ace_engine/test/mock/core/pipeline/
H A Dmock_pipeline_context.cpp942 double PipelineBase::Vp2PxWithCurrentDensity(double vp) in Vp2PxWithCurrentDensity() argument
945 return vp * density; in Vp2PxWithCurrentDensity()
/foundation/multimodalinput/input/service/key_command/src/
H A Dkey_command_handler.cpp590 int32_t KeyCommandHandler::ConvertVPToPX(int32_t vp) const in ConvertVPToPX()
592 if (vp <= 0) { in ConvertVPToPX()
602 return vp * (dpi / base); in ConvertVPToPX()
/foundation/arkui/ace_engine/advanced_ui_component/treeview/interfaces/
H A Dtreeview.js55 const s1 = '1.0vp';
56 const t1 = '0vp';
57 const u1 = '2.75vp';
58 const v1 = '-1.25vp';
59 const w1 = '1.5vp';
65 const e2 = '128vp';
66 const f2 = '208vp';
67 const g2 = '80vp';
68 const h2 = '160vp';
69 const i2 = '112vp';
[all...]
/foundation/arkui/ace_engine/advanced_ui_component/editabletitlebar/interfaces/
H A Deditabletitlebar.js43 const MIN_SUBTITLE_SIZE = '10.0vp';
45 const IMAGE_SIZE = '64vp';
46 const MAX_DIALOG = '256vp';
47 const MIN_DIALOG = '216vp';
48 const SYMBOL_SIZE = '24vp';
49 const SYMBOL_TITLE_SIZE = '64vp';
54 const TITLE_F_VP = (TITLE_F > 0 ? TITLE_F : TITLE_VP) + 'vp';
55 const SUBTITLE_F_VP = (SUBTITLE_F > 0 ? SUBTITLE_F : SUBTITLE_VP) + 'vp';
934 start: this.attribute === ItemType.LeftIcon ? LengthMetrics.vp(EditableTitleBar.commonZero) :
/foundation/arkui/ace_engine/advanced_ui_component/gridobjectsortcomponent/interfaces/
H A Dgridobjectsortcomponent.js777 DEFAULT_TEXT_SIZE) * (this.fontSizeScale ?? DEFAULT_FONT_SIZE_SCALE)}vp`,
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DjsXNode.js1578 static vp(value) {

Completed in 32 milliseconds