Home
last modified time | relevance | path

Searched refs:HALF_FLOAT (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/dot_indicator/
H A Doverlength_dot_indicator_modifier.cpp41 constexpr float HALF_FLOAT = 0.5f; variable
83 float radius = (rightCenterX - leftCenterX) * HALF_FLOAT; in GetTouchBottomCenterX()
107 leftCenter -= (centerDilateDistance - centerDistance) * HALF_FLOAT; in PaintContent()
108 rightCenter += (centerDilateDistance - centerDistance) * HALF_FLOAT; in PaintContent()
146 …axis_ == Axis::HORIZONTAL ? center.GetX() - width * HALF_FLOAT : center.GetY() - height * HALF_FLO… in PaintUnselectedIndicator()
148 …axis_ == Axis::HORIZONTAL ? center.GetY() - height * HALF_FLOAT : center.GetX() - width * HALF_FLO… in PaintUnselectedIndicator()
150 …axis_ == Axis::HORIZONTAL ? center.GetX() + width * HALF_FLOAT : center.GetY() + height * HALF_FLO… in PaintUnselectedIndicator()
152 …axis_ == Axis::HORIZONTAL ? center.GetY() + height * HALF_FLOAT : center.GetX() + width * HALF_FLO… in PaintUnselectedIndicator()
161 canvas.DrawCircle({ customPointX, customPointY }, height * HALF_FLOAT); in PaintUnselectedIndicator()
166 canvas.DrawCircle({ pointX, pointY }, width * HALF_FLOAT); in PaintUnselectedIndicator()
[all …]
H A Doverlength_dot_indicator_paint_method.cpp36 constexpr float HALF_FLOAT = 0.5f; variable
69 … centerY_ = (axis_ == Axis::HORIZONTAL ? contentSize.Height() : contentSize.Width()) * HALF_FLOAT; in UpdateContentModifier()
169 itemHalfSizes.emplace_back(itemWidth * HALF_FLOAT); in CalculateLongPointCenterX()
170 itemHalfSizes.emplace_back(itemHeight * HALF_FLOAT); in CalculateLongPointCenterX()
171 itemHalfSizes.emplace_back(selectedItemWidth * HALF_FLOAT); in CalculateLongPointCenterX()
172 itemHalfSizes.emplace_back(selectedItemHeight * HALF_FLOAT); in CalculateLongPointCenterX()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/indicator_common/
H A Dswiper_indicator_pattern.cpp38 constexpr float HALF_FLOAT = 0.5f; variable
919 …(animationStartIndex == 0 && animationEndIndex == totalCount - 1 && turnPageRateAbs < HALF_FLOAT && in UpdateOverlongPaintMethod()
922 turnPageRateAbs > HALF_FLOAT); in UpdateOverlongPaintMethod()
924 … ((gestureState_ == GestureState::GESTURE_STATE_FOLLOW_RIGHT && turnPageRateAbs > HALF_FLOAT) || in UpdateOverlongPaintMethod()
925 … (gestureState_ == GestureState::GESTURE_STATE_FOLLOW_LEFT && turnPageRateAbs < HALF_FLOAT && in UpdateOverlongPaintMethod()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/context/
H A Dwebgl2_rendering_context_base.h206 static const GLenum HALF_FLOAT = 0x140B; variable
/ohos5.0/docs/zh-cn/release-notes/api-diff/monthly-202210/
H A Djs-apidiff-graphic.md177 |新增|NA|方法名 or 属性名:HALF_FLOAT<br>函数:readonly HALF_FLOAT: webgl.GLenum;|webgl2.d.ts|
/ohos5.0/docs/en/release-notes/api-diff/monthly-202210/
H A Djs-apidiff-graphic.md177 |Added|NA|Method or attribute name: HALF_FLOAT<br>Function name: readonly HALF_FLOAT: webgl.GLenum;…
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-graphic.md263 …ringContextBase;<br>方法or属性:readonly HALF_FLOAT: GLenum;|类名:WebGL2RenderingContextBase;<br>方法or属性:r…
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl2_rendering_context.cpp903 return NVal::CreateInt64(env, WebGL2RenderingContextBase::HALF_FLOAT).val_; in GetHalfFloat()
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-graphic.md203 | webgl2 | WebGL2RenderingContextBase | readonly HALF_FLOAT: GLenum; | 新增 |
/ohos5.0/docs/en/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-graphic.md263 …ribute name: readonly HALF_FLOAT: GLenum;|Class name: WebGL2RenderingContextBase;<br>Method or att…
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-graphic.md203 | webgl2 | WebGL2RenderingContextBase | readonly HALF_FLOAT: GLenum; | Added|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta1/
H A Djs-apidiff-graphic.md649 |删除|模块名: webgl2<br>类名: WebGL2RenderingContextBase<br>方法 or 属性:readonly HALF_FLOAT: webgl.GLenum;|NA…
/ohos5.0/docs/en/release-notes/api-diff/v4.0-beta1/
H A Djs-apidiff-graphic.md649 …name: WebGL2RenderingContextBase<br>Method or attribute name: readonly HALF_FLOAT: webgl.GLenum;|N…