Home
last modified time | relevance | path

Searched refs:frameHeight (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toggle/
H A Dswitch_layout_algorithm.cpp42 float frameHeight = 0.0f; in MeasureContent() local
57 frameHeight = contentConstraint.selfIdealSize.Height().value(); in MeasureContent()
60 frameHeight = static_cast<float>(height) - padding.top.value() - padding.bottom.value(); in MeasureContent()
61 if (frameHeight > contentConstraint.maxSize.Height()) { in MeasureContent()
62 frameHeight = contentConstraint.maxSize.Height(); in MeasureContent()
67 CalcHeightAndWidth(height, width, frameHeight, frameWidth); in MeasureContent()
115 height = frameHeight; in CalcHeightAndWidth()
118 if (frameWidth < (frameHeight * ratio)) { in CalcHeightAndWidth()
125 } else if (frameWidth > (frameHeight * ratio)) { in CalcHeightAndWidth()
126 height = frameHeight; in CalcHeightAndWidth()
[all …]
H A Dswitch_layout_algorithm.h37 void CalcHeightAndWidth(float& height, float& width, float frameHeight, float frameWidth);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_utils.cpp50 inline float GetRowGap(const RefPtr<GridLayoutProperty>& props, float frameHeight) in GetRowGap() argument
53 return ConvertToPx(props->GetRowsGap().value_or(0.0_vp), scale, frameHeight).value_or(0); in GetRowGap()
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/avscreen_capture/
H A Davscreen_capture_napi.cpp689 int32_t frameHeight = AVSCREENCAPTURE_DEFAULT_FRAME_HEIGHT; in GetVideoInfo() local
711 ret = AVScreenCaptureNapi::GetPropertyInt32(env, args, "frameHeight", frameHeight); in GetVideoInfo()
715 frameWidth, frameHeight); in GetVideoInfo()
716 ret = AVScreenCaptureNapi::CheckVideoFrameFormat(frameWidth, frameHeight, in GetVideoInfo()
758 …t AVScreenCaptureNapi::CheckVideoFrameFormat(const int32_t &frameWidth, const int32_t &frameHeight, in CheckVideoFrameFormat() argument
762 …if (frameWidth == AVSCREENCAPTURE_DEFAULT_FRAME_WIDTH || frameHeight == AVSCREENCAPTURE_DEFAULT_FR… in CheckVideoFrameFormat()
763 … !(frameWidth == 0 && frameHeight == 0)) { // 0 one of width height is zero, use default display in CheckVideoFrameFormat()
775 …if (frameHeight == AVSCREENCAPTURE_DEFAULT_FRAME_HEIGHT || frameHeight == 0) { // 0 use default di… in CheckVideoFrameFormat()
778 videoFrameHeight = frameHeight; in CheckVideoFrameFormat()
782 videoFrameHeight = frameHeight; in CheckVideoFrameFormat()
[all …]
H A Davscreen_capture_napi.h124 static int32_t CheckVideoFrameFormat(const int32_t &frameWidth, const int32_t &frameHeight,
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/src/
H A Dgif_decoder.cpp402 int32_t frameHeight = savedImage->ImageDesc.Height; in PaddingBgColor() local
406 if (frameTop + frameHeight > bgHeight) { in PaddingBgColor()
407 frameHeight = bgHeight - frameTop; in PaddingBgColor()
409 if (frameWidth < 0 || frameHeight < 0) { in PaddingBgColor()
418 for (int32_t row = 0; row < frameHeight; row++) { in PaddingBgColor()
459 int32_t frameHeight = savedImage->ImageDesc.Height; in PaddingData() local
463 if (frameTop + frameHeight > bgHeight) { in PaddingData()
464 frameHeight = bgHeight - frameTop; in PaddingData()
468 for (int32_t row = 0; row < frameHeight; row++) { in PaddingData()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor_drag/
H A Drich_editor_drag_pattern.cpp54 float frameHeight = dragPattern->GetFrameHeight(); in CreateDragNode() local
55 …Tag::ACE_RICH_TEXT, "CreateDragNode width=%{public}f, height=%{public}f", frameWidth, frameHeight); in CreateDragNode()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_drag/
H A Dtext_drag_pattern.h54 …TextDragData(RectF textRect, float frameWidth, float frameHeight, float lineHeight, float lastLine… in TextDragData()
55 …: textRect_(textRect), frameWidth_(frameWidth), frameHeight_(frameHeight), lineHeight_(lineHeight), in TextDragData()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_uni_render_composer_adapter.cpp453 const float frameHeight = info.buffer->GetSurfaceBufferHeight(); in DealWithNodeGravity() local
460 (frameWidth == boundsWidth && frameHeight == boundsHeight)) { in DealWithNodeGravity()
471 RectF {0.0f, 0.0f, boundsWidth, boundsHeight}, frameWidth, frameHeight, gravityMatrix); in DealWithNodeGravity()
483 gravityMatrix.MapRect(clipRect, Drawing::Rect(0, 0, frameWidth, frameHeight)); in DealWithNodeGravity()
492 int top = std::clamp<int>(localRect.GetTop(), 0, frameHeight); in DealWithNodeGravity()
494 int height = std::clamp<int>(localRect.GetHeight(), 0, frameHeight - top); in DealWithNodeGravity()
518 const float frameHeight = info.buffer->GetSurfaceBufferHeight(); in DealWithNodeGravity() local
525 (frameWidth == boundsWidth && frameHeight == boundsHeight)) { in DealWithNodeGravity()
551 gravityMatrix.MapRect(clipRect, Drawing::Rect(0, 0, frameWidth, frameHeight)); in DealWithNodeGravity()
560 int top = std::clamp<int>(localRect.GetTop(), 0, frameHeight); in DealWithNodeGravity()
[all …]
H A Drs_composer_adapter.cpp200 const auto frameHeight = info.buffer->GetSurfaceBufferHeight(); in DealWithNodeGravity() local
205 …if (frameGravity == Gravity::RESIZE || (frameWidth == boundsWidth && frameHeight == boundsHeight))… in DealWithNodeGravity()
216 RectF {0.0f, 0.0f, boundsWidth, boundsHeight}, frameWidth, frameHeight, gravityMatrix); in DealWithNodeGravity()
228 Drawing::Rect srcRect(0, 0, frameWidth, frameHeight); in DealWithNodeGravity()
238 int top = std::clamp<int>(localRect.GetTop(), 0, frameHeight); in DealWithNodeGravity()
240 int height = std::clamp<int>(localRect.GetHeight(), 0, frameHeight - top); in DealWithNodeGravity()
H A Drs_uni_render_util.cpp1419 const float frameHeight = buffer->GetSurfaceBufferHeight(); in DealWithNodeGravity() local
1427 (ROSEN_EQ(frameWidth, boundsWidth) && ROSEN_EQ(frameHeight, boundsHeight))) { in DealWithNodeGravity()
1437 RectF {0.0f, 0.0f, boundsWidth, boundsHeight}, frameWidth, frameHeight, gravityMatrix); in DealWithNodeGravity()
1450 gravityMatrix.MapRect(clipRect, Drawing::Rect(0, 0, frameWidth, frameHeight)); in DealWithNodeGravity()
1460 int top = std::clamp<int>(localRect.GetTop(), 0, frameHeight); in DealWithNodeGravity()
1462 int height = std::clamp<int>(localRect.GetHeight(), 0, frameHeight - top); in DealWithNodeGravity()
H A Drs_base_render_util.cpp1239 auto frameHeight = bufferSize.GetHeight(); in GetGravityMatrix() local
1242 if (ROSEN_EQ(frameWidth, boundsWidth) && ROSEN_EQ(frameHeight, boundsHeight)) { in GetGravityMatrix()
1247 RectF {0.0f, 0.0f, boundsWidth, boundsHeight}, frameWidth, frameHeight, gravityMatrix)) { in GetGravityMatrix()
/ohos5.0/docs/zh-cn/application-dev/media/media/
H A Dusing-avscreencapture-ArkTs.md110 frameHeight: 1280,
169 frameHeight: 1280,
/ohos5.0/base/useriam/fingerprint_auth/services_ex/inc/
H A Dsensor_illumination_task.h41 int32_t frameHeight; member
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/indexer/
H A Dindexer_layout_algorithm.cpp76 float frameHeight = selfIdealSize.Height().has_value() in Measure() local
88 layoutWrapper->GetGeometryNode()->SetFrameSize(SizeF(frameWidth, frameHeight)); in Measure()
/ohos5.0/base/useriam/fingerprint_auth/services_ex/src/
H A Dsensor_illumination_task.cpp200 .frameHeight = height }; in EnableSensorIllumination()
249 auto surfaceFrame = rsSurface_->RequestFrame(canvasParam_.frameWidth, canvasParam_.frameHeight); in DrawSurfaceNode()
/ohos5.0/docs/en/application-dev/media/media/
H A Dusing-avscreencapture-ArkTs.md110 frameHeight: 1280,
169 frameHeight: 1280,
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Ddrag_event.cpp1775 auto frameHeight = dragFrame.Height(); in HideTextAnimation() local
1786 [context, startDrag, globalX, globalY, frameWidth, frameHeight, scale]() { in HideTextAnimation()
1789 Dimension(globalY + frameHeight * PIXELMAP_HEIGHT_RATE))); in HideTextAnimation()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-media-kit/
H A Djs-apis-media.md7694 | frameHeight | number | 否 | 录屏的视频高度,…
7741 frameHeight: 480
/ohos5.0/docs/en/application-dev/reference/apis-media-kit/
H A Djs-apis-media.md7750 | frameHeight | number | No | Video he…
7797 frameHeight: 480